Bug 181767 - [PATCH] www/bozohttpd: update to 20130711
Summary: [PATCH] www/bozohttpd: update to 20130711
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-03 00:20 UTC by Janos Mohacsi
Modified: 2013-10-30 16:30 UTC (History)
1 user (show)

See Also:


Attachments
bozohttpd-20130711.patch (3.80 KB, patch)
2013-09-03 00:20 UTC, Janos Mohacsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janos Mohacsi 2013-09-03 00:20:00 UTC
- Update to 20130711


Generated with FreeBSD Port Tools 0.99_8 (mode: update, diff: suffix)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-03 00:20:08 UTC
Class Changed
From-To: update->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 Pawel Pekala freebsd_committer freebsd_triage 2013-10-30 15:55:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2013-10-30 16:21:11 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-10-30 16:21:12 UTC
Author: pawel
Date: Wed Oct 30 16:20:58 2013
New Revision: 332145
URL: http://svnweb.freebsd.org/changeset/ports/332145

Log:
  - Update to version 20130711 [1]
  - Add support for STAGEDIR
  
  PR:		ports/181767 [1]
  Submitted by:	maintainer

Modified:
  head/www/bozohttpd/Makefile
  head/www/bozohttpd/distinfo   (contents, props changed)
  head/www/bozohttpd/files/patch-Makefile   (contents, props changed)
  head/www/bozohttpd/files/patch-bozohttpd.8   (contents, props changed)

Modified: head/www/bozohttpd/Makefile
==============================================================================
--- head/www/bozohttpd/Makefile	Wed Oct 30 16:09:28 2013	(r332144)
+++ head/www/bozohttpd/Makefile	Wed Oct 30 16:20:58 2013	(r332145)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	bozohttpd
-PORTVERSION=	20100920
+PORTVERSION=	20130711
 CATEGORIES=	www ipv6
 MASTER_SITES=	http://www.eterna.com.au/bozohttpd/ \
 		${MASTER_SITE_NETBSD}
@@ -23,7 +23,6 @@ HTPASSWD_DESC=		Enable htpassword suppor
 SSL_DESC=		Enable SSL support
 CGI_DESC=		Enable CGI support
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MHTPASSWD}
@@ -48,10 +47,8 @@ MAKE_ARGS+=	'COPTS+=	-UNO_CGIBIN_SUPPORT
 MAKE_ARGS+=	'COPTS+=	-DNO_CGIBIN_SUPPORT'
 .endif
 
-MAN8=		bozohttpd.8
-MANCOMPRESSED=	maybe
-PLIST_FILES=	libexec/bozohttpd
-
+PLIST_FILES=	libexec/bozohttpd \
+		man/man8/bozohttpd.8.gz
 post-patch:
 	@${REINPLACE_CMD} -e 's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/bozohttpd.8
 

Modified: head/www/bozohttpd/distinfo
==============================================================================
--- head/www/bozohttpd/distinfo	Wed Oct 30 16:09:28 2013	(r332144)
+++ head/www/bozohttpd/distinfo	Wed Oct 30 16:20:58 2013	(r332145)
@@ -1,2 +1,2 @@
-SHA256 (bozohttpd-20100920.tar.bz2) = 9bdac5c171d1cd703ecd98dcd55d6571b4eece3b50c3dc8a399358ff3908fe13
-SIZE (bozohttpd-20100920.tar.bz2) = 46550
+SHA256 (bozohttpd-20130711.tar.bz2) = b9682e37ae2c4a1b7309225e95787df8c037239fe1d8c9dd8faede35921e910b
+SIZE (bozohttpd-20130711.tar.bz2) = 48974

Modified: head/www/bozohttpd/files/patch-Makefile
==============================================================================
--- head/www/bozohttpd/files/patch-Makefile	Wed Oct 30 16:09:28 2013	(r332144)
+++ head/www/bozohttpd/files/patch-Makefile	Wed Oct 30 16:20:58 2013	(r332145)
@@ -3,14 +3,54 @@ $FreeBSD$
 
 --- Makefile.orig
 +++ Makefile
-@@ -23,6 +23,10 @@
+@@ -19,30 +19,34 @@
+ #   % make COPTS="-DDO_HTPASSWD"
+ 
+ COPTS+=	-DDO_HTPASSWD
+-PROG=	httpd
+-MAN=	httpd.8
+-BUILDSYMLINKS+=bozohttpd.8 httpd.8
++PROG=	bozohttpd
++MAN=	bozohttpd.8
++#BUILDSYMLINKS+=bozohttpd.8
+ SRCS=	bozohttpd.c ssl-bozo.c auth-bozo.c cgi-bozo.c daemon-bozo.c \
+ 	tilde-luzah-bozo.c dir-index-bozo.c content-bozo.c
  SRCS+=	main.c
  
+-LDADD=	-lcrypt
++LDADD=	-lcrypt -lcrypto -lssl
+ DPADD=	${LIBCRYPT}
+ 
  WARNS?=	4
 +NO_WERROR=1
 + 
 +BINDIR=$(PREFIX)/libexec
 +MANDIR=$(PREFIX)/man/man
  
- check:
- 	cd $(.CURDIR)/testsuite && $(MAKE) check
+-.include <bsd.own.mk>
+-
+-.if ${MKCRYPTO} != "no"
+-
+-LDADD+=	-lssl -lcrypto
+-DPADD+=	${LIBSSL} ${LIBCRYPTO}
+-
+-.else
+-
+-COPTS+=	-DNO_SSL_SUPPORT
+-
+-.endif
++#.include <bsd.own.mk>
++#
++#.if ${PORT_OPTIONS:MSSL}
++#
++#LDADD+=	-lssl -lcrypto
++#DPADD+=	${LIBSSL} ${LIBCRYPTO}
++#
++#.else
++#
++#COPTS+=	-DNO_SSL_SUPPORT
++#
++#.endif
+ 
+ #
+ # Build release things.

Modified: head/www/bozohttpd/files/patch-bozohttpd.8
==============================================================================
--- head/www/bozohttpd/files/patch-bozohttpd.8	Wed Oct 30 16:09:28 2013	(r332144)
+++ head/www/bozohttpd/files/patch-bozohttpd.8	Wed Oct 30 16:20:58 2013	(r332145)
@@ -3,23 +3,23 @@ $FreeBSD$
 
 --- bozohttpd.8.orig
 +++ bozohttpd.8
-@@ -284,8 +284,8 @@
+@@ -316,8 +316,8 @@
  .Xr inetd.conf 5
  entry would be:
  .Bd -literal
--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 @@PREFIX@@/libexec/bozohttpd bozohttpd /var/www
-+http stream tcp6 nowait:600 httpd @@PREFIX@@/libexec/bozohttpd bozohttpd /var/www
+-http stream tcp  nowait:600 _httpd /usr/libexec/httpd httpd /var/www
+-http stream tcp6 nowait:600 _httpd /usr/libexec/httpd httpd /var/www
++http stream tcp  nowait:600 _httpd @@PREFIX@@/libexec/httpd httpd /var/www
++http stream tcp6 nowait:600 _httpd @@PREFIX@@/libexec/httpd httpd /var/www
  .Ed
  .Pp
  This would serve web pages from
-@@ -308,7 +308,7 @@
+@@ -447,7 +447,7 @@
  .Xr inetd.conf 5
  entry like:
  .Bd -literal
--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
+-http stream tcp  nowait:600 _httpd /usr/libexec/httpd httpd -v /var/vroot /var/www
++http stream tcp  nowait:600 _httpd @@PREFIX@@/libexec/httpd httpd -v /var/vroot /var/www
  .Ed
  .Pp
  and inside
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"