summaryrefslogtreecommitdiffstats
path: root/source/a/cracklib/cracklib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/cracklib/cracklib.SlackBuild')
-rwxr-xr-xsource/a/cracklib/cracklib.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/a/cracklib/cracklib.SlackBuild b/source/a/cracklib/cracklib.SlackBuild
index e58c28d79..4a617bbb6 100755
--- a/source/a/cracklib/cracklib.SlackBuild
+++ b/source/a/cracklib/cracklib.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright 2010,2011 Vincent Batts, Vienna, VA, USA
-# Copyright 2010, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2010, 2018, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -136,6 +136,13 @@ ln -s /usr/share/cracklib/pw_dict.pwi cracklib_dict.pwi
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
+# Compress manual pages:
+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/$PKGNAM-$VERSION
cp -a \
AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README* \