summaryrefslogtreecommitdiff
path: root/system/etckeeper/etckeeper.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/etckeeper/etckeeper.SlackBuild')
-rw-r--r--system/etckeeper/etckeeper.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/system/etckeeper/etckeeper.SlackBuild b/system/etckeeper/etckeeper.SlackBuild
index b2d762d1bd..9641b22dd7 100644
--- a/system/etckeeper/etckeeper.SlackBuild
+++ b/system/etckeeper/etckeeper.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=etckeeper
-VERSION=${VERSION:-1.10}
+VERSION=${VERSION:-1.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,9 +51,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -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 {} \;
# By default etckeeper is configured for an apt/dpkg based system. Change
# that so it won't pollute /etc with files we don't need on Slackware.
@@ -64,14 +64,12 @@ make install DESTDIR=$PKG
mv $PKG/etc/etckeeper/etckeeper.conf $PKG/etc/etckeeper/etckeeper.conf.new
mv $PKG/usr/share/man $PKG/usr/man
-rmdir $PKG/usr/share
+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/$PRGNAM-$VERSION
-cp -a \
- GPL INSTALL README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a GPL INSTALL README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install