From root@leisink.org  Sun Dec 17 13:43:31 2006
Return-Path: <root@leisink.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1364316A403;
	Sun, 17 Dec 2006 13:43:31 +0000 (UTC)
	(envelope-from root@leisink.org)
Received: from smtp13.wxs.nl (smtp13.wxs.nl [195.121.247.4])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 12D9643CA6;
	Sun, 17 Dec 2006 13:43:29 +0000 (GMT)
	(envelope-from root@leisink.org)
Received: from mail.leisink.org (ip56503e76.direct-adsl.nl [86.80.62.118])
 by smtp13.wxs.nl
 (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id
 <0JAF00A6R7G2DH@smtp13.wxs.nl>; Sun, 17 Dec 2006 14:43:14 +0100 (CET)
Received: from freebsd.lan (unknown [10.4.1.3])	by mail.leisink.org (Postfix)
 with ESMTP id 19BB82691; Sun, 17 Dec 2006 14:43:32 +0100 (CET)
Received: by freebsd.lan (Postfix, from userid 0)	id 283D23BAF1; Sun,
 17 Dec 2006 14:16:52 +0000 (UTC)
Message-Id: <20061217141652.283D23BAF1@freebsd.lan>
Date: Sun, 17 Dec 2006 14:16:52 +0000 (UTC)
From: Hugo Leisink <hugo@leisink.net>
Reply-To: Hugo Leisink <hugo@leisink.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: itetcu@freebsd.org
Subject: Update port: www/hiawatha webserver with advanced security features
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         106835
>Category:       ports
>Synopsis:       Update port: www/hiawatha webserver with advanced security features
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 17 13:50:15 GMT 2006
>Closed-Date:    Wed Dec 27 10:06:32 GMT 2006
>Last-Modified:  Wed Dec 27 10:10:14 GMT 2006
>Originator:     Hugo Leisink
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD freebsd.lan 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386

>Description:
Hiawatha is an advanced and secure webserver for Unix. It has been written with
'being secure' as its main goal. Hiawatha has many security features that no
other webserver has. Besides being very secure, it's also a very fast
webserver. It's twice as fast as Apache for static content. It supports
load-balanced FastCGI, which makes it fast and scalable for serving CGI.

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	hiawatha
#	hiawatha/Makefile
#	hiawatha/files
#	hiawatha/files/pkg-message.in
#	hiawatha/files/hiawatha.in
#	hiawatha/distinfo
#	hiawatha/pkg-descr
#	hiawatha/pkg-plist
#
echo c - hiawatha
mkdir -p hiawatha > /dev/null 2>&1
echo x - hiawatha/Makefile
sed 's/^X//' >hiawatha/Makefile << 'END-of-hiawatha/Makefile'
X# New ports collection makefile for:   hiawatha
X# Date created:        17 december 2006
X# Whom:                Hugo Leisink <hugo@leisink.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	hiawatha
XPORTVERSION=	5.3
XCATEGORIES=	www
XMASTER_SITES=	http://hiawatha.leisink.org/files/
X
XMAINTAINER=	hugo@leisink.net
XCOMMENT=	An advanced and secure webserver for Unix
X
XMAN1=		hiawatha.1 cgi_wrapper.1
XMANCOMPRESSED=	no
X
XUSE_RC_SUBR=	hiawatha
XSUB_FILES=	pkg-message
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--localstatedir=/var webrootdir=${PREFIX}/www/hiawatha
X
XOPTIONS=	SSL "Compile with SSL support?" On
XOPTIONS+=	PHP "Include the CGI version of PHP?" On
X
XCONFIG_FILES=	httpd.conf mimetype.conf throttle.conf cgi_wrapper.conf
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITHOUT_SSL)
XCONFIGURE_ARGS+=--disable-ssl
X.endif
X
X.if !defined(WITHOUT_PHP)
XWANT_PHP_CGI=	yes
X.endif
X
Xpost-install:
X	${CP} -f ${WRKSRC}/extra/fcgi-server ${PREFIX}/sbin
X	${CP} -f ${WRKSRC}/extra/newroot ${PREFIX}/sbin
X	@for file in ${CONFIG_FILES} ; do \
X		${CP} -f ${WRKSRC}/etc/hiawatha/$${file} ${PREFIX}/etc/hiawatha/$${file}.sample ; \
X	done
X	${CP} -f ${WRKSRC}/doc/index.html ${PREFIX}/www/hiawatha/index.html.sample
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-hiawatha/Makefile
echo c - hiawatha/files
mkdir -p hiawatha/files > /dev/null 2>&1
echo x - hiawatha/files/pkg-message.in
sed 's/^X//' >hiawatha/files/pkg-message.in << 'END-of-hiawatha/files/pkg-message.in'
X===============================================================================
X
XThe Hiawatha webserver is now installed.
X
XEdit the configuration files in %%PREFIX%%/etc/hiawatha to suit your needs.
X
XAdd hiawatha_enable="YES" to rc.conf and start Hiawatha by running:
X%%PREFIX%%/etc/rc.d/hiawatha.sh start
X
X===============================================================================
END-of-hiawatha/files/pkg-message.in
echo x - hiawatha/files/hiawatha.in
sed 's/^X//' >hiawatha/files/hiawatha.in << 'END-of-hiawatha/files/hiawatha.in'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
X# PROVIDE: httpd
X# REQUIRE: NETWORKING SERVERS
X# BEFORE: DAEMON
X
X# Add the following line(s) to /etc/rc.conf:
X# hiawatha_enable (bool): Set to "NO" by default, set it to "YES" to enable hiawatha
X
X. %%RC_SUBR%%
X
Xname="hiawatha"
Xrcvar=`set_rcvar`
Xcommand="%%PREFIX%%/sbin/${name}"
Xpidfile="/var/run/${name}.pid"
X
Xload_rc_config $name
X: ${hiawatha_enable="NO"}
Xrun_rc_command "$1"
END-of-hiawatha/files/hiawatha.in
echo x - hiawatha/distinfo
sed 's/^X//' >hiawatha/distinfo << 'END-of-hiawatha/distinfo'
XMD5 (hiawatha-5.3.tar.gz) = 16a3d7e720fb4b1a7dd66f77c60b7dc5
XSHA256 (hiawatha-5.3.tar.gz) = 168dc7fec581a905600a4a1d50dd35e3e635a8601e5b6a023a326ce15654ae37
XSIZE (hiawatha-5.3.tar.gz) = 184446
END-of-hiawatha/distinfo
echo x - hiawatha/pkg-descr
sed 's/^X//' >hiawatha/pkg-descr << 'END-of-hiawatha/pkg-descr'
XHiawatha is an advanced and secure webserver for Unix. It has been written with
X'being secure' as its main goal. Hiawatha has many security features that no
Xother webserver has. Besides being very secure, it's also a very fast
Xwebserver. It's twice as fast as Apache for static content. It supports
Xload-balanced FastCGI, which makes it fast and scalable for serving CGI.
END-of-hiawatha/pkg-descr
echo x - hiawatha/pkg-plist
sed 's/^X//' >hiawatha/pkg-plist << 'END-of-hiawatha/pkg-plist'
Xsbin/hiawatha
Xsbin/cgi_wrapper
Xsbin/wigwam
Xsbin/fcgi-server
Xsbin/newroot
X@unexec if cmp -s %D/etc/hiawatha/httpd.conf %D/etc/hiawatha/httpd.conf.sample; then rm -f %D/etc/hiawatha/httpd.conf; fi
X@unexec if cmp -s %D/etc/hiawatha/mimetype.conf %D/etc/hiawatha/mimetype.conf.sample; then rm -f %D/etc/hiawatha/mimetype.conf; fi
X@unexec if cmp -s %D/etc/hiawatha/throttle.conf %D/etc/hiawatha/throttle.conf.sample; then rm -f %D/etc/hiawatha/throttle.conf; fi
X@unexec if cmp -s %D/etc/hiawatha/cgi_wrapper.conf %D/etc/hiawatha/cgi_wrapper.conf.sample; then rm -f %D/etc/hiawatha/cgi_wrapper.conf; fi
Xetc/hiawatha/httpd.conf.sample
Xetc/hiawatha/mimetype.conf.sample
Xetc/hiawatha/throttle.conf.sample
Xetc/hiawatha/cgi_wrapper.conf.sample
X@dirrm etc/hiawatha
X@unexec if cmp -s %D/www/hiawatha/index.html %D/www/hiawatha/index.html.sample; then rm -f %D/www/hiawatha/index.html; fi
Xwww/hiawatha/index.html.sample
X@dirrm www/hiawatha
END-of-hiawatha/pkg-plist
exit

>Release-Note:
>Audit-Trail:
Class-Changed-From-To: change-request->maintainer-update 
Class-Changed-By: edwin 
Class-Changed-When: Sun Dec 17 13:50:31 UTC 2006 
Class-Changed-Why:  
Fix category (submitter is maintainer) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106835 
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Sun Dec 17 17:12:37 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106835 
State-Changed-From-To: open->feedback 
State-Changed-By: itetcu 
State-Changed-When: Sun Dec 17 18:51:23 UTC 2006 
State-Changed-Why:  
please submit a diff, not a shar, see 
http://sce-tindy.tecnik93.com/FreeBSD/How-to-submit-a-diff.txt for 
suggestions. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106835 
State-Changed-From-To: feedback->closed 
State-Changed-By: itetcu 
State-Changed-When: Wed Dec 27 10:06:30 UTC 2006 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106835 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/106835: commit references a PR
Date: Wed, 27 Dec 2006 10:06:26 +0000 (UTC)

 itetcu      2006-12-27 10:06:14 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/hiawatha         Makefile distinfo pkg-plist 
   Log:
   - Update to 5.3
   - fix check for OpenSSL in the Makefile
   
   PR:             ports/106835
   Submitted by:   Hugo Leisink (maintainer)
   
   Revision  Changes    Path
   1.2       +8 -6      ports/www/hiawatha/Makefile
   1.2       +3 -3      ports/www/hiawatha/distinfo
   1.2       +2 -0      ports/www/hiawatha/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
