aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-07 12:59:02 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-07 11:28:20 -0600
commit739a284c63f1075ea483f3e3cb05a4cd4cfb839a (patch)
tree5ac2b7a078155fb44bd25814d127fd7c7952fdd8
parent5f1565811959986f0cf94e8df6346e0b1c9914d0 (diff)
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 7dca8fde1ae29..ebf96e87ee989 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 47bf66aaf508b..5592696365822 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=""