aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-10-14 21:43:25 +0800
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-10-14 21:43:25 +0800
commitbf9b6020223d0223d6c931156be9e2f2b1bd9fe2 (patch)
tree57d545fad67b842044dd50d0b796ce9d7f81f00d /security
parent84556e9280e71be7c553cb291b5df451062f62c9 (diff)
downloadfreebsd-ports-gnome-bf9b6020223d0223d6c931156be9e2f2b1bd9fe2.tar.gz
freebsd-ports-gnome-bf9b6020223d0223d6c931156be9e2f2b1bd9fe2.tar.zst
freebsd-ports-gnome-bf9b6020223d0223d6c931156be9e2f2b1bd9fe2.zip
Clean up, set LICENSE, standardize COMMENT
In particular: - Sort variables - Utilize USES=shebangfix instead of REINPLACE_CMD - Do not set WRKSRC explicitly to the default value Approved by: portmgr blanket
Diffstat (limited to 'security')
-rw-r--r--security/pam_ldap/Makefile28
1 files changed, 15 insertions, 13 deletions
diff --git a/security/pam_ldap/Makefile b/security/pam_ldap/Makefile
index b43a7797d156..d1929c9fa822 100644
--- a/security/pam_ldap/Makefile
+++ b/security/pam_ldap/Makefile
@@ -3,33 +3,35 @@
PORTNAME= pam_ldap
PORTVERSION= 1.8.6
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= security net
MASTER_SITES= http://www.padl.com/download/ \
ftp://ftp.padl.com/pub/
DISTNAME= pam_ldap-${PORTVERSION:S/.//g}
MAINTAINER= marcus@FreeBSD.org
-COMMENT= Pam module for authenticating with LDAP
+COMMENT= PAM module for authenticating with LDAP
-GNU_CONFIGURE= yes
+LICENSE= GPLv2+ LGPL20+
+LICENSE_COMB= multi
+LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING
+LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING.LIB
+
+USES= gmake perl5 shebangfix
USE_OPENLDAP= yes
-USES= perl5 gmake
USE_PERL5= build
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g}
-PAM_LDAP_CONF?= ldap.conf
-CONFIGURE_ARGS= --with-ldap-lib=openldap \
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-ldap-conf-file=${PREFIX}/etc/${PAM_LDAP_CONF} \
--with-ldap-dir=${LOCALBASE} \
- --with-ldap-conf-file=${PREFIX}/etc/${PAM_LDAP_CONF} \
+ --with-ldap-lib=openldap \
--with-ldap-secret-file=${PREFIX}/etc/ldap.secret
-
-PORTDATA= *.schema
+SHEBANG_FILES= vers_string
SUB_FILES= pkg-message
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|' \
- ${WRKSRC}/vers_string
+PORTDATA= *.schema
+
+PAM_LDAP_CONF?= ldap.conf
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}