Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 14:14:37 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364703 - head/security/libpwquality
Message-ID:  <53ea214e.6842.19ec2a73@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Tue Aug 12 14:14:37 2014
New Revision: 364703
URL: http://svnweb.freebsd.org/changeset/ports/364703
QAT: https://qat.redports.org/buildarchive/r364703/

Log:
  Update to 1.2.4.
  
  Drop :keepla from USES=libtool.
  Use new option handlers, use INSTALL_TARGET for stripping, and don't link
  implicitly agains -lintl.

Modified:
  head/security/libpwquality/Makefile
  head/security/libpwquality/distinfo
  head/security/libpwquality/pkg-plist

Modified: head/security/libpwquality/Makefile
==============================================================================
--- head/security/libpwquality/Makefile	Tue Aug 12 13:31:07 2014	(r364702)
+++ head/security/libpwquality/Makefile	Tue Aug 12 14:14:37 2014	(r364703)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	libpwquality
-PORTVERSION=	1.2.3
-PORTREVISION=	1
+PORTVERSION=	1.2.4
 CATEGORIES=	security
 MASTER_SITES=	https://fedorahosted.org/releases/l/i/libpwquality/
 
@@ -11,36 +10,24 @@ COMMENT=	Library for generating random p
 
 LIB_DEPENDS=	libcrack.so:${PORTSDIR}/security/cracklib
 
-USES=		gettext gmake libtool:keepla pathfix tar:bzip2
+USES=		gettext gmake libtool pathfix tar:bzip2
 USE_GNOME=	intltool
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS+=--disable-pam
 CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib -lintl
+LDFLAGS+=	-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
 
 OPTIONS_DEFINE=	PYTHON
 OPTIONS_DEFAULT=PYTHON
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPYTHON}
-USE_PYTHON=	yes
-BUILD_DEPENDS=	python:${PORTSDIR}/lang/python
-CONFIGURE_ARGS+=--enable-python-bindings
-PLIST_SUB+=	PYTHON=""
-.else
-CONFIGURE_ARGS+=--disable-python-bindings
-PLIST_SUB+=	PYTHON="@comment "
-.endif
+OPTIONS_SUB=	yes
+PYTHON_USES=	python
+PYTHON_BUILD_DEPENDS=	python:${PORTSDIR}/lang/python
+PYTHON_CONFIGURE_ENABLE=	python-bindings
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|python setup.py build|${PYTHON_VERSION} setup.py build|g' \
 		${WRKSRC}/python/Makefile.in
 
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpwquality.so.1
-	@${CHMOD} 755 ${STAGEDIR}${PYTHON_SITELIBDIR}/pwquality.so
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pwquality.so
-
 .include <bsd.port.mk>

Modified: head/security/libpwquality/distinfo
==============================================================================
--- head/security/libpwquality/distinfo	Tue Aug 12 13:31:07 2014	(r364702)
+++ head/security/libpwquality/distinfo	Tue Aug 12 14:14:37 2014	(r364703)
@@ -1,2 +1,2 @@
-SHA256 (libpwquality-1.2.3.tar.bz2) = b11c79ce7b03cdf878fccb653e67bd430155cc6fd224efbbb3e78842f752516a
-SIZE (libpwquality-1.2.3.tar.bz2) = 367794
+SHA256 (libpwquality-1.2.4.tar.bz2) = 9ad67be364a66dc8b334a473c77d9f531137ee0e9d85d81f567f410a375857c7
+SIZE (libpwquality-1.2.4.tar.bz2) = 394060

Modified: head/security/libpwquality/pkg-plist
==============================================================================
--- head/security/libpwquality/pkg-plist	Tue Aug 12 13:31:07 2014	(r364702)
+++ head/security/libpwquality/pkg-plist	Tue Aug 12 14:14:37 2014	(r364703)
@@ -3,11 +3,11 @@ bin/pwscore
 etc/security/pwquality.conf
 include/pwquality.h
 lib/libpwquality.a
-lib/libpwquality.la
 lib/libpwquality.so
 lib/libpwquality.so.1
 lib/libpwquality.so.1.0.2
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality-1.2.4-py2.7.egg-info
 libdata/pkgconfig/pwquality.pc
 man/man1/pwmake.1.gz
 man/man1/pwscore.1.gz
@@ -37,7 +37,6 @@ share/locale/ko/LC_MESSAGES/libpwquality
 share/locale/ml/LC_MESSAGES/libpwquality.mo
 share/locale/mr/LC_MESSAGES/libpwquality.mo
 share/locale/mr_IN/LC_MESSAGES/libpwquality.mo
-share/locale/ms/LC_MESSAGES/libpwquality.mo
 share/locale/nb/LC_MESSAGES/libpwquality.mo
 share/locale/nl/LC_MESSAGES/libpwquality.mo
 share/locale/or/LC_MESSAGES/libpwquality.mo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53ea214e.6842.19ec2a73>