mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
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.
This commit is contained in:
parent
eeee16a3a9
commit
ec657e94c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364703
@ -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 passwords and quality checking
|
||||
|
||||
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>
|
||||
|
@ -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
|
||||
|
@ -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.mo
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user