From f8a7f10fa1675bee536e1fdb4672c3d84e779d1c Mon Sep 17 00:00:00 2001 From: root Date: Sat, 1 Jun 2013 00:09:42 -0700 Subject: Sat Jun 1 00:09:42 PDT 2013 --- community/webfs/PKGBUILD | 11 +++++------ community/webfs/webfsd.rc | 38 -------------------------------------- 2 files changed, 5 insertions(+), 44 deletions(-) delete mode 100644 community/webfs/webfsd.rc (limited to 'community/webfs') diff --git a/community/webfs/PKGBUILD b/community/webfs/PKGBUILD index e15dba63e..580b9053d 100644 --- a/community/webfs/PKGBUILD +++ b/community/webfs/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 79331 2012-11-03 03:32:04Z kkeen $ +# $Id: PKGBUILD 92107 2013-05-31 15:10:32Z foutrelis $ # Maintainer: Kyle Keen # Contributor: Roman Kyrylych # Contributor: Mark Rosenstand @@ -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 @@ package() { 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" } diff --git a/community/webfs/webfsd.rc b/community/webfs/webfsd.rc deleted file mode 100644 index 1c854ebdb..000000000 --- a/community/webfs/webfsd.rc +++ /dev/null @@ -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 -- cgit v1.2.3-54-g00ecf