1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- 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>
This commit is contained in:
Pav Lucistnik 2006-04-25 19:52:00 +00:00
parent ea234c75e7
commit eb22ef9a6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160462
4 changed files with 15 additions and 21 deletions

View File

@ -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>

View File

@ -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

View File

@ -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