Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2014 21:17:07 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360819 - in head/security/pam-pgsql: . files
Message-ID:  <201407052117.s65LH78R076571@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sat Jul  5 21:17:07 2014
New Revision: 360819
URL: http://svnweb.freebsd.org/changeset/ports/360819
QAT: https://qat.redports.org/buildarchive/r360819/

Log:
  - New LIB_DEPENDS syntax
  - Add USES=libtool
  - Apply substitutions to pkg-message

Added:
  head/security/pam-pgsql/files/
  head/security/pam-pgsql/files/pkg-message.in
     - copied unchanged from r360729, head/security/pam-pgsql/pkg-message
Deleted:
  head/security/pam-pgsql/pkg-message
Modified:
  head/security/pam-pgsql/Makefile
  head/security/pam-pgsql/pkg-plist

Modified: head/security/pam-pgsql/Makefile
==============================================================================
--- head/security/pam-pgsql/Makefile	Sat Jul  5 21:07:03 2014	(r360818)
+++ head/security/pam-pgsql/Makefile	Sat Jul  5 21:17:07 2014	(r360819)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pam-pgsql
 PORTVERSION=	0.7.3.1
+PORTREVISION=	1
 CATEGORIES=	security databases
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.7/
 
@@ -11,20 +12,18 @@ COMMENT=	PAM module for authenticating w
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	mhash:${PORTSDIR}/security/mhash \
-		gcrypt:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS=	libmhash.so:${PORTSDIR}/security/mhash \
+		libgcrypt.so:${PORTSDIR}/security/libgcrypt
 
+USES=		libtool
 USE_PGSQL=	yes
 GNU_CONFIGURE=	yes
-
-CONFIGURE_ARGS+=	--libdir=/usr/lib
+CONFIGURE_ARGS=	--libdir=/usr/lib
+SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-install:
-	@${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR}
 

Copied: head/security/pam-pgsql/files/pkg-message.in (from r360729, head/security/pam-pgsql/pkg-message)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/pam-pgsql/files/pkg-message.in	Sat Jul  5 21:17:07 2014	(r360819, copy of r360729, head/security/pam-pgsql/pkg-message)
@@ -0,0 +1,8 @@
+
+Follow the instructions in the
+
+ %%PREFIX%%/share/doc/pam-pgsql/README
+
+to use this module. Note, that unlike most other ports, this port
+installs a file into /usr/lib directly (/usr/lib/pam_pgsql.so),
+because PAM requires that.

Modified: head/security/pam-pgsql/pkg-plist
==============================================================================
--- head/security/pam-pgsql/pkg-plist	Sat Jul  5 21:07:03 2014	(r360818)
+++ head/security/pam-pgsql/pkg-plist	Sat Jul  5 21:17:07 2014	(r360819)
@@ -6,4 +6,4 @@
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @cwd /usr
 lib/pam_pgsql.so
-lib/pam_pgsql.la
+@cwd



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