From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 9 13:00:13 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0E3916A430 for ; Thu, 9 Mar 2006 13:00:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F97143D5A for ; Thu, 9 Mar 2006 13:00:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k29D0Bvx022425 for ; Thu, 9 Mar 2006 13:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k29D0B3x022421; Thu, 9 Mar 2006 13:00:11 GMT (envelope-from gnats) Resent-Date: Thu, 9 Mar 2006 13:00:11 GMT Resent-Message-Id: <200603091300.k29D0B3x022421@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johan van Selst Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC54916A420 for ; Thu, 9 Mar 2006 12:51:48 +0000 (GMT) (envelope-from johans@stack.nl) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DD5743D46 for ; Thu, 9 Mar 2006 12:51:47 +0000 (GMT) (envelope-from johans@stack.nl) Received: by mailhost.stack.nl (Postfix, from userid 65534) id 80816A2FED; Thu, 9 Mar 2006 13:51:46 +0100 (CET) Received: from mud.stack.nl (mud.stack.nl [IPv6:2001:610:1108:5011:207:e9ff:fe14:b498]) by mailhost.stack.nl (Postfix) with ESMTP id 8D598A2FEC for ; Thu, 9 Mar 2006 13:51:44 +0100 (CET) Received: by mud.stack.nl (Postfix, from userid 801) id 84D75229F4; Thu, 9 Mar 2006 13:51:44 +0100 (CET) Message-Id: <20060309125144.84D75229F4@mud.stack.nl> Date: Thu, 9 Mar 2006 13:51:44 +0100 (CET) From: Johan van Selst To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/94268: [new port] www/xshttpd-devel - another webserver X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Johan van Selst List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 13:00:14 -0000 >Number: 94268 >Category: ports >Synopsis: [new port] www/xshttpd-devel - another webserver >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 09 13:00:11 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Johan van Selst >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD mud.stack.nl 6.0-STABLE FreeBSD 6.0-STABLE #9: Wed Jan 11 14:40:03 CET 2006 johans@mud.stack.nl:/usr/obj/usr/src/sys/mud i386 >Description: This is pretty much the same as existing www/xshttpd port, but with a newer software version. I've had several requests to update www/xshttpd to the latest development release, but I prefer a clear distinction and want to keep the stable version. >How-To-Repeat: >Fix: The port conflicts with existing www/xshttpd port, this should also be reflected in the Makefile of that port by adding CONFLICTS+=xshttpd-devel-[0-9]* # 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: # # xshttpd-devel # xshttpd-devel/files # xshttpd-devel/files/xshttpd.sh.in # xshttpd-devel/Makefile # xshttpd-devel/distinfo # xshttpd-devel/pkg-descr # xshttpd-devel/pkg-plist # echo c - xshttpd-devel mkdir -p xshttpd-devel > /dev/null 2>&1 echo c - xshttpd-devel/files mkdir -p xshttpd-devel/files > /dev/null 2>&1 echo x - xshttpd-devel/files/xshttpd.sh.in sed 's/^X//' >xshttpd-devel/files/xshttpd.sh.in << 'END-of-xshttpd-devel/files/xshttpd.sh.in' X#!/bin/sh X# X# $FreeBSD$ X# X X# PROVIDE: xshttpd X# REQUIRE: NETWORKING SERVERS X# BEFORE: DAEMON X# KEYWORD: shutdown X X# X# Add the following line to /etc/rc.conf to enable XS-HTTPD: X# xshttpd_enable (bool): Set to "NO" by default. X# Set it to "YES" to enable XS-HTTPD. X# Xxshttpd_enable=${xshttpd_enable-"NO"} X X. %%RC_SUBR%% X Xname="xshttpd" Xrcvar=`set_rcvar` X Xload_rc_config $name X Xpidfile="/var/run/httpd.pid" Xcommand="%%PREFIX%%/bin/httpd" Xstop_cmd="%%PREFIX%%/bin/httpdc kill" Xrestart_cmd="%%PREFIX%%/bin/httpdc restart" X Xrun_rc_command "$1" END-of-xshttpd-devel/files/xshttpd.sh.in echo x - xshttpd-devel/Makefile sed 's/^X//' >xshttpd-devel/Makefile << 'END-of-xshttpd-devel/Makefile' X# New ports collection makefile for: xshttpd-devel X# Date created: 8 March 2006 X# Whom: Johan van Selst X# X# $FreeBSD$ X# X XPORTNAME= xshttpd XDISTVERSION= 3.4b06 XCATEGORIES= www ipv6 XMASTER_SITES= ftp://ftp.stack.nl/pub/xs-httpd/release/ \ X ftp://mud.stack.nl/pub/xs-httpd/release/ XPKGNAMESUFFIX= -devel XDISTNAME= ${PORTNAME}-${DISTVERSION:S/.//} X XMAINTAINER= johans@stack.nl XCOMMENT= A webserver with CGI as own user and SSL suport X XRUN_DEPENDS= run-mailcap:${PORTSDIR}/misc/mime-support X XCONFLICTS+= apache-[0-9]* xshttpd-[0-9]* X XMAN1= clearxs.1 gfxcount.1 httpd.1 httpdc.1 imagemap.1 \ X readxs.1 xsindex.1 xspasswd.1 XMAN5= httpd.conf.5 xsauth.5 xsscripts.5 XUSE_BZIP2= yes XUSE_RC_SUBR= xshttpd.sh X XGNU_CONFIGURE= yes XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} X XOPTIONS= SSL "Enable https support" On \ X LDAP "Enable ldap support" Off \ X PCRE "Enable pcre rewriting support" Off \ X PERSISTENT_PERL "Enable persistent perl interpreter" Off X X# By default XS-HTTPD stores its data in ${PREFIX}/lib/httpd XDATADIR= ${PREFIX}/www XPLIST_SUB= WWWDIR=${DATADIR} XCONFIGURE_ARGS+=--with-rootdir=${DATADIR} X X.include X X.if !defined(WITHOUT_SSL) X.include <${PORTSDIR}/Mk/bsd.openssl.mk> X#USE_OPENSSL= yes XCONFIGURE_ARGS+=--with-ssl X.else XCONFIGURE_ARGS+=--without-ssl X.endif X X.if defined(WITH_LDAP) XUSE_OPENLDAP= yes XCONFIGURE_ARGS+=--with-ldap=${LOCALBASE} X.else XCONFIGURE_ARGS+=--without-ldap X.endif X X.if defined(WITH_PERSISTENT_PERL) XUSE_PERL5= yes XCONFIGURE_ARGS+=--with-perl X.else XCONFIGURE_ARGS+=--without-perl X.endif X X.if defined(WITH_PCRE) XLIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre XCONFIGURE_ARGS+=--with-pcre=yes X.else XCONFIGURE_ARGS+=--with-pcre=no X.endif X Xpost-patch: X.for i in man/httpd.1 man/httpd.conf.5 config/httpd.conf.sample \ X contrib/SSL-Makefile contrib/logrotate.sh X @${REINPLACE_CMD} \ X -e 's|/wwwsys|${DATADIR}|g' \ X -e 's|/usr/local/lib/httpd|${DATADIR}|g' \ X -e 's|nobody|${WWWOWN}|g' \ X -e 's|nogroup|${WWWGRP}|g' \ X ${WRKSRC}/$i X.endfor X @${REINPLACE_CMD} -e 's|\(MIMETYPESFILE\ "\).*|\1${LOCALBASE}/etc/mime.types"|' \ X ${WRKSRC}/src/confuser.h X Xpost-install: X @${RM} ${DATADIR}/mime.types X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @cd ${WRKSRC} && ${CP} README BUGS COPYING ChangeLog ${DOCSDIR} X.endif X X.include END-of-xshttpd-devel/Makefile echo x - xshttpd-devel/distinfo sed 's/^X//' >xshttpd-devel/distinfo << 'END-of-xshttpd-devel/distinfo' XMD5 (xshttpd-34b06.tar.bz2) = 48d8df68865eb30d5af352bb92d5188d XSHA256 (xshttpd-34b06.tar.bz2) = b88203213f2125d9da4a26f0cdcfb30a3939632d643470a03da1d4191f963402 XSIZE (xshttpd-34b06.tar.bz2) = 186314 END-of-xshttpd-devel/distinfo echo x - xshttpd-devel/pkg-descr sed 's/^X//' >xshttpd-devel/pkg-descr << 'END-of-xshttpd-devel/pkg-descr' XThis port offers the development branch of the XS-HTTPD webserver. XThe stable version of XS-HTTPD is available as well, as www/xshttpd. X XDevelopment releases are updated much more often and will contain Xall kinds of nice new features - some of them are even documented. X XRead the ChangeLog file for possible issues with backwards compatibility. X XWWW: http://www.stack.nl/xs-httpd/ END-of-xshttpd-devel/pkg-descr echo x - xshttpd-devel/pkg-plist sed 's/^X//' >xshttpd-devel/pkg-plist << 'END-of-xshttpd-devel/pkg-plist' Xbin/clearxs Xbin/httpd Xbin/httpdc Xbin/readxs Xbin/xsindex Xbin/xspasswd X%%DATADIR%%/cgi-bin/error X%%DATADIR%%/cgi-bin/gfxcount X%%DATADIR%%/cgi-bin/imagemap X%%DATADIR%%/cgi-bin/xschpass X%%DATADIR%%/contrib/SSL-Makefile X%%DATADIR%%/contrib/agentstats.pl X%%DATADIR%%/contrib/caroot.pem X%%DATADIR%%/contrib/logrotate.sh X%%DATADIR%%/contrib/persistent.pl X%%DATADIR%%/contrib/powered-by-xs.gif X%%DATADIR%%/contrib/wwwstats.pl X%%DATADIR%%/compress.methods.sample X%%DATADIR%%/gfxcount/digital0.ppm X%%DATADIR%%/gfxcount/digital1.ppm X%%DATADIR%%/gfxcount/digital2.ppm X%%DATADIR%%/gfxcount/digital3.ppm X%%DATADIR%%/gfxcount/digital4.ppm X%%DATADIR%%/gfxcount/digital5.ppm X%%DATADIR%%/gfxcount/digital6.ppm X%%DATADIR%%/gfxcount/digital7.ppm X%%DATADIR%%/gfxcount/digital8.ppm X%%DATADIR%%/gfxcount/digital9.ppm X%%DATADIR%%/gfxcount/large0.ppm X%%DATADIR%%/gfxcount/large1.ppm X%%DATADIR%%/gfxcount/large2.ppm X%%DATADIR%%/gfxcount/large3.ppm X%%DATADIR%%/gfxcount/large4.ppm X%%DATADIR%%/gfxcount/large5.ppm X%%DATADIR%%/gfxcount/large6.ppm X%%DATADIR%%/gfxcount/large7.ppm X%%DATADIR%%/gfxcount/large8.ppm X%%DATADIR%%/gfxcount/large9.ppm X%%DATADIR%%/gfxcount/largecol0.ppm X%%DATADIR%%/gfxcount/largecol1.ppm X%%DATADIR%%/gfxcount/largecol2.ppm X%%DATADIR%%/gfxcount/largecol3.ppm X%%DATADIR%%/gfxcount/largecol4.ppm X%%DATADIR%%/gfxcount/largecol5.ppm X%%DATADIR%%/gfxcount/largecol6.ppm X%%DATADIR%%/gfxcount/largecol7.ppm X%%DATADIR%%/gfxcount/largecol8.ppm X%%DATADIR%%/gfxcount/largecol9.ppm X%%DATADIR%%/httpd.conf.sample X%%DATADIR%%/icons/xs-audio.gif X%%DATADIR%%/icons/xs-back.gif X%%DATADIR%%/icons/xs-base.gif X%%DATADIR%%/icons/xs-bin.gif X%%DATADIR%%/icons/xs-dir.gif X%%DATADIR%%/icons/xs-gif.gif X%%DATADIR%%/icons/xs-html.gif X%%DATADIR%%/icons/xs-image.gif X%%DATADIR%%/icons/xs-jpeg.gif X%%DATADIR%%/icons/xs-ps.gif X%%DATADIR%%/icons/xs-tar.gif X%%DATADIR%%/icons/xs-txt.gif X%%DATADIR%%/icons/xs-unknown.gif X%%DATADIR%%/icons/xs-video.gif X%%DATADIR%%/icons/xs-zip.gif X%%DATADIR%%/mime.index X%%DATADIR%%/script.methods.sample X@dirrm %%DATADIR%%/contrib X@dirrm %%DATADIR%%/gfxcount X@dirrm %%DATADIR%%/icons X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/BUGS X%%PORTDOCS%%%%DOCSDIR%%/COPYING X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@cwd %%WWWDIR%% X@dirrmtry cgi-bin X@dirrmtry htdocs X@dirrmtry logs END-of-xshttpd-devel/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: