Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 2010 10:14:08 GMT
From:      C-S <c-s@c-s.li>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150242: [UPDATE] www/hiawatha (maintainer update)
Message-ID:  <201009031014.o83AE85P021985@www.freebsd.org>
Resent-Message-ID: <201009031020.o83AK8gl086594@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009031014.o83AE85P021985>