--- cherokee-0.5.6.orig/cherokee.conf.sample.pre +++ cherokee-0.5.6/cherokee.conf.sample.pre @@ -13,11 +13,11 @@ ## ## TLS Port: ## -## To start TLS/SSL, please be sure to generate your SSL keys (read -## dos/How_to_generate_SSL_keys.html). Once this is done, enable the -## service by enabling the SSL module: +## To start TLS/SSL, please be sure to generate your SSL keys (read +## /usr/share/doc/cherokee/How_to_generate_SSL_keys.html). Once this +## is done, enable the service by enabling the SSL module: ## -## # ln -s /etc/cherokee/mods-available/ssl /etc/cherokee/mods-enabled/ssl/ +## # ln -s /etc/cherokee/mods-available/ssl /etc/cherokee/mods-enabled/ssl ## # PortTLS 443 @@ -41,8 +41,8 @@ ## Eg: User 65534 ## Group 65534 ## -#User nobody -#Group nogroup +User www-data +Group www-data ## ## Chroot: --- cherokee-0.5.6.orig/sites-default.sample.pre +++ cherokee-0.5.6/sites-default.sample.pre @@ -6,7 +6,7 @@ ## DirectoryIndex: Name of the file or files to use as a pre-written HTML ## directory index. Separate multiple entries with commas. ## -DirectoryIndex index.php, index.html, index.htm, index.shtml +DirectoryIndex index.php, index.html, index.htm, index.shtml, cherokee.index.html ## ## DocumentRoot: The directory out of which you will serve your @@ -46,8 +46,8 @@ ## w3c - LogFile ## Log combined { - AccessLog /var/log/cherokee.access - ErrorLog /var/log/cherokee.error + AccessLog /var/log/cherokee/default.access + ErrorLog /var/log/cherokee/default.error } ## --- cherokee-0.5.6.orig/debian/cherokee.init +++ cherokee-0.5.6/debian/cherokee.init @@ -0,0 +1,113 @@ +#! /bin/sh +# +# start/stop Cherokee web server + +### BEGIN INIT INFO +# Provides: cherokee +# Required-Start: $network +# Required-Stop: $network +# Should-Start: $named +# Should-Stop: $named +# Default-Start: S 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start the Cherokee Web server +# Description: Start the Cherokee Web server +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/cherokee +NAME=cherokee + +. /lib/lsb/init-functions + +test -x $DAEMON || exit 0 + +PIDFILE=$(grep -i '^PidFile' /etc/cherokee/cherokee.conf | sed -e 's/pidfile[\t ]\+//i') +if [ "x$PIDFILE" = "x" ]; +then + PIDFILE=/var/run/cherokee.pid +fi + +set -e + + +case "$1" in + start) + echo -n "Starting web server: $NAME " + start-stop-daemon --start --oknodo --pidfile $PIDFILE --exec $DAEMON -b + ;; + + stop) + echo -n "Stopping web server: $NAME " + start-stop-daemon --stop --oknodo --pidfile $PIDFILE --exec $DAEMON + rm -f $PIDFILE + # Try harder to guess if Cherokee might still be alive (this extra step + # will be removed in the future - Late 0.4 / early 0.5 versions didn't + # always behave properly regarding the PIDFILE, so we better + # double-check here to avoid trouble. + # Why the redirection and the || true? Redirection, to avoid cluttering + # up our output. || true because we have had reports of this script + # bombing because of a failed kill to a process that no longer exists + # (remember we run with set -e). + for PID in $(pidofproc cherokee) + do + echo Cherokee still running without registering PID $PID - Terminating + kill $PID 2>/dev/null || true + done + ;; + + restart|reload|force-reload) + $0 stop + sleep 1 + $0 start + ;; + +# Upstream asks us not to signal HUP for simple reloads, as it's broken due to +# several leaks. Will be fixed for the 0.6 series. +# reload|force-reload) +# start-stop-daemon --stop --signal HUP --pidfile $PIDFILE --name $NAME +# ;; + + status) + # Strictly, LSB mandates us to return indicating the different statuses, + # but that's not exactly Debian compatible - For further information: + # http://www.freestandards.org/spec/refspecs/LSB_1.3.0/gLSB/gLSB/iniscrptact.html + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=208010 + # ...So we just inform to the invoker and return success. + echo -n "$NAME web server status: " + if [ -e $PIDFILE ] ; then + PROCNAME=$(ps -p $(cat $PIDFILE) -o comm=) + if [ "x$PROCNAME" = "x" ]; then + echo -n "Not running, but PID file present" + else + if [ "$PROCNAME" = "$NAME" ]; then + echo -n "Running" + else + echo -n "PID file points to process '$PROCNAME', not '$NAME'" + fi + fi + else + if PID=$(pidofproc cherokee); then + echo -n "Running (PID $PID), but PIDFILE not present" + else + echo -n "Not running" + fi + fi + ;; + + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2 + exit 1 + ;; +esac + +if [ $? = 0 ]; then + echo . + exit 0 +else + echo failed + exit 1 +fi + +exit 0 --- cherokee-0.5.6.orig/debian/cherokee.postinst +++ cherokee-0.5.6/debian/cherokee.postinst @@ -0,0 +1,38 @@ +#! /bin/sh +# postinst script for Cherokee +# +# see: dh_installdeb(1) + +set -e + +PATH=/bin:/sbin:/usr/bin:/usr/sbin + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure|abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- cherokee-0.5.6.orig/debian/libcherokee-server0.postinst +++ cherokee-0.5.6/debian/libcherokee-server0.postinst @@ -0,0 +1,41 @@ +#! /bin/sh +# postinst script for Cherokee +# +# see: dh_installdeb(1) + +set -e + +PATH=/bin:/sbin:/usr/bin:/usr/sbin + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure) + ldconfig + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- cherokee-0.5.6.orig/debian/libcherokee-client0.postrm +++ cherokee-0.5.6/debian/libcherokee-client0.postrm @@ -0,0 +1,39 @@ +#! /bin/sh +# postrm script for cherokee +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove) + ldconfig + ;; + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- cherokee-0.5.6.orig/debian/cherokee.preinst +++ cherokee-0.5.6/debian/cherokee.preinst @@ -0,0 +1,34 @@ +#! /bin/sh +# preinst script for Cherokee +# +# see: dh_installdeb(1) + +set -e + +PATH=/bin:/sbin:/usr/bin:/usr/sbin + +case "$1" in + install|abort-upgrade) + ;; + upgrade) + if ( echo "$2" | grep 0.4 && [ -f /etc/cherokee/cherokee.conf ] ) + then + TEMPFILE=`mktemp` + cat /etc/cherokee/cherokee.conf | sed 's/MimeFile \/etc\/cherokee\/mime.conf/MimeFile \/etc\/mime.types/' > $TEMPFILE + cat $TEMPFILE > /etc/cherokee/cherokee.conf + rm -f $TEMPFILE + fi + ;; + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- cherokee-0.5.6.orig/debian/copyright +++ cherokee-0.5.6/debian/copyright @@ -0,0 +1,16 @@ +This package was debianized by Alvaro Lopez Ortega +on Wed Oct 1 19:42:03 CEST 2003 + +It was downloaded from http://www.cherokee-project.com +Cherokee's web site is http://www.cherokee-project.com + +Upstream Authors: + Alvaro Lopez Ortega + +Copyright: + This program is free software; you can redistribute it and/or + modify it under the terms of version 2 of the GNU General Public + License as published by the Free Software Foundation. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- cherokee-0.5.6.orig/debian/rules +++ cherokee-0.5.6/debian/rules @@ -0,0 +1,272 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +INSTALL_PROGRAM = /usr/bin/install +BUILD_DIR = $(CURDIR)/debian/tmp + +LIB_BASE_DIR = $(CURDIR)/debian/libcherokee-base0 +DEV_BASE_DIR = $(CURDIR)/debian/libcherokee-base0-dev +LIB_CLIENT_DIR = $(CURDIR)/debian/libcherokee-client0 +DEV_CLIENT_DIR = $(CURDIR)/debian/libcherokee-client0-dev +LIB_SERVER_DIR = $(CURDIR)/debian/libcherokee-server0 +DEV_SERVER_DIR = $(CURDIR)/debian/libcherokee-server0-dev +SERVER_DIR = $(CURDIR)/debian/cherokee +CGET_DIR = $(CURDIR)/debian/cget + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +export DEB_HOST_GNU_TYPE +export DEB_BUILD_GNU_TYPE + +# Compiler flags to use +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + ln -sf /usr/share/misc/config.guess . + ln -sf /usr/share/misc/config.sub . + # Add here commands to configure the package + ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --enable-os-string="Debian GNU/Linux" \ + --enable-pthreads \ + --prefix=/usr \ + --localstatedir=/var \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --sysconfdir=/etc \ + --with-wwwroot=/var/www + +#Architecture +build: build-arch build-indep + +build-arch: build-arch-stamp + +build-arch-stamp: config.status + $(MAKE) + # $(MAKE) test + touch build-arch-stamp + +build-indep: build-indep-stamp + +build-indep-stamp: config.status + # Add here commands to compile the indep part of the package. + #$(MAKE) doc + +clean: + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) distclean + rm -rf build-arch-stamp build-indep-stamp + rm -rf config.guess config.sub + # Cruft not cleaned by the build process + rm -fr cherokee/mime_grammar.output cherokee/icons_grammar.output cherokee/config_protocol_grammar.output www/images + + dh_clean + +install: install-indep install-arch + +install-indep: + # Add here commands to install the indep part of the package into + # debian/-doc + #INSTALLDOC# + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + + install -d $(BUILD_DIR) + + $(MAKE) install INSTALL_PROGRAM=$(INSTALL_PROGRAM) CFLAGS="$(CFLAGS)" DESTDIR=$(BUILD_DIR) + +# FIX 1: Fix the PanicAction path + cat $(BUILD_DIR)/etc/cherokee/advanced.conf | sed 's/PanicAction \/usr\/bin/PanicAction \/usr\/share\/cherokee/' >adv.new + mv adv.new $(BUILD_DIR)/etc/cherokee/advanced.conf + mv $(BUILD_DIR)/usr/bin/cherokee-panic $(BUILD_DIR)/usr/share/cherokee/ + +# FIX 2: Set the PidFile + cat $(BUILD_DIR)/etc/cherokee/cherokee.conf | sed 's/^[#\t ]*PidFile .*\$$/PidFile \/var\/run\/cherokee.pid/' >adv.new + mv adv.new $(BUILD_DIR)/etc/cherokee/cherokee.conf + +# FIX 3: Explicitly set Cherokee to run under Debian's regular www-data UID/GID + cat $(BUILD_DIR)/etc/cherokee/cherokee.conf | sed 's/^#User nobody /User www-data/' | sed 's/^#Group nogroup /Group www-data/' >adv.new + mv adv.new $(BUILD_DIR)/etc/cherokee/cherokee.conf + +# FIX 4: Fix the index stuff + cat $(BUILD_DIR)/etc/cherokee/cherokee.conf | sed 's/^DirectoryIndex /DirectoryIndex cherokee.index.html, /' >adv.new + mv adv.new $(BUILD_DIR)/etc/cherokee/cherokee.conf + +# FIX 5: Add a Debian look to the default page + /usr/bin/uudecode -o $(BUILD_DIR)/var/www/images/powered_by_debian.png $(CURDIR)/debian/www/powered_by_debian.png.uu + rm $(BUILD_DIR)/var/www/index.html + install -m 644 $(CURDIR)/debian/www/cherokee.index.html $(BUILD_DIR)/var/www/cherokee.index.html + +# FIX 6: This stuff is not ready to be used + rm $(BUILD_DIR)/usr/lib/libcherokee-config* + rm $(BUILD_DIR)/usr/lib/cherokee/libplugin_admin* + rm $(BUILD_DIR)/usr/lib/cherokee/libplugin_fastcgi* + rm $(BUILD_DIR)/usr/include/cherokee/admin_client.h + rm $(BUILD_DIR)/etc/cherokee/mods-available/admin* + rm $(BUILD_DIR)/usr/bin/cherokee_logrotate $(BUILD_DIR)/usr/share/man/man1/cherokee_logrotate.1 + +# libcherokee-base0-dev - Development files + install -d $(DEV_BASE_DIR)/DEBIAN + install -d $(DEV_BASE_DIR)/usr/bin + install -d $(DEV_BASE_DIR)/usr/lib/pkgconfig + install -d $(DEV_BASE_DIR)/usr/include/cherokee + install -d $(DEV_BASE_DIR)/usr/share/doc/libcherokee-base0-dev + install -d $(DEV_BASE_DIR)/usr/share/aclocal + install -d $(DEV_BASE_DIR)/usr/share/man/man1 + install $(CURDIR)/debian/README.docs $(DEV_BASE_DIR)/usr/share/doc/libcherokee-base0-dev/ + + mv $(BUILD_DIR)/usr/lib/libcherokee-base.a $(DEV_BASE_DIR)/usr/lib/ + mv $(BUILD_DIR)/usr/lib/libcherokee-base.la $(DEV_BASE_DIR)/usr/lib/ + mv $(BUILD_DIR)/usr/lib/libcherokee-base.so $(DEV_BASE_DIR)/usr/lib/ + mv $(BUILD_DIR)/usr/include/cherokee/* $(DEV_BASE_DIR)/usr/include/cherokee/ + mv $(BUILD_DIR)/usr/bin/cherokee-config $(DEV_BASE_DIR)/usr/bin + mv $(BUILD_DIR)/usr/share/man/man1/cherokee-config.1 $(DEV_BASE_DIR)/usr/share/man/man1/ + mv $(BUILD_DIR)/usr/lib/pkgconfig/* $(DEV_BASE_DIR)/usr/lib/pkgconfig/ + mv $(BUILD_DIR)/usr/share/aclocal/* $(DEV_BASE_DIR)/usr/share/aclocal/ + +# libcherokee-client0-dev - Development files for the client libraries + install -d $(DEV_CLIENT_DIR)/DEBIAN + install -d $(DEV_CLIENT_DIR)/usr/share/doc/libcherokee-client0-dev + install -d $(DEV_CLIENT_DIR)/usr/lib + install $(CURDIR)/debian/README.docs $(DEV_CLIENT_DIR)/usr/share/doc/libcherokee-client0-dev/ + + mv $(BUILD_DIR)/usr/lib/libcherokee-client.a $(DEV_CLIENT_DIR)/usr/lib + mv $(BUILD_DIR)/usr/lib/libcherokee-client.la $(DEV_CLIENT_DIR)/usr/lib + mv $(BUILD_DIR)/usr/lib/libcherokee-client.so $(DEV_CLIENT_DIR)/usr/lib + +# libcherokee-server0-dev - Development files for the server libraries + install -d $(DEV_SERVER_DIR)/DEBIAN + install -d $(DEV_SERVER_DIR)/usr/lib + install -d $(DEV_SERVER_DIR)/usr/share/doc/libcherokee-server0-dev + install $(CURDIR)/debian/README.docs $(DEV_SERVER_DIR)/usr/share/doc/libcherokee-server0-dev/ + + mv $(BUILD_DIR)/usr/lib/libcherokee-server.a $(DEV_SERVER_DIR)/usr/lib + mv $(BUILD_DIR)/usr/lib/libcherokee-server.la $(DEV_SERVER_DIR)/usr/lib + mv $(BUILD_DIR)/usr/lib/libcherokee-server.so $(DEV_SERVER_DIR)/usr/lib + +# libcherokee-base0 - Runtime library + install -d $(LIB_BASE_DIR)/DEBIAN + install -d $(LIB_BASE_DIR)/usr/lib/ + install -d $(LIB_BASE_DIR)/usr/share/doc/libcherokee-base0 + install $(CURDIR)/debian/README.docs $(LIB_BASE_DIR)/usr/share/doc/libcherokee-base0/ + install -m644 debian/shlibs.libcherokee-base0 $(LIB_BASE_DIR)/DEBIAN/shlibs + + mv $(BUILD_DIR)/usr/lib/libcherokee-base.so* $(LIB_BASE_DIR)/usr/lib/ + +# libcherokee-client0 - Runtime library + install -d $(LIB_CLIENT_DIR)/DEBIAN + install -d $(LIB_CLIENT_DIR)/usr/lib + install -d $(LIB_CLIENT_DIR)/usr/share/doc/libcherokee-client0 + install $(CURDIR)/debian/README.docs $(LIB_CLIENT_DIR)/usr/share/doc/libcherokee-client0/ + install -m644 debian/shlibs.libcherokee-client0 $(LIB_CLIENT_DIR)/DEBIAN/shlibs + + mv $(BUILD_DIR)/usr/lib/libcherokee-client.so* $(LIB_CLIENT_DIR)/usr/lib/ + +# libcherokee-server0 - Runtime library + install -d $(LIB_SERVER_DIR)/DEBIAN + install -d $(LIB_SERVER_DIR)/usr/lib/cherokee + install -d $(LIB_SERVER_DIR)/usr/share/cherokee + install -d $(LIB_SERVER_DIR)/usr/share/doc/libcherokee-server0 + install $(CURDIR)/debian/README.docs $(LIB_SERVER_DIR)/usr/share/doc/libcherokee-server0/ + install -m644 debian/shlibs.libcherokee-server0 $(LIB_SERVER_DIR)/DEBIAN/shlibs + + mv $(BUILD_DIR)/usr/lib/libcherokee-server.so* $(LIB_SERVER_DIR)/usr/lib/ + mv $(BUILD_DIR)/usr/share/cherokee/* $(LIB_SERVER_DIR)/usr/share/cherokee/ + mv $(BUILD_DIR)/usr/lib/cherokee/* $(LIB_SERVER_DIR)/usr/lib/cherokee/ + +# cget - Downloader utility + install -d $(CGET_DIR)/DEBIAN + install -d $(CGET_DIR)/usr/bin + install -d $(CGET_DIR)/usr/share/doc/cget + install -d $(CGET_DIR)/usr/share/man/man1 + install $(CURDIR)/debian/README.docs $(CGET_DIR)/usr/share/doc/cget/ + + mv $(BUILD_DIR)/usr/bin/cget $(CGET_DIR)/usr/bin/ + mv $(BUILD_DIR)/usr/share/man/man1/cget.1 $(CGET_DIR)/usr/share/man/man1/ + +# cherokee - Main binary package + + # During the build process, we created many directories we don't need + # anymore, as their files were either removed or moved to other binary + # packages. Clean them as well. + rm -r $(BUILD_DIR)/usr/share/cherokee $(BUILD_DIR)/usr/share/aclocal + rm -r $(BUILD_DIR)/usr/include $(BUILD_DIR)/usr/lib $(BUILD_DIR)/usr/bin + + # Whatever we still have in $(BUILD_DIR) will become the main Cherokee + # package - Just create the directory for the log files + mv $(BUILD_DIR)/* $(SERVER_DIR) + install -d $(SERVER_DIR)/var/log/cherokee + + +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs AUTHORS +# dh_installexamples +# dh_installmenu +# dh_installdebconf + dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime + dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_installdeb + dh_makeshlibs + dh_shlibdeps -L libcherokee-base0 -L libcherokee-server0 -L libcherokee-client0 -L libcherokee-base0-dev -L libcherokee-server0-dev -L libcherokee-client0-dev -L cget -L cherokee -l debian/libcherokee-base0/usr/lib:debian/libcherokee-base0/usr/lib/cherokee:debian/libcherokee-client0/usr/lib:debian/libcherokee-client0/usr/lib/cherokee:debian/libcherokee-server0/usr/lib:debian/libcherokee-server0/usr/lib/cherokee + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build-indep install-indep +#### $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch binary-indep + +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch --- cherokee-0.5.6.orig/debian/libcherokee-client0.postinst +++ cherokee-0.5.6/debian/libcherokee-client0.postinst @@ -0,0 +1,41 @@ +#! /bin/sh +# postinst script for Cherokee +# +# see: dh_installdeb(1) + +set -e + +PATH=/bin:/sbin:/usr/bin:/usr/sbin + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure) + ldconfig + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- cherokee-0.5.6.orig/debian/libcherokee-base0.postrm +++ cherokee-0.5.6/debian/libcherokee-base0.postrm @@ -0,0 +1,39 @@ +#! /bin/sh +# postrm script for cherokee +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove) + ldconfig + ;; + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- cherokee-0.5.6.orig/debian/cherokee.postrm +++ cherokee-0.5.6/debian/cherokee.postrm @@ -0,0 +1,45 @@ +#! /bin/sh +# postrm script for cherokee +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +#. /lib/lsb/init-functions + +case "$1" in + purge) + echo "Purging logfiles .." + rm -rf /var/log/cherokee* + ;; + upgrade) + invoke-rc.d cherokee stop + invoke-rc.d cherokee start + ;; + remove|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- cherokee-0.5.6.orig/debian/www/powered_by_debian.png.uu +++ cherokee-0.5.6/debian/www/powered_by_debian.png.uu @@ -0,0 +1,102 @@ +begin 644 powered_by_debian.png +MB5!.1PT*&@H````-24A$4@```%@````@"`8```"6Y+^8````!F)+1T0`_P#_ +M`/^@O:>3````"7!(67,```L2```+$@'2W7[\````!W1)344'U0H+$P$2YU3E +MO````!UT15AT0V]M;65N=`!#W!3]Y7'/_=>Z>HM+%N6)3_D)S%@8C`.$)*0+J7IMMD9V$D? +M(WZ_W[GG^3U7,)O- +M1EE9&=.181BHJHHHBIA,IFORZ;J.*(J3GFN:AB1):)J&*(KHN@Z`)$DY/)E, +M!@"3R92SINLZF4SFFOM?^:XD29-X%$5!%$7,9C,S(4W3T#0-D\DTZ3Z:IB$( +M0O8>AF'DG/5*ZNWMQ10,!CE[]NRT&PX.#G+RY$G,9C-.IY.JJBI<+E=V/1J- +MWM7+AP`9/)Q)PYW961G=W-Z=/G\;E +M2YWM.<^NI(Z.#CH[.QD8&."EEUXB%`KEK!\^?#CK +M'5=3*!2BI:6%:#3*:Z^]-NG=J:BMK8WCQX]SZ-`A]N[=R]C86,X'V[-G#RTM +M+>S?OQ_#,*;<=X)FI&``412)Q^.4EY?G6&\D$F%@8("''GJ(3WUJ)5:KG'.) +MLK(R!#W*P,``%HN%2"1"/!ZGK*PL>S!9EG$X',BRC,5BF>1R@B`0#H<)A\.3 +MK!<@D\G@<#@PF4Q8+)9)YYXW;QY?^,(7J*BHH+>W%TW3IKVK(`B8S>9)(462 +M)!H:&JBJJF+W[MW,GS\_QUL_DH)M-AM5556L6+$BQWTU36-L;`S#,#!T#549 +MFQ0#%RQ80G-S,TN7+F5@8`!=U['9;#DR9%G&[_=36EJ*V^V>=.&"@@(D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OUZ5J]>C=/I))U.,S@XB-_OI[Z^GL6+%W/777?A32:3H:JJBMMNNPV7RT4BD:"BHH+&QD;JZ^LQ#(/AX6%L-AOU +M]?4L6[:,PL+"''UD,AFV;MU*5U?7S`!WPS`,97C,./K,?QN[%SYH##4=-3*C +MBF$HAF%D_@1(M:89NI(V($@ +MSTS&M<;D@FQ&EF\N5(E_(O!]>'B8HT>/LFW;-OK[^R_'X%@LQ@]_^,,;$)/& +MY%1)[MI'_,(`@64+.3'40ZB_F^3X.'_)=.'"!7;LV$%?7]^53>^-C7M%4:2R +MK)QEE7.I+ZJ`E,J9^"7>.O4>O1?[^"M=Y5G%Q<7&IDV;;OA%F\U&OCL/?6P< +J09(85L88OP[P\1>IX)G\OOI7NGGZ/_E!AVY;E3JK`````$E%3D2N0F"" +` +end --- cherokee-0.5.6.orig/debian/www/cherokee.index.html +++ cherokee-0.5.6/debian/www/cherokee.index.html @@ -0,0 +1,54 @@ + + + + Cherokee Test Page + + + +
+
+

This page is used to test the proper operation of the Cherokee Web Server after it has been installed. If you can read this page, it means that the Cherokee Web Server installed at this site is working properly.

+ +

Note: If you see this page after uploading site content you probably have not included an index.html or equivalent file (this file, cherokee.index.html, has lower precedence).

+
+
+
+ Powered by Cherokee + Powered by Debian +
+ + + --- cherokee-0.5.6.orig/debian/cherokee.logrotate +++ cherokee-0.5.6/debian/cherokee.logrotate @@ -0,0 +1,9 @@ +/var/log/cherokee/*.error /var/log/cherokee/*.access /var/log/cherokee.access /var/log/cherokee.error { + rotate 7 + weekly + compress + copytruncate + missingok + notifempty + copytruncate +} --- cherokee-0.5.6.orig/debian/shlibs.libcherokee-client0 +++ cherokee-0.5.6/debian/shlibs.libcherokee-client0 @@ -0,0 +1 @@ +libcherokee-client 0 libcherokee-client0 (>= 0.5) --- cherokee-0.5.6.orig/debian/README.docs +++ cherokee-0.5.6/debian/README.docs @@ -0,0 +1,7 @@ + Where can I find full documentation? + ==================================== + +This package comes from the 'cherokee' source package - In order to +avoid repeating the documentation all over the place, we have decided +to put it all in the 'cherokee' binary package. Please install it, you +will find the HTML documentation in /usr/share/doc/cherokee/ --- cherokee-0.5.6.orig/debian/changelog +++ cherokee-0.5.6/debian/changelog @@ -0,0 +1,210 @@ +cherokee (0.5.6-4) unstable; urgency=low + + * Fixed bashism causing FTBFS - Thanks to Michael Bienia for spotting + it! (Closes: #456342) + + -- Gunnar Wolf Fri, 14 Dec 2007 17:44:19 -0600 + +cherokee (0.5.6-3) unstable; urgency=low + + * Fixed FTBFS by no longer including cherokee-logrotate (which was not + really used on Debian systems - our configuration uses the regular + logrotate) (Closes: #453791) + * Cleaned up several of our binary packages - they will no longer + include empty directories + * Bumped up standards-version to 3.7.3 + + -- Gunnar Wolf Tue, 11 Dec 2007 17:33:51 -0600 + +cherokee (0.5.6-2) unstable; urgency=low + + * Removed remaining references for the (broken) admin module (Closes: + #434940) + * Removed redundant information and fixed instructions on how to + create the TLS/SSL symlink from cherokee.conf (Closes: #434595) + * Moving DH_COMPAT debian from debian/rules to debian/compat, + following what Debhelper recommends + * No longer ignores the result of "make distclean" in the clean target + * Replaced the deprecated ${Source-Version} by the more current + ${binary:Version} + * Finally, provide shlibs files! + * Swapped Álvaro and myself - Now I'm listed as the maintainer, he is + listed as an uploader + + -- Gunnar Wolf Wed, 15 Aug 2007 10:20:50 -0500 + +cherokee (0.5.6-1) unstable; urgency=low + + * New upstream release + + -- Gunnar Wolf Tue, 26 Dec 2006 17:27:56 -0600 + +cherokee (0.5.5.dfsg-2) unstable; urgency=medium + + * Replaced 0x50.org for cherokee-project.com, as the official + website moved. + * Fixed: Wrong results from some invocations of the initscript, + notably the "status" target, and a corner case on "stop" (Closes: + #389426) + + -- Gunnar Wolf Mon, 13 Nov 2006 20:57:44 -0600 + +cherokee (0.5.5.dfsg-1) unstable; urgency=low + + * Removed four non-DFSG-free IETF documents from the upstream sources, + which meant I had to bump up the upstream version and repackage the + .orig.tar.gz - Upstream is aware of the fact, and will no longer ship + the offending files in the next release. (Closes: #393360) + + -- Gunnar Wolf Wed, 18 Oct 2006 09:43:18 -0500 + +cherokee (0.5.5-1) unstable; urgency=low + + * New upstream release + + -- Gunnar Wolf Thu, 14 Sep 2006 13:24:39 -0500 + +cherokee (0.5.4-1) unstable; urgency=low + + * New upstream release + * Fixed debian/watch to track the 0.5 branch + * Fixed: Restarting cherokee via the initscript killed it (Closes: + #376534) + * Per upstream request, make the reload and force-reload options + behave just as a restart, due to errors in the processing of SIGHUP + + -- Gunnar Wolf Tue, 11 Jul 2006 13:41:31 -0500 + +cherokee (0.5.3-1) unstable; urgency=low + + * New upstream release + * Fixed: When upgrading from some older versions of Cherokee, the + daemon failed to restart. (Closes: #363515) + * Bumped up standards-version to 3.7.2 + * Fixed the wrong logrotate configuration, and defaulting now to + storing log files in the /var/log/cherokee directory (instead of + plainly in /var/log) to avoid making too much mess there (Closes: + #358763) + + -- Gunnar Wolf Thu, 1 Jun 2006 12:31:23 -0500 + +cherokee (0.5.2-1) unstable; urgency=low + + * New upstream release + * Added postinst/postrm scripts for the generated library packages, as + they were not calling ldconfig (see policy 8.1.1) + + -- Gunnar Wolf Mon, 17 Apr 2006 11:48:11 -0500 + +cherokee (0.5.1-1) unstable; urgency=low + + * Documented the needed steps to set up SSL (Closes: #355233) + * New upstream release + * Added dependency on mime-support + * Fixed: No longer defaults to running as root + * Some minor documentation fixes + + -- Gunnar Wolf Wed, 12 Apr 2006 11:21:00 -0500 + +cherokee (0.5.0-1) unstable; urgency=low + + * New upstream release + * Fixed bashism in debian/rules, aplied patch by Daniel Dehennin + (Closes: #355258) + + -- Gunnar Wolf Fri, 31 Mar 2006 19:11:42 -0600 + +cherokee (0.4.29-3) unstable; urgency=low + + * Added libpam0g-dev as a build-dependency + + -- Gunnar Wolf Fri, 2 Dec 2005 16:42:07 -0600 + +cherokee (0.4.29-2) unstable; urgency=low + + * Fixed bashism in init script (Closes: #340623) + + -- Gunnar Wolf Tue, 29 Nov 2005 18:57:08 -0600 + +cherokee (0.4.29-1) unstable; urgency=low + + * New upstream release + + -- Gunnar Wolf Fri, 11 Nov 2005 13:26:35 -0600 + +cherokee (0.4.28-2) unstable; urgency=low + + * Upgraded dependency from gnutls11/libgnutls11-dev to + gnutls12/libgnutls-dev (Closes: #335753) + + -- Gunnar Wolf Thu, 3 Nov 2005 10:15:30 -0600 + +cherokee (0.4.28-1) unstable; urgency=low + + * New upstream release + + -- Gunnar Wolf Fri, 28 Oct 2005 19:41:36 -0500 + +cherokee (0.4.27-1) unstable; urgency=low + + * New upstream release + + -- Gunnar Wolf Tue, 18 Oct 2005 12:49:48 -0500 + +cherokee (0.4.26-1) unstable; urgency=low + + * Fixed: Now configuration makes Cherokee run under user www-data + (thanks to Jens Korner for pointing it out - no bug report number) + * Bumped up standards-version to 3.6.2 + * New upstream release + * Added Debian logo to the welcome page + + -- Gunnar Wolf Tue, 11 Oct 2005 14:22:54 -0500 + +cherokee (0.4.25-1) unstable; urgency=low + + * New upstream release + + -- Gunnar Wolf Tue, 9 Aug 2005 10:51:42 -0500 + +cherokee (0.4.23-2) unstable; urgency=low + + * Now also provides the httpd-cgi virtual package (Closes: #186395) + + -- Gunnar Wolf Mon, 13 Jun 2005 09:54:22 -0500 + +cherokee (0.4.23-1) unstable; urgency=low + + * New upstream release + + -- Gunnar Wolf Wed, 25 May 2005 09:48:27 -0500 + +cherokee (0.4.22final-2) unstable; urgency=low + + * Added build-dependency on autotools-dev (Closes: #309775) + + -- Gunnar Wolf Thu, 19 May 2005 12:27:25 -0500 + +cherokee (0.4.22final-1) unstable; urgency=low + + * New upstream release + + -- Gunnar Wolf Tue, 17 May 2005 11:46:20 -0500 + +cherokee (0.4.22b02-1) unstable; urgency=low + + * New upstream version + * Fixes wrong symlink created to build directory in conffiles (Closes: + #308852) + * Fixes wrong startup upon install/upgrade behavior + * Added debian/watch + * Some adequations in the default (built) conffiles to comply with the + Debian way + + -- Alvaro Lopez Ortega Wed, 13 May 2005 09:00:00 +0100 + +cherokee (0.4.21b01-1) unstable; urgency=low + + * Initial debian package. (Closes: #199110) + + -- Alvaro Lopez Ortega Wed, 04 May 2005 16:49:40 +0100 --- cherokee-0.5.6.orig/debian/shlibs.libcherokee-server0 +++ cherokee-0.5.6/debian/shlibs.libcherokee-server0 @@ -0,0 +1 @@ +libcherokee-server 0 libcherokee-server0 (>= 0.5) --- cherokee-0.5.6.orig/debian/watch +++ cherokee-0.5.6/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +http://www.cherokee-project.com/download/0.5/(\d.+)/cherokee.(\d.+).tar\.gz debian uupdate --- cherokee-0.5.6.orig/debian/compat +++ cherokee-0.5.6/debian/compat @@ -0,0 +1 @@ +5 --- cherokee-0.5.6.orig/debian/cherokee.prerm +++ cherokee-0.5.6/debian/cherokee.prerm @@ -0,0 +1,44 @@ +#! /bin/sh +# prerm script for cherokee +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + failed-upgrade) + if [ "$2" = "0.5.3-1" ] + then + # 0.5.3-1 fails after trying to stop a non-running Cherokee - + # Just ignore it and go on. + exit 0 + fi + exit 1 + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- cherokee-0.5.6.orig/debian/libcherokee-base0.postinst +++ cherokee-0.5.6/debian/libcherokee-base0.postinst @@ -0,0 +1,41 @@ +#! /bin/sh +# postinst script for Cherokee +# +# see: dh_installdeb(1) + +set -e + +PATH=/bin:/sbin:/usr/bin:/usr/sbin + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure) + ldconfig + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- cherokee-0.5.6.orig/debian/libcherokee-server0.postrm +++ cherokee-0.5.6/debian/libcherokee-server0.postrm @@ -0,0 +1,39 @@ +#! /bin/sh +# postrm script for cherokee +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove) + ldconfig + ;; + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- cherokee-0.5.6.orig/debian/shlibs.libcherokee-base0 +++ cherokee-0.5.6/debian/shlibs.libcherokee-base0 @@ -0,0 +1 @@ +libcherokee-base 0 libcherokee-base0 (>= 0.5) --- cherokee-0.5.6.orig/debian/control +++ cherokee-0.5.6/debian/control @@ -0,0 +1,100 @@ +Source: cherokee +Section: web +Priority: optional +Maintainer: Gunnar Wolf +Uploaders: Alvaro Lopez Ortega +Build-Depends: bison, flex, debhelper (>= 4.0.0), libgnutls-dev, autotools-dev, sharutils, libpam0g-dev +Standards-Version: 3.7.3 + +Package: cherokee +Architecture: any +Depends: ${cherokee:Depends}, logrotate, mime-support, libcherokee-base0 (= ${binary:Version}), libcherokee-server0 (= ${binary:Version}) +Provides: httpd, httpd-cgi +Description: extremely fast and flexible web server + Cherokee is an extremely flexible and fast web server. It's + embedable, extensible with plug-ins. It has handler-to-path, + virtual servers, gzip encoding, modular loggers, CGI support, + and can run in a chroot environment, among other features. + . + This package contains the server and essential handlers. + +Package: libcherokee-base0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: extremely fast and flexible web server - libraries + Cherokee is an extremely fast and flexible web server. It's + embedable, extensible with plug-ins. It has handler-to-path, + virtual servers, gzip encoding, modular loggers, CGI support, + and can run in a chroot environment, among other features. + . + This is the runtime library + +Package: libcherokee-base0-dev +Section: libdevel +Architecture: any +Depends: libcherokee-base0 (= ${binary:Version}) +Description: extremely fast and flexible web server - development files + Cherokee is an extremely fast and flexible web server. It's + embedable, extensible with plug-ins. It has handler-to-path, + virtual servers, gzip encoding, modular loggers, CGI support, + and can run in a chroot environment, among other features. + . + This package contains the development files - headers, .so and .a + files. + +Package: libcherokee-client0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: extremely fast and flexible web server - libraries + Cherokee is an extremely fast and flexible web server. It's + embedable, extensible with plug-ins. It has handler-to-path, + virtual servers, gzip encoding, modular loggers, CGI support, + and can run in a chroot environment, among other features. + . + This is the runtime library + +Package: libcherokee-client0-dev +Section: libdevel +Architecture: any +Depends: libcherokee-client0 (= ${binary:Version}), libcherokee-base0-dev (= ${binary:Version}) +Description: extremely fast and flexible web server - development files + Cherokee is an extremely fast and flexible web server. It's + embedable, extensible with plug-ins. It has handler-to-path, + virtual servers, gzip encoding, modular loggers, CGI support, + and can run in a chroot environment, among other features. + . + This package contains the development files - headers, .so and .a + files. + +Package: libcherokee-server0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: extremely fast and flexible web server - libraries + Cherokee is an extremely fast and flexible web server. It's + embedable, extensible with plug-ins. It has handler-to-path, + virtual servers, gzip encoding, modular loggers, CGI support, + and can run in a chroot environment, among other features. + . + This is the runtime library + +Package: libcherokee-server0-dev +Section: libdevel +Architecture: any +Depends: libcherokee-server0 (= ${binary:Version}), libcherokee-base0-dev (= ${binary:Version}) +Description: extremely fast and flexible web server - development files + Cherokee is an extremely fast and flexible web server. It's + embedable, extensible with plug-ins. It has handler-to-path, + virtual servers, gzip encoding, modular loggers, CGI support, + and can run in a chroot environment, among other features. + . + This package contains the development files - headers, .so and .a + files. + +Package: cget +Architecture: any +Depends: ${cget:Depends}, libcherokee-client0 (= ${binary:Version}) +Description: web page downloader + CGet is a small downloader based in the Cherokee client library --- cherokee-0.5.6.orig/cherokee/loader.autoconf.inc +++ cherokee-0.5.6/cherokee/loader.autoconf.inc @@ -1,68 +1,5 @@ - void MODULE_INIT(read_config) (cherokee_module_loader_t *loader); - void MODULE_INIT(error_redir) (cherokee_module_loader_t *loader); - void MODULE_INIT(server_info) (cherokee_module_loader_t *loader); - void MODULE_INIT(file) (cherokee_module_loader_t *loader); - void MODULE_INIT(admin) (cherokee_module_loader_t *loader); - void MODULE_INIT(dirlist) (cherokee_module_loader_t *loader); - void MODULE_INIT(fcgi) (cherokee_module_loader_t *loader); - void MODULE_INIT(fastcgi) (cherokee_module_loader_t *loader); - void MODULE_INIT(scgi) (cherokee_module_loader_t *loader); - void MODULE_INIT(redir) (cherokee_module_loader_t *loader); - void MODULE_INIT(common) (cherokee_module_loader_t *loader); - void MODULE_INIT(nn) (cherokee_module_loader_t *loader); - void MODULE_INIT(cgi) (cherokee_module_loader_t *loader); - void MODULE_INIT(phpcgi) (cherokee_module_loader_t *loader); - void MODULE_INIT(gzip) (cherokee_module_loader_t *loader); - void MODULE_INIT(ncsa) (cherokee_module_loader_t *loader); - void MODULE_INIT(combined) (cherokee_module_loader_t *loader); - void MODULE_INIT(w3c) (cherokee_module_loader_t *loader); - void MODULE_INIT(htpasswd) (cherokee_module_loader_t *loader); - void MODULE_INIT(plain) (cherokee_module_loader_t *loader); - void MODULE_INIT(htdigest) (cherokee_module_loader_t *loader); - add_static_entry (loader, "read_config", &cherokee_read_config_info); - add_static_entry (loader, "error_redir", &cherokee_error_redir_info); - add_static_entry (loader, "server_info", &cherokee_server_info_info); - add_static_entry (loader, "file", &cherokee_file_info); - add_static_entry (loader, "admin", &cherokee_admin_info); - add_static_entry (loader, "dirlist", &cherokee_dirlist_info); - add_static_entry (loader, "fcgi", &cherokee_fcgi_info); - add_static_entry (loader, "fastcgi", &cherokee_fastcgi_info); - add_static_entry (loader, "scgi", &cherokee_scgi_info); - add_static_entry (loader, "redir", &cherokee_redir_info); - add_static_entry (loader, "common", &cherokee_common_info); - add_static_entry (loader, "nn", &cherokee_nn_info); - add_static_entry (loader, "cgi", &cherokee_cgi_info); - add_static_entry (loader, "phpcgi", &cherokee_phpcgi_info); - add_static_entry (loader, "gzip", &cherokee_gzip_info); - add_static_entry (loader, "ncsa", &cherokee_ncsa_info); - add_static_entry (loader, "combined", &cherokee_combined_info); - add_static_entry (loader, "w3c", &cherokee_w3c_info); - add_static_entry (loader, "htpasswd", &cherokee_htpasswd_info); - add_static_entry (loader, "plain", &cherokee_plain_info); - add_static_entry (loader, "htdigest", &cherokee_htdigest_info); - - MODULE_INIT(read_config)(loader); - MODULE_INIT(error_redir)(loader); - MODULE_INIT(server_info)(loader); - MODULE_INIT(file)(loader); - MODULE_INIT(admin)(loader); - MODULE_INIT(dirlist)(loader); - MODULE_INIT(fcgi)(loader); - MODULE_INIT(fastcgi)(loader); - MODULE_INIT(scgi)(loader); - MODULE_INIT(redir)(loader); - MODULE_INIT(common)(loader); - MODULE_INIT(nn)(loader); - MODULE_INIT(cgi)(loader); - MODULE_INIT(phpcgi)(loader); - MODULE_INIT(gzip)(loader); - MODULE_INIT(ncsa)(loader); - MODULE_INIT(combined)(loader); - MODULE_INIT(w3c)(loader); - MODULE_INIT(htpasswd)(loader); - MODULE_INIT(plain)(loader); - MODULE_INIT(htdigest)(loader); + --- cherokee-0.5.6.orig/cherokee/loader.autoconf.h +++ cherokee-0.5.6/cherokee/loader.autoconf.h @@ -1,22 +1 @@ - - extern cherokee_module_info_t cherokee_read_config_info; - extern cherokee_module_info_t cherokee_error_redir_info; - extern cherokee_module_info_t cherokee_server_info_info; - extern cherokee_module_info_t cherokee_file_info; - extern cherokee_module_info_t cherokee_admin_info; - extern cherokee_module_info_t cherokee_dirlist_info; - extern cherokee_module_info_t cherokee_fcgi_info; - extern cherokee_module_info_t cherokee_fastcgi_info; - extern cherokee_module_info_t cherokee_scgi_info; - extern cherokee_module_info_t cherokee_redir_info; - extern cherokee_module_info_t cherokee_common_info; - extern cherokee_module_info_t cherokee_nn_info; - extern cherokee_module_info_t cherokee_cgi_info; - extern cherokee_module_info_t cherokee_phpcgi_info; - extern cherokee_module_info_t cherokee_gzip_info; - extern cherokee_module_info_t cherokee_ncsa_info; - extern cherokee_module_info_t cherokee_combined_info; - extern cherokee_module_info_t cherokee_w3c_info; - extern cherokee_module_info_t cherokee_htpasswd_info; - extern cherokee_module_info_t cherokee_plain_info; - extern cherokee_module_info_t cherokee_htdigest_info; +