summaryrefslogtreecommitdiff
path: root/user/cracklib/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-26 20:04:48 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-26 20:04:48 -0600
commit7adca47033d4e3a5de17a0f8fc4e8077244db02b (patch)
tree7107c599e24735c8dab44d61f44d087f7e162d04 /user/cracklib/APKBUILD
parentfa82bc47b5a3bb9b333f05c329294fcca8c0f139 (diff)
downloadpackages-7adca47033d4e3a5de17a0f8fc4e8077244db02b.tar.gz
packages-7adca47033d4e3a5de17a0f8fc4e8077244db02b.tar.bz2
packages-7adca47033d4e3a5de17a0f8fc4e8077244db02b.tar.xz
packages-7adca47033d4e3a5de17a0f8fc4e8077244db02b.zip
user/cracklib: Update to 2.9.8, fix NLS
The l10n code did not call bindtextdomain so it did not work on musl. Also, formalise --without-python since the default changed and we do not build the Python module.
Diffstat (limited to 'user/cracklib/APKBUILD')
-rw-r--r--user/cracklib/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/user/cracklib/APKBUILD b/user/cracklib/APKBUILD
index ebc721a79..708c0e427 100644
--- a/user/cracklib/APKBUILD
+++ b/user/cracklib/APKBUILD
@@ -1,24 +1,31 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=cracklib
-pkgver=2.9.7
+pkgver=2.9.8
pkgrel=0
pkgdesc="Library for checking passwords against dictionary words"
url=" "
arch="all"
license="LGPL-2.0+"
depends=""
-makedepends=""
+makedepends="autoconf automake"
subpackages="$pkgname-dev $pkgname-lang"
triggers="$pkgname.trigger=/usr/share/dict"
source="https://github.com/cracklib/cracklib/releases/download/v$pkgver/cracklib-$pkgver.tar.bz2
$pkgname.trigger
+ nls.patch
"
# secfixes:
# 2.9.7-r0:
# - CVE-2016-6318
+prepare() {
+ default_prepare
+ # autogen.sh is not included in the dist tarball, but only calls:
+ autoreconf -f -i
+}
+
build() {
./configure \
--build=$CBUILD \
@@ -26,7 +33,8 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var
+ --localstatedir=/var \
+ --without-python
make
}
@@ -39,5 +47,6 @@ package() {
install -D -m644 dicts/cracklib-small "$pkgdir"/usr/share/dict/cracklib-small
}
-sha512sums="f6bf65ac092ba46ff78ddbc115692260fb76dc71219cd679d2ea935ebfb9e709fbb30259a7406743ed00dbdc415335b3ac9d9fcba1d204ea36d5eb96bf1333a2 cracklib-2.9.7.tar.bz2
-deef4710a3bf78348adfe699ff995acc21a7671ab03c4dd28da7f38f4a83008af4c97c9c1d4e1e98a47c0148c84146b36477f41f98fb0ee028cc0fadebb85ab9 cracklib.trigger"
+sha512sums="bba1b82067156f44095b282c70c06a05e58572cde7ad2430dd24c4b42ae98be86708ea86ba8b7104aa5887e16ac90d7cf3ae613b84ab9c0f7602307d78b75371 cracklib-2.9.8.tar.bz2
+deef4710a3bf78348adfe699ff995acc21a7671ab03c4dd28da7f38f4a83008af4c97c9c1d4e1e98a47c0148c84146b36477f41f98fb0ee028cc0fadebb85ab9 cracklib.trigger
+100edacf91a4c251d4b05c0f550164fefc3fdaae4b715b24b9c42ec8cc17916b0929f96881982441dddf0fc7b8b91c9423bf0518cb571864f302d054c24a0770 nls.patch"