diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-06-18 18:17:55 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-06-18 18:17:55 +0000 |
commit | 8ec24df1c49500f27409590cb79ff726631d8a25 (patch) | |
tree | 028edd64fb7bb131639b7136e3e16d4f67772521 /www/webfs | |
parent | b5215484bf39316eee9b37ddaa3a4cbc1be84ce0 (diff) |
- Add backup MASTER_SITES
- Move content of pkg-plist to PLIST_FILES
- Add a rc_ng start script
- Pass maintainership to submitter
PR: 113784
Submitted by: Lars Engels <lars.engels@0x20.net>
Notes
Notes:
svn path=/head/; revision=193820
Diffstat (limited to 'www/webfs')
-rw-r--r-- | www/webfs/Makefile | 10 | ||||
-rw-r--r-- | www/webfs/files/webfsd.in | 27 | ||||
-rw-r--r-- | www/webfs/pkg-plist | 1 |
3 files changed, 34 insertions, 4 deletions
diff --git a/www/webfs/Makefile b/www/webfs/Makefile index 32e3620d0e77..4abdbe29f56d 100644 --- a/www/webfs/Makefile +++ b/www/webfs/Makefile @@ -7,11 +7,11 @@ PORTNAME= webfs PORTVERSION= 1.21 -PORTREVISION= 0 CATEGORIES= www ipv6 -MASTER_SITES= http://dl.bytesex.org/releases/webfs/ +MASTER_SITES= http://dl.bytesex.org/releases/webfs/ \ + http://www.bsd-geek.de/FreeBSD/distfiles/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= lars.engels@0x20.net COMMENT= A simple http server for static content RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support @@ -24,9 +24,13 @@ MAKE_ENV= USE_SSL=no .endif MAKE_ENV+= LDLIBS="-lssl -lcrypto" USE_DIET=no +PLIST_FILES= sbin/webfsd + MAN1= webfsd.1 MIMEFILE?= ${LOCALBASE}/etc/mime.types +USE_RC_SUBR= webfsd + pre-everything:: @${ECHO_CMD} "" @${ECHO_CMD} "===========================================" diff --git a/www/webfs/files/webfsd.in b/www/webfs/files/webfsd.in new file mode 100644 index 000000000000..9cd9bfd4cb0f --- /dev/null +++ b/www/webfs/files/webfsd.in @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: webfsd +# REQUIRE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf to enable webfsd: +# +# webfsd_enable=(bool): Set it to "YES" to enable webfsd +# +# and add appropriate webfsd_flags. +# + +. %%RC_SUBR%% + +name="webfsd" +rcvar=`set_rcvar` + +load_rc_config $name + +: ${webfsd_enable="NO"} + +command=%%PREFIX%%/sbin/${name} + +run_rc_command "$1" diff --git a/www/webfs/pkg-plist b/www/webfs/pkg-plist deleted file mode 100644 index 1fbb2242d9c7..000000000000 --- a/www/webfs/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -sbin/webfsd |