summaryrefslogtreecommitdiff
path: root/user/cracklib/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/cracklib/APKBUILD')
-rw-r--r--user/cracklib/APKBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/user/cracklib/APKBUILD b/user/cracklib/APKBUILD
index eba2a0c49..ebc721a79 100644
--- a/user/cracklib/APKBUILD
+++ b/user/cracklib/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=cracklib
-pkgver=2.9.6
+pkgver=2.9.7
pkgrel=0
pkgdesc="Library for checking passwords against dictionary words"
url=" "
@@ -11,17 +11,15 @@ depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-lang"
triggers="$pkgname.trigger=/usr/share/dict"
-source="https://github.com/cracklib/cracklib/releases/download/cracklib-$pkgver/cracklib-$pkgver.tar.gz
+source="https://github.com/cracklib/cracklib/releases/download/v$pkgver/cracklib-$pkgver.tar.bz2
$pkgname.trigger
"
-prepare() {
- cd "$builddir"
- default_prepare
-}
+# secfixes:
+# 2.9.7-r0:
+# - CVE-2016-6318
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,15 +31,13 @@ build() {
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -m644 dicts/cracklib-small "$pkgdir"/usr/share/dict/cracklib-small
}
-sha512sums="2b09672e5b412d670e7ed911ebf0c0023fe2901ea05c9c02eefb7a58a13cddbc27a65d75bb20be9f8cebf4c90a9a56dfe1a3b656dff62b1d6048f5376e671786 cracklib-2.9.6.tar.gz
+sha512sums="f6bf65ac092ba46ff78ddbc115692260fb76dc71219cd679d2ea935ebfb9e709fbb30259a7406743ed00dbdc415335b3ac9d9fcba1d204ea36d5eb96bf1333a2 cracklib-2.9.7.tar.bz2
deef4710a3bf78348adfe699ff995acc21a7671ab03c4dd28da7f38f4a83008af4c97c9c1d4e1e98a47c0148c84146b36477f41f98fb0ee028cc0fadebb85ab9 cracklib.trigger"