From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 9 20:20:13 2003 Return-Path: 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 A766237B401 for ; Wed, 9 Apr 2003 20:20:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7935943FAF for ; Wed, 9 Apr 2003 20:20:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3A3KBUp085651 for ; Wed, 9 Apr 2003 20:20:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3A3KBsZ085650; Wed, 9 Apr 2003 20:20:11 -0700 (PDT) Resent-Date: Wed, 9 Apr 2003 20:20:11 -0700 (PDT) Resent-Message-Id: <200304100320.h3A3KBsZ085650@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, Pierre-Luc Lesperance Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68B1637B401 for ; Wed, 9 Apr 2003 20:17:35 -0700 (PDT) Received: from videotron.ca (modemcable066.181-202-24.timi.mc.videotron.ca [24.202.181.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3773243FB1 for ; Wed, 9 Apr 2003 20:17:34 -0700 (PDT) (envelope-from oksala@videotron.ca) Received: from silence.oksala.org (localhost [127.0.0.1]) by silence.oksala.org (8.12.8/8.12.6) with ESMTP id h3A3ApSl000676 for ; Wed, 9 Apr 2003 23:10:51 -0400 (EDT) (envelope-from oksala@videotron.ca) Received: (from silence@localhost) by silence.oksala.org (8.12.8/8.12.6/Submit) id h3A3AovY000675; Wed, 9 Apr 2003 23:10:50 -0400 (EDT) Message-Id: <200304100310.h3A3AovY000675@silence.oksala.org> Date: Wed, 9 Apr 2003 23:10:50 -0400 (EDT) From: Pierre-Luc Lesperance To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50764: Update www/cherokee X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pierre-Luc Lesperance List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 03:20:14 -0000 >Number: 50764 >Category: ports >Synopsis: Update www/cherokee >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: Wed Apr 09 20:20:11 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Pierre-Luc Lesperance >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD silence.oksala.org 4.8-STABLE FreeBSD 4.8-STABLE #24: Fri Apr 4 13:00:08 EST 2003 silence@silence.oksala.org:/usr/src/sys/compile/oksala i386 >Description: Update www/cherokee from 0.2.8 to 0.4.2 >How-To-Repeat: >Fix: diff -ruN cherokee.orig/Makefile cherokee/Makefile --- cherokee.orig/Makefile Mon Apr 7 18:18:20 2003 +++ cherokee/Makefile Mon Apr 7 18:24:28 2003 @@ -5,90 +5,51 @@ # $FreeBSD: ports/www/cherokee/Makefile,v 1.1 2003/04/06 00:30:58 edwin Exp $ # -PORTNAME= Cherokee -PORTVERSION= 0.2.8 +PORTNAME= cherokee +PORTVERSION= 0.4.2 CATEGORIES= www -MASTER_SITES= http://www.alobbs.com/cherokee/ +MASTER_SITES= ftp://www.alobbs.com/cherokee/ MAINTAINER= oksala@videotron.ca COMMENT= Cherokee is an extremely fast and tiny web server -USE_AUTOCONF= yes -USE_AUTOMAKE= yes +#USE_AUTOCONF= yes +#USE_AUTOMAKE= yes HAS_CONFIGURE= yes -CONFIGURE_ARGS+= \ - --prefix=${PREFIX} \ - --enable-daemon\ - --enable-warnings\ - --with-htdocs=${HTDOCS}\ - --with-uid=${UID} \ - --with-gid=${GID} \ - --with-port=${PORT} \ - --with-index=${INDEX} - - -# -# User Configuration -# This may seem a little overloaded -# But there is not configuration files or getopt options -# - -#User Configurations -#Dir for your html files -.if defined(HTDOCS) -HTDOCS=${HTDOCS} -.else -HTDOCS=${PREFIX}/www/data -.endif - -#Process UID -.if defined(USER_ID) -USER_ID=${USER_ID} -.else -USER_ID=80 #www -.endif - -#Process GID -.if defined(GROUP_ID) -GROUP_ID=${GROUP_ID} -.else -GROUP_ID=80 #www -.endif - -#inet port -.if defined(PORT) -PORT=${PORT} -.else -PORT=80 -.endif +CONFIGURE_ARGS= --prefix=${PREFIX} -#index files -.if defined(INDEX) -INDEX=${INDEX} -.else -INDEX=index.html +#This is experimental +#do not expect it to work properly +.if defined(WITH_PHP) +CONFIGURE_ARGS+=--with-php=${PREFIX}/include/php +BUILD_DEPENDS=mod_php4:${PORTSDIR}/www/mod_php4: .endif -pre-configure: - @${ECHO} "" - @${ECHO} "==================================" - @${ECHO} "" - @${ECHO} "Current configuration :" - @${ECHO} "Working directory : ${HTDOCS} (HTDOCS)" - @${ECHO} "Process id : ${USER_ID} (USER_ID)" - @${ECHO} "Process gid : ${GROUP_ID} (GROUP_ID)" - @${ECHO} "Inet port : ${PORT} (PORT)" - @${ECHO} "Index files : ${INDEX} (INDEX)" - @${ECHO} "" - @${ECHO} "==================================" - @${ECHO} "" +#pre-everything: +# @${ECHO_MSG} "----------------------------" +# @${ECHO_MSG} " " +# @${ECHO_MSG} "You can add php support" +# @${ECHO_MSG} "This is experimental" +# @${ECHO_MSG} "builds cherokee with WITH_PHP=yes" +# @${ECHO_MSG} "For example," +# @${ECHO_MSG} "make WITH_PHP=yes" +# @${ECHO_MSG} " " +# @${ECHO_MSG} "----------------------------" pre-install: @if [ ! -f ${PREFIX}/www ]; then \ ${MKDIR} ${PREFIX}/www;\ fi - @if [ ! -f ${HTDOCS} ] ; then \ - ${MKDIR} ${HTDOCS};\ + @if [ ! -f ${PREFIX}/www/data ] ; then \ + ${MKDIR} ${PREFIX}/www/data;\ fi + @${ECHO_MSG} " `pwd` " + +post-install: + @${INSTALL} -m 644 ${WRKSRC}/doc/Intro.txt ${PREFIX}/share/cherokee + @${ECHO_MSG} " " + @${ECHO_MSG} " Dont forget to read the doc " + @${ECHO_MSG} " ${PREFIX}/share/cherokee/Intro.txt" + @${ECHO_MSG} " " .include diff -ruN cherokee.orig/distinfo cherokee/distinfo --- cherokee.orig/distinfo Mon Apr 7 18:18:20 2003 +++ cherokee/distinfo Mon Apr 7 12:38:22 2003 @@ -1 +1 @@ -MD5 (Cherokee-0.2.8.tar.gz) = ffefd914d7d242c2e52fc85b3ecc221a +MD5 (cherokee-0.4.2.tar.gz) = cfebf2348fb7c195db262ea6f2abde62 diff -ruN cherokee.orig/files/patch-aa cherokee/files/patch-aa --- cherokee.orig/files/patch-aa Mon Apr 7 18:18:20 2003 +++ cherokee/files/patch-aa Mon Apr 7 12:59:51 2003 @@ -1,43 +1,35 @@ ---- src/cherokee.h.old Fri Dec 28 07:39:11 2001 -+++ src/cherokee.h Tue May 14 14:49:35 2002 -@@ -28,11 +28,11 @@ - #include - #include - #include -+#include - #include - #include - #include - #include --#include - #include - #include - #include ---- src/server.h.old Fri Dec 28 07:25:54 2001 -+++ src/server.h Tue May 14 14:49:35 2002 -@@ -26,9 +26,9 @@ - - #include - #include --#include --#include - #include -+#include -+#include - - #include "configuration.h" +diff -ruN cherokee-0.4.2.orig/cherokee.conf cherokee-0.4.2/cherokee.conf +--- cherokee.conf.orig Mon Mar 17 12:25:35 2003 ++++ cherokee.conf Mon Apr 7 12:58:12 2003 +@@ -37,7 +37,7 @@ + ## documents. By default, all requests are taken from this directory, but + ## symbolic links and aliases may be used to point to other locations. + ## +-DocumentRoot /var/www ++DocumentRoot /usr/local/www/data + + ## + ## Log: Turn On/Off the logging in to syslog +diff -ruN cherokee-0.4.2.orig/src/common.c cherokee-0.4.2/src/common.c +--- src.orig/common.c Sun Mar 23 14:55:03 2003 ++++ src/common.c Mon Apr 7 12:57:07 2003 +@@ -23,7 +23,6 @@ + * USA + */ + +-#include + #include + + #include "common.h" +diff -ruN cherokee-0.4.2.orig/src/server.h cherokee-0.4.2/src/server.h +--- src.orig/server.h Wed Mar 19 16:19:19 2003 ++++ src/server.h Mon Apr 7 12:57:20 2003 +@@ -26,6 +26,8 @@ + #ifndef __CHEROKEE2_SERVER_H__ + #define __CHEROKEE2_SERVER_H__ ---- src/socket.h.old Thu Dec 27 05:49:07 2001 -+++ src/socket.h Tue May 14 14:49:35 2002 -@@ -26,8 +26,11 @@ - - #include - #include -+#include +#include - #include - #include -+#include - - int __inline socket_ready_to_read (int socket); ++ + #include + #include "common.h" diff -ruN cherokee.orig/files/patch-ab cherokee/files/patch-ab --- cherokee.orig/files/patch-ab Wed Dec 31 19:00:00 1969 +++ cherokee/files/patch-ab Mon Apr 7 13:28:30 2003 @@ -0,0 +1,11 @@ +--- configure.orig Mon Apr 7 13:28:00 2003 ++++ configure Mon Apr 7 13:27:40 2003 +@@ -6331,7 +6331,7 @@ + withval="$with_php" + + CHEROKEE_PHP_CFLAGS="-I$withval -I$withval/main -I$withval/Zend -I$withval/regex -I$withval/TSRM" +- CHEROKEE_PHP_LIBADD="$withval/libphp4.la" ++ CHEROKEE_PHP_LIBADD="/usr/local/libexec/apache/libphp4.so" + + + php_support="yes" diff -ruN cherokee.orig/pkg-plist cherokee/pkg-plist --- cherokee.orig/pkg-plist Mon Apr 7 18:18:20 2003 +++ cherokee/pkg-plist Mon Apr 7 17:52:08 2003 @@ -1,3 +1,48 @@ bin/cherokee +bin/cherokee-config +bin/cherokee_static +etc/cherokee/cherokee.conf +include/cherokee/avl.h +include/cherokee/buffer.h +include/cherokee/cherokee.h +include/cherokee/common.h +include/cherokee/connection.h +include/cherokee/fdpoll.h +include/cherokee/handler.h +include/cherokee/http.h +include/cherokee/list.h +include/cherokee/log.h +include/cherokee/plugin_table.h +include/cherokee/plugin_table_entry.h +include/cherokee/server.h +include/cherokee/table.h +include/cherokee/virtual_server.h +lib/cherokee/libcherokee_common.a +lib/cherokee/libcherokee_common.la +lib/cherokee/libcherokee_common.so +lib/cherokee/libcherokee_common.so.0 +lib/cherokee/libcherokee_dirlist.a +lib/cherokee/libcherokee_dirlist.la +lib/cherokee/libcherokee_dirlist.so +lib/cherokee/libcherokee_dirlist.so.0 +lib/cherokee/libcherokee_file.a +lib/cherokee/libcherokee_file.la +lib/cherokee/libcherokee_file.so +lib/cherokee/libcherokee_file.so.0 +lib/cherokee/libcherokee_redir.a +lib/cherokee/libcherokee_redir.la +lib/cherokee/libcherokee_redir.so +lib/cherokee/libcherokee_redir.so.0 +lib/libcherokee.a +lib/libcherokee.la +lib/libcherokee.so +lib/libcherokee.so.0 +share/aclocal/cherokee.m4 +share/cherokee/mime_types.txt +share/cherokee/Intro.txt +@dirrm etc/cherokee +@dirrm include/cherokee +@dirrm lib/cherokee +@dirrm share/cherokee @dirrm www/data @dirrm www >Release-Note: >Audit-Trail: >Unformatted: