From d29b8ca5ff7fea615c966d4690d63dfdcfb84041 Mon Sep 17 00:00:00 2001 From: rafan Date: Sat, 30 Sep 2006 07:48:24 +0000 Subject: - Install additional auth-pam plugin PR: ports/103833 Submitted by: Matthias Andree (maintainer) Suggested by: Michael Helmeste Tested by: Michael Helmeste --- security/openvpn20/Makefile | 11 ++++++----- security/openvpn20/pkg-plist | 2 ++ 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'security/openvpn20') diff --git a/security/openvpn20/Makefile b/security/openvpn20/Makefile index 27b982e..e86d9ac 100644 --- a/security/openvpn20/Makefile +++ b/security/openvpn20/Makefile @@ -13,7 +13,7 @@ PORTNAME= openvpn # WILL BE DROPPED. -- Matthias Andree, 2006-09-13 # ----------------------------------------------------- PORTVERSION= 2.0.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security net # MASTER_SITES points to hosts in distinct data centers, # so just one MASTER_SITES entry should be OK. @@ -65,6 +65,7 @@ CONFIGURE_ARGS+= --enable-password-save post-build: cd ${WRKSRC}/plugin/down-root && ${MAKE} + cd ${WRKSRC}/plugin/auth-pam && ${CC} ${CFLAGS} ${CPPFLAGS} -I../.. -DDLOPEN_PAM=0 -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.c pamdl.c -lc -lpam @# self-tests here .if !defined(WITHOUT_CHECK) cd ${WRKSRC} && ${MAKE} check @@ -75,12 +76,12 @@ pre-install: post-install: ${MKDIR} ${PREFIX}/lib - ${INSTALL_PROGRAM} ${WRKSRC}/plugin/down-root/openvpn-down-root.so \ - ${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/plugin/down-root/openvpn-down-root.so ${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/plugin/auth-pam/openvpn-auth-pam.so ${PREFIX}/lib .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/plugin/down-root/README \ - ${DOCSDIR}/README.openvpn-down-root + ${INSTALL_DATA} ${WRKSRC}/plugin/down-root/README ${DOCSDIR}/README.openvpn-down-root + ${INSTALL_DATA} ${WRKSRC}/plugin/auth-pam/README ${DOCSDIR}/README.openvpn-auth-pam .for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL NEWS \ PORTS README ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} diff --git a/security/openvpn20/pkg-plist b/security/openvpn20/pkg-plist index e91cb93..4df2203 100644 --- a/security/openvpn20/pkg-plist +++ b/security/openvpn20/pkg-plist @@ -1,4 +1,5 @@ sbin/openvpn +lib/openvpn-auth-pam.so lib/openvpn-down-root.so %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/COPYING @@ -8,6 +9,7 @@ lib/openvpn-down-root.so %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/PORTS %%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.openvpn-auth-pam %%PORTDOCS%%%%DOCSDIR%%/README.openvpn-down-root %%PORTDOCS%%%%DOCSDIR%%/easy-rsa/README %%PORTDOCS%%%%DOCSDIR%%/easy-rsa/build-ca -- cgit v1.1