diff options
author | miwi <miwi@FreeBSD.org> | 2008-06-27 20:27:14 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-06-27 20:27:14 +0800 |
commit | 091b44adeb7fb06530d1a0163c64e68f353b5cec (patch) | |
tree | 7862fcd5e463d1d9da18220fb08665189c619159 /www | |
parent | 780500a326691afe4d660f978ece681259722c7f (diff) | |
download | freebsd-ports-gnome-091b44adeb7fb06530d1a0163c64e68f353b5cec.tar.gz freebsd-ports-gnome-091b44adeb7fb06530d1a0163c64e68f353b5cec.tar.zst freebsd-ports-gnome-091b44adeb7fb06530d1a0163c64e68f353b5cec.zip |
- Update to 20080303
- Use Options
PR: 124925
Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
Diffstat (limited to 'www')
-rw-r--r-- | www/bozohttpd/Makefile | 28 | ||||
-rw-r--r-- | www/bozohttpd/distinfo | 6 | ||||
-rw-r--r-- | www/bozohttpd/files/patch-bozohttpd.8 | 27 |
3 files changed, 38 insertions, 23 deletions
diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile index e4f45f2fac4b..a687c3b777cb 100644 --- a/www/bozohttpd/Makefile +++ b/www/bozohttpd/Makefile @@ -6,8 +6,7 @@ # PORTNAME= bozohttpd -PORTVERSION= 20060517 -PORTREVISION= 1 +PORTVERSION= 20080303 CATEGORIES= www ipv6 MASTER_SITES= http://www.eterna.com.au/bozohttpd/ \ ${MASTER_SITE_NETBSD} @@ -18,19 +17,32 @@ COMMENT= The bozotic HTTP server USE_BZIP2= YES USE_RC_SUBR= bozohttpd +#options handling +OPTIONS= HTPASSWD_SUPPORT "Enable htpassord support" off \ + SSL "Enable SSL support" on \ + CGI "Enable CGI support" on + +#make happy portlint +.if defined(WITHOUT_SSL) +.else +USE_OPENSSL= yes +.endif + +.include <bsd.port.pre.mk> + .if defined(WITH_HTPASSWD_SUPPORT) CFLAGS+= -DDO_HTPASSWD MAKE_ARGS+= 'LDFLAGS+= -lcrypt' .endif -.if !defined(WITHOUT_SSL) -USE_OPENSSL= yes -CFLAGS+= -UNO_SSL_SUPPORT -.else +.if defined(WITHOUT_SSL) CFLAGS+= -DNO_SSL_SUPPORT +.else +#USE_OPENSSL= yes +CFLAGS+= -UNO_SSL_SUPPORT .endif -.if defined(NO_CGI) +.if defined(WITHOUT_CGI) CFLAGS+= -DNO_CGIBIN_SUPPORT .else CFLAGS+= -UNO_CGIBIN_SUPPORT @@ -40,4 +52,4 @@ MAN8= bozohttpd.8 MANCOMPRESSED= maybe PLIST_FILES= libexec/bozohttpd -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/www/bozohttpd/distinfo b/www/bozohttpd/distinfo index 582f9e8d7d4a..0524c757604a 100644 --- a/www/bozohttpd/distinfo +++ b/www/bozohttpd/distinfo @@ -1,3 +1,3 @@ -MD5 (bozohttpd-20060517.tar.bz2) = 75b9b57bb56ecdbfac2f5d024080b226 -SHA256 (bozohttpd-20060517.tar.bz2) = 6b87c6d762f0100e0c32eb5fbd7ac33ab174ee7646a9b6787b9a79bf1f739bff -SIZE (bozohttpd-20060517.tar.bz2) = 33032 +MD5 (bozohttpd-20080303.tar.bz2) = bd4b83c27e589a6d7318e30ea418432d +SHA256 (bozohttpd-20080303.tar.bz2) = 8214876decc41dbdb73df231d4e49dad330e6ee3696fcc792ab1fb7b821e30ff +SIZE (bozohttpd-20080303.tar.bz2) = 34469 diff --git a/www/bozohttpd/files/patch-bozohttpd.8 b/www/bozohttpd/files/patch-bozohttpd.8 index 8f858e350026..122fadda5028 100644 --- a/www/bozohttpd/files/patch-bozohttpd.8 +++ b/www/bozohttpd/files/patch-bozohttpd.8 @@ -1,22 +1,25 @@ ---- bozohttpd.8.orig Fri Aug 23 07:43:44 2002 -+++ bozohttpd.8 Tue Sep 3 10:23:12 2002 -@@ -197,8 +197,8 @@ + +$FreeBSD$ + +--- bozohttpd.8.orig ++++ bozohttpd.8 +@@ -284,8 +284,8 @@ .Xr inetd.conf 5 entry would be: .Bd -literal --www stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd /var/www --www stream tcp6 nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd /var/www -+www stream tcp nowait:600 httpd /@@PREFIX@@/libexec/bozohttpd bozohttpd /var/www -+www stream tcp6 nowait:600 httpd /@@PREFIX@@/libexec/bozohttpd bozohttpd /var/www +-http stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd /var/www +-http stream tcp6 nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd /var/www ++http stream tcp nowait:600 httpd /@@PREFI@@/libexec/bozohttpd bozohttpd /var/www ++http stream tcp6 nowait:600 httpd /@@PREFIX@@/libexec/bozohttpd bozohttpd /var/www .Ed .Pp This would serve web pages from -@@ -218,7 +218,7 @@ - .Pp - To configure set of virtual hosts, one would use an entry like: +@@ -308,7 +308,7 @@ + .Xr inetd.conf 5 + entry like: .Bd -literal --www stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd -v /var/vroot /var/www -+www stream tcp nowait:600 httpd /@@PREFIX@@/libexec/bozohttpd bozohttpd -v /var/vroot /var/www +-http stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd -v /var/vroot /var/www ++http stream tcp nowait:600 httpd /@@PREFIX@@/libexec/bozohttpd bozohttpd -v /var/vroot /var/www .Ed .Pp and inside |