aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorTimothy Pollard <sbo@timp.com.au>2016-01-06 07:22:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-09 07:12:22 +0700
commit9db6dade141be2107dd1a417249416ebdaf4b0ac (patch)
tree32d021ee9c1a87f5ff4f7df710003adef6f435a7 /system
parentda799258d2974fd6496c7a9fbdf2668cd9481d3d (diff)
system/pwgen: Updated for version 2.07.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/pwgen/pwgen.SlackBuild19
-rw-r--r--system/pwgen/pwgen.info6
2 files changed, 11 insertions, 14 deletions
diff --git a/system/pwgen/pwgen.SlackBuild b/system/pwgen/pwgen.SlackBuild
index 3ae97d08b1ba0..77872706c6639 100644
--- a/system/pwgen/pwgen.SlackBuild
+++ b/system/pwgen/pwgen.SlackBuild
@@ -30,7 +30,7 @@
# No additional license terms added
APP=pwgen
-VERSION=2.06
+VERSION=${VERSION:-2.07}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,7 +73,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -86,19 +86,16 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man || exit 1
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ); do
- ln -s $( readlink $i ).gz $i.gz;
- rm $i;
- done
-)
+mv $PKG/usr/share/man $PKG/usr/man
+rm -rf $PKG/usr/share
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$APP-$VERSION
-cp -t $PKG/usr/doc/$APP-$VERSION ChangeLog
cp $CWD/$APP.SlackBuild $PKG/usr/doc/$APP-$VERSION/
find $PKG/usr/doc/$APP-$VERSION -type f -exec chmod 644 {} \;
diff --git a/system/pwgen/pwgen.info b/system/pwgen/pwgen.info
index 140d7936c08cf..cc4b708c2af04 100644
--- a/system/pwgen/pwgen.info
+++ b/system/pwgen/pwgen.info
@@ -1,8 +1,8 @@
PRGNAM="pwgen"
-VERSION="2.06"
+VERSION="2.07"
HOMEPAGE="http://sourceforge.net/projects/pwgen/"
-DOWNLOAD="http://downloads.sourceforge.net/pwgen/pwgen-2.06.tar.gz"
-MD5SUM="935aebcbe610fbc9de8125e7b7d71297"
+DOWNLOAD="http://downloads.sourceforge.net/pwgen/pwgen-2.07.tar.gz"
+MD5SUM="910b1008cdd86445e9e01305d21ee4c5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""