1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Update to 20080303

- Use Options

PR:		124925
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
This commit is contained in:
Martin Wilke 2008-06-27 12:27:14 +00:00
parent c347cfdd88
commit 5f86bf92f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215830
3 changed files with 38 additions and 23 deletions

View File

@ -6,8 +6,7 @@
# #
PORTNAME= bozohttpd PORTNAME= bozohttpd
PORTVERSION= 20060517 PORTVERSION= 20080303
PORTREVISION= 1
CATEGORIES= www ipv6 CATEGORIES= www ipv6
MASTER_SITES= http://www.eterna.com.au/bozohttpd/ \ MASTER_SITES= http://www.eterna.com.au/bozohttpd/ \
${MASTER_SITE_NETBSD} ${MASTER_SITE_NETBSD}
@ -18,19 +17,32 @@ COMMENT= The bozotic HTTP server
USE_BZIP2= YES USE_BZIP2= YES
USE_RC_SUBR= bozohttpd 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) .if defined(WITH_HTPASSWD_SUPPORT)
CFLAGS+= -DDO_HTPASSWD CFLAGS+= -DDO_HTPASSWD
MAKE_ARGS+= 'LDFLAGS+= -lcrypt' MAKE_ARGS+= 'LDFLAGS+= -lcrypt'
.endif .endif
.if !defined(WITHOUT_SSL) .if defined(WITHOUT_SSL)
USE_OPENSSL= yes
CFLAGS+= -UNO_SSL_SUPPORT
.else
CFLAGS+= -DNO_SSL_SUPPORT CFLAGS+= -DNO_SSL_SUPPORT
.else
#USE_OPENSSL= yes
CFLAGS+= -UNO_SSL_SUPPORT
.endif .endif
.if defined(NO_CGI) .if defined(WITHOUT_CGI)
CFLAGS+= -DNO_CGIBIN_SUPPORT CFLAGS+= -DNO_CGIBIN_SUPPORT
.else .else
CFLAGS+= -UNO_CGIBIN_SUPPORT CFLAGS+= -UNO_CGIBIN_SUPPORT
@ -40,4 +52,4 @@ MAN8= bozohttpd.8
MANCOMPRESSED= maybe MANCOMPRESSED= maybe
PLIST_FILES= libexec/bozohttpd PLIST_FILES= libexec/bozohttpd
.include <bsd.port.mk> .include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (bozohttpd-20060517.tar.bz2) = 75b9b57bb56ecdbfac2f5d024080b226 MD5 (bozohttpd-20080303.tar.bz2) = bd4b83c27e589a6d7318e30ea418432d
SHA256 (bozohttpd-20060517.tar.bz2) = 6b87c6d762f0100e0c32eb5fbd7ac33ab174ee7646a9b6787b9a79bf1f739bff SHA256 (bozohttpd-20080303.tar.bz2) = 8214876decc41dbdb73df231d4e49dad330e6ee3696fcc792ab1fb7b821e30ff
SIZE (bozohttpd-20060517.tar.bz2) = 33032 SIZE (bozohttpd-20080303.tar.bz2) = 34469

View File

@ -1,22 +1,25 @@
--- bozohttpd.8.orig Fri Aug 23 07:43:44 2002
+++ bozohttpd.8 Tue Sep 3 10:23:12 2002 $FreeBSD$
@@ -197,8 +197,8 @@
--- bozohttpd.8.orig
+++ bozohttpd.8
@@ -284,8 +284,8 @@
.Xr inetd.conf 5 .Xr inetd.conf 5
entry would be: entry would be:
.Bd -literal .Bd -literal
-www stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd /var/www -http 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 -http stream tcp6 nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd /var/www
+www stream tcp nowait:600 httpd /@@PREFIX@@/libexec/bozohttpd bozohttpd /var/www +http stream tcp nowait:600 httpd /@@PREFI@@/libexec/bozohttpd bozohttpd /var/www
+www stream tcp6 nowait:600 httpd /@@PREFIX@@/libexec/bozohttpd bozohttpd /var/www +http stream tcp6 nowait:600 httpd /@@PREFIX@@/libexec/bozohttpd bozohttpd /var/www
.Ed .Ed
.Pp .Pp
This would serve web pages from This would serve web pages from
@@ -218,7 +218,7 @@ @@ -308,7 +308,7 @@
.Pp .Xr inetd.conf 5
To configure set of virtual hosts, one would use an entry like: entry like:
.Bd -literal .Bd -literal
-www stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd -v /var/vroot /var/www -http 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 /@@PREFIX@@/libexec/bozohttpd bozohttpd -v /var/vroot /var/www
.Ed .Ed
.Pp .Pp
and inside and inside