summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Aaditya Bagga <aaditya_gnulinux@zoho.com>2015-05-10 14:34:13 +0530
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-17 01:59:21 +0700
commit3f9eb644112bb08af8418a2c99c16b8876d29bcd (patch)
tree31d91922a7a9fb789faa36a271c4aa5458936faf /system
parentf4f9ff58130d8bfe40c76b61cd13f9ca53d1fe01 (diff)
downloadslackbuilds-3f9eb644112bb08af8418a2c99c16b8876d29bcd.tar.gz
slackbuilds-3f9eb644112bb08af8418a2c99c16b8876d29bcd.tar.xz
system/xfsudo: Updated for version 0.6.1.
Diffstat (limited to 'system')
-rw-r--r--system/xfsudo/doinst.sh14
-rw-r--r--system/xfsudo/xfsudo.SlackBuild6
-rw-r--r--system/xfsudo/xfsudo.info6
3 files changed, 4 insertions, 22 deletions
diff --git a/system/xfsudo/doinst.sh b/system/xfsudo/doinst.sh
deleted file mode 100644
index de85fd01cc..0000000000
--- a/system/xfsudo/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/xfsudo.conf.new
diff --git a/system/xfsudo/xfsudo.SlackBuild b/system/xfsudo/xfsudo.SlackBuild
index fe0ae2f196..38b96ddd2a 100644
--- a/system/xfsudo/xfsudo.SlackBuild
+++ b/system/xfsudo/xfsudo.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xfsudo
-VERSION=${VERSION:-0.5.1}
+VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,9 +55,6 @@ find -L . \
make install DESTDIR=$PKG
-# Preserve config file
-mv $PKG/etc/xfsudo.conf $PKG/etc/xfsudo.conf.new
-
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
@@ -66,7 +63,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/xfsudo/xfsudo.info b/system/xfsudo/xfsudo.info
index 9e9920e5f5..d454e23f99 100644
--- a/system/xfsudo/xfsudo.info
+++ b/system/xfsudo/xfsudo.info
@@ -1,8 +1,8 @@
PRGNAM="xfsudo"
-VERSION="0.5.1"
+VERSION="0.6.1"
HOMEPAGE="http://github.com/aadityabagga/xfsudo"
-DOWNLOAD="http://github.com/aadityabagga/xfsudo/archive/0.5.1.tar.gz"
-MD5SUM="7932b1ee6afee3aa3a13afb9987f839d"
+DOWNLOAD="http://github.com/aadityabagga/xfsudo/archive/0.6.1.tar.gz"
+MD5SUM="a45e2909dda1995ce329acd6bbf4ea3e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zenity"