Skip to content

Commit 4b9f013

Browse files
committed
system/passwdqc: Updated for version 2.1.0.
1 parent 8dbaaae commit 4b9f013

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

system/passwdqc/passwdqc.SlackBuild

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
cd $(dirname $0) ; CWD=$(pwd)
88

99
PRGNAM=passwdqc
10-
VERSION=${VERSION:-2.0.3}
10+
VERSION=${VERSION:-2.1.0}
1111
BUILD=${BUILD:-1}
1212
TAG=${TAG:-_SBo}
1313
PKGTYPE=${PKGTYPE:-tgz}
@@ -20,9 +20,6 @@ if [ -z "$ARCH" ]; then
2020
esac
2121
fi
2222

23-
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
24-
# the name of the created package would be, and then exit. This information
25-
# could be useful to other scripts.
2623
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
2724
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
2825
exit 0
@@ -39,7 +36,7 @@ elif [ "$ARCH" = "i686" ]; then
3936
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
4037
LIBDIRSUFFIX=""
4138
elif [ "$ARCH" = "x86_64" ]; then
42-
SLKCFLAGS="-O2 -fPIC"
39+
SLKCFLAGS="-O2 -fPIC -fPIE -pie -Wl,-z,relro,-z,now -fstack-protector-all -fstack-clash-protection -fcf-protection=full -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS"
4340
LIBDIRSUFFIX="64"
4441
else
4542
SLKCFLAGS="-O2"
@@ -62,6 +59,7 @@ find -L . \
6259
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
6360

6461
make
62+
make check
6563
make install DESTDIR=$PKG MANDIR=/usr/man SHARED_LIBDIR=/usr/lib${LIBDIRSUFFIX} SHARED_LIBDIR_SUN=/usr/lib${LIBDIRSUFFIX} DEVEL_LIBDIR=/usr/lib${LIBDIRSUFFIX} SECUREDIR=/lib${LIBDIRSUFFIX}/security
6664

6765
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \

system/passwdqc/passwdqc.info

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PRGNAM="passwdqc"
2-
VERSION="2.0.3"
2+
VERSION="2.1.0"
33
HOMEPAGE="http://www.openwall.com/passwdqc/"
4-
DOWNLOAD="https://www.openwall.com/passwdqc/passwdqc-2.0.3.tar.gz"
5-
MD5SUM="fd4d6fff2951256c3c0d013becef1298"
4+
DOWNLOAD="https://www.openwall.com/passwdqc/passwdqc-2.1.0.tar.gz"
5+
MD5SUM="8f89ff67b1eb8d41ea566a505f234765"
66
DOWNLOAD_x86_64=""
77
MD5SUM_x86_64=""
88
REQUIRES=""

0 commit comments

Comments
 (0)