diff options
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 |
commit | 3f9eb644112bb08af8418a2c99c16b8876d29bcd (patch) | |
tree | 31d91922a7a9fb789faa36a271c4aa5458936faf /system/xfsudo | |
parent | f4f9ff58130d8bfe40c76b61cd13f9ca53d1fe01 (diff) |
system/xfsudo: Updated for version 0.6.1.
Diffstat (limited to 'system/xfsudo')
-rw-r--r-- | system/xfsudo/doinst.sh | 14 | ||||
-rw-r--r-- | system/xfsudo/xfsudo.SlackBuild | 6 | ||||
-rw-r--r-- | system/xfsudo/xfsudo.info | 6 |
3 files changed, 4 insertions, 22 deletions
diff --git a/system/xfsudo/doinst.sh b/system/xfsudo/doinst.sh deleted file mode 100644 index de85fd01cc0aa..0000000000000 --- 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 fe0ae2f196f2a..38b96ddd2a736 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 9e9920e5f5274..d454e23f990e5 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" |