system/etckeeper: Updated for version 1.13.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Sullins 2014-08-25 07:50:51 +07:00 committed by Willy Sudiarto Raharjo
parent 4c73eaf87a
commit 6ae011ba44
3 changed files with 8 additions and 12 deletions

View file

@ -9,5 +9,3 @@ Etckeeper will use git by default although you can change that in
/etc/etckeeper/etckeeper.conf, assuming you have other version control
tools installed. After installing etckeeper the first time you will
need to run "etckeeper init" once to initialize the repository.
bzr and darcs are optional dependencies.

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="etckeeper"
VERSION="1.10"
VERSION="1.13"
HOMEPAGE="http://joeyh.name/code/etckeeper/"
DOWNLOAD="https://github.com/joeyh/etckeeper/archive/1.10/etckeeper-1.10.tar.gz"
MD5SUM="a89a6d4afb92d0a5a64b60f693fe64f9"
DOWNLOAD="https://github.com/joeyh/etckeeper/archive/1.13/etckeeper-1.13.tar.gz"
MD5SUM="bee7baacd8ffc71657bc424c4523038a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""