From owner-svn-ports-head@freebsd.org Wed Oct 14 13:43:26 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 452AC439BEF; Wed, 14 Oct 2020 13:43:26 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBDC214qSz41dW; Wed, 14 Oct 2020 13:43:26 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 08ABEF257; Wed, 14 Oct 2020 13:43:26 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 09EDhPPO072736; Wed, 14 Oct 2020 13:43:25 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09EDhPLw072735; Wed, 14 Oct 2020 13:43:25 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <202010141343.09EDhPLw072735@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Wed, 14 Oct 2020 13:43:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552337 - head/security/pam_ldap X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: head/security/pam_ldap X-SVN-Commit-Revision: 552337 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2020 13:43:26 -0000 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}