Date: Friday, May 17, 2013 @ 01:49:50 Author: svenstaro Revision: 90983
upgpkg: nbd 3.3-3 Remove initscript Modified: nbd/trunk/PKGBUILD Deleted: nbd/trunk/nbd ----------+ PKGBUILD | 6 ++---- nbd | 39 --------------------------------------- 2 files changed, 2 insertions(+), 43 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-05-16 23:47:36 UTC (rev 90982) +++ PKGBUILD 2013-05-16 23:49:50 UTC (rev 90983) @@ -6,19 +6,18 @@ pkgname=nbd pkgver=3.3 -pkgrel=2 +pkgrel=3 pkgdesc="tools for network block devices, allowing you to use remote block devices over TCP/IP" arch=('i686' 'x86_64') url="http://nbd.sourceforge.net" license=('GPL') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 - config nbd nbd.service) + config nbd.service) backup=('etc/nbd-server/config') depends=('glib2') install=nbd.install md5sums=('cde8fe6e870b8a7459f12e5dcf572d86' '2d05d426b8c2708d5f8a0d028fcbae05' - 'e7b13a8b3369e11927d9917664557efa' '5d1acc143018117174f79eff15afa038') build(){ @@ -35,7 +34,6 @@ make DESTDIR="${pkgdir}" install install -D -m644 "${srcdir}"/config "${pkgdir}"/etc/nbd-server/config - install -D -m755 "${srcdir}"/nbd "${pkgdir}"/etc/rc.d/nbd install -D -m644 "${srcdir}"/nbd.service "${pkgdir}"/usr/lib/systemd/system/nbd.service install -D -m644 README "${pkgdir}"/usr/share/doc/nbd/README Deleted: nbd =================================================================== --- nbd 2013-05-16 23:47:36 UTC (rev 90982) +++ nbd 2013-05-16 23:49:50 UTC (rev 90983) @@ -1,39 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PIDFILE="/var/run/nbd-server.pid" -PID=`cat $PIDFILE 2>/dev/null` -case "$1" in - start) - stat_busy "Starting Network Block Device Server" - if [ "$PID" = "" ]; then - /usr/bin/nbd-server - fi - if [ "$PID" != "" -o $? -gt 0 ]; then - stat_fail - else - add_daemon nbd - stat_done - fi - ;; - stop) - stat_busy "Stopping Network Block Device Server" - [ ! -z "$PID" ] && kill $PID &> /dev/null - rm -f $PIDFILE - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon nbd - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac