cd $(DIR_APP) && ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-openssl --without-sasl --without-uml --without-vbox --without-lxc --without-esx --without-vmware --without-openvz --without-firewalld --without-storage-scsi --without-storage-mpath --without-avahi --with-test-suite -without-dbus --without-storage-lvm --without-pm-utils
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
cd $(DIR_APP) && make install
+ install -v -m 754 $(DIR_SRC)/src/initscripts/init.d/libvirt /etc/rc.d/init.d
@rm -rf $(DIR_APP)
@$(POSTBUILD)
--- /dev/null
+#!/bin/sh
+# Begin $rc_base/init.d/libvirtd
+
+#$LastChangedBy: Jonatan Schlag $
+#$Date: 2016-03-17 12:25 UTC $
+
+# Start or stop the Libvirt Daemon based upon the first argument to the script.
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+case $1 in
+ start)
+ boot_mesg "Loading required kernel modules"
+ modprobe tun
+ evaluate_retval
+ boot_mesg "Starting Libvirt Daemon..."
+ loadproc /usr/sbin/libvirtd -d
+
+ ;;
+
+ stop)
+ boot_mesg "Stopping Libvirt Daemon..."
+ killproc /usr/sbin/libvirtd
+ ;;
+
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+
+ status)
+ statusproc /usr/sbin/libvirtd
+ ;;
+
+ *)
+ echo "Usage: $0 {start|stop|restart|status}"
+ exit 1
+ ;;
+esac
+
+# End $rc_base/init.d/libvirt