ports/86376: [maintainer] www/xshttpd: update to version 33b27
Johan van Selst
johans at stack.nl
Tue Sep 20 17:00:32 UTC 2005
>Number: 86376
>Category: ports
>Synopsis: [maintainer] www/xshttpd: update to version 33b27
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 20 17:00:29 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Johan van Selst
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE #5: Wed Jul 13 12:15:37 CEST 2005 johans at mud.stack.nl:/usr/obj/usr/src/sys/mud i386
>Description:
Update to bugfix release beta 27.
And while we're at it...
- add secondary MASTER_SITE
- configure OPTIONS
- replace SED/MV with REINPLACE
- make webserver use WWWOWN, WWWGRP
- enable experimental USE_GPG support
>How-To-Repeat:
>Fix:
diff -uNr xshttpd/Makefile xshttpd/Makefile
--- xshttpd/Makefile Fri Sep 16 01:04:31 2005
+++ xshttpd/Makefile Tue Sep 20 18:50:41 2005
@@ -6,10 +6,13 @@
#
PORTNAME= xshttpd
-DISTVERSION= 3.3b26
+DISTVERSION= 3.3b27
CATEGORIES= www
-MASTER_SITES= ftp://ftp.stack.nl/pub/xs-httpd/release/
+MASTER_SITES= ftp://ftp.stack.nl/pub/xs-httpd/release/ \
+ ftp://mud.stack.nl/pub/xs-httpd/release/
DISTNAME= ${PORTNAME}-${DISTVERSION:S/.//}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= johans at stack.nl
COMMENT= A webserver with CGI as own user and SSL suport
@@ -22,6 +25,15 @@
readxs.1 xsindex.1 xspasswd.1
MAN5= httpd.conf.5 xsauth.5 xsscripts.5
USE_RC_SUBR= xshttpd.sh
+USE_GPG?= yes
+SIG_FILES= ${DISTNAME}${EXTRACT_SUFX}.asc
+
+USE_REINPLACE= yes
+
+OPTIONS= SSL "Enable https support" On \
+ LDAP "Enable ldap support" Off \
+ PCRE "Enable pcre rewriting support" Off \
+ PERSISTENT_PERL "Enable persistent perl interpreter" Off
# By default XS-HTTPD stores its data in ${PREFIX}/lib/httpd
DATADIR= ${PREFIX}/www
@@ -56,13 +68,14 @@
.endif
post-patch:
-.for i in "man/httpd.1" "man/httpd.conf.5" "config/httpd.conf.sample" \
- "contrib/SSL-Makefile" "contrib/logrotate.sh"
- @${SED} \
+.for i in man/httpd.1 man/httpd.conf.5 config/httpd.conf.sample \
+ contrib/SSL-Makefile contrib/logrotate.sh
+ @${REINPLACE_CMD} \
-e 's|/wwwsys|${DATADIR}|g' \
-e 's|/usr/local/lib/httpd|${DATADIR}|g' \
- ${WRKSRC}/$i > ${WRKSRC}/$i.tmp
- @${MV} ${WRKSRC}/$i.tmp ${WRKSRC}/$i
+ -e 's|nobody|${WWWOWN}|g' \
+ -e 's|nogroup|${WWWGRP}|g' \
+ ${WRKSRC}/$i
.endfor
.include <bsd.port.mk>
diff -uNr xshttpd/distinfo xshttpd/distinfo
--- xshttpd/distinfo Fri Sep 16 01:04:31 2005
+++ xshttpd/distinfo Tue Sep 20 18:51:13 2005
@@ -1,2 +1,4 @@
-MD5 (xshttpd-33b26.tar.gz) = 704ed6e2be411c01207821ee94b84070
-SIZE (xshttpd-33b26.tar.gz) = 206980
+MD5 (xshttpd-33b27.tar.gz) = 74289c1caf0dbe41b8b57283848e259c
+SIZE (xshttpd-33b27.tar.gz) = 208254
+MD5 (xshttpd-33b27.tar.gz.asc) = 5539722cca5002a1fc698d5d0a40fea1
+SIZE (xshttpd-33b27.tar.gz.asc) = 183
diff -uNr xshttpd/pkg-descr xshttpd/pkg-descr
--- xshttpd/pkg-descr Fri Sep 16 01:04:31 2005
+++ xshttpd/pkg-descr Tue Sep 20 11:02:00 2005
@@ -20,4 +20,4 @@
- Serves SSL (https) and http connections through the same daemon
- Full support for IPv6
-WWW: http://www.stack.nl/~johans/xs-httpd/
+WWW: http://www.stack.nl/xs-httpd/
diff -uNr xshttpd/pkg-plist xshttpd/pkg-plist
--- xshttpd/pkg-plist Fri Sep 16 01:04:31 2005
+++ xshttpd/pkg-plist Tue Sep 20 18:28:42 2005
@@ -12,6 +12,7 @@
%%DATADIR%%/contrib/logrotate.sh
%%DATADIR%%/contrib/persistent.pl
%%DATADIR%%/contrib/wwwstats.pl
+%%DATADIR%%/contrib/agentstats.pl
%%DATADIR%%/compress.methods.sample
%%DATADIR%%/gfxcount/digital0.ppm
%%DATADIR%%/gfxcount/digital1.ppm
@@ -62,9 +63,9 @@
%%DATADIR%%/mime.index
%%DATADIR%%/mime.types
%%DATADIR%%/script.methods.sample
- at unexec rmdir %%DATADIR%%/cgi-bin 2> /dev/null || true
- at unexec rmdir %%DATADIR%%/htdocs 2> /dev/null || true
- at unexec rmdir %%DATADIR%%/logs 2> /dev/null || true
+ at dirrm %%DATADIR%%/cgi-bin
+ at dirrm %%DATADIR%%/htdocs
+ at dirrm %%DATADIR%%/logs
@dirrm %%DATADIR%%/contrib
@dirrm %%DATADIR%%/gfxcount
@dirrm %%DATADIR%%/icons
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list