aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-02-21 05:00:31 +0800
committerjohans <johans@FreeBSD.org>2014-02-21 05:00:31 +0800
commite36f4a0d57856721372d6b89020a320f607b8e69 (patch)
tree3c565493dca306722cd7cdf705d13b374777fccc /www
parent41e7afebaf75b33dc1139c16f5af26bd3592b08e (diff)
downloadfreebsd-ports-gnome-e36f4a0d57856721372d6b89020a320f607b8e69.tar.gz
freebsd-ports-gnome-e36f4a0d57856721372d6b89020a320f607b8e69.tar.zst
freebsd-ports-gnome-e36f4a0d57856721372d6b89020a320f607b8e69.zip
Update to XS-httpd 3.7 beta 28
Diffstat (limited to 'www')
-rw-r--r--www/xshttpd-devel/Makefile18
-rw-r--r--www/xshttpd-devel/distinfo4
2 files changed, 10 insertions, 12 deletions
diff --git a/www/xshttpd-devel/Makefile b/www/xshttpd-devel/Makefile
index 93eaf3d5cb90..d8dc26f2fa72 100644
--- a/www/xshttpd-devel/Makefile
+++ b/www/xshttpd-devel/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= xshttpd
-DISTVERSION= 3.7b27
-PORTREVISION= 2
+DISTVERSION= 3.7b28
CATEGORIES= www ipv6
MASTER_SITES= ftp://ftp.stack.nl/pub/xs-httpd/release/ \
ftp://mud.stack.nl/pub/xs-httpd/release/
@@ -23,9 +22,10 @@ USE_BZIP2= yes
USE_OPENSSL= yes
USE_RC_SUBR= xshttpd
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-hier=bsd
+CONFIGURE_ARGS= --enable-hier=bsd --with-userid=${WWWOWN}:${WWWGRP}
-OPTIONS_DEFINE= LDAP CURL M4 PERL
+OPTIONS_DEFINE= LDAP CURL M4 PERL BDB
+OPTIONS_DEFAULT= CURL M4 BDB
OPTIONS_SUB= yes
LDAP_USE= openldap
LDAP_CONFIGURE_WITH= ldap
@@ -36,22 +36,20 @@ PERL_USES= perl5
PERL_CONFIGURE_WITH= perl
CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
CURL_CONFIGURE_WITH= curl
+BDB_USE= BDB=5+
+BDB_CONFIGURE_ON= --with-db-libdir=${BDB_LIB_DIR} \
+ --with-db-include-dir=${BDB_INCLUDE_DIR}
+BDB_CONFIGURE_WITH= db
PORTDOCS= README ChangeLog
post-patch:
@${REINPLACE_CMD} \
-e 's|\(MIME_TYPES\).*|\1 "${LOCALBASE}/etc/mime.types"|' \
- -e 's|nobody|${WWWOWN}|' \
- -e 's|nogroup|${WWWGRP}|' \
-e 's|httpd\.pid|xs&|' \
${WRKSRC}/src/constants.h
@${REINPLACE_CMD} -e 's|mime.types ||g' \
${WRKSRC}/config/Makefile.in
-# Fix parallel builds (-jX): all programs must depend on the library
- @${ECHO_CMD} '$$(bin_PROGRAMS) $$(phexec_PROGRAMS)' \
- '$$(noinst_PROGRAMS): $$(noinst_LIBRARIES)' \
- >> ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e '/libdir/ s|(INSTALL_DATA)|& -s|' \
${WRKSRC}/src/Makefile.in
diff --git a/www/xshttpd-devel/distinfo b/www/xshttpd-devel/distinfo
index 615721aba2a0..49ff6b5bb936 100644
--- a/www/xshttpd-devel/distinfo
+++ b/www/xshttpd-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (xshttpd-37b27.tar.bz2) = 698aab341f4a59fe3394d62b35d4356010850e94dbcfcc7b6e0d294907227d9f
-SIZE (xshttpd-37b27.tar.bz2) = 279019
+SHA256 (xshttpd-37b28.tar.bz2) = 6d4a288bed6d5608f24396dceb2549cf18721fa1a969e50fefd35fb4ca5b79c9
+SIZE (xshttpd-37b28.tar.bz2) = 288728