libpwquality: update to 1.4.1.

- adopt package
This commit is contained in:
bra1nwave 2019-09-21 13:58:53 +02:00 committed by Helmut Pozimski
parent f940eb3410
commit 2e3058e91d
2 changed files with 6 additions and 16 deletions

View file

@ -1,12 +0,0 @@
--- python/Makefile.am.orig
+++ python/Makefile.am
@@ -11,7 +11,7 @@
EXTRA_DIST = pwquality.c setup.py
all-local:
- CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-lib=.
+ LDSHARED="${CC} -pthread -shared" CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-lib=.
install-exec-local:
- CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py install --prefix=${DESTDIR}${prefix}
+ LDSHARED="${CC} -pthread -shared" CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py install --prefix=${DESTDIR}${prefix}

View file

@ -1,18 +1,19 @@
# Template file for 'libpwquality'
pkgname=libpwquality
version=1.4.0
revision=2
version=1.4.1
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-pam --with-securedir=/usr/lib/security"
hostmakedepends="libtool automake gettext-devel"
makedepends="cracklib-devel pam-devel python3-devel"
conf_files="/etc/security/pwquality.conf"
short_desc="Library for password quality checking and generating random passwords"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/libpwquality/libpwquality"
changelog="https://raw.githubusercontent.com/libpwquality/libpwquality/master/NEWS"
distfiles="${homepage}/releases/download/libpwquality-${version}/libpwquality-${version}.tar.bz2"
checksum=1de6ff046cf2172d265a2cb6f8da439d894f3e4e8157b056c515515232fade6b
checksum=a97d72b5c56b7e279c6e86dad70c1493ea5796f00a596fb9f3173b96f9bf5e46
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python3"
@ -21,6 +22,7 @@ fi
pre_configure() {
autoreconf -fi
vsed -i python/Makefile.am -e 's|CFLAGS=.*|LDSHARED="${CC} -pthread -shared" &|g'
}
libpwquality-devel_package() {