From aed0308e188390904421760796fe1c0f2a41275b Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 13 Dec 2014 00:14:53 -0600 Subject: 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 --- libraries/libvirt/libvirt.SlackBuild | 2 +- libraries/libvirt/libvirt.info | 6 +++--- libraries/libvirt/rc.libvirt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libraries') diff --git a/libraries/libvirt/libvirt.SlackBuild b/libraries/libvirt/libvirt.SlackBuild index 673aed2342..c8a17ffd6c 100644 --- a/libraries/libvirt/libvirt.SlackBuild +++ b/libraries/libvirt/libvirt.SlackBuild @@ -5,7 +5,7 @@ # Maintained by Robby Workman 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 73983b000c..892526b67c 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 6f7a1d198e..d8ddd63faa 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 -- cgit v1.2.3