summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-07 12:59:02 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-11 10:58:07 -0600
commitb92700cb42fca47f5019e091fe8d09324c096bf9 (patch)
tree34b9f7b62d066464d6d0b2c4a3d6f60b5738273b
parent2419c0fb7c869d30dbcef6120c23ee6c6591bc7d (diff)
downloadslackbuilds-b92700cb42fca47f5019e091fe8d09324c096bf9.tar.gz
system/udevil: Updated for version 0.4.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/udevil/udevil.SlackBuild9
-rw-r--r--system/udevil/udevil.info6
2 files changed, 9 insertions, 6 deletions
diff --git a/system/udevil/udevil.SlackBuild b/system/udevil/udevil.SlackBuild
index 7dca8fde1a..ebf96e87ee 100644
--- a/system/udevil/udevil.SlackBuild
+++ b/system/udevil/udevil.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=udevil
-VERSION=${VERSION:-0.3.3}
+VERSION=${VERSION:-0.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -83,7 +83,7 @@ make install DESTDIR=$PKG
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
-mv $PKG/etc/udevil/udevil.conf{,.new}
+mv $PKG/etc/udevil/udevil.conf $PKG/etc/udevil/udevil.conf.new
# Specify which system groups are allowed to use the suidded udevil
sed -i "s|^allowed_groups.*|allowed_groups = plugdev|" $PKG/etc/udevil/udevil.conf.new
chgrp plugdev $PKG/usr/bin/udevil
@@ -96,6 +96,9 @@ ALLOWED_FS=${ALLOWED_FS}" ramfs, iso9660, udf, msdos, umsdos"
sed -i "s|^allowed_types.*|allowed_types = $ALLOWED_FS|" \
$PKG/etc/udevil/udevil.conf.new
+# We don't want these
+rm -fR $PKG/usr/lib $PKG/etc/conf.d
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/udevil/udevil.info b/system/udevil/udevil.info
index 47bf66aaf5..5592696365 100644
--- a/system/udevil/udevil.info
+++ b/system/udevil/udevil.info
@@ -1,8 +1,8 @@
PRGNAM="udevil"
-VERSION="0.3.3"
+VERSION="0.4.1"
HOMEPAGE="http://ignorantguru.github.com/udevil/"
-DOWNLOAD="https://github.com/IgnorantGuru/udevil/raw/master/packages/0.3.3/udevil-0.3.3.tar.xz"
-MD5SUM="81abe64e0c6d3555f0b66b7d7fa9a340"
+DOWNLOAD="https://github.com/IgnorantGuru/udevil/raw/master/packages/0.4.1/udevil-0.4.1.tar.xz"
+MD5SUM="16b31f3d03169b4d511e0a9f5cf419a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""