aboutsummaryrefslogtreecommitdiff
path: root/security/calife-devel
diff options
context:
space:
mode:
Diffstat (limited to 'security/calife-devel')
-rw-r--r--security/calife-devel/Makefile19
-rw-r--r--security/calife-devel/distinfo4
-rw-r--r--security/calife-devel/pkg-message5
-rw-r--r--security/calife-devel/pkg-plist1
4 files changed, 20 insertions, 9 deletions
diff --git a/security/calife-devel/Makefile b/security/calife-devel/Makefile
index b9020829b82f..c923b063ded8 100644
--- a/security/calife-devel/Makefile
+++ b/security/calife-devel/Makefile
@@ -1,16 +1,15 @@
-# New ports collection makefile for: calife
-# Date created: 13 Jun 2000
+# New ports collection makefile for: calife-devel
+# Date created: 14 Jun 2005
# Whom: Thomas Quinot <thomas@cuivre.fr.eu.org>
#
# $FreeBSD$
#
PORTNAME= calife
-PORTVERSION= 2.8.6.3
+PORTVERSION= 3.0
CATEGORIES= security
-MASTER_SITES= ftp://postfix.eu.org/pub/calife/ \
- ftp://frmug.org/pub/calife/
-DISTNAME= calife-2.8.6-p3
+MASTER_SITES= http://www.keltia.net/download/
+DISTNAME= calife-3.0pre4
MAINTAINER= thomas@FreeBSD.org
COMMENT= A lightweight alternative to sudo
@@ -18,9 +17,15 @@ COMMENT= A lightweight alternative to sudo
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= "--with-etcdir=${PREFIX}/etc"
+CONFIGURE_ARGS= --with-pam --with-etcdir=${PREFIX}/etc
+
+CONFLICTS?= calife-2.*
MAN1= calife.1
MAN5= calife.auth.5
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/calife.pam ${PREFIX}/etc/pam.d/calife.sample
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/security/calife-devel/distinfo b/security/calife-devel/distinfo
index fc196d25bcd4..94562d84b9a3 100644
--- a/security/calife-devel/distinfo
+++ b/security/calife-devel/distinfo
@@ -1,2 +1,2 @@
-MD5 (calife-2.8.6-p3.tar.bz2) = 215e0f043d27c79a839168d6e0c4af4f
-SIZE (calife-2.8.6-p3.tar.bz2) = 80905
+MD5 (calife-3.0pre4.tar.bz2) = e99a44938c28331350099a9cc3aca3f4
+SIZE (calife-3.0pre4.tar.bz2) = 85592
diff --git a/security/calife-devel/pkg-message b/security/calife-devel/pkg-message
new file mode 100644
index 000000000000..40c6e5f45fbe
--- /dev/null
+++ b/security/calife-devel/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-devel/pkg-plist b/security/calife-devel/pkg-plist
index a81fa6a224ab..641665130209 100644
--- a/security/calife-devel/pkg-plist
+++ b/security/calife-devel/pkg-plist
@@ -1,2 +1,3 @@
bin/calife
etc/calife.auth-dist
+etc/pam.d/calife.sample