aboutsummaryrefslogtreecommitdiff
path: root/security/duo
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2012-07-16 11:40:11 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2012-07-16 11:40:11 +0000
commit76311462b6fc3f851389b557aae3e6df7e920e60 (patch)
treeba282ce4d9eb26afe2e1a7f85bfcf9ce675c069c /security/duo
parent944011f2282b858503ad04d80ac3599ec549a6e2 (diff)
downloadports-76311462b6fc3f851389b557aae3e6df7e920e60.tar.gz
ports-76311462b6fc3f851389b557aae3e6df7e920e60.zip
- Update to 1.9
Notes
Notes: svn path=/head/; revision=300945
Diffstat (limited to 'security/duo')
-rw-r--r--security/duo/Makefile10
-rw-r--r--security/duo/distinfo4
-rw-r--r--security/duo/pkg-plist6
3 files changed, 14 insertions, 6 deletions
diff --git a/security/duo/Makefile b/security/duo/Makefile
index fea2876c679a..1a636577accc 100644
--- a/security/duo/Makefile
+++ b/security/duo/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= duo
-PORTVERSION= 1.8
+PORTVERSION= 1.9
CATEGORIES= security
MASTER_SITES= http://cloud.github.com/downloads/${PORTNAME}security/${PORTNAME}_unix/ \
http://mirrors.rit.edu/zi/
@@ -17,9 +17,10 @@ COMMENT= Duo unix integration package
LICENSE= GPLv2
-LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
-CONFIGURE_ARGS= --with-pam=${PREFIX}/lib/security --sysconfdir=${ETCDIR}
+CONFIGURE_ARGS= --with-pam=${PREFIX}/lib/security --sysconfdir=${ETCDIR} \
+ --docdir=${DOCSDIR}
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -31,6 +32,9 @@ MAN8= login_duo.8 pam_duo.8
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/login_duo/login_duo.8
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/pam_duo/pam_duo.8
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e 's|README AUTHORS CHANGES LICENSE||g' ${WRKSRC}/Makefile.in
+.endif
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/security/duo/distinfo b/security/duo/distinfo
index 99ef91291530..decb27cfe914 100644
--- a/security/duo/distinfo
+++ b/security/duo/distinfo
@@ -1,2 +1,2 @@
-SHA256 (duo_unix-1.8.tar.gz) = 6a7d8afb81cc767ae2db97347d3e95e639638bade95aded9772217eaf2c4501e
-SIZE (duo_unix-1.8.tar.gz) = 436266
+SHA256 (duo_unix-1.9.tar.gz) = 92121c2f0d06babc17a70a71aa272d24c035522136304758f2357c79b67b3061
+SIZE (duo_unix-1.9.tar.gz) = 444818
diff --git a/security/duo/pkg-plist b/security/duo/pkg-plist
index 1fddf8e27b42..e6e3c2476438 100644
--- a/security/duo/pkg-plist
+++ b/security/duo/pkg-plist
@@ -8,7 +8,11 @@ lib/libduo.a
libdata/pkgconfig/libduo.pc
lib/security/pam_duo.so
lib/security/pam_duo.la
-lib/security/pam_duo.a
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
sbin/login_duo
@dirrmtry lib/security
@dirrmtry %%ETCDIR%%