1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

security/libpwquality: update to 1.4.5

PR:		264657 267949
This commit is contained in:
Olivier Duchateau 2022-12-06 15:15:11 +01:00 committed by Adriaan de Groot
parent 934e8c6541
commit 61b8658122
4 changed files with 24 additions and 6 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= libpwquality
DISTVERSION= 1.4.4
DISTVERSION= 1.4.5
CATEGORIES= security
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/
@ -28,8 +28,11 @@ OPTIONS_SUB= yes
NLS_USES= gettext gnome
NLS_USE= GNOME=intltool
NLS_CONFIGURE_ENABLE= nls
PYTHON_USES= python
PYTHON_USES= python:3.7+,build
PYTHON_CONFIGURE_ENABLE= python-bindings
PYTHON_CONFIGURE_ON= --with-python-binary=${PYTHON_CMD}
post-install-PYTHON-on:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pwquality*.so
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1602781807
SHA256 (libpwquality-1.4.4.tar.bz2) = d43baf23dc6887fe8f8e9b75cabaabc5f4bbbaa0f9eff44278d276141752a545
SIZE (libpwquality-1.4.4.tar.bz2) = 426923
TIMESTAMP = 1669228314
SHA256 (libpwquality-1.4.5.tar.bz2) = 6fcf18b75d305d99d04d2e42982ed5b787a081af2842220ed63287a2d6a10988
SIZE (libpwquality-1.4.5.tar.bz2) = 433961

View File

@ -0,0 +1,11 @@
--- python/Makefile.in.orig 2022-11-18 10:22:41 UTC
+++ python/Makefile.in
@@ -483,7 +483,7 @@ all-local:
CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV)
install-exec-local:
- CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --prefix=${DESTDIR}${prefix}
+ CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --root=${DESTDIR} --single-version-externally-managed
clean-local:
rm -rf py$(PYTHONREV)

View File

@ -6,7 +6,10 @@ lib/libpwquality.a
lib/libpwquality.so
lib/libpwquality.so.1
lib/libpwquality.so.1.0.2
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality-1.4.4-py%%PYTHON_VER%%.egg-info
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality-1.4.5-py%%PYTHON_VER%%.egg-info/PKG-INFO
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality-1.4.5-py%%PYTHON_VER%%.egg-info/SOURCES.txt
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality-1.4.5-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality-1.4.5-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality%%PYTHON_EXT_SUFFIX%%.so
libdata/pkgconfig/pwquality.pc
man/man1/pwmake.1.gz
@ -35,6 +38,7 @@ man/man5/pwquality.conf.5.gz
%%NLS%%share/locale/id/LC_MESSAGES/libpwquality.mo
%%NLS%%share/locale/it/LC_MESSAGES/libpwquality.mo
%%NLS%%share/locale/ja/LC_MESSAGES/libpwquality.mo
%%NLS%%share/locale/ka/LC_MESSAGES/libpwquality.mo
%%NLS%%share/locale/kk/LC_MESSAGES/libpwquality.mo
%%NLS%%share/locale/km/LC_MESSAGES/libpwquality.mo
%%NLS%%share/locale/kn/LC_MESSAGES/libpwquality.mo