webfs: dropped
This commit is contained in:
parent
8ebe4bf72b
commit
cd2f321ca6
@ -1,9 +0,0 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
-rwxr-xr-x root/root etc/rc.d/webfsd
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/webfsd
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/webfsd.1.gz
|
@ -1,2 +0,0 @@
|
||||
6dc125fe160479404147e7bbfc781dbc webfs-1.21.tar.gz
|
||||
9b05d0083cfa72ef48661de0a064c061 webfsd
|
@ -1,16 +0,0 @@
|
||||
# Description: A simple HTTP server for static content
|
||||
# URL: http://linux.bytesex.org/misc/webfs.html
|
||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||
# Depends on: openssl
|
||||
|
||||
name=webfs
|
||||
version=1.21
|
||||
release=3
|
||||
source=(http://dl.bytesex.org/releases/webfs/webfs-$version.tar.gz \
|
||||
webfsd)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
make prefix=$PKG/usr mandir=$PKG/usr/man install
|
||||
install -D -m 0755 $SRC/webfsd $PKG/etc/rc.d/webfsd
|
||||
}
|
23
webfs/webfsd
23
webfs/webfsd
@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.d/httpd: start/stop webfs http daemon
|
||||
#
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
/usr/bin/webfsd -u www -g www -r /var/www -p 80 -f index.html
|
||||
;;
|
||||
stop)
|
||||
killall -q /usr/bin/webfsd
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 2
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 [start|stop|restart]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# End of file
|
Loading…
Reference in New Issue
Block a user