diff options
author | pav <pav@FreeBSD.org> | 2006-04-26 03:52:00 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-04-26 03:52:00 +0800 |
commit | 57f0f6868f5f5a542607a85587bc610cad356a69 (patch) | |
tree | cbc8e4f85b7d75278ca30d61e26be6893d7b9831 /www | |
parent | bcec7124420a1a8835fbd9880deae8f02bc8025c (diff) | |
download | freebsd-ports-gnome-57f0f6868f5f5a542607a85587bc610cad356a69.tar.gz freebsd-ports-gnome-57f0f6868f5f5a542607a85587bc610cad356a69.tar.zst freebsd-ports-gnome-57f0f6868f5f5a542607a85587bc610cad356a69.zip |
- Update to 0.7n
- Update rc script handling [1]
- Take maintainership [2]
[1]
PR: ports/95842
Submitted by: Andrew Pantyukhin <infofarmer@gmail.com>
[2]
PR: ports/96270
Submitted by: Frank Laszlo <laszlof@vonostingroup.com>
Diffstat (limited to 'www')
-rw-r--r-- | www/zerowait-httpd/Makefile | 19 | ||||
-rw-r--r-- | www/zerowait-httpd/distinfo | 6 | ||||
-rw-r--r-- | www/zerowait-httpd/files/0W-httpd.in (renamed from www/zerowait-httpd/files/0W-httpd.sh) | 0 | ||||
-rw-r--r-- | www/zerowait-httpd/pkg-plist | 11 |
4 files changed, 15 insertions, 21 deletions
diff --git a/www/zerowait-httpd/Makefile b/www/zerowait-httpd/Makefile index 654b89d61779..6006ca4fe883 100644 --- a/www/zerowait-httpd/Makefile +++ b/www/zerowait-httpd/Makefile @@ -6,28 +6,21 @@ # PORTNAME= zerowait-httpd -PORTVERSION= 0.7m +PORTVERSION= 0.7n CATEGORIES= www MASTER_SITES= http://www.0w.ru/httpd/ DISTNAME= 0W-httpd-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= laszlof@vonostingroup.com COMMENT= Lightweight and fast http server USE_GMAKE= yes USE_OPENSSL= yes -USE_RC_SUBR= yes +USE_RC_SUBR= 0W-httpd MAKE_ARGS= CFLAGS="${CFLAGS}" CPPFLAGS=-I.. -WWW_USER?= ${WWWOWN} -WWW_GROUP?= ${WWWGRP} - -pre-build: - @${SED} -e 's,%%PREFIX%%,${PREFIX},g' -e 's,%%RC_SUBR%%,${RC_SUBR},' \ - ${FILESDIR}/0W-httpd.sh > ${WRKDIR}/0W-httpd.sh - @${SH} -c 'cd ${WRKSRC} && ./configure --prefix=${PREFIX} --owner=${WWW_USER} --group=${WWW_GROUP}' - -post-install: - @${INSTALL_SCRIPT} -m 755 ${WRKDIR}/0W-httpd.sh ${PREFIX}/etc/rc.d/0W-httpd.sh +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} --owner=${WWWOWN} --group=${WWWGRP} +PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} .include <bsd.port.mk> diff --git a/www/zerowait-httpd/distinfo b/www/zerowait-httpd/distinfo index da14435a0dff..e090f9bb0504 100644 --- a/www/zerowait-httpd/distinfo +++ b/www/zerowait-httpd/distinfo @@ -1,3 +1,3 @@ -MD5 (0W-httpd-0.7m.tar.gz) = b599bf9c6e7c784eda29f420aab45e31 -SHA256 (0W-httpd-0.7m.tar.gz) = 18881788f32dcb16434431d2245e5c48b92344028dbe9b85f1b8d6e341ca17e3 -SIZE (0W-httpd-0.7m.tar.gz) = 83930 +MD5 (0W-httpd-0.7n.tar.gz) = 4d506e21f57a4f1a3ca1b87a6a50299f +SHA256 (0W-httpd-0.7n.tar.gz) = dd033778ee0a6f5ed570c774a816c1ffa638f7487ae0c35f39aaa81a10029a85 +SIZE (0W-httpd-0.7n.tar.gz) = 84854 diff --git a/www/zerowait-httpd/files/0W-httpd.sh b/www/zerowait-httpd/files/0W-httpd.in index f10e657d344b..f10e657d344b 100644 --- a/www/zerowait-httpd/files/0W-httpd.sh +++ b/www/zerowait-httpd/files/0W-httpd.in diff --git a/www/zerowait-httpd/pkg-plist b/www/zerowait-httpd/pkg-plist index 45378495bc79..0f93ee8c904b 100644 --- a/www/zerowait-httpd/pkg-plist +++ b/www/zerowait-httpd/pkg-plist @@ -1,5 +1,4 @@ -@comment $FreeBSD$ -@unexec %D/etc/rc.d/0W-httpd.sh stop +@unexec %D/etc/rc.d/0W-httpd stop bin/update-countries.sh bin/convert-ranges bin/convert-geoip @@ -8,9 +7,11 @@ etc/0W-httpd/countries etc/0W-httpd/countries.ips etc/0W-httpd/countries.rus etc/0W-httpd/httpd.conf.sample -etc/rc.d/0W-httpd.sh +@exec install -d -o %%WWWOWN%% -g %%WWWGRP%% %D/0W-httpd/pids +@exec install -d -o %%WWWOWN%% -g %%WWWGRP%% %D/0W-httpd/data +@exec install -d -o %%WWWOWN%% -g %%WWWGRP%% %D/0W-httpd/logs @dirrm etc/0W-httpd/ @dirrm 0W-httpd/pids @dirrm 0W-httpd/data -@unexec rm -fr %D/0W-httpd/logs/ > /dev/null 2>&1 || true -@dirrm 0W-httpd/ +@unexec rm -fr %D/0W-httpd/logs > /dev/null 2>&1 || true +@dirrm 0W-httpd |