--- cherokee-0.99.38.orig/debian/control +++ cherokee-0.99.38/debian/control @@ -0,0 +1,350 @@ +Source: cherokee +Section: httpd +Priority: optional +Maintainer: Gunnar Wolf +Uploaders: Alvaro Lopez Ortega , Leonel Nunez +Build-Depends: bison, flex, debhelper (>= 5.0.0), autotools-dev, sharutils, libpam0g-dev, quilt, python-support, libssl-dev, libldap-dev, libmysqlclient-dev, libavformat-dev, libavcodec-dev, libavutil-dev, libgeoip-dev +Standards-Version: 3.8.3 +Homepage: http://cherokee-project.org/ +Vcs-Git: git://git.debian.org/git/collab-maint/cherokee.git +Vcs-Browser: http://git.debian.org/git/collab-maint/cherokee.git + +Package: cherokee +Architecture: any +Pre-Depends: libcherokee-config0 (= ${binary:Version}) +Depends: ${shlibs:Depends}, logrotate, libcherokee-base0 (= ${binary:Version}), libcherokee-server0 (= ${binary:Version}), libcherokee-mod-server-info +Recommends: libcherokee-mod-admin, spawn-fcgi +Suggests: cherokee-doc, libcherokee-mod-geoip, libcherokee-mod-ldap, libcherokee-mod-libssl, libcherokee-mod-mysql, libcherokee-mod-rrd, libcherokee-mod-streaming +Provides: httpd, httpd-cgi +Description: Very fast, flexible and easy to configure web server + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This package contains the server and essential handlers. + +Package: libcherokee-base0 +Section: httpd +Architecture: any +Depends: ${shlibs:Depends} +Description: Cherokee web server - Base libraries + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This is the runtime library + +Package: libcherokee-base0-dev +Section: httpd +Architecture: any +Depends: libcherokee-base0 (= ${binary:Version}) +Description: Cherokee web server - base libraries' development files + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This package contains the development files - headers, .so and .a files. + +Package: libcherokee-client0 +Section: httpd +Architecture: any +Depends: ${shlibs:Depends} +Description: Cherokee web server - Client libraries + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This is the client runtime library + +Package: libcherokee-client0-dev +Section: httpd +Architecture: any +Depends: libcherokee-client0 (= ${binary:Version}), libcherokee-base0-dev (= ${binary:Version}) +Description: Cherokee web server - Client libraries' development files + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This package contains the client development files - headers, .so + and .a files. + +Package: libcherokee-config0 +Section: httpd +Architecture: any +Depends: ${shlibs:Depends}, python, python-support +Replaces: libcherokee-server0 (<< 0.8.1-1) +Description: Cherokee web server - Configuration libraries + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This is the configuration handler's runtime library + +Package: libcherokee-config0-dev +Section: httpd +Architecture: any +Depends: libcherokee-config0 (= ${binary:Version}), libcherokee-base0-dev (= ${binary:Version}) +Description: Cherokee web server - Configuration libraries' development files + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This package contains the development files for the configuration + handler - headers, .so and .a files. + +Package: libcherokee-server0 +Section: httpd +Architecture: any +Depends: ${shlibs:Depends} +Description: Cherokee web server - Server libraries + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This is the server runtime library + +Package: libcherokee-server0-dev +Section: httpd +Architecture: any +Depends: libcherokee-server0 (= ${binary:Version}), libcherokee-base0-dev (= ${binary:Version}) +Description: Cherokee web server - Server librardevelopment files + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This package contains the server development files - headers, .so + and .a files. + +Package: libcherokee-mod-admin +Section: httpd +Architecture: any +Depends: ${shlibs:Depends}, libcherokee-server0 (= ${binary:Version}) +Description: Cherokee web server - Administrative plugin + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This plugin provides the needed infrastructure to perform + administrative tasks on the server itself; it also provides the + cherokee-tweak binary, which can optimally perform log rotations or + retreive server information from the command line. + +Package: libcherokee-mod-server-info +Section: httpd +Architecture: any +Depends: ${shlibs:Depends}, libcherokee-server0 (= ${binary:Version}) +Enhances: cherokee +Description: Cherokee web server - Server information plugin + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This plugin provides the server information plugin. + +Package: libcherokee-mod-mysql +Section: httpd +Architecture: any +Depends: ${shlibs:Depends}, libcherokee-server0 (= ${binary:Version}) +Enhances: cherokee +Description: Cherokee web server - MySQL user validator plugin + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This plugin provides the MySQL user validator. + +Package: libcherokee-mod-ldap +Section: httpd +Architecture: any +Depends: ${shlibs:Depends}, libcherokee-server0 (= ${binary:Version}) +Enhances: cherokee +Description: Cherokee web server - LDAP user validator plugin + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This plugin provides the LDAP user validator. + +Package: libcherokee-mod-libssl +Section: httpd +Architecture: any +Depends: ${shlibs:Depends}, libcherokee-server0 (= ${binary:Version}) +Enhances: cherokee +Description: Cherokee web server - SSL crypto functions plugin + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This plugin provides the SSL crypto functions. + +Package: libcherokee-mod-streaming +Section: httpd +Architecture: any +Depends: ${shlibs:Depends}, libcherokee-server0 (= ${binary:Version}) +Enhances: cherokee +Description: Cherokee web server - Media streaming functions plugin + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This plugin includes the audio and video streaming functionality, + with automated traffic shaping (limiting the sent files to the target + bitrate, avoiding the waste of server bandwidth and allowing for + higher concurrency) and seeking support. + +Package: libcherokee-mod-geoip +Section: httpd +Architecture: any +Depends: ${shlibs:Depends}, libcherokee-server0 (= ${binary:Version}) +Enhances: cherokee +Description: Cherokee web server - GeoIP-based IP resolution functionality + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This plugin includes the GeoIP-based IP resolution functionality. You + will probably want to install this plugin unless you are aiming to a + minimal dependency footprint. + +Package: libcherokee-mod-rrd +Section: httpd +Architecture: any +Depends: ${shlibs:Depends}, libcherokee-server0 (= ${binary:Version}), rrdtool +Enhances: cherokee +Description: Cherokee web server - RRDtool based information collector + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This plugin includes the RRDtool based information collector + functionality. You will probably want to install this plugin unless + you are aiming to a minimal dependency footprint. + +Package: cget +Section: web +Architecture: any +Depends: ${shlibs:Depends}, libcherokee-client0 (= ${binary:Version}) +Description: web page downloader + CGet is a small downloader based in the Cherokee client library + +Package: cherokee-doc +Section: doc +Architecture: all +Depends: ${shlibs:Depends} +Recommends: cherokee +Description: Very fast, flexible and easy to configure web server + Cherokee is a very fast, flexible and easy to configure Web Server. + It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, + CGI, TLS and SSL encrypted connections, Virtual hosts, Authentication, + on the fly encoding, Apache compatible log files, HTTP Load Balancing, + Data Base Balancing, SSI, Reverse HTTP Proxy and much more. + . + Cherokee also provides an easy to use configuration interface that + allows to configure the server from top to bottom without having to + edit a text configuration file. + . + This package includes the full server documentation - Operation and + administration tips, cookbook-like recipes for configuring common + webapps and frameworks, and programmer-oriented documentation . --- cherokee-0.99.38.orig/debian/shlibs.libcherokee-server0 +++ cherokee-0.99.38/debian/shlibs.libcherokee-server0 @@ -0,0 +1 @@ +libcherokee-server 0 libcherokee-server0 (>= 0.6) --- cherokee-0.99.38.orig/debian/cherokee.postinst +++ cherokee-0.99.38/debian/cherokee.postinst @@ -0,0 +1,90 @@ +#! /bin/sh +# postinst script for Cherokee +# +# see: dh_installdeb(1) + +set -e + +PATH=/bin:/sbin:/usr/bin:/usr/sbin +CONF=/etc/cherokee/cherokee.conf + +# 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) + # If there is no index.html, link ours to /var/www + if [ ! -e /var/www/index.html -a \ + ! -e /var/www/index.cgi -a \ + ! -e /var/www/index.pl -a \ + ! -e /var/www/index.php -a \ + ! -e /var/www/index.xhtml -a \ + ! -e /var/www/index.htm ] ; then + ln -s /usr/share/cherokee/default-site/index.html \ + /var/www/index.html + if [ ! -e /var/www/cherokee-images ] ; then + # Of course, without the images, our page will be + # quite ugly. But it would be worse to clobber + # something! + ln -s /usr/share/cherokee/default-site/cherokee-images \ + /var/www/cherokee-images + fi + fi + + # Log directory should be owned by the user/group the server + # runs as. Try to guess it, or fall back to www-data. + # + # Don't mess with individual files (which will be created by + # the server), only make sure it can write to the directory. + # Of course, the user can configure to use anything other than + # /var/log/cherokee for logs - But it will be up to him to + # ensure proper permissions. We should just avoid doing damage + # outside our scope. + if LINE=`grep 'server!user' $CONF`; then + RUNAS_USER=`echo $LINE | cut -f 2 -d =` + else + RUNAS_USER=www-data + fi + if LINE=`grep 'server!group' $CONF`; then + RUNAS_GROUP=`echo $LINE | cut -f 2 -d =` + else + RUNAS_GROUP=www-data + fi + if [ -d /var/log/cherokee ]; then + dpkg-statoverride --update --add --force $RUNAS_USER $RUNAS_GROUP 0755 /var/log/cherokee + fi + + # Upgrading from versions <= 0.99.26-1 with dependency-based + # boot sequencing with sysv-rc would still start cherokee in + # runlevel S - Not a good thing! Remove the links, they will + # be put back in place bythe auto-DH-generated section. + if dpkg --compare-versions "$2" le "0.99.26-1" && [ -e /etc/rcS.d/[SK][0-9][0-9]cherokee ] + then + update-rc.d -f cherokee remove + fi + ;; + 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.99.38.orig/debian/watch +++ cherokee-0.99.38/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/(\d[\d\.]+)/(\d[\d\.]+)/cherokee.(\d[\d\.]+).tar\.gz debian uupdate --- cherokee-0.99.38.orig/debian/README_0.5_to_0.6 +++ cherokee-0.99.38/debian/README_0.5_to_0.6 @@ -0,0 +1,21 @@ + Cherokee 0.6 configuration format change + ======================================== + +Cherokee 0.6 introduces a completely new configuration format, meant +to be machine-generated, and to be managed through the cherokee-admin +system. + +The cherokee package ships the /usr/share/cherokee/05to06.py script, +meant to aid you migrating configurations. If you had installed +Cherokee 0.5.x, this script has been invoked already, at upgrade +time - The migration script will be mostly useful if you have +more than one master configuration (granted: This is a very uncommon +case). + +In case you want to review your hand-crafted configurations +were correctly migrated, you will find your original configurations at +/etc/cherokee/pre-0.6. + +To manage your configuration, launch cherokee-admin and connect with +your Web browser to http://localhost:9090/ - For further reference on +how to invoke it, refer to the cherokee-admin(1) manual page. --- cherokee-0.99.38.orig/debian/libcherokee-config0.postinst +++ cherokee-0.99.38/debian/libcherokee-config0.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.99.38.orig/debian/libcherokee-server0.postinst +++ cherokee-0.99.38/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.99.38.orig/debian/shlibs.libcherokee-client0 +++ cherokee-0.99.38/debian/shlibs.libcherokee-client0 @@ -0,0 +1 @@ +libcherokee-client 0 libcherokee-client0 (>= 0.6) --- cherokee-0.99.38.orig/debian/rules +++ cherokee-0.99.38/debian/rules @@ -0,0 +1,366 @@ +#!/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 + +include /usr/share/quilt/quilt.make + +# 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 +LIB_CONFIG_DIR = $(CURDIR)/debian/libcherokee-config0 +DEV_CONFIG_DIR = $(CURDIR)/debian/libcherokee-config0-dev +MOD_ADMIN_DIR = $(CURDIR)/debian/libcherokee-mod-admin +MOD_SRV_INFO_DIR = $(CURDIR)/debian/libcherokee-mod-server-info +MOD_MYSQL_DIR = $(CURDIR)/debian/libcherokee-mod-mysql +MOD_LDAP_DIR = $(CURDIR)/debian/libcherokee-mod-ldap +MOD_LIBSSL_DIR = $(CURDIR)/debian/libcherokee-mod-libssl +MOD_STREAM_DIR = $(CURDIR)/debian/libcherokee-mod-streaming +MOD_GEOIP_DIR = $(CURDIR)/debian/libcherokee-mod-geoip +MOD_RRD_DIR = $(CURDIR)/debian/libcherokee-mod-rrd +SERVER_DIR = $(CURDIR)/debian/cherokee +DOC_DIR = $(CURDIR)/debian/cherokee-doc +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 + ./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 \ + --docdir=/usr/share/doc/cherokee-doc \ + --with-wwwroot=/var/www \ + --with-included-gettext + +build: patch build-stamp +build-stamp: $(QUILT_STAMPFN) build-arch build-indep + +build-arch: build-arch-stamp + +build-arch-stamp: config.status + $(MAKE) + echo >> $(CURDIR)/cherokee.conf.sample + echo '# Please always leave a trailing newline or otherwise the parser fails' >> $(CURDIR)/cherokee.conf.sample + echo '# See http://bugs.debian.org/528160' >> $(CURDIR)/cherokee.conf.sample + # $(MAKE) test + touch build-arch-stamp + +build-indep: build-indep-stamp + +build-indep-stamp: config.status + #$(MAKE) doc + +clean: unpatch + dh_testdir + dh_testroot + #the distclean target in the doc directory seems broken, replace the + #makefile with a dummy so it's broken distclean target doesn't get run + rm -f doc/Makefile + echo distclean: > doc/Makefile + [ ! -f Makefile ] || $(MAKE) distclean + #now get rid of the dummy makefile + rm -f doc/Makefile + rm -rf build-arch-stamp build-indep-stamp + # Cruft not cleaned by the build process + rm -fr cherokee/mime_grammar.output cherokee/icons_grammar.output cherokee/config_protocol_grammar.output www/cherokee-images + rm -f cherokee/loader.autoconf.h + rm -f cherokee/loader.autoconf.inc + rm -f cherokee/Makefile.MingW + rm -f cherokee.spec + rm -f windows/cherokee.nsi + rm -f config.log + rm -rf $(BUILD_DIR) + dh_clean + +install: install-indep install-arch + +install-indep: +# cherokee-doc - Documentation + install -d $(DOC_DIR)/DEBIAN + install -d $(DOC_DIR)/usr/share/doc/cherokee-doc + + mv $(BUILD_DIR)/usr/share/doc/cherokee-doc $(DOC_DIR)/usr/share/doc/ + +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) + + # Move the generated webpage to its proper location - We will set up + # the symlinks, if needed, in the postinst. The package is still + # generated with wwwroot=/var/www as it is mentioned in several places + # (i.e. configurations) useful to us. + install -d $(BUILD_DIR)/usr/share/cherokee/default-site + mv $(BUILD_DIR)/var/www/* $(BUILD_DIR)/usr/share/cherokee/default-site/ + + # Add the Debian logo for the default page + /usr/bin/uudecode -o $(BUILD_DIR)/usr/share/cherokee/default-site/cherokee-images/powered_by_debian.png $(CURDIR)/debian/powered_by_debian.png.uu + +# 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-config0-dev - Development files for the config libraries + install -d $(DEV_CONFIG_DIR)/DEBIAN + install -d $(DEV_CONFIG_DIR)/usr/share/doc/libcherokee-config0-dev + install -d $(DEV_CONFIG_DIR)/usr/lib + install $(CURDIR)/debian/README.docs $(DEV_CONFIG_DIR)/usr/share/doc/libcherokee-config0-dev/ + + mv $(BUILD_DIR)/usr/lib/libcherokee-config.a $(DEV_CONFIG_DIR)/usr/lib + mv $(BUILD_DIR)/usr/lib/libcherokee-config.la $(DEV_CONFIG_DIR)/usr/lib + mv $(BUILD_DIR)/usr/lib/libcherokee-config.so $(DEV_CONFIG_DIR)/usr/lib + +# libcherokee-server0-dev - Development files for the server libraries + install -d $(DEV_SERVER_DIR)/DEBIAN + install -d $(DEV_SERVER_DIR)/usr/share/doc/libcherokee-server0-dev + install -d $(DEV_SERVER_DIR)/usr/lib + 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-config0 - Configuration-handling library + install -d $(LIB_CONFIG_DIR)/DEBIAN + install -d $(LIB_CONFIG_DIR)/usr/lib + install -d $(LIB_CONFIG_DIR)/usr/share/cherokee + install -d $(LIB_CONFIG_DIR)/usr/share/doc/libcherokee-config0 + install $(CURDIR)/debian/README.docs $(LIB_CONFIG_DIR)/usr/share/doc/libcherokee-config0/ + install -m644 debian/shlibs.libcherokee-config0 $(LIB_CONFIG_DIR)/DEBIAN/shlibs + + mv $(BUILD_DIR)/usr/lib/libcherokee-config.so* $(LIB_CONFIG_DIR)/usr/lib/ + mv $(BUILD_DIR)/usr/share/cherokee/admin $(LIB_CONFIG_DIR)/usr/share/cherokee/ + + # We will use the configuration versions migration tool in Cherokee's + # preinst - Hence, cherokee will pre-depend on libcherokee-config0 + install $(CURDIR)/contrib/05to06.py $(LIB_CONFIG_DIR)/usr/share/cherokee/ + install $(CURDIR)/debian/config_joiner $(LIB_CONFIG_DIR)/usr/share/cherokee/ + install $(CURDIR)/contrib/06to07.py $(LIB_CONFIG_DIR)/usr/share/cherokee/ + install $(CURDIR)/contrib/07to08.py $(LIB_CONFIG_DIR)/usr/share/cherokee/ + install $(CURDIR)/contrib/08to09.py $(LIB_CONFIG_DIR)/usr/share/cherokee/ + install $(CURDIR)/contrib/09to010.py $(LIB_CONFIG_DIR)/usr/share/cherokee/ + install $(CURDIR)/contrib/011to098.py $(LIB_CONFIG_DIR)/usr/share/cherokee/ + install $(CURDIR)/contrib/098to099.py $(LIB_CONFIG_DIR)/usr/share/cherokee/ + install $(CURDIR)/contrib/0999to09910.py $(LIB_CONFIG_DIR)/usr/share/cherokee/ + + +# libcherokee-mod-admin - Administrative interface + install -d $(MOD_ADMIN_DIR)/DEBIAN + install -d $(MOD_ADMIN_DIR)/usr/lib/cherokee + install -d $(MOD_ADMIN_DIR)/usr/bin + install -d $(MOD_ADMIN_DIR)/usr/share/man/man1/ + mv $(BUILD_DIR)/usr/lib/cherokee/libplugin_admin.* $(MOD_ADMIN_DIR)/usr/lib/cherokee/ + mv $(BUILD_DIR)/usr/bin/cherokee-tweak $(MOD_ADMIN_DIR)/usr/bin/ + mv $(BUILD_DIR)/usr/share/man/man1/cherokee-tweak.1 $(MOD_ADMIN_DIR)/usr/share/man/man1/ + +# libcherokee-mod-server-info - Server information plugin + install -d $(MOD_SRV_INFO_DIR)/DEBIAN + install -d $(MOD_SRV_INFO_DIR)/usr/lib/cherokee + mv $(BUILD_DIR)/usr/lib/cherokee/libplugin_server_info.* $(MOD_SRV_INFO_DIR)/usr/lib/cherokee + +# libcherokee-mod-mysql - MySQL user validator + install -d $(MOD_MYSQL_DIR)/DEBIAN + install -d $(MOD_MYSQL_DIR)/usr/lib/cherokee + mv $(BUILD_DIR)/usr/lib/cherokee/libplugin_mysql.* $(MOD_MYSQL_DIR)/usr/lib/cherokee + +# libcherokee-mod-ldap - LDAP user validator + install -d $(MOD_LDAP_DIR)/DEBIAN + install -d $(MOD_LDAP_DIR)/usr/lib/cherokee + mv $(BUILD_DIR)/usr/lib/cherokee/libplugin_ldap.* $(MOD_LDAP_DIR)/usr/lib/cherokee + +# libcherokee-mod-libssl - SSL crypto functions + install -d $(MOD_LIBSSL_DIR)/DEBIAN + install -d $(MOD_LIBSSL_DIR)/usr/lib/cherokee + mv $(BUILD_DIR)/usr/lib/cherokee/libplugin_libssl.* $(MOD_LIBSSL_DIR)/usr/lib/cherokee + +# libcherokee-mod-streaming - Media streaming functions + install -d $(MOD_STREAM_DIR)/DEBIAN + install -d $(MOD_STREAM_DIR)/usr/lib/cherokee + mv $(BUILD_DIR)/usr/lib/cherokee/libplugin_streaming.* $(MOD_STREAM_DIR)/usr/lib/cherokee + +# libcherokee-mod-geoip - GeoIP resolution functions + install -d $(MOD_GEOIP_DIR)/DEBIAN + install -d $(MOD_GEOIP_DIR)/usr/lib/cherokee + mv $(BUILD_DIR)/usr/lib/cherokee/libplugin_geoip.* $(MOD_GEOIP_DIR)/usr/lib/cherokee + +# libcherokee-mod-rrd - RDD Graph functions + install -d $(MOD_RRD_DIR)/DEBIAN + install -d $(MOD_RRD_DIR)/usr/lib/cherokee + install -d $(MOD_RRD_DIR)/var/lib/cherokee/graphs/images + rm -rf $(BUILD_DIR)/var/lib/cherokee/graphs + mv $(BUILD_DIR)/usr/lib/cherokee/libplugin_rrd.* $(MOD_RRD_DIR)/usr/lib/cherokee + +# 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/ + # Just leave the webroot back in its place :-/ + mv $(LIB_SERVER_DIR)/usr/share/cherokee/default-site $(BUILD_DIR)/usr/share/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 + # Whatever we still have in $(BUILD_DIR) (except for + # /usr/share/doc/cherokee, which we take care of in install-arch) will + # become the main Cherokee package + install $(CURDIR)/debian/README.docs $(DEV_BASE_DIR)/usr/share/doc/libcherokee-base0-dev/ + install -d $(SERVER_DIR)/usr/share/doc/cherokee + mv $(BUILD_DIR)/usr/bin $(SERVER_DIR)/usr/ + mv $(BUILD_DIR)/usr/sbin $(SERVER_DIR)/usr/ + mv $(BUILD_DIR)/usr/share/cherokee $(SERVER_DIR)/usr/share/ + mv $(BUILD_DIR)/usr/share/locale $(SERVER_DIR)/usr/share/ + mv $(BUILD_DIR)/usr/share/man $(SERVER_DIR)/usr/share/ + mv $(BUILD_DIR)/etc $(SERVER_DIR) + mv $(BUILD_DIR)/var $(SERVER_DIR) + install -d $(SERVER_DIR)/var/log/cherokee + + # References to cherokee-panic have been shuffled elsewhere + mv $(SERVER_DIR)/usr/bin/cherokee-panic $(SERVER_DIR)/usr/share/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 debian/README_0.5_to_0.6 +# 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_pysupport /usr/share/cherokee/admin +# dh_python + dh_makeshlibs + dh_shlibdeps + dh_installdeb + 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.99.38.orig/debian/changelog +++ cherokee-0.99.38/debian/changelog @@ -0,0 +1,660 @@ +cherokee (0.99.38-1build1) lucid; urgency=low + + * rebuild for ffmpeg versioned symbols + + -- Reinhard Tartler Tue, 19 Jan 2010 20:54:23 +0100 + +cherokee (0.99.38-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Thu, 24 Dec 2009 07:04:44 -0700 + +cherokee (0.99.37-1) unstable; urgency=low + + * New Upstream Version + * redo nest_log_directory according to upstream changeset 4013 + + -- Leonel Nunez Wed, 16 Dec 2009 09:30:04 -0700 + +cherokee (0.99.36-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Tue, 15 Dec 2009 09:51:13 -0700 + +cherokee (0.99.35-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Sat, 12 Dec 2009 14:02:04 -0700 + +cherokee (0.99.34-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Sat, 12 Dec 2009 07:25:00 -0700 + +cherokee (0.99.33-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Fri, 11 Dec 2009 11:30:26 -0700 + +cherokee (0.99.32-1) unstable; urgency=low + + * New Upstream Version + * Removed debian/patches/set_min_config_version + upstream included the patch rev 3923 and 3924 + + -- Leonel Nunez Wed, 09 Dec 2009 07:41:35 -0700 + +cherokee (0.99.31-1) unstable; urgency=low + + * New upstream version + * Properly remove backup directories for old configfile migrations on purge + * Use dpkg-statoverride instead of dirtily chowning the log directory in + postinst; don't mess with individual files in it + * Fix libcherokee-mod-rrd not to break when server runs under a user + other than www-data + * Included upstream's config file migrator as part of the preinst + process + * Removes the symlinks in /var/www at purge time (Closes: #554889) + + -- Gunnar Wolf Thu, 03 Dec 2009 16:45:36 -0600 + +cherokee (0.99.30-1) unstable; urgency=low + + * New Upstream Version + * Added debian/libcherokee-mod-rrd.postinst to fix + /var/lib/cherokee/graphs permissions - Thanks to Antonio Perez + + -- Leonel Nunez Mon, 30 Nov 2009 04:51:07 -0700 + +cherokee (0.99.29-1) unstable; urgency=low + + * New Upstream Versioni + * Edited debian/cherokee.logrotate removed duplicate copytruncate + added postrotate. Thanks to Antonio Perez + + -- Leonel Nunez Fri, 20 Nov 2009 10:05:12 -0700 + +cherokee (0.99.28-1) unstable; urgency=low + + * New upstream version + * Bumped up standards-version 3.8.2→3.8.3 (no changes needed) + + -- Gunnar Wolf Fri, 06 Nov 2009 08:59:46 -0600 + +cherokee (0.99.27-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Thu, 05 Nov 2009 09:43:42 -0700 + +cherokee (0.99.26-1) UNRELEASED; urgency=low + + * New upstream release + * Fixed incorrect dependency information in cherokee.init - Thanks to + Petter Reinholdtsen for pointing it out! (Closes: #541861) + * Update config.{guess,sub} before building (Closes: #549965). + + -- Gunnar Wolf Mon, 02 Nov 2009 17:25:47 -0600 + +cherokee (0.99.25-1) unstable; urgency=low + + * New upstream version + + -- Gunnar Wolf Mon, 26 Oct 2009 14:38:10 -0600 + +cherokee (0.99.24-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Tue, 01 Sep 2009 04:41:31 -0600 + +cherokee (0.99.23-1) unstable; urgency=low + + [ Leonel Nunez ] + * New Upstream Version + + [ Gunnar Wolf ] + * Moved /var/lib/cherokee/graphs to the rrdtool binary package + + -- Leonel Nunez Fri, 27 Aug 2009 12:05:21 -0600 + +cherokee (0.99.22-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Do not add trailing line to conf file during install time, do it at + build time. Closes: #542661. + + -- Felipe Sateler Fri, 11 Sep 2009 16:46:03 -0400 + +cherokee (0.99.22-1) unstable; urgency=low + + [ Leonel Nunez ] + * New Upstream Version + * Removed fix_rpath patch + + [ Gunnar Wolf ] + * Added libcherokee-mod-rrd binary package for the RRD information + collector + * Added Suggests: from cherokee to all of the relevant binary packages + + -- Gunnar Wolf Fri, 07 Aug 2009 11:46:29 -0500 + +cherokee (0.99.20-1) unstable; urgency=low + + * New Upstream Version + + -- Gunnar Wolf Wed, 01 Jul 2009 11:00:52 -0500 + +cherokee (0.99.19-1) unstable; urgency=low + + [ Leonel Nunez ] + * New Upstream Version + + [ Gunnar Wolf ] + * Bumped up standards-version to 3.8.2, no changes needed + * DebHelper compat level was inconsistent (4 in debian/control, 5 in + debian/compat), fixed + * Fixed yet another Lintian warning: Preinst no longer hard-wires + Python binary location, trusts correct information set by dpkg + + -- Gunnar Wolf Tue, 23 Jun 2009 17:48:09 -0500 + +cherokee (0.99.17-1) unstable; urgency=low + + * New Upstream Version + * Removed recommends php5-cgi since upstream removed + the default config + * Added Recommends spawn-fcgi as RoR needs it + + -- Leonel Nunez Mon, 15 Jun 2009 15:03:18 -0600 + +cherokee (0.99.16-1) unstable; urgency=low + + * New Upstream Version + * Added recommends php5-cgi to cherokee (closes: #532287) + + -- Leonel Nunez Tue, 09 Jun 2009 13:10:37 -0600 + +cherokee (0.99.15-2) unstable; urgency=low + + * Added missing dependency on python-support to libcherokee-config0 + (Closes: #526835) + + -- Gunnar Wolf Mon, 01 Jun 2009 12:37:04 -0500 + +cherokee (0.99.15-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Tue, 12 May 2009 04:56:58 -0600 + +cherokee (0.99.14-2) unstable; urgency=low + + * Add a trailing whitespace to the configuration file if it does not + have many, to avoid confusing the wrapper (Closes: #528160, #524958) + + -- Gunnar Wolf Mon, 11 May 2009 07:14:05 -0500 + +cherokee (0.99.14-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Wed, 06 May 2009 04:59:15 -0600 + +cherokee (0.99.13-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Thu, 30 Apr 2009 10:36:15 -0600 + +cherokee (0.99.11-1) unstable; urgency=low + + * New Upstream Version + + -- Gunnar Wolf Sat, 18 Apr 2009 17:24:11 -0500 + +cherokee (0.99.10-3) unstable; urgency=low + + * Moved Leonel's direct patch to the corresponding Quilt patch + * Now properly allows for updates from 0.99.9 - Sorry for the + breakage! (Closes: #524129) + + -- Gunnar Wolf Fri, 17 Apr 2009 11:43:18 -0500 + +cherokee (0.99.10-2) unstable; urgency=low + + * Added Absolute path /usr/share/cherokee/admin + to 0999to09910.py + + -- Leonel Nunez Mon, 13 Apr 2009 19:11:23 -0600 + +cherokee (0.99.10-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Mon, 13 Apr 2009 13:52:17 -0600 + +cherokee (0.99.9-1) unstable; urgency=low + + * New Upstream Version + + -- Leonel Nunez Thu, 02 Apr 2009 14:56:22 -0600 + +cherokee (0.99.8-1) unstable; urgency=low + + * New upstream version (Closes: #520983) + * Added some missing copyright notices to debian/copyright (including + the icons/* relicensing under (DFSG-free!) CC-BY-3.0 + * Bumped up standards-version to 3.8.1; no changes needed + * Moved some remaining documentation links (i.e. in cherokee-admin) to + point to /usr/share/doc/cherokee-doc + + -- Gunnar Wolf Tue, 31 Mar 2009 12:32:55 -0600 + +cherokee (0.99.5-1) unstable; urgency=low + + [ Leonel Nunez ] + * New Upstream Version + + [ Gunnar Wolf ] + * Re-wrote debian/copyright using the machine-parsable format; noted + missing files by different authors/conditions than Cherokee proper + + -- Gunnar Wolf Mon, 23 Mar 2009 15:06:20 -0600 + +cherokee (0.99.4-2) unstable; urgency=low + + * Created /var/log/cherokee, which we stopped creating by mistake on + the last version (Closes: #519765) + + -- Gunnar Wolf Tue, 17 Mar 2009 11:35:27 -0600 + +cherokee (0.99.4-1) unstable; urgency=low + + [ Leonel Nunez ] + * New Upstream Version + + [ Gunnar Wolf ] + * Upstream version fixed incorrectly set environment variables + (Closes: #517362) + * Split documentation into its own package (Closes: #509595) + + -- Gunnar Wolf Fri, 13 Mar 2009 12:54:35 -0600 + +cherokee (0.99.3-1) unstable; urgency=low + + [ Leonel Núñez ] + * New Upstream Version + + [ Gunnar Wolf ] + * Added Leonel Núñez as an uploader + * Removed the spawn-fcgi alternative handling code, as it was removed + upstream + * Moved all packages to section "httpd" (see msg + 877i3d9d2w.fsf@vorlon.ganneff.de at debian-devel, 26/02/2009) + * Specific GPL version used noted in debian/copyright, avoiding + lintian warnings + * Create two new binary packages: libcherokee-mod-streaming and + libcherokee-mod-geoip + + -- Gunnar Wolf Mon, 09 Mar 2009 19:27:22 -0600 + +cherokee (0.98.1-1) unstable; urgency=low + + * New Upstream Version + + -- Gunnar Wolf Tue, 27 Jan 2009 10:50:28 -0600 + +cherokee (0.98.0-1) unstable; urgency=low + + * New Upstream Version + * Updated description to match the current base advertised feature set + * Removed the ldap-deprecated patch, as it was included upstream + + -- Gunnar Wolf Fri, 23 Jan 2009 15:18:16 -0600 + +cherokee (0.11.6-1) unstable; urgency=low + + * New Upstream Version + * Added ldap-deprecated patch, fixing reliability (and FTBFS) problems + in 64 bit platforms (Closes: #509698) + + -- Gunnar Wolf Fri, 26 Dec 2008 10:55:21 -0600 +cherokee (0.11.5-1) unstable; urgency=low + + * New Upstream Version + + -- Gunnar Wolf Sun, 21 Dec 2008 19:55:24 -0600 + +cherokee (0.11.3-2) unstable; urgency=low + + * Dropped dependency on mime-support (built into the configuration + file) + * Added missing build-dependencies on libldap-dev and libmysqlclient-dev + * Now creates five new binary packages: libcherokee-mod-admin, + libcherokee-mod-server-info, libcherokee-mod-mysql, + libcherokee-mod-ldap, libcherokee-mod-libssl. This was made to break + the circular dependency we had between libcherokee-base and + libcherokee-server. Thanks to Álvaro López for shedding light on this + business! (Closes: #478685) + * Added Replaces: for libcherokee-config0 to libcherokee-server0<<0.8.1-1 + as some of its files were moved by that release. Thanks to KiBi for + the pointer! (Closes: #500266) + + -- Gunnar Wolf Mon, 08 Dec 2008 10:39:00 -0600 + +cherokee (0.11.3-1) unstable; urgency=low + + * New Upstream Version + * No longer defines rpaths - patched ./configure + (debian/patches/fix_rpath) + * Added a basic git-buildpackage configuration and a README.source, to + facilitate others to understand the build process for this package + + -- Gunnar Wolf Thu, 04 Dec 2008 08:52:06 -0600 + +cherokee (0.11.2-1) unstable; urgency=low + + * New Upstream Version + * Added Vcs-Git and Vcs-Browser fields - Yes, this package is now + maintained in a proper VCS (-: + * Changing the initscript's "echo -n" calls to "printf", for better + shell portability (thanks to Tim Post) + * Dropping build-dependency on gnutls, as it has been removed upstream + * Added OpenSSL license exception from cryptor_libssl.h + + -- Gunnar Wolf Sun, 30 Nov 2008 21:50:19 -0600 + +cherokee (0.10.1-1) unstable; urgency=low + + * New Upstream Version + + -- Gunnar Wolf Sat, 01 Nov 2008 18:15:25 -0600 + +cherokee (0.9.4-1) unstable; urgency=low + + * New upstream release + * Now _properly_ fixed debian/watch to follow whatever new versions come + out! + + -- Gunnar Wolf Mon, 13 Oct 2008 10:43:54 -0500 + +cherokee (0.9.3-1) unstable; urgency=low + + * New upstream release + * Updated debian/watch to follow the 0.9 branch + * Change ownership of the log files to the user running cherokee (as + otherwise it just won't start) + + -- Gunnar Wolf Mon, 06 Oct 2008 19:41:59 -0500 + +cherokee (0.8.1-1) unstable; urgency=low + + * New upstream release + * Moved all of /usr/share/cherokee/admin into the libcherokee-config0 + package (it had no business sitting in libcherokee-server0!) + + -- Gunnar Wolf Wed, 24 Sep 2008 19:34:03 -0500 + +cherokee (0.7.2-4) unstable; urgency=high + + * Fixes 0.6->0.7 migration breakage due to wrong path (Closes: #497420) + * Fixed spurious lintian warning due to multiline-command linebreaked + at the wrong point + * Included a call to dh_pysupport on /usr/share/cherokee/admin, to + prevent unmanaged .pyc files from staying after package removal. Of + course, added build-dependency on python-support. (Closes: #497427) + + -- Gunnar Wolf Mon, 01 Sep 2008 12:14:21 -0500 + +cherokee (0.7.2-3) unstable; urgency=low + + * Fixed bashism in init script and cherokee-panic. Added quilt patch - + Upstream has also patched it in trunk, targetted at 0.8 + + -- Gunnar Wolf Sat, 12 Jul 2008 12:41:52 -0500 + +cherokee (0.7.2-2) unstable; urgency=medium + + * Reliability fix: Replaced my simplistic unlink() call in + main_guardian.c - Backported from the upstream trunk (revision 1549). + + -- Gunnar Wolf Mon, 30 Jun 2008 11:12:27 -0500 + +cherokee (0.7.2-1) unstable; urgency=low + + * New upstream release + * Fixed over-zealous cleaning that led to a FTBFS if built twice + (Closes: #480108) + * Bumped up standards-version to 3.8.0 + * Moved the default HTML document to /usr/share/cherokee/default-site, + sym-linking it to /var/www in case it is empty (keeping lintian + happy, and in compliance with FHS chapter 5) + * The administration handler will no longer assumes port 4000 is free + for starting its SCGI communication (Closes: #479346) + * Upstream uses a multi-level hierarchy for handling the versions :-/ + Now debian/watch follows the 0.7 series + + -- Gunnar Wolf Fri, 13 Jun 2008 11:52:24 -0500 + +cherokee (0.6.1-2) unstable; urgency=low + + * Moved spawn-fcgi to become an alternative, as it conflicts with + lighttpd's (Closes: #479501) + + -- Gunnar Wolf Mon, 05 May 2008 12:12:04 -0500 + +cherokee (0.6.1-1) unstable; urgency=low + + * New upstream release (Closes: #475831) + * Added quilt to build-dependencies; moved some magic taking place at + debian/rules to quilt + * Several fixes to keep lintian happy + * Bumped up standards-verison to 3.7.3 + * Use upstream's config.{guess,sub} instead of ours - keeps things + simpler. + * Now generates two more packages, for the configuration-handling + library + * Built with current Gnutls packages (Closes: #335753) + * Explicitly requesting TLS support at configure time. How could I + have missed it? :-/ (Closes: #434942) + + -- Gunnar Wolf Mon, 14 Apr 2008 11:28:50 -0500 + +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.99.38.orig/debian/libcherokee-mod-rrd.postinst +++ cherokee-0.99.38/debian/libcherokee-mod-rrd.postinst @@ -0,0 +1,52 @@ +#! /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) + CONF=/etc/cherokee/cherokee.conf + if LINE=`grep 'server!user' $CONF`; then + RUNAS_USER=`echo $LINE | cut -f 2 -d =` + else + RUNAS_USER=www-data + fi + if LINE=`grep 'server!group' $CONF`; then + RUNAS_GROUP=`echo $LINE | cut -f 2 -d =` + else + RUNAS_GROUP=www-data + fi + dpkg-statoverride --update --add --force $RUNAS_USER $RUNAS_GROUP 0755 /var/lib/cherokee/graphs + ;; + 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.99.38.orig/debian/libcherokee-base0.postrm +++ cherokee-0.99.38/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.99.38.orig/debian/cherokee.prerm +++ cherokee-0.99.38/debian/cherokee.prerm @@ -0,0 +1,57 @@ +#! /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 + +action=$1 +version=$2 + +case "$action" in + remove|upgrade|deconfigure) + ;; + failed-upgrade) + if ( dpkg --compare-versions "$version" lt 0.7 ) + then + # There is a bug when stopping cherokee on previous + # versions, which make the prerm script fail. The server + # is correctly stopped, but the initscript returns failure + # - Just in case, Take care of killing it, by force if + # needed. + exit 0 + fi + exit 1 + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# We used to ship spawn-fcgi until 0.99, where it was removed by +# upstream - Remove it if it is still present in the user's +# alternatives database +if update-alternatives --list spawn-fcgi | grep -q cherokee + then + update-alternatives --remove spawn-fcgi /usr/bin/spawn-fcgi.cherokee +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- cherokee-0.99.38.orig/debian/libcherokee-client0.postinst +++ cherokee-0.99.38/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.99.38.orig/debian/shlibs.libcherokee-config0 +++ cherokee-0.99.38/debian/shlibs.libcherokee-config0 @@ -0,0 +1 @@ +libcherokee-config 0 libcherokee-config0 (>= 0.6) --- cherokee-0.99.38.orig/debian/libcherokee-client0.postrm +++ cherokee-0.99.38/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.99.38.orig/debian/powered_by_debian.png.uu +++ cherokee-0.99.38/debian/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>=.&"@@(D22(4 +M"E%5535I/1`(4%I:BL?CF3)_I--IQL?'D20)01"N:TP^GX]@,(@@""23R>R: +MT^FDIJ8&G\]'=74ULBQ/*\LT4P6[W6X6+5J48[U:+(EK1.?.RB"[=KZ.V6K% +MYO2Q8,&"G'SK_D(RYN7924E.3(D6691"+!^^^_3V=G)Q45%7SV +MLY_-N7`P&.3..^\DE4KQ^]__GL]\YC,Y'^C`@0-HFD9%105.IS,K7]=U#A\^ +M3"*1P#`,[K[[[FE=&D!55=K:VNCO[\?M=D_B-YE,Y.7E3?*6*;VAHJ+".'SX +M\+1,$]G29#+AMMI1^\.<>^FW1/>_ARF60#4+I#QN[)4^RCZQC()E#4AN&[H) +M4FD%3=-0516+Q8*JJ@B",,G*557-5A=79_PKJXNIWD^GTUEKG:@T)JQ4TS32 +MZ32B*&9=_WH6K*HJF4PF6RU<_8ZNZ]DJ8SI92Y8L00",F5BPQ^.AV.7AN97W +MXWDWA'ZV'T$2P"XBR0*JJ)%6,HB:'0H^'<1T^AB.M0[`<^YT+<=UZ"\["6%A6EI:"(?#'SZLKJXVKD=C_1'CY+\\ +M;S2[[S;^4'B'X^V[UQK[Y=N, +MYMI5QN"^5N/_F_2,;JCCJJ%EM(]MC_[^?N/%%U\T&AL;C0\B@R'EY^=_]XDG +MGKAV_$UGN+C[(#T_W83%X23XKU\G^.CG\"VNP^*T(>@Z"(`@7(Z--@O.ZC), +MA06,G>Q!>+^+P?Y!"N]8A-GCFI$EJ,DT`X,#I%*I22795)1().CIZ4&2)*Q6 +MZ^1.-*,3.=9%UXY]B"8)>Y$'X6/P*)?+16-C(^ETFI:6%I+)Y/7+M-%S_?3] +M>A>F/#?5__'/E'Y]-?82WQ4UC0!7!7K))A/X]%+CBU^QW,NH'-7TAPY6VX_5XDNX72>^Y@^.7?8O7G8_'[9G2X\?%Q +M?K7]5XBBR->^]K5I>%C +MC,5>KS=;YT^KX/&!".=_]PZN.4$"=S;D*-?0=")M(;IVOD->60GE?WL[FJHQ +M/IS`[LW#9#+ANB6(5EK`T$`?Y:)P78`%(!`(X/5ZB40BDTHY7=>S@-)$^51; +M6XO9;,9FLV7#PT3;/%%"6?/=U#WU(/[[EI-7'L#AR\]ZG6$8V3)T0NY48-=$ +M0S-QAIDT+-,KV#!@>!1++(UWU1W(I;D6F!P<9J#E??(DHZ.C!`(!:FMK<;O=TRIZ^DY.,Y!L,K:*`&:G+5?!0Q'4M(IK;D56N1]\ +M9G0=T#4P!#`$-$5%US*3X_OH*-NW;^<7O_@%?7U]6"P6TNDT/3T]^'P^9%DF +MF4S2U-3$QHT;Z>WMQ6:S$8_'6;%B!8\]]AAFLSEKS>^^^RZOO/(*1X\>Q6JU +MLGSY8-Z\>3SSS#,,#`SP@Q_\@*ZN+I+))*JJ(LLR +M-34U//VMI[GK;^ZBIZ>'G_SD)QPX<(![[KD'15'8NWWGVV6?1-(TO?O&+U-?7<_;L65YXX84LS[%CQ_CQCW_,T-`0 +MZ]:MHZ2DA)___.=LW;J50"!`75T=DB01#H?9N'$C7J^7A@4+V?_VVVS>O!F? +MS\=33SU%+!;CX,B@QD4C0W=W-DB5+F#-G#JJJ\L8;;]#4U(3+Y:)A<0.B +M*-+;VTM'1P^^]?.E+7V+/GCV\\\X[>#P>5JQ8065EYA*/]#HQ]-D1D91[#;";>>)!,>(;AN%9+5/*D=W;QY +M,T-#0_S#5[_*T^O7XRDH(!0*\>^\]'G[X81YXX`&<3B<` +M+2TM'#ERA.+B8@1!(!*)4%U=S=-//\UXCHZ&!H:`BGTTE^?CZB*%);6\OZ +M]>OQ>KWX?#Y.G#A!.!PFE4K=/-@CB`(9P4#]H-?_<`%,+AOC%RX2;3V%JS*` +M.C).]%PO!;65.-P.,K$QVK;\!N^\6YBUHG%*C+FUM959LV9Q^[)E>`M]E^5^ +MT-\+@L#HZ"BG3Y]&TS1FSYZ-U6I%DB1\/A\>CX?AX6&&AX?1=1V3R<2]]]Y+ +M>7DYAF&P_.Z[^=W>O5R\>)&AH2$L%DLV21F&D06ODLDD9\Z<(95*90&A"?1- +MEN5LLFQH:*"XN!B3R30)K+HY!8L"HL<)ND!R('HYZ5V1>26;!:^_D-[-.Q'- +M9HH^L1#OW`KT3(9(RVG._G0[#EFF>OU7L!7E3=E6*HJ"V6PFS^-AJKII='24 +MP<%!4JD4/_K1C]BR90N*HJ`H"OW]_7B]WBP0Y'`X*"TMS6;[XN)BK%8KJ50* +M7=>SL.)$0DHFD[SPP@MLVK2)>#R>G:S$XW&\7N^DQ'5E,KNR0KEY!0.BTXKN +MG47\;!_I:`*YP)T]I*/,3^"!3V-LTSFS81OG]QTBK[:">.\ETKV#^&J#5'WU +M[[$'"Z=4WD3I,U$F7?U\8I^)RWB]7N;-FY>=[UDL%FIK:\G/OQR>K%;KE,EF +MHKJ80-PF`/W-FS?S[6]_F[JZ.AY__''JZ^MI;6WE.]_Y#G:[?5)'>#6:=N69 +M;UK!YEDN/+?.9GA7,X-O5N/_W$I,C@\*:)N9_,;9V/WYS&H^RG#/14Q*AN(% +MM^"\;R7>NFI$Q[7Q4EF6,9E,I--IHM%HSH!R8L!IM]MQ.IV(HLCG/_]YUJU; +MEP/4`^S>O7O*KDQ1%'1=IZBHB$*O%T51.[49H^R9E$7'55N!OK&6D]C=(]B+W,?QE_N'JDE.>ZH8T] +M'@\K5Z[DR)$C[-Z]F^KJ:FZ]]5:V;MU*(I%`EF52J11+EBRAO+R#!@[SUUENXW6[6K%F#(0ID,IFL6UO- +M,GEY>81"(=Y\\TU*2DH(A4*\]MIKV9IXHK.\_;LH;V]G>]][WLXG4Y*2DIP +M.!R,CX_3U=7%0P\]Q)>__&6>?_YY-FS8P*Y=NR@H*&!D9(3Y\^=365F)KNM< +MNG2)[W__^]AL-@X=.L3P\#!//ODD2YM>%*P51Q!'T8R14NK;M)*^B`GMM<,99]'J@R.VWWX[=;L=NL['BDY_D&]_X +M!FZWFQ)?@(;;%K%PX4*6+5M&8V,C#L=E5U=5E8*"`E:N7,G2I4NQ6JVX72ZB +MT6%&$B,T-C:R?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.99.38.orig/debian/README.source +++ cherokee-0.99.38/debian/README.source @@ -0,0 +1,21 @@ +How should I build the Cherokee Debian package? +=============================================== + +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. + +Besides, the package's repository is kept using Git. You can clone it +from: + + git://git.debian.org/git/collab-maint/cherokee.git + +Git-buildpackage is used as a build helper tool; for further +information, please visit: + + http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.html + +Note that the default git-buildpackage settings are overriden by the +debian/gbp.conf file in this package. --- cherokee-0.99.38.orig/debian/copyright +++ cherokee-0.99.38/debian/copyright @@ -0,0 +1,505 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=452 +Upstream-Name: Cherokee +Upstream-Maintainer: Alvaro Lopez Ortega +Upstream-Source: http://www.cherokee-project.com/download + +Files: * +Copyright: Copyright 2001-2009, Alvaro Lopez Ortega +License: GPL-2 + +Files: admin/css/reset-min.css +Copyright: Copyright (c) 2007, Yahoo! Inc. All rights reserved. +License: BSD-C3-Yahoo + +Files: admin/static/js/jquery*, admin/static/js/ui* +Copyright: Copyright (c) 2008 John Resig, Brandon Aaron, Ariel Flesler and others (http://docs.jquery.com/Contributors) +License: GPL-2, MIT-JQ + +Files: admin/static/js/jquery.dimensions.js +Copyright: Copyright (c) 2007 Paul Bakaus (paul.bakaus@googlemail.com) and Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net) +License: GPL-2, MIT-JQ + +Files: admin/static/js/thickbox.js +Copyright: Copyright (c) 2007 cody lindley +License: MIT-CL + +Files: cherokee/cryptor_libssl.* +Copyright: Copyright 2001-2009, Alvaro Lopez Ortega +License: GPL-2-OpenSSL +Exception: + IN CASE THIS PLUG-IN IS COMPILED WITH OPENSSL: + . + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations + including the two. + . + You must obey the GNU General Public License in all respects for + all of the code used other than OpenSSL. If you modify file(s) + with this exception, you may extend this exception to your version + of the file(s), but you are not obligated to do so. If you do not + wish to do so, delete this exception statement from your version. + If you delete this exception statement from all source files in the + program, then also delete it here. + +Files: cherokee/levenshtein_distance.* +Copyright: Copyright 2002 by Steven McDougall +License: GPL-2+ | Artistic + +Files: cherokee/pcre/* +Copyright: Copyright (c) 1997-2007 University of Cambridge, Copyright (c) 2007, Google Inc. +License: BSD-C3-PCRE + +File: cherokee/sha1.* +Copyright: Digest::SHA1 by Gisle Aas Copyright 1999-2003, Uwe Hollerbach Copyright 1997 +License: GPL-2+ | Artistic + +Files: cherokee/zlib/* +Copyright: Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler +License: ZLIB + +Files: icons/* +Copyright: Copyright Mark James +License: CC-BY-3.0 + +Files: qa/fcgi.py +Copyright: Copyright (c) 2002, 2003, 2005, 2006 Allan Saddi +License: BSD-C2-FCGI + +Files: debian/* +Copyright: Copyright 2004-2009, Alvaro Lopez Ortega , Gunnar Wolf +License: GPL-2 + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in /usr/share/common-licenses/Artistic + +License: BSD-C2-FCGI + Copyright (c) 2002, 2003, 2005, 2006 Allan Saddi + All rights reserved. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +License: BSD-C3-Yahoo + Redistribution and use of this software in source and binary forms, + with or without modification, are permitted provided that the + following conditions are met: + . + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of Yahoo! Inc. nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission of Yahoo! Inc. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: BSD-C3-PCRE + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the University of Cambridge nor the name of Google + Inc. nor the names of their contributors may be used to endorse or + promote products derived from this software without specific prior + written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +License: CC-BY-3.0 + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE + COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY + COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS + AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + . + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO + BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE + CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE + IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + . + 1. Definitions + . + a. "Adaptation" means a work based upon the Work, or upon the Work and other + pre-existing works, such as a translation, adaptation, derivative work, + arrangement of music or other alterations of a literary or artistic work, + or phonogram or performance and includes cinematographic adaptations or + any other form in which the Work may be recast, transformed, or adapted + including in any form recognizably derived from the original, except that + a work that constitutes a Collection will not be considered an Adaptation + for the purpose of this License. For the avoidance of doubt, where the + Work is a musical work, performance or phonogram, the synchronization of + the Work in timed-relation with a moving image ("synching") will be + considered an Adaptation for the purpose of this License. + b. "Collection" means a collection of literary or artistic works, such as + encyclopedias and anthologies, or performances, phonograms or broadcasts, + or other works or subject matter other than works listed in Section 1(f) + below, which, by reason of the selection and arrangement of their + contents, constitute intellectual creations, in which the Work is + included in its entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works in + themselves, which together are assembled into a collective whole. A work + that constitutes a Collection will not be considered an Adaptation (as + defined above) for the purposes of this License. + c. "Distribute" means to make available to the public the original and + copies of the Work or Adaptation, as appropriate, through sale or other + transfer of ownership. + d. "Licensor" means the individual, individuals, entity or entities that + offer(s) the Work under the terms of this License. + e. "Original Author" means, in the case of a literary or artistic work, the + individual, individuals, entity or entities who created the Work or if no + individual or entity can be identified, the publisher; and in addition + (i) in the case of a performance the actors, singers, musicians, dancers, + and other persons who act, sing, deliver, declaim, play in, interpret or + otherwise perform literary or artistic works or expressions of folklore; + (ii) in the case of a phonogram the producer being the person or legal + entity who first fixes the sounds of a performance or other sounds; and, + (iii) in the case of broadcasts, the organization that transmits the + broadcast. + f. "Work" means the literary and/or artistic work offered under the terms of + this License including without limitation any production in the literary, + scientific and artistic domain, whatever may be the mode or form of its + expression including digital form, such as a book, pamphlet and other + writing; a lecture, address, sermon or other work of the same nature; a + dramatic or dramatico-musical work; a choreographic work or entertainment + in dumb show; a musical composition with or without words; a + cinematographic work to which are assimilated works expressed by a + process analogous to cinematography; a work of drawing, painting, + architecture, sculpture, engraving or lithography; a photographic work to + which are assimilated works expressed by a process analogous to + photography; a work of applied art; an illustration, map, plan, sketch or + three-dimensional work relative to geography, topography, architecture or + science; a performance; a broadcast; a phonogram; a compilation of data + to the extent it is protected as a copyrightable work; or a work + performed by a variety or circus performer to the extent it is not + otherwise considered a literary or artistic work. + g. "You" means an individual or entity exercising rights under this License + who has not previously violated the terms of this License with respect to + the Work, or who has received express permission from the Licensor to + exercise rights under this License despite a previous violation. + h. "Publicly Perform" means to perform public recitations of the Work and to + communicate to the public those public recitations, by any means or + process, including by wire or wireless means or public digital + performances; to make available to the public Works in such a way that + members of the public may access these Works from a place and at a place + individually chosen by them; to perform the Work to the public by any + means or process and the communication to the public of the performances + of the Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + i. "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. + . + 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, + or restrict any uses free from copyright or rights arising from limitations or + exceptions that are provided for in connection with the copyright protection + under copyright law or other applicable laws. + . + 3. License Grant. Subject to the terms and conditions of this License, Licensor + hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the + duration of the applicable copyright) license to exercise the rights in the + Work as stated below: + . + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; + b. to create and Reproduce Adaptations provided that any such Adaptation, + including any translation in any medium, takes reasonable steps to + clearly label, demarcate or otherwise identify that changes were made to + the original Work. For example, a translation could be marked "The + original work was translated from English to Spanish," or a modification + could indicate "The original work has been modified."; + c. to Distribute and Publicly Perform the Work including as incorporated in + Collections; and, + d. to Distribute and Publicly Perform Adaptations. + e. For the avoidance of doubt: + i. Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or + compulsory licensing scheme cannot be waived, the Licensor reserves + the exclusive right to collect such royalties for any exercise by + You of the rights granted under this License; + ii. Waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or + compulsory licensing scheme can be waived, the Licensor waives the + exclusive right to collect such royalties for any exercise by You + of the rights granted under this License; and, + iii. Voluntary License Schemes. The Licensor waives the right to collect + royalties, whether individually or, in the event that the Licensor + is a member of a collecting society that administers voluntary + licensing schemes, via that society, from any exercise by You of + the rights granted under this License. + . + The above rights may be exercised in all media and formats whether now known or + hereafter devised. The above rights include the right to make such + modifications as are technically necessary to exercise the rights in other + media and formats. Subject to Section 8(f), all rights not expressly granted by + Licensor are hereby reserved. + . + 4. Restrictions. The license granted in Section 3 above is expressly made + subject to and limited by the following restrictions: + . + a. You may Distribute or Publicly Perform the Work only under the terms of + this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms on + the Work that restrict the terms of this License or the ability of the + recipient of the Work to exercise the rights granted to that recipient + under the terms of the License. You may not sublicense the Work. You must + keep intact all notices that refer to this License and to the disclaimer + of warranties with every copy of the Work You Distribute or Publicly + Perform. When You Distribute or Publicly Perform the Work, You may not + impose any effective technological measures on the Work that restrict the + ability of a recipient of the Work from You to exercise the rights + granted to that recipient under the terms of the License. This Section 4 + (a) applies to the Work as incorporated in a Collection, but this does + not require the Collection apart from the Work itself to be made subject + to the terms of this License. If You create a Collection, upon notice + from any Licensor You must, to the extent practicable, remove from the + Collection any credit as required by Section 4(b), as requested. If You + create an Adaptation, upon notice from any Licensor You must, to the + extent practicable, remove from the Adaptation any credit as required by + Section 4(b), as requested. + b. If You Distribute, or Publicly Perform the Work or any Adaptations or + Collections, You must, unless a request has been made pursuant to Section + 4(a), keep intact all copyright notices for the Work and provide, + reasonable to the medium or means You are utilizing: (i) the name of the + Original Author (or pseudonym, if applicable) if supplied, and/or if the + Original Author and/or Licensor designate another party or parties (e.g., + a sponsor institute, publishing entity, journal) for attribution + ("Attribution Parties") in Licensor's copyright notice, terms of service + or by other reasonable means, the name of such party or parties; (ii) the + title of the Work if supplied; (iii) to the extent reasonably + practicable, the URI, if any, that Licensor specifies to be associated + with the Work, unless such URI does not refer to the copyright notice or + licensing information for the Work; and (iv) , consistent with Section 3 + (b), in the case of an Adaptation, a credit identifying the use of the + Work in the Adaptation (e.g., "French translation of the Work by Original + Author," or "Screenplay based on original Work by Original Author"). The + credit required by this Section 4 (b) may be implemented in any + reasonable manner; provided, however, that in the case of a Adaptation or + Collection, at a minimum such credit will appear, if a credit for all + contributing authors of the Adaptation or Collection appears, then as + part of these credits and in a manner at least as prominent as the + credits for the other contributing authors. For the avoidance of doubt, + You may only use the credit required by this Section for the purpose of + attribution in the manner set out above and, by exercising Your rights + under this License, You may not implicitly or explicitly assert or imply + any connection with, sponsorship or endorsement by the Original Author, + Licensor and/or Attribution Parties, as appropriate, of You or Your use + of the Work, without the separate, express prior written permission of + the Original Author, Licensor and/or Attribution Parties. + c. Except as otherwise agreed in writing by the Licensor or as may be + otherwise permitted by applicable law, if You Reproduce, Distribute or + Publicly Perform the Work either by itself or as part of any Adaptations + or Collections, You must not distort, mutilate, modify or take other + derogatory action in relation to the Work which would be prejudicial to + the Original Author's honor or reputation. Licensor agrees that in those + jurisdictions (e.g. Japan), in which any exercise of the right granted in + Section 3(b) of this License (the right to make Adaptations) would be + deemed to be a distortion, mutilation, modification or other derogatory + action prejudicial to the Original Author's honor and reputation, the + Licensor will waive or not assert, as appropriate, this Section, to the + fullest extent permitted by the applicable national law, to enable You to + reasonably exercise Your right under Section 3(b) of this License (right + to make Adaptations) but not otherwise. + . + 5. Representations, Warranties and Disclaimer + . + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS + THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND + CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, + WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A + PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH + EXCLUSION MAY NOT APPLY TO YOU. + . + 6. Limitation on Liability. + . + EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE + LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, + PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE + WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + . + 7. Termination + . + a. This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections from + You under this License, however, will not have their licenses terminated + provided such individuals or entities remain in full compliance with + those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any + termination of this License. + b. Subject to the above terms and conditions, the license granted here is + perpetual (for the duration of the applicable copyright in the Work). + Notwithstanding the above, Licensor reserves the right to release the + Work under different license terms or to stop distributing the Work at + any time; provided, however that any such election will not serve to + withdraw this License (or any other license that has been, or is required + to be, granted under the terms of this License), and this License will + continue in full force and effect unless terminated as stated above. + . + 8. Miscellaneous + . + a. Each time You Distribute or Publicly Perform the Work or a Collection, + the Licensor offers to the recipient a license to the Work on the same + terms and conditions as the license granted to You under this License. + b. Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same terms + and conditions as the license granted to You under this License. + c. If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of the + remainder of the terms of this License, and without further action by the + parties to this agreement, such provision shall be reformed to the + minimum extent necessary to make such provision valid and enforceable. + d. No term or provision of this License shall be deemed waived and no breach + consented to unless such waiver or consent shall be in writing and signed + by the party to be charged with such waiver or consent. + e. This License constitutes the entire agreement between the parties with + respect to the Work licensed here. There are no understandings, + agreements or representations with respect to the Work not specified + here. Licensor shall not be bound by any additional provisions that may + appear in any communication from You. This License may not be modified + without the mutual written agreement of the Licensor and You. + f. The rights granted under, and the subject matter referenced, in this + License were drafted utilizing the terminology of the Berne Convention + for the Protection of Literary and Artistic Works (as amended on + September 28, 1979), the Rome Convention of 1961, the WIPO Copyright + Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and + the Universal Copyright Convention (as revised on July 24, 1971). These + rights and subject matter take effect in the relevant jurisdiction in + which the License terms are sought to be enforced according to the + corresponding provisions of the implementation of those treaty provisions + in the applicable national law. If the standard suite of rights granted + under applicable copyright law includes additional rights not granted + under this License, such additional rights are deemed to be included in + the License; this License is not intended to restrict the license of any + rights under applicable law. + +License: GPL-2 + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + . + On Debian GNU/Linux systems, the complete text of version 2 of the GNU + General Public License can be found in `/usr/share/common-licenses/GPL-2 + +License: MIT-CL + Copyright (c) 2007 cody lindley + . + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +License: MIT-JQ + Copyright information downloaded from http://docs.jquery.com/License + . + Copyright (c) 2009 John Resig, http://jquery.com/ + . + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License: ZLIB + Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler + . + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + . + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + . + The data format used by the zlib library is described by RFCs (Request for + Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt + (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format). --- cherokee-0.99.38.orig/debian/libcherokee-base0.postinst +++ cherokee-0.99.38/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.99.38.orig/debian/gbp.conf +++ cherokee-0.99.38/debian/gbp.conf @@ -0,0 +1,8 @@ +# Git-buildpackage configuration +[git-buildpackage] +export-dir = ../build-area +tarball-dir = ../build-area +# The build process deletes four files, which require git-buildpackage +# to ignore new: cherokee.spec, cherokee/loader.autoconf.h, +# cherokee/loader.autoconf.inc and windows/cherokee.nsi +ignore-new = True --- cherokee-0.99.38.orig/debian/compat +++ cherokee-0.99.38/debian/compat @@ -0,0 +1 @@ +5 --- cherokee-0.99.38.orig/debian/NEWS.Debian +++ cherokee-0.99.38/debian/NEWS.Debian @@ -0,0 +1,11 @@ +cherokee (0.6.1-1) unstable; urgency=low + + Cherokee 0.6 introduces a new configuration format, as well as a + configuration management system (cherokee-admin). Your configuration has + been automatically converted to the new format - Please refer to + /usr/share/doc/cherokee/README_0.5_to_0.6 for further details. + + Please note that the configuration file is not meant to be hand-edited - + we advise you to use cherokee-admin to do it. + + -- Gunnar Wolf Fri, 21 Mar 2008 13:08:56 -0600 --- cherokee-0.99.38.orig/debian/cherokee.postrm +++ cherokee-0.99.38/debian/cherokee.postrm @@ -0,0 +1,62 @@ +#! /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) + CONFDIR=/etc/cherokee + echo "Purging logfiles .." + rm -rf /var/log/cherokee/* + # Configuration file backups - From previous releases' updates + # and automatically created by cherokee-admin + rm -f $CONFDIR/cherokee.conf.backup + for OLDVER in 0.6 0.7 0.8 0.9 0.10 0.11 0.98 0.99 0.9910 + do + if [ -d $CONFDIR/pre-$OLDVER ] + then + echo "Purging pre-$OLDVER configuration" + rm -rf $CONFDIR/pre-$OLDVER + fi + done + # Remove the overrides and symlinks created at postinst + dpkg-statoverride --remove /var/log/cherokee || true + for LINK in /var/www/index.html /var/www/cherokee-images; do + if [ -L $LINK ]; then rm $LINK; fi + done + ;; + 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.99.38.orig/debian/cherokee.preinst +++ cherokee-0.99.38/debian/cherokee.preinst @@ -0,0 +1,204 @@ +#! /bin/sh +# preinst script for Cherokee +# +# see: dh_installdeb(1) + +set -e + +action=$1 +version=$2 + +migrate_conf_versions() { + OLD_VERSION=$1 + NEW_VERSION=$2 + MIGRATOR=/usr/share/cherokee/$3 + CONFPATH=/etc/cherokee + OLDCONFPATH=${CONFPATH}/pre-${NEW_VERSION} + LOG=${OLDCONFPATH}/${NEW_VERSION}_migration_log + README=${OLDCONFPATH}/${NEW_VERSION}_migration_README + + mkdir -p $OLDCONFPATH + file=$CONFPATH/cherokee.conf + oldfile=$OLDCONFPATH/cherokee.conf + echo "----------------------------------------" >> $LOG + echo "Translating $file" >> $LOG + mv $file $oldfile + if python $MIGRATOR $oldfile $file 2>>$LOG + then + echo $file was successfully migrated >> $LOG + else + echo "*** ERROR MIGRATING $file - Follows:" >> $LOG + cat $file >> $LOG + fi + + # Make sure the configuration file has a trailing whiteline to + # avoid confusing the parser (see #528160) + CONFFILE=/etc/cherokee.conf + if [ -f $CONFFILE -a ! -z "$(tail -1 $CONFFILE)" ] + then + echo >> $CONFFILE + fi + + cat < $README +Your Cherokee ${OLD_VERSION} configuration file has been converted to +the ${NEW_VERSION} format. Automatic conversion is expected to succeed +- but in case your server no longer works as expected, your original +file is still available in this directory. + +A log of the migration process has been saved in $LOG. Please include +it in any bug reports regarding this migration! +EOF +} + +case "$action" in + install) + ;; + upgrade) + if ( dpkg --compare-versions "$version" lt 0.6 ) + then + ### The 0.5->0.6 migrator uses different semantics to those + ### provided by all subsequent migrators, and -as it merges + ### several distinct files into a single output- is quite more + ### complicated... So there will still some duplication between + ### the snippet here and the code in migrate_conf_versions(). + + # Previous versions included /etc/cherokee/mime*.types - + # Delete them on the spot! + rm -f /etc/cherokee/mime.types /etc/cherokee/mime.compression.types + + # 0.5 configuration files must be converted - 0.6 uses a + # completely different syntax. + CONFPATH=/etc/cherokee + OLDCONFPATH=$CONFPATH/pre-0.6 + TMPCONFPATH=$(mktemp -d /tmp/cherokee_migration.XXXXXXXX) + MIGRATOR=/usr/share/cherokee/05to06.py + LOG=$OLDCONFPATH/0.6_migration.log + README=$OLDCONFPATH/0.6_migration_README + # There are some files we don't want to translate - + # README, MIME types, any possible files present in the + # migrtion directory, ... We will skip them in a regex way + IGNORE='README\|mime.types\|mime.compression.types\|pre-0.6' + + if [ ! -f $MIGRATOR ] + then + echo Migrator script $MIGRATOR is not found. + echo Please file a bug report, this should never happen! + exit 1 + fi + + if [ ! -d $OLDCONFPATH ]; then mkdir -p $OLDCONFPATH; fi + + echo "Starting Cherokee 0.5 -> 0.6 migration" > $LOG + + for file in $(find -L $CONFPATH -type f | grep -v $IGNORE); do + dirname=$(dirname $file | perl -pe "s%^$CONFPATH%%") + filename=$(basename $file) + + oldfile=$OLDCONFPATH/$dirname/$filename + tmpfile=$TMPCONFPATH/$dirname/$filename + echo "----------------------------------------" >> $LOG + echo "Translating $file ($oldfile => $tmpfile)" >> $LOG + for base in $OLDCONFPATH $TMPCONFPATH + do + if [ ! -d $base/$dirname ] ; then mkdir $base/$dirname; fi + done + + if [ -L $file ] + then + # Bah for symlinks :-P + cp -L $file $oldfile + rm $file + else + # regular file + mv $file $oldfile + fi + + if python $MIGRATOR < $oldfile > $tmpfile 2>>$LOG + then + echo $file was successfully migrated to temporary directory >> $LOG + else + echo "*** ERROR MIGRATING $file - Follows:" >> $LOG + cat $file >> $LOG + fi + done + + echo "----------------------------------------" >> $LOG + echo "Merging migrated files into $CONFPATH/cherokee.conf" >> $LOG + cat $TMPCONFPATH/cherokee.conf | /usr/share/cherokee/config_joiner $CONFPATH $TMPCONFPATH > $CONFPATH/cherokee.conf 2>>$LOG + + # Make sure the configuration file has a trailing whiteline to + # avoid confusing the parser (see #528160) + CONFFILE=/etc/cherokee.conf + if [ -f $CONFFILE -a ! -z "$(tail -1 $CONFFILE)" ] + then + echo >> $CONFFILE + fi + + cat < $README +For further information on the migration process, please refer to +/usr/share/doc/cherokee/README_0.5_to_0.6 + +Automated configuration conversion is attempted really hard - But it +cannot be guaranteed. Please file a bug on cherokee if we are missing +any bits of your configuration. + +A log of the migration process will be saved in $LOG. +Please include it in any bug reports regarding this migration! +EOF + fi + + if ( dpkg --compare-versions "$version" lt 0.7 ) + then + migrate_conf_versions 0.6 0.7 06to07.py + fi + + if ( dpkg --compare-versions "$version" lt 0.8 ) + then + migrate_conf_versions 0.7 0.8 07to08.py + fi + + if ( dpkg --compare-versions "$version" lt 0.8 ) + then + migrate_conf_versions 0.8 0.9 08to09.py + fi + + if ( dpkg --compare-versions "$version" lt 0.9 ) + then + migrate_conf_versions 0.9 0.10 09to010.py + fi + + if ( dpkg --compare-versions "$version" lt 0.98 ) + then + migrate_conf_versions 0.11 0.98 011to098.py + fi + + if ( dpkg --compare-versions "$version" lt 0.99 ) + then + migrate_conf_versions 0.98 0.99 098to099.py + fi + + if ( dpkg --compare-versions "$version" lt 0.9910 ) + then + migrate_conf_versions 0.99 0.9910 0999to09910.py + fi + + # Finally, starting 0.99.31, there is just a generic migrator + # able to do it all. We will deprecate older migrators soon. + /usr/share/cherokee/admin/upgrade_config.py $CONFPATH/cherokee.conf + + ;; + abort-upgrade) + ;; + *) + echo "preinst called with unknown argument \`$action'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- cherokee-0.99.38.orig/debian/shlibs.libcherokee-base0 +++ cherokee-0.99.38/debian/shlibs.libcherokee-base0 @@ -0,0 +1 @@ +libcherokee-base 0 libcherokee-base0 (>= 0.6) --- cherokee-0.99.38.orig/debian/cherokee.init +++ cherokee-0.99.38/debian/cherokee.init @@ -0,0 +1,108 @@ +#! /bin/sh +# +# start/stop Cherokee web server + +### BEGIN INIT INFO +# Provides: cherokee +# Required-Start: $remote_fs $network $syslog +# Required-Stop: $remote_fs $network $syslog +# Should-Start: $named +# Should-Stop: $named +# Default-Start: 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=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/cherokee +NAME=cherokee + +. /lib/lsb/init-functions + +set -e + +test -x $DAEMON || exit 0 + +PIDFILE=/var/run/cherokee.pid + + +case "$1" in + start) + printf "Starting web server: %s\t" "$NAME" + start-stop-daemon --start --oknodo --pidfile $PIDFILE --exec $DAEMON -b + ;; + + stop) + printf "Stopping web server: %s\t" "$NAME" + start-stop-daemon --stop --oknodo --pidfile $PIDFILE --exec $DAEMON + rm -f $PIDFILE + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + + reload|force-reload) + printf "Reloading web server: %s\t" "$NAME" + if [ -f $PIDFILE ] + then + PID=$(cat $PIDFILE) + if ps p $PID | grep $NAME >/dev/null 2>&1 + then + kill -HUP $PID + else + echo "PID present, but $NAME not found at PID $PID - Cannot reload" + exit 1 + fi + else + echo "No PID file present for $NAME - Cannot reload" + exit 1 + fi + ;; + + 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. + printf "%s web server status:\t" "$NAME" + if [ -e $PIDFILE ] ; then + PROCNAME=$(ps -p $(cat $PIDFILE) -o comm=) + if [ "x$PROCNAME" = "x" ]; then + printf "Not running, but PID file present \t" + else + if [ "$PROCNAME" = "$NAME" ]; then + printf "Running\t" + else + printf "PID file points to process '%s', not '%s'\t" "$PROCNAME" "$NAME" + fi + fi + else + if PID=$(pidofproc cherokee); then + printf "Running (PID %s), but PIDFILE not present\t" "$PID" + else + printf "Not running\t" + 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.99.38.orig/debian/libcherokee-server0.postrm +++ cherokee-0.99.38/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.99.38.orig/debian/README.docs +++ cherokee-0.99.38/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-doc' binary package. Please install it, +you will find the HTML documentation in /usr/share/doc/cherokee-doc/ --- cherokee-0.99.38.orig/debian/config_joiner +++ cherokee-0.99.38/debian/config_joiner @@ -0,0 +1,37 @@ +#!/usr/bin/perl +use strict; +use warnings; +my (@seen_files, $pre_path, $new_path); +$pre_path = shift @ARGV; +$new_path = shift @ARGV; + +print join_files(<>); +print STDERR 'Files joined: ', join(', ', @seen_files),"\n"; + +sub join_files { + my (@in, @out); + @in = @_; + @out = (); + for my $line (@in) { + if ($line =~ /^include\s*=\s*(.*)/) { + my $dir = $1; + if ($pre_path and $new_path) { + print STDERR " * Substituting $pre_path for $new_path: "; + $dir =~ s!$pre_path!$new_path!; + print STDERR "$dir\n"; + } + # It would be cleaner to include instead File::Find - But + # we want to depend on as little as possible + for my $file (`find $dir -type f`) { + my $fh; + chomp $file; + open($fh, '<', $file); + push @seen_files, $file; + push @out, join_files(<$fh>); + } + } else { + push @out, $line; + } + } + return @out +} --- cherokee-0.99.38.orig/debian/libcherokee-config0.postrm +++ cherokee-0.99.38/debian/libcherokee-config0.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.99.38.orig/debian/cherokee.logrotate +++ cherokee-0.99.38/debian/cherokee.logrotate @@ -0,0 +1,12 @@ +/var/log/cherokee/*.error /var/log/cherokee/*.access /var/log/cherokee.access /var/log/cherokee.error { + rotate 7 + weekly + compress + copytruncate + missingok + notifempty + postrotate + [ ! -f /var/run/cherokee.pid ] || kill -USR2 `cat /var/run/cherokee.pid` + endscript + +} --- cherokee-0.99.38.orig/debian/patches/move_helper_programs_to_usr_share +++ cherokee-0.99.38/debian/patches/move_helper_programs_to_usr_share @@ -0,0 +1,42 @@ +# All programs meant to be called by other components of Cherokee (and +# not by a human) should go into /usr/share/cherokee, not /usr/bin +# +Index: cherokee/performance.conf.sample.pre +=================================================================== +--- cherokee.orig/performance.conf.sample.pre 2009-04-17 11:31:01.000000000 -0500 ++++ cherokee/performance.conf.sample.pre 2009-04-17 11:34:52.000000000 -0500 +@@ -13,7 +13,7 @@ + server!keepalive = 1 + server!keepalive_max_requests = 1000 + server!server_tokens = full +-server!panic_action = %prefix%/bin/cherokee-panic ++server!panic_action = %prefix%/share/cherokee/cherokee-panic + server!pid_file = %localstatedir%/run/cherokee.pid + + # Default virtual server +Index: cherokee/admin/configured.py.pre +=================================================================== +--- cherokee.orig/admin/configured.py.pre 2008-12-26 20:31:59.000000000 -0600 ++++ cherokee/admin/configured.py.pre 2009-04-17 11:34:52.000000000 -0500 +@@ -14,7 +14,7 @@ + CHEROKEE_ADMINDIR = join (PREFIX, "share/cherokee/admin") + CHEROKEE_ICONSDIR = join (PREFIX, "share/cherokee/icons") + CHEROKEE_THEMEDIR = join (PREFIX, "share/cherokee/themes") +-CHEROKEE_PANIC_PATH = join (PREFIX, "bin/cherokee-panic") ++CHEROKEE_PANIC_PATH = join (PREFIX, "share/cherokee/cherokee-panic") + CHEROKEE_PLUGINDIR = join (LIBDIR, "cherokee") + CHEROKEE_DATADIR = join (DATADIR, "cherokee") + CHEROKEE_DEPSDIR = join (DATADIR, "cherokee/deps") +Index: cherokee/cherokee.conf.sample.pre +=================================================================== +--- cherokee.orig/cherokee.conf.sample.pre 2009-04-17 11:34:51.000000000 -0500 ++++ cherokee/cherokee.conf.sample.pre 2009-04-17 11:38:09.000000000 -0500 +@@ -13,7 +13,7 @@ + server!keepalive = 1 + server!keepalive_max_requests = 500 + server!server_tokens = full +-server!panic_action = %prefix%/bin/cherokee-panic ++server!panic_action = %prefix%/share/cherokee/cherokee-panic + server!pid_file = %localstatedir%/run/cherokee.pid + + # Default virtual server --- cherokee-0.99.38.orig/debian/patches/default_webroot_in_usr_share +++ cherokee-0.99.38/debian/patches/default_webroot_in_usr_share @@ -0,0 +1,68 @@ +# Moves the Web root directory to more Debian-friendly locations +# +Index: cherokee/www/Makefile.am +=================================================================== +--- cherokee.orig/www/Makefile.am 2009-03-16 10:52:39.000000000 -0600 ++++ cherokee/www/Makefile.am 2009-04-17 11:34:50.000000000 -0500 +@@ -2,7 +2,7 @@ + + cherokeewwwdir = "@WWW_ROOT@" + +-cherokeewwwimagesdir = "@WWW_ROOT@/images" ++cherokeewwwimagesdir = "@WWW_ROOT@/cherokee-images" + cherokeewwwimages_DATA = \ + favicon.ico \ + default-bg.png \ +Index: cherokee/www/Makefile.in +=================================================================== +--- cherokee.orig/www/Makefile.in 2009-03-16 10:52:39.000000000 -0600 ++++ cherokee/www/Makefile.in 2009-04-17 11:34:50.000000000 -0500 +@@ -194,7 +194,7 @@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + cherokeewwwdir = "@WWW_ROOT@" +-cherokeewwwimagesdir = "@WWW_ROOT@/images" ++cherokeewwwimagesdir = "@WWW_ROOT@/cherokee-images" + cherokeewwwimages_DATA = \ + favicon.ico \ + default-bg.png \ +Index: cherokee/www/index.html +=================================================================== +--- cherokee.orig/www/index.html 2008-12-26 20:32:00.000000000 -0600 ++++ cherokee/www/index.html 2009-04-17 11:34:50.000000000 -0500 +@@ -2,15 +2,14 @@ + + + Cherokee Test Page +- +-