aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2014-12-13 00:14:53 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-20 07:16:44 +0700
commitaed0308e188390904421760796fe1c0f2a41275b (patch)
treef2e12c23508ba16108324a10e9c6b689d18efcb0
parentad4bc4ffe8a1b8a987e497fc5dce5981fd5c4bb1 (diff)
libraries/libvirt: Updated for version 1.2.11.
This commit also modifies start() rc.libvirtd to be more consistent with how Slackware's stock init scripts start daemons, and a 2>/dev/null was added to the modprobe -r command in stop() to hide useless errors when e.g. tun module can't be removed because it's (still) in use (by other processes). Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--libraries/libvirt/libvirt.SlackBuild2
-rw-r--r--libraries/libvirt/libvirt.info6
-rw-r--r--libraries/libvirt/rc.libvirt4
3 files changed, 6 insertions, 6 deletions
diff --git a/libraries/libvirt/libvirt.SlackBuild b/libraries/libvirt/libvirt.SlackBuild
index 673aed2342f5d..c8a17ffd6cf9c 100644
--- a/libraries/libvirt/libvirt.SlackBuild
+++ b/libraries/libvirt/libvirt.SlackBuild
@@ -5,7 +5,7 @@
# Maintained by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=libvirt
-VERSION=${VERSION:-1.2.10}
+VERSION=${VERSION:-1.2.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/libraries/libvirt/libvirt.info b/libraries/libvirt/libvirt.info
index 73983b000c2ca..892526b67cfae 100644
--- a/libraries/libvirt/libvirt.info
+++ b/libraries/libvirt/libvirt.info
@@ -1,8 +1,8 @@
PRGNAM="libvirt"
-VERSION="1.2.10"
+VERSION="1.2.11"
HOMEPAGE="http://libvirt.org"
-DOWNLOAD="http://libvirt.org/sources/libvirt-1.2.10.tar.gz"
-MD5SUM="1338a14c1cf2935f9485abc41b107ef9"
+DOWNLOAD="http://libvirt.org/sources/libvirt-1.2.11.tar.gz"
+MD5SUM="616ad039f212c02f7e055c5cf28c0a76"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="yajl urlgrabber"
diff --git a/libraries/libvirt/rc.libvirt b/libraries/libvirt/rc.libvirt
index 6f7a1d198ebda..d8ddd63faa80c 100644
--- a/libraries/libvirt/rc.libvirt
+++ b/libraries/libvirt/rc.libvirt
@@ -80,7 +80,7 @@ start() {
echo "libvirt is already running..."
exit 1
fi
- echo "Starting libvirtd..."
+ echo "Starting libvirtd: /usr/sbin/libvirtd -d "
mkdir -p $(dirname $PIDFILE)
check_processor
/sbin/modprobe -a $MODULES
@@ -100,7 +100,7 @@ stop() {
done
kill -TERM `cat $PIDFILE`
sleep 3
- /sbin/modprobe -ra $MODULES
+ /sbin/modprobe -ra $MODULES 2>/dev/null
}
case $1 in