mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 23:22:24 +01:00
44 lines
1009 B
Plaintext
44 lines
1009 B
Plaintext
# Contributor: Michael Mason <ms13sp@gmail.com>
|
|
# Maintainer: Michael Mason <ms13sp@gmail.com>
|
|
pkgname=cracklib
|
|
pkgver=2.9.7
|
|
pkgrel=0
|
|
pkgdesc="A library used to enforce strong passwords"
|
|
url="https://github.com/cracklib/cracklib"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
subpackages="$pkgname-dev"
|
|
source="https://github.com/cracklib/cracklib/releases/download/v$pkgver/cracklib-$pkgver.tar.bz2"
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
# secfixes:
|
|
# 2.9.7-r0:
|
|
# - CVE-2016-6318
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--without-python \
|
|
--disable-nls \
|
|
--with-default-dict
|
|
make -j1 all
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make -j1 DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="f6bf65ac092ba46ff78ddbc115692260fb76dc71219cd679d2ea935ebfb9e709fbb30259a7406743ed00dbdc415335b3ac9d9fcba1d204ea36d5eb96bf1333a2 cracklib-2.9.7.tar.bz2"
|