aboutsummaryrefslogtreecommitdiff
path: root/security/calife
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2014-05-28 13:38:13 +0000
committerOllivier Robert <roberto@FreeBSD.org>2014-05-28 13:38:13 +0000
commit450d29924c105170447c67946ad56769f951a226 (patch)
tree3f21f0150ac22a61040d8e6e5f07e8561876cc43 /security/calife
parentdd96acba308617ac5a3e7e5669ae333e15dce921 (diff)
downloadports-450d29924c105170447c67946ad56769f951a226.tar.gz
ports-450d29924c105170447c67946ad56769f951a226.zip
Rename calife-devel into calife. The original port (2.8) has been
deprecated for some time now. Approved by: thomas (MAINTAINER)
Notes
Notes: svn path=/head/; revision=355621
Diffstat (limited to 'security/calife')
-rw-r--r--security/calife/Makefile15
-rw-r--r--security/calife/distinfo4
-rw-r--r--security/calife/pkg-descr2
-rw-r--r--security/calife/pkg-message5
-rw-r--r--security/calife/pkg-plist1
5 files changed, 20 insertions, 7 deletions
diff --git a/security/calife/Makefile b/security/calife/Makefile
index 6b1baf97cee3..f8fdf1a2cbec 100644
--- a/security/calife/Makefile
+++ b/security/calife/Makefile
@@ -2,10 +2,11 @@
# $FreeBSD$
PORTNAME= calife
-PORTVERSION= 2.8.6.5
+PORTVERSION= 3.0.1
CATEGORIES= security
MASTER_SITES= http://assets.keltia.net/calife/
-DISTNAME= calife-2.8.6-p5
+DISTNAME= calife-3.0.1
+PKGNAMESUFFIX= -devel
MAINTAINER= thomas@FreeBSD.org
COMMENT= Lightweight alternative to sudo
@@ -13,12 +14,18 @@ COMMENT= Lightweight alternative to sudo
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= "--with-etcdir=${PREFIX}/etc"
+CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc
-CONFLICTS?= calife-3.*
+CONFIGURE_ARGS+= --with-pam
+
+CONFLICTS?= calife-2.*
MAN1= calife.1
MAN5= calife.auth.5
NO_STAGE= yes
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/pam/freebsd5 ${PREFIX}/etc/pam.d/calife.sample
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/security/calife/distinfo b/security/calife/distinfo
index a6aa030445f0..034b7623140d 100644
--- a/security/calife/distinfo
+++ b/security/calife/distinfo
@@ -1,2 +1,2 @@
-SHA256 (calife-2.8.6-p5.tar.bz2) = e615f98fecd3b701f6e7c0bf31e583f4b7c7555e774e49f8afb21fe2252a011e
-SIZE (calife-2.8.6-p5.tar.bz2) = 82964
+SHA256 (calife-3.0.1.tar.bz2) = f5dee9ccb5e1c0d8a4a952ecd80abdd1d7952df45ac415dfa34a5890bd5e20aa
+SIZE (calife-3.0.1.tar.bz2) = 98548
diff --git a/security/calife/pkg-descr b/security/calife/pkg-descr
index b6dfd3bd186f..1947c875987e 100644
--- a/security/calife/pkg-descr
+++ b/security/calife/pkg-descr
@@ -3,4 +3,4 @@ users listed in a particular file, $(PREFIX)/etc/calife.auth,
to endorse the identity of any other user after entering their
own password.
-WWW: http://www.keltia.net/programs/calife/
+WWW: http://www.keltia.net/programs/calife
diff --git a/security/calife/pkg-message b/security/calife/pkg-message
new file mode 100644
index 000000000000..40c6e5f45fbe
--- /dev/null
+++ b/security/calife/pkg-message
@@ -0,0 +1,5 @@
+
+This version supports (and encourages you to use) PAM. A sample
+configuration file is in ${PREFIX}/etc/pam.d/calife.sample.
+Rename it to "calife" to enable PAM authentication. It will fall
+back to the previous methods if PAM is not available.
diff --git a/security/calife/pkg-plist b/security/calife/pkg-plist
index a81fa6a224ab..641665130209 100644
--- a/security/calife/pkg-plist
+++ b/security/calife/pkg-plist
@@ -1,2 +1,3 @@
bin/calife
etc/calife.auth-dist
+etc/pam.d/calife.sample