pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/bozohttpd Update www/bozohttpd to version 20080303...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7dab73bf65c9
branches:  trunk
changeset: 539312:7dab73bf65c9
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Mar 03 15:53:03 2008 +0000

description:
Update www/bozohttpd to version 20080303.  Changes from version 20060517
include:

+ Add full DESTDIR support.
+ Split out package options into a separate options.mk file.

* Fix some cgi header processing
* Add simple Range: header processing

diffstat:

 www/bozohttpd/Makefile   |  26 ++++++++------------------
 www/bozohttpd/distinfo   |   8 ++++----
 www/bozohttpd/options.mk |  20 ++++++++++++++++++++
 3 files changed, 32 insertions(+), 22 deletions(-)

diffs (91 lines):

diff -r e37971237678 -r 7dab73bf65c9 www/bozohttpd/Makefile
--- a/www/bozohttpd/Makefile    Mon Mar 03 15:21:07 2008 +0000
+++ b/www/bozohttpd/Makefile    Mon Mar 03 15:53:03 2008 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.60 2008/01/18 05:09:48 tnn Exp $
+# $NetBSD: Makefile,v 1.61 2008/03/03 15:53:03 jlam Exp $
 #
 
-DISTNAME=      bozohttpd-20060517
-PKGREVISION=   2
+DISTNAME=      bozohttpd-20080303
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_LOCAL}
 EXTRACT_SUFX=  .tar.bz2
@@ -12,22 +11,12 @@
 COMMENT=       Bozotic HTTP server; small and secure
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+.include "options.mk"
 
 MAKE_FILE=             Makefile.boot
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.bozohttpd
-PKG_SUPPORTED_OPTIONS= bozohttpd-do-htpasswd inet6
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mbozohttpd-do-htpasswd)
-CPPFLAGS+=     -DDO_HTPASSWD
-.endif
-
-.if !empty(PKG_OPTIONS:Minet6)
-CPPFLAGS+=     -DINET6
-.endif
-
 SUBST_CLASSES+=                paths
 SUBST_MESSAGE.paths=   Fixing paths in manual page.
 SUBST_STAGE.paths=     pre-build
@@ -37,8 +26,9 @@
 INSTALLATION_DIRS=     libexec ${PKGMANDIR}/man8
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/bozohttpd ${PREFIX}/libexec
-       ${INSTALL_MAN} ${WRKSRC}/bozohttpd.8 ${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_PROGRAM} ${WRKSRC}/bozohttpd ${DESTDIR}${PREFIX}/libexec
+       ${INSTALL_MAN} ${WRKSRC}/bozohttpd.8 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
 
 .include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e37971237678 -r 7dab73bf65c9 www/bozohttpd/distinfo
--- a/www/bozohttpd/distinfo    Mon Mar 03 15:21:07 2008 +0000
+++ b/www/bozohttpd/distinfo    Mon Mar 03 15:53:03 2008 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.43 2007/09/08 01:44:52 jlam Exp $
+$NetBSD: distinfo,v 1.44 2008/03/03 15:53:03 jlam Exp $
 
-SHA1 (bozohttpd-20060517.tar.bz2) = 45ed3c268fffc884db93ebc975121b7c79060fa8
-RMD160 (bozohttpd-20060517.tar.bz2) = edf15fe2998ca2fae0035f8380639e8741d0406a
-Size (bozohttpd-20060517.tar.bz2) = 33032 bytes
+SHA1 (bozohttpd-20080303.tar.bz2) = 44810304239d5dd2ffe7853f15e69ffa211e384f
+RMD160 (bozohttpd-20080303.tar.bz2) = 2941823266033b204c4aa3f5d63d488b70b78a64
+Size (bozohttpd-20080303.tar.bz2) = 34469 bytes
 SHA1 (patch-aa) = f1934786cb309cee8ec1c77e0760ee1e79b90f8f
 SHA1 (patch-ab) = 010c130d315975d8a5ffcc3995bd951f6ecb619a
diff -r e37971237678 -r 7dab73bf65c9 www/bozohttpd/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/bozohttpd/options.mk  Mon Mar 03 15:53:03 2008 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: options.mk,v 1.1 2008/03/03 15:53:03 jlam Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.bozohttpd
+PKG_SUPPORTED_OPTIONS= bozohttpd-do-htpasswd inet6
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Support Apache's .htpasswd files.
+###
+.if !empty(PKG_OPTIONS:Mbozohttpd-do-htpasswd)
+CPPFLAGS+=     -DDO_HTPASSWD
+.endif
+
+###
+### IPv6 support.
+###
+.if !empty(PKG_OPTIONS:Minet6)
+CPPFLAGS+=     -DINET6
+.endif



Home | Main Index | Thread Index | Old Index