Browse Source

l/libpwquality: Upgraded to libpwquality-1.4.2.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
aca9af98a6
  1. 1
      l/libpwquality/libpwquality-1.4.0.tar.bz2.sha256
  2. 1
      l/libpwquality/libpwquality-1.4.2.tar.bz2.sha256
  3. 21
      l/libpwquality/libpwquality.SlackBuild

1
l/libpwquality/libpwquality-1.4.0.tar.bz2.sha256

@ -1 +0,0 @@
1de6ff046cf2172d265a2cb6f8da439d894f3e4e8157b056c515515232fade6b libpwquality-1.4.0.tar.bz2

1
l/libpwquality/libpwquality-1.4.2.tar.bz2.sha256

@ -0,0 +1 @@
5263e09ee62269c092f790ac159112aed3e66826a795e3afec85fdeac4281c8e libpwquality-1.4.2.tar.bz2

21
l/libpwquality/libpwquality.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2017 Damien Goutte-Gattat
# Copyright (C) 2017,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,7 +29,7 @@
# Source package infos
NAMESRC=${NAMESRC:-libpwquality}
VERSION=${VERSION:-1.4.0}
VERSION=${VERSION:-1.4.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://github.com/libpwquality/libpwquality/releases/download/libpwquality-$VERSION/$ARCHIVE}
@ -98,6 +98,23 @@ CXXFLAGS=$CPUOPT \
make -j $JOBS
make install-strip DESTDIR=$PKG
# Now build the Python 3 module. The build system does not
# support VPATH builds, so we need to clean up the previous
# build and configure again in the same directory.
make distclean
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--disable-static \
--disable-dependency-tracking \
--with-python-binary=python3 \
--build=$ARCH-slackware-linux
make -j $JOBS
make -C python install-strip DESTDIR=$PKG
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
rmdir $PKG/usr/man/man8

Loading…
Cancel
Save