Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2020 13:43:25 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552337 - head/security/pam_ldap
Message-ID:  <202010141343.09EDhPLw072735@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Wed Oct 14 13:43:25 2020
New Revision: 552337
URL: https://svnweb.freebsd.org/changeset/ports/552337

Log:
  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

Modified:
  head/security/pam_ldap/Makefile

Modified: head/security/pam_ldap/Makefile
==============================================================================
--- head/security/pam_ldap/Makefile	Wed Oct 14 13:39:27 2020	(r552336)
+++ head/security/pam_ldap/Makefile	Wed Oct 14 13:43:25 2020	(r552337)
@@ -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
+SHEBANG_FILES=	vers_string
 
-PORTDATA=	*.schema
-
 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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010141343.09EDhPLw072735>