aboutsummaryrefslogtreecommitdiff
path: root/security/calife
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2014-05-28 13:42:16 +0000
committerOllivier Robert <roberto@FreeBSD.org>2014-05-28 13:42:16 +0000
commita804f008264eb0713dfbed62d968395c954aad3e (patch)
tree2292b690b41020163744ef14f539d2b049732ce1 /security/calife
parent450d29924c105170447c67946ad56769f951a226 (diff)
downloadports-a804f008264eb0713dfbed62d968395c954aad3e.tar.gz
ports-a804f008264eb0713dfbed62d968395c954aad3e.zip
Update to 3.0.3, remove the -devel suffix after the rename from
calife-devel. Stagedir compatible now. Make myself maintainer. Submitted by: thomas (adapted for 3.0.3) Approved by: thomas (previous MAINTAINER)
Notes
Notes: svn path=/head/; revision=355622
Diffstat (limited to 'security/calife')
-rw-r--r--security/calife/Makefile23
-rw-r--r--security/calife/distinfo4
-rw-r--r--security/calife/pkg-plist8
3 files changed, 17 insertions, 18 deletions
diff --git a/security/calife/Makefile b/security/calife/Makefile
index f8fdf1a2cbec..6148b2c5b451 100644
--- a/security/calife/Makefile
+++ b/security/calife/Makefile
@@ -2,30 +2,25 @@
# $FreeBSD$
PORTNAME= calife
-PORTVERSION= 3.0.1
+PORTVERSION= 3.0.3
CATEGORIES= security
MASTER_SITES= http://assets.keltia.net/calife/
-DISTNAME= calife-3.0.1
-PKGNAMESUFFIX= -devel
-MAINTAINER= thomas@FreeBSD.org
+MAINTAINER= roberto@FreeBSD.org
COMMENT= Lightweight alternative to sudo
-USE_BZIP2= yes
+USES= tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc
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}
+do-install:
+ $(INSTALL_PROGRAM) ${WRKSRC}/calife ${STAGEDIR}${PREFIX}/bin/calife
+ $(INSTALL_MAN) ${WRKSRC}/calife.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ $(INSTALL_MAN) ${WRKSRC}/calife.auth.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
+ $(INSTALL_DATA) ${WRKSRC}/calife.auth-dist ${STAGEDIR}${PREFIX}/etc/calife.auth.sample
+ ${INSTALL_DATA} ${WRKSRC}/pam/freebsd5 ${STAGEDIR}${PREFIX}/etc/pam.d/calife.sample
.include <bsd.port.mk>
diff --git a/security/calife/distinfo b/security/calife/distinfo
index 034b7623140d..79dede6ec1d7 100644
--- a/security/calife/distinfo
+++ b/security/calife/distinfo
@@ -1,2 +1,2 @@
-SHA256 (calife-3.0.1.tar.bz2) = f5dee9ccb5e1c0d8a4a952ecd80abdd1d7952df45ac415dfa34a5890bd5e20aa
-SIZE (calife-3.0.1.tar.bz2) = 98548
+SHA256 (calife-3.0.3.tar.xz) = c32313da116b25cd52b0119b4e84258f7a435f3eea2c805ef9f0ad8c2e510904
+SIZE (calife-3.0.3.tar.xz) = 97104
diff --git a/security/calife/pkg-plist b/security/calife/pkg-plist
index 641665130209..1e0d232073c7 100644
--- a/security/calife/pkg-plist
+++ b/security/calife/pkg-plist
@@ -1,3 +1,7 @@
+man/man1/calife.1.gz
+man/man5/calife.auth.5.gz
+@sample etc/calife.auth.sample
+@sample etc/pam.d/calife.sample
+@mode 04755
bin/calife
-etc/calife.auth-dist
-etc/pam.d/calife.sample
+@mode