ports/150242: [UPDATE] www/hiawatha (maintainer update)
C-S
c-s at c-s.li
Fri Sep 3 10:20:09 UTC 2010
>Number: 150242
>Category: ports
>Synopsis: [UPDATE] www/hiawatha (maintainer update)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 03 10:20:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: C-S
>Release:
>Organization:
>Environment:
>Description:
Following changes:
- add longfile option
- fix monitor option and add an additional message
- cleanup Makefile (add license and the sort options)
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN hiawatha.orig/Makefile hiawatha/Makefile
--- hiawatha.orig/Makefile 2010-09-03 12:04:42.475145822 +0200
+++ hiawatha/Makefile 2010-09-03 12:11:38.620963077 +0200
@@ -7,6 +7,7 @@
PORTNAME= hiawatha
PORTVERSION= 7.3
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.hiawatha-webserver.org/files/ \
http://www.c-s.li/ports/
@@ -14,6 +15,8 @@
MAINTAINER= c-s at c-s.li
COMMENT= An advanced and secure webserver for Unix
+LICENSE= GPLv2
+
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL
PORTEXAMPLES= hiawatha mkcert newroot php-fcgi
CONFIG_FILES= hiawatha.conf mimetype.conf cgi-wrapper.conf php-fcgi.conf
@@ -33,6 +36,7 @@
OPTIONS= COMMAND "Enable the Hiawatha CommandChannel" Off \
CACHE "Internal file caching support" On \
IPV6 "Enable IPv6 Support" On \
+ LARGEFILE "Support for large files" On \
MONITOR "Enable Hiawatha Monitor" On \
SSL "Support for Secure Sockets Layer (SSL)" On \
TOOLKIT "Enable URL Toolkit" On \
@@ -40,28 +44,30 @@
.include <bsd.port.pre.mk>
-.if !defined(WITH_SSL)
-CONFIGURE_ARGS+= --disable-ssl
+.if defined(WITH_COMMAND)
+CONFIGURE_ARGS+= --enable-command
+.else
+CONFIGURE_ARGS+= --disable-command
.endif
.if !defined(WITH_CACHE)
CONFIGURE_ARGS+= --disable-cache
.endif
-.if !defined(WITH_TOOLKIT)
-CONFIGURE_ARGS+= --disable-toolkit
+.if !defined(WITH_IPV6)
+CONFIGURE_ARGS+= --disable-ipv6
.endif
-.if defined(WITH_COMMAND)
-CONFIGURE_ARGS+= --enable-command
+.if !defined(WITH_LARGEFILE)
+CONFIGURE_ARGS+= --disable-largefile
.endif
-.if !defined(WITH_IPV6)
-CONFIGURE_ARGS+= --disable-ipv6
+.if !defined(WITH_SSL)
+CONFIGURE_ARGS+= --disable-ssl
.endif
-.if !defined(WITH_MONITOR)
-CONFIGURE_ARGS+= --disable-monitor
+.if !defined(WITH_TOOLKIT)
+CONFIGURE_ARGS+= --disable-toolkit
.endif
.if !defined(WITH_XSLT)
@@ -71,6 +77,14 @@
CPPFLAGS+= -I${LOCALBASE}/include/libxml2
.endif
+.if !defined(WITH_MONITOR)
+CONFIGURE_ARGS+= --disable-monitor
+.else
+CONFIGURE_ARGS+= --enable-xslt
+USE_GNOME+= libxslt
+CPPFLAGS+= -I${LOCALBASE}/include/libxml2
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff -ruN hiawatha.orig/files/pkg-message.in hiawatha/files/pkg-message.in
--- hiawatha.orig/files/pkg-message.in 2010-09-03 12:04:42.474144596 +0200
+++ hiawatha/files/pkg-message.in 2010-09-03 12:11:38.618963152 +0200
@@ -7,4 +7,8 @@
Add hiawatha_enable="YES" to rc.conf and start Hiawatha by running:
%%PREFIX%%/etc/rc.d/hiawatha start
+If you configured Hiawatha with Monitor, download and install the respective
+files needed to monitor your webserver:
+http://www.hiawatha-webserver.org/monitor
+
===============================================================================
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list