forked from ports/contrib
cracklib: updated syntax
This commit is contained in:
parent
b9851cfb44
commit
8abfc54463
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF35tz0fq+mvxUQ1q6W5rs+FxdFZbMPp3KtxB/aiQIrbYQkyF2Bkl1nOaSoVX1+vMVdaywa14GHxVLt/IxnPdHswo=
|
||||
SHA256 (Pkgfile) = 84fa8891d394940c8c04a1a3b3f49d2d012c514c16736b20daa8023d8465ead9
|
||||
RWSagIOpLGJF32tzMBa89B8vbaEGGvrG4YDVT8SHv7nvXMyXYcxnNeAbZz+pVmR66RFjhtQzRbfjEfvIBQ4nB2jTi9FhlTeUYAs=
|
||||
SHA256 (Pkgfile) = cd45a41057db94919962cb56d44cc667cf534c52fbc2beddbddefcf332ceb5b7
|
||||
SHA256 (.footprint) = dc457e7c1b1455b0235c1f626a677b1ef1f4d9e63aa2e12e3578c6aa4b867ca7
|
||||
SHA256 (cracklib-2.9.7.tar.gz) = 8b6fd202f3f1d8fa395d3b7a5d821227cfd8bb4a9a584a7ae30cf62cea6287dd
|
||||
|
@ -10,12 +10,15 @@ source=(https://github.com/cracklib/cracklib/releases/download/v$version/$name-$
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr --sbindir=/usr/bin --without-python
|
||||
./configure --prefix=/usr \
|
||||
--sbindir=/usr/bin \
|
||||
--without-python
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
mkdir -p "$PKG"/usr/share/dict
|
||||
ln -sf /usr/share/cracklib/cracklib-small "$PKG"/usr/share/dict/cracklib-small
|
||||
|
||||
mkdir -p $PKG/usr/share/dict
|
||||
ln -sf /usr/share/cracklib/cracklib-small $PKG/usr/share/dict/cracklib-small
|
||||
sh ./util/cracklib-format dicts/cracklib-small \
|
||||
| sh ./util/cracklib-packer "$PKG"/usr/share/cracklib/pw_dict
|
||||
| sh ./util/cracklib-packer $PKG/usr/share/cracklib/pw_dict
|
||||
rm -r $PKG/usr/share/locale/
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user