[arch-commits] Commit in webfs/trunk (PKGBUILD webfsd.rc)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Fri May 31 15:10:15 UTC 2013


    Date: Friday, May 31, 2013 @ 17:10:15
  Author: foutrelis
Revision: 92106

upgpkg: webfs 1.21-10

Drop rc.d script.

Modified:
  webfs/trunk/PKGBUILD
Deleted:
  webfs/trunk/webfsd.rc

-----------+
 PKGBUILD  |    9 ++++-----
 webfsd.rc |   38 --------------------------------------
 2 files changed, 4 insertions(+), 43 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-31 14:53:05 UTC (rev 92105)
+++ PKGBUILD	2013-05-31 15:10:15 UTC (rev 92106)
@@ -7,18 +7,18 @@
 
 pkgname=webfs
 pkgver=1.21
-pkgrel=9
+pkgrel=10
 pkgdesc="Simple and instant http server for mostly static content."
 arch=(i686 x86_64)
 url="http://linux.bytesex.org/misc/webfs.html"
 license=("GPL")
 depends=('mime-types' 'openssl')
-backup=(etc/conf.d/webfsd)
+backup=('etc/conf.d/webfsd')
 source=(http://dl.bytesex.org/releases/webfs/webfs-${pkgver}.tar.gz
-        webfsd.rc webfsd.conf webfs.patch
+        webfsd.conf
+        webfs.patch
         webfsd.service)
 md5sums=('6dc125fe160479404147e7bbfc781dbc'
-         '3ae9fcdcf79b193aa88e386055e9ebd7'
          'b2c1ab041a82acd8391b06dc38d986be'
          '7294edcec2589df04bb775270d56536e'
          'e1202dd915cba1a02e0016aa3a516b4a')
@@ -34,7 +34,6 @@
 	cd "$srcdir/$pkgname-$pkgver"
 
 	make prefix=/usr DESTDIR="$pkgdir" install
-	install -Dm755 "$srcdir/webfsd.rc"       "$pkgdir/etc/rc.d/webfsd"
 	install -Dm644 "$srcdir/webfsd.conf"     "$pkgdir/etc/conf.d/webfsd"
 	install -Dm755 "$srcdir/webfsd.service"  "$pkgdir/usr/lib/systemd/system/webfsd.service"
 }

Deleted: webfsd.rc
===================================================================
--- webfsd.rc	2013-05-31 14:53:05 UTC (rev 92105)
+++ webfsd.rc	2013-05-31 15:10:15 UTC (rev 92106)
@@ -1,38 +0,0 @@
-#!/bin/sh
-
-# source application-specific settings
-[ -f /etc/conf.d/webfsd ] && . /etc/conf.d/webfsd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID webfsd`
-case "$1" in
-  start)
-    stat_busy "Starting webfsd"
-    [ -z "$PID" ] && /usr/bin/webfsd ${WEBFSD_ARGS} &
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon webfsd
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping webfsd"
-    [ ! -z "$PID" ] && kill $PID &>/dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon webfsd
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"
-esac
-exit 0




More information about the arch-commits mailing list