Browse Source

Removed debian/, openwrt/ and cygwin/; they weren't kept up-to-date, and we decided to remove dist. specific stuff

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2320 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.21
Stefan Bühler 13 years ago
parent
commit
c426767ea2
  1. 2
      Makefile.am
  2. 1
      NEWS
  3. 3
      configure.in
  4. 3
      cygwin/.cvsignore
  5. 1
      cygwin/Makefile.am
  6. 114
      cygwin/lighttpd.README.in
  7. 4
      cygwin/setup.hint
  8. 2
      debian/.cvsignore
  9. 27
      debian/Makefile.am
  10. 6
      debian/README.Debian.ex
  11. 223
      debian/changelog
  12. 1
      debian/compat
  13. 0
      debian/conffiles
  14. 15
      debian/control
  15. 38
      debian/copyright
  16. 4
      debian/cron.d.ex
  17. 2
      debian/dirs
  18. 3
      debian/docs
  19. 45
      debian/emacsen-install.ex
  20. 15
      debian/emacsen-remove.ex
  21. 19
      debian/emacsen-startup.ex
  22. 78
      debian/init.d
  23. 10
      debian/lighttpd-default.ex
  24. 232
      debian/lighttpd.conf
  25. 22
      debian/lighttpd.doc-base.EX
  26. 18
      debian/lighttpd.logrotate
  27. 42
      debian/lighttpd.postinst
  28. 60
      debian/manpage.1.ex
  29. 156
      debian/manpage.sgml.ex
  30. 148
      debian/manpage.xml.ex
  31. 2
      debian/menu.ex
  32. 38
      debian/postrm.ex
  33. 44
      debian/preinst.ex
  34. 39
      debian/prerm.ex
  35. 117
      debian/rules
  36. 6
      debian/watch.ex
  37. 4
      openwrt/.cvsignore
  38. 1
      openwrt/Makefile.am
  39. 4
      openwrt/S51lighttpd
  40. 1
      openwrt/conffiles
  41. 9
      openwrt/control.in
  42. 231
      openwrt/lighttpd.conf
  43. 72
      openwrt/lighttpd.mk.in

2
Makefile.am

@ -1,4 +1,4 @@
SUBDIRS=src doc tests cygwin openwrt
SUBDIRS=src doc tests
EXTRA_DIST=autogen.sh SConstruct

1
NEWS

@ -10,6 +10,7 @@ NEWS
* Do not rely on ioctl FIONREAD (#673)
* Now really fix mod auth ldap (#1066)
* Fix leaving zombie process with include_shell (#1777)
* Removed debian/, openwrt/ and cygwin/; they weren't kept up-to-date, and we decided to remove dist. specific stuff
- 1.4.20 - 2008-09-30

3
configure.in

@ -554,8 +554,7 @@ AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile tests/Makefile \
tests/docroot/www/go/Makefile \
tests/docroot/www/indexfile/Makefile \
tests/docroot/www/expire/Makefile \
distribute.sh cygwin/Makefile cygwin/lighttpd.README
openwrt/Makefile openwrt/control openwrt/lighttpd.mk])
distribute.sh])
AC_OUTPUT

3
cygwin/.cvsignore

@ -1,3 +0,0 @@
Makefile.in
Makefile
lighttpd.README

1
cygwin/Makefile.am

@ -1 +0,0 @@
EXTRA_DIST=lighttpd.README setup.hint

114
cygwin/lighttpd.README.in

@ -1,114 +0,0 @@
lighttpd
------------------------------------------
A fast, secure and flexible webserver
Runtime requirements:
cygwin-1.5.10 or newer
crypt-1.1 or newer
libbz2_1-1.0.2 or newer
libpcre0-4.5 or newer
openssl-0.9.7d or newer
zlib-1.2.1 or newer
Build requirements:
cygwin-1.5.10 or newer
gcc-3.3.1-3 or newer
binutils-20030901-1 or newer
crypt
openssl-devel
openssl
openldap
openldap-devel
zlib
bzip2
Canonical homepage:
http://jan.kneschke.de/projects/lighttpd/
Canonical download:
http://jan.kneschke.de/projects/lighttpd/download
------------------------------------
Build instructions:
unpack lighttpd-@VERSION@-<REL>-src.tar.bz2
if you use setup to install this src package, it will be
unpacked under /usr/src automatically
cd /usr/src
./lighttpd-@VERSION@-<REL>.sh all
This will create:
/usr/src/lighttpd-@VERSION@-<REL>.tar.bz2
/usr/src/lighttpd-@VERSION@-<REL>-src.tar.bz2
Or use './lighttpd-@VERSION@-<REL>.sh prep' to get a patched source directory
-------------------------------------------
Files included in the binary distribution:
/etc/lighttpd/lighttpd.conf.default
/usr/lib/cyglightcomp.dll
/usr/lib/lighttpd/mod_access.dll
/usr/lib/lighttpd/mod_accesslog.dll
/usr/lib/lighttpd/mod_auth.dll
/usr/lib/lighttpd/mod_cgi.dll
/usr/lib/lighttpd/mod_compress.dll
/usr/lib/lighttpd/mod_evhost.dll
/usr/lib/lighttpd/mod_expire.dll
/usr/lib/lighttpd/mod_fastcgi.dll
/usr/lib/lighttpd/mod_httptls.dll
/usr/lib/lighttpd/mod_maps.dll
/usr/lib/lighttpd/mod_proxy.dll
/usr/lib/lighttpd/mod_redirect.dll
/usr/lib/lighttpd/mod_rewrite.dll
/usr/lib/lighttpd/mod_rrdtool.dll
/usr/lib/lighttpd/mod_secdownload.dll
/usr/lib/lighttpd/mod_simple_vhost.dll
/usr/lib/lighttpd/mod_ssi.dll
/usr/lib/lighttpd/mod_status.dll
/usr/lib/lighttpd/mod_usertrack.dll
/usr/sbin/lighttpd.exe
/usr/share/doc/Cygwin/lighttpd-1.3.0.README
/usr/share/doc/lighttpd-1.3.0/accesslog.txt
/usr/share/doc/lighttpd-1.3.0/authentification.txt
/usr/share/doc/lighttpd-1.3.0/AUTHORS
/usr/share/doc/lighttpd-1.3.0/cgi.txt
/usr/share/doc/lighttpd-1.3.0/ChangeLog
/usr/share/doc/lighttpd-1.3.0/compress.txt
/usr/share/doc/lighttpd-1.3.0/configuration.txt
/usr/share/doc/lighttpd-1.3.0/COPYING
/usr/share/doc/lighttpd-1.3.0/fastcgi-state.txt
/usr/share/doc/lighttpd-1.3.0/fastcgi.txt
/usr/share/doc/lighttpd-1.3.0/features.txt
/usr/share/doc/lighttpd-1.3.0/INSTALL
/usr/share/doc/lighttpd-1.3.0/NEWS
/usr/share/doc/lighttpd-1.3.0/performance.txt
/usr/share/doc/lighttpd-1.3.0/plugins.txt
/usr/share/doc/lighttpd-1.3.0/proxy.txt
/usr/share/doc/lighttpd-1.3.0/README
/usr/share/doc/lighttpd-1.3.0/redirect.txt
/usr/share/doc/lighttpd-1.3.0/rewrite.txt
/usr/share/doc/lighttpd-1.3.0/rrdtool.txt
/usr/share/doc/lighttpd-1.3.0/secdownload.txt
/usr/share/doc/lighttpd-1.3.0/security.txt
/usr/share/doc/lighttpd-1.3.0/simple-vhost.txt
/usr/share/doc/lighttpd-1.3.0/skeleton.txt
/usr/share/doc/lighttpd-1.3.0/ssi.txt
/usr/share/doc/lighttpd-1.3.0/state.txt
/usr/share/man/man1/lighttpd.1.gz
------------------
Port Notes:
---------- lighttpd-1.3.1-1 -----------
Updated to 1.3.1
---------- lighttpd-1.3.0-1 -----------
Initial release
Cygwin port maintained by: Jan Kneschke <jan@kneschke.de>
Please address all questions to the Cygwin mailing list at <cygwin@cygwin.com>

4
cygwin/setup.hint

@ -1,4 +0,0 @@
sdesc: "a light-weight and flexible webserver"
ldesc: "lighttpd a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make lighttpd the perfect webserver-software for every server that is suffering load problems. "
category: Net Web
requires: libpcre0 cygwin zlib openssl libbzip2_1 crypt

2
debian/.cvsignore

@ -1,2 +0,0 @@
Makefile.in
Makefile

27
debian/Makefile.am

@ -1,27 +0,0 @@
EXTRA_DIST=README.Debian.ex \
changelog \
compat \
conffiles \
control \
copyright \
cron.d.ex \
dirs \
docs \
emacsen-install.ex \
emacsen-remove.ex \
emacsen-startup.ex \
init.d \
lighttpd-default.ex \
lighttpd.conf \
lighttpd.doc-base.EX \
lighttpd.logrotate \
lighttpd.postinst \
manpage.1.ex \
manpage.sgml.ex \
manpage.xml.ex \
menu.ex \
postrm.ex \
preinst.ex \
prerm.ex \
rules \
watch.ex

6
debian/README.Debian.ex

@ -1,6 +0,0 @@
lighttpd for Debian
-------------------
<possible notes regarding this package - if none, delete this file>
-- Vincent Wagelaar <vincent@hannibal.lr-s.tudelft.nl>, Wed, 24 Mar 2004 08:20:58 +0100

223
debian/changelog

@ -1,223 +0,0 @@
lighttpd (1.4.6-1) unstable; urgency=low
* updated to 1.4.6
-- Jan Kneschke <jan@kneschke.de> Sun, 09 Oct 2005 22:48:00 +0200
lighttpd (1.4.5-1) unstable; urgency=low
* updated to 1.4.5
-- Jan Kneschke <jan@kneschke.de> Fri, 30 Sep 2005 10:54:00 +0200
lighttpd (1.4.4-1) unstable; urgency=low
* updated to 1.4.4
-- Jan Kneschke <jan@kneschke.de> Thu, 14 Sep 2005 18:54:00 +0200
lighttpd (1.4.3-1) unstable; urgency=low
* updated to 1.4.3
-- Jan Kneschke <jan@kneschke.de> Thu, 01 Sep 2005 10:41:00 +0200
lighttpd (1.4.2-1) unstable; urgency=low
* updated to 1.4.2
-- Jan Kneschke <jan@kneschke.de> Mon, 29 Aug 2005 12:55:00 +0200
lighttpd (1.4.1-1) unstable; urgency=low
* updated to 1.4.1
-- Jan Kneschke <jan@kneschke.de> Mon, 22 Aug 2005 12:55:00 +0200
lighttpd (1.4.0-1) unstable; urgency=low
* updated to 1.4.0
-- Jan Kneschke <jan@kneschke.de> Wed, 17 Aug 2005 12:14:00 +0200
lighttpd (1.3.16-1) unstable; urgency=low
* updated to 1.3.16
-- Jan Kneschke <jan@kneschke.de> Sun, 31 Jul 2005 15:24:00 +0200
lighttpd (1.3.15-1) unstable; urgency=low
* updated to 1.3.15
-- Jan Kneschke <jan@kneschke.de> Fri, 15 Jul 2005 20:03:00 +0200
lighttpd (1.3.14-1) unstable; urgency=low
* updated to 1.3.14
-- Jan Kneschke <jan@kneschke.de> Thu, 16 Jun 2005 10:35:45 +0100
lighttpd (1.3.13-1) unstable; urgency=low
* updated to 1.3.13
-- Jan Kneschke <jan@kneschke.de> Sun, 06 Mar 2005 12:55:00 +0000
lighttpd (1.3.12-1) unstable; urgency=low
* updated to 1.3.12
-- Jan Kneschke <jan@kneschke.de> Wed, 02 Mar 2005 17:15:00 +0000
lighttpd (1.3.11-1) unstable; urgency=low
* updated to 1.3.11
-- Jan Kneschke <jan@kneschke.de> Sun, 20 Feb 2005 17:15:00 +0000
lighttpd (1.3.10-1) unstable; urgency=low
* updated to 1.3.10
-- Jan Kneschke <jan@kneschke.de> Sun, 06 Feb 2005 15:41:00 +0000
lighttpd (1.3.9-1) unstable; urgency=low
* updated to 1.3.9
-- Jan Kneschke <jan@kneschke.de> Sun, 06 Feb 2005 02:30:00 +0000
lighttpd (1.3.8-1) unstable; urgency=low
* updated to 1.3.8
-- Jan Kneschke <jan@kneschke.de> Sun, 30 Jan 2005 00:49:00 +0000
lighttpd (1.3.7-1) unstable; urgency=low
* updated to 1.3.7
* turned on SSL by default in debian packages
-- Jan Kneschke <jan@kneschke.de> Tue, 10 Dec 2004 19:09:15 +0000
lighttpd (1.3.6-1) unstable; urgency=low
* updated to 1.3.6
-- Jan Kneschke <jan@kneschke.de> Tue, 03 Nov 2004 19:09:15 +0000
lighttpd (1.3.5-1) unstable; urgency=low
* updated to 1.3.5
* added mod_alias
* added mod_userdir
* added the exec command to the SSI handler
* added a switch to disable follow-symlinks
* added a switch to disable IPv6 at compile-time
* fixed compilation on FreeBSD and NetBSD 1.3.x
* fixed segfault in pipelining
* fixed a segfault in writev() handler if LFS is used
-- Jan Kneschke <jan@kneschke.de> Sun, 31 Oct 2004 19:09:15 +0000
lighttpd (1.3.4-1) unstable; urgency=low
* updated to 1.3.4
-- Jan Kneschke <jan@kneschke.de> Sun, 24 Oct 2004 19:09:15 +0000
lighttpd (1.3.1-1) unstable; urgency=low
* updated to 1.3.1
-- Jan Kneschke <jan@kneschke.de> Sat, 30 Sep 2004 19:09:15 +0000
lighttpd (1.2.8-1) unstable; urgency=low
* updated to 1.2.8
-- Jan Kneschke <jan@kneschke.de> Sat, 11 Sep 2004 19:09:15 +0000
lighttpd (1.2.7-1) unstable; urgency=low
* added mod_rrdtool for internal statistics
* added xattr support
* added user-controlable timeouts
* improved documentation for many plugins
* fixed POST requests for mod_proxy
* fixed rare hang with CGI
* fixed seg-fault if no configfile is specified
* fixed rare problem in FastCGI header generation
-- Jan Kneschke <jan@kneschke.de> Sat, 04 Sep 2004 19:09:15 +0000
lighttpd (1.2.5-1) unstable; urgency=low
* added skeleton for solaris 10 port-API
* added compression support even if no cachedir is set
* added conditional configoptions
* fixed compilation on OpenBSD
* fixed kqueue support
* fixed pipelining bug
* fixed parallel build (triggered by Gentoo)
* updated debian postinst
-- Jan Kneschke <jan@kneschke.de> Sun, 10 Aug 2004 19:09:15 +0000
lighttpd (1.2.4-1) unstable; urgency=low
* added kqueue support
* added server-side includes (mod_ssi)
* fixed large post uploads in fastcgi
* fixed rt-signals handling of delayed events
-- Jan Kneschke <jan@kneschke.de> Sat, 31 Jul 2004 10:09:15 +0000
lighttpd (1.2.3-1) unstable; urgency=low
* added a proxy module for Java and friends
* added support to pass accesslog through an external programm
* added mimetypes for text/css and text/javascript
* fixed index-files for FastCGI if webserver is in chroot
* fixed error messages of CGI process fails to exec()
* fixed detection of pcre on IRIX and FreeBSD
* fixed timestamps in Last-Modified checks
* fixed 64bit builds
* fixed mmap-caching of large files
* relaxed the HTTP parser on empty headerfields
-- Jan Kneschke <jan@kneschke.de> Sat, 10 Jul 2004 20:37:01 +0200
lighttpd (1.2.2-1) unstable; urgency=low
* added support for unix domain sockets in FastCGI
* fixed mmap caching
* fixed compile-time check for linux sendfile()
* fixed check for pcre.h on Fedora Core 2
-- Jan Kneschke <jan@kneschke.de> Tue, 15 Jun 2004 20:37:01 +0100
lighttpd (1.1.4-1) unstable; urgency=low
* New upstream release.
-- Vincent Wagelaar <vincent@ricardis.tudelft.nl> Sun, 04 Apr 2004 21:44:58 +0100
lighttpd (1.1.3-1) unstable; urgency=low
* New upstream release.
-- Vincent Wagelaar <vincent@ricardis.tudelft.nl> Wed, 24 Mar 2004 08:20:58 +0100
lighttpd (1.1.2-1) unstable; urgency=low
* Initial Release.
-- Vincent Wagelaar <vincent@ricardis.tudelft.nl> Wed, 24 Mar 2004 08:20:58 +0100

1
debian/compat

@ -1 +0,0 @@
4

0
debian/conffiles

15
debian/control

@ -1,15 +0,0 @@
Source: lighttpd
Section: web
Priority: optional
Maintainer: Jan Kneschke <jan@kneschke.de>
Build-Depends: debhelper (>= 4.0.0), libssl-dev, zlib1g-dev, libbz2-dev, libpcre3-dev
Standards-Version: 3.6.0
Package: lighttpd
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: httpd, httpd-cgi
Suggests: openssl, rrdtool
Description: A fast webserver with minimal memory footprint
lighttpd is intended to be a frontend for ad-servers which have to deliver
small files concurrently to many connections.

38
debian/copyright

@ -1,38 +0,0 @@
This package was debianized by Vincent Wagelaar <vincent@ricardis.tudelft.nl> on
Wed, 24 Mar 2004 08:20:58 +0100.
It was downloaded from http://www.incremental.de/products/lighttpd/download/
Upstream Author: Jan Kneschke <jan@kneschke.de>
Copyright:
Copyright (c) 2004, Jan Kneschke, incremental
All rights reserved.
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 'incremental' nor the names of its 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.

4
debian/cron.d.ex

@ -1,4 +0,0 @@
#
# Regular cron jobs for the lighttpd package
#
0 4 * * * root lighttpd_maintenance

2
debian/dirs

@ -1,2 +0,0 @@
usr/bin
usr/sbin

3
debian/docs

@ -1,3 +0,0 @@
NEWS
README
doc

45
debian/emacsen-install.ex

@ -1,45 +0,0 @@
#! /bin/sh -e
# /usr/lib/emacsen-common/packages/install/lighttpd
# Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily
# from the install scripts for gettext by Santiago Vila
# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
FLAVOR=$1
PACKAGE=lighttpd
if [ ${FLAVOR} = emacs ]; then exit 0; fi
echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
#FLAVORTEST=`echo $FLAVOR | cut -c-6`
#if [ ${FLAVORTEST} = xemacs ] ; then
# SITEFLAG="-no-site-file"
#else
# SITEFLAG="--no-site-file"
#fi
FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
# Install-info-altdir does not actually exist.
# Maybe somebody will write it.
if test -x /usr/sbin/install-info-altdir; then
echo install/${PACKAGE}: install Info links for ${FLAVOR}
install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
fi
install -m 755 -d ${ELCDIR}
cd ${ELDIR}
FILES=`echo *.el`
cp ${FILES} ${ELCDIR}
cd ${ELCDIR}
cat << EOF > path.el
(setq load-path (cons "." load-path) byte-compile-warnings nil)
EOF
${FLAVOR} ${FLAGS} ${FILES}
rm -f *.el path.el
exit 0

15
debian/emacsen-remove.ex

@ -1,15 +0,0 @@
#!/bin/sh -e
# /usr/lib/emacsen-common/packages/remove/lighttpd
FLAVOR=$1
PACKAGE=lighttpd
if [ ${FLAVOR} != emacs ]; then
if test -x /usr/sbin/install-info-altdir; then
echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/lighttpd.info.gz
fi
echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
fi

19
debian/emacsen-startup.ex

@ -1,19 +0,0 @@
;; -*-emacs-lisp-*-
;;
;; Emacs startup file for the Debian lighttpd package
;;
;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
;; Modified by Dirk Eddelbuettel <edd@debian.org>
;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com>
;; The lighttpd package follows the Debian/GNU Linux 'emacsen' policy and
;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
;; xemacs19, emacs20, xemacs20...). The compiled code is then
;; installed in a subdirectory of the respective site-lisp directory.
;; We have to add this to the load-path:
(let ((package-dir (concat "/usr/share/"
(symbol-name flavor)
"/site-lisp/lighttpd")))
(when (file-directory-p package-dir)
(setq load-path (cons package-dir load-path))))

78
debian/init.d

@ -1,78 +0,0 @@
#! /bin/sh
#
# skeleton example file to build /etc/init.d/ scripts.
# This file should be used to construct scripts for /etc/init.d.
#
# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
# Modified for Debian
# by Ian Murdock <imurdock@gnu.ai.mit.edu>.
#
# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/lighttpd
OPTS="-f /etc/lighttpd/lighttpd.conf"
NAME=lighttpd
DESC=lighttpd
test -x $DAEMON || exit 0
# Include lighttpd defaults if available
if [ -f /etc/default/lighttpd ] ; then
. /etc/default/lighttpd
fi
set -e
case "$1" in
start)
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet \
--pidfile /var/run/$NAME.pid --exec $DAEMON -- $OPTS
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
if start-stop-daemon --stop --pidfile /var/run/$NAME.pid \
--exec $DAEMON; then
rm -f /var/run/$NAME.pid
echo "$NAME."
fi
;;
reload)
#
# If the daemon can reload its config files on the fly
# for example by sending it SIGHUP, do it here.
#
# If the daemon responds to changes in its config file
# directly anyway, make this a do-nothing entry.
#
echo "Reloading $DESC configuration files."
start-stop-daemon --stop --signal 1 --quiet --pidfile /var/run/$NAME.pid \
--exec $DAEMON
;;
restart|force-reload)
#
# If the "reload" option is implemented, move the "force-reload"
# option to the "reload" entry above. If not, "force-reload" is
# just the same as "restart".
#
echo -n "Restarting $DESC: "
start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/$NAME.pid \
--exec $DAEMON
rm -f /var/run/$NAME.pid
sleep 1
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
--exec $DAEMON -- $OPTS
echo "$NAME."
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
#echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0

10
debian/lighttpd-default.ex

@ -1,10 +0,0 @@
# Defaults for lighttpd initscript
# sourced by /etc/init.d/lighttpd
# installed at /etc/default/lighttpd by the maintainer scripts
#
# This is a POSIX shell fragment
#
# Additional options that are passed to the Daemon.
DAEMON_OPTS=""

232
debian/lighttpd.conf

@ -1,232 +0,0 @@
# lighttpd configuration file
#
# use a it as base for lighttpd 1.0.0 and above
#
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $
############ Options you really have to take care of ####################
## modules to load
# at least mod_access and mod_accesslog should be loaded
# all other module should only be loaded if really neccesary
# - saves some time
# - saves memory
server.modules = (
# "mod_rewrite",
# "mod_redirect",
"mod_access",
# "mod_auth",
# "mod_status",
# "mod_fastcgi",
# "mod_simple_vhost",
# "mod_evhost",
# "mod_cgi",
# "mod_compress",
# "mod_ssi",
# "mod_usertrack",
# "mod_rrdtool",
"mod_accesslog" )
## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/var/www/"
## where to send error-messages to
server.errorlog = "/var/log/lighttpd/error.log"
# files to check for if .../ is requested
server.indexfiles = ( "index.php", "index.html",
"index.htm", "default.htm" )
# mimetype mapping
mimetype.assign = (
".pdf" => "application/pdf",
".sig" => "application/pgp-signature",
".spl" => "application/futuresplash",
".class" => "application/octet-stream",
".ps" => "application/postscript",
".torrent" => "application/x-bittorrent",
".dvi" => "application/x-dvi",
".gz" => "application/x-gzip",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".tar.gz" => "application/x-tgz",
".tgz" => "application/x-tgz",
".tar" => "application/x-tar",
".zip" => "application/zip",
".mp3" => "audio/mpeg",
".m3u" => "audio/x-mpegurl",
".wma" => "audio/x-ms-wma",
".wax" => "audio/x-ms-wax",
".ogg" => "audio/x-wav",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
".xbm" => "image/x-xbitmap",
".xpm" => "image/x-xpixmap",
".xwd" => "image/x-xwindowdump",
".css" => "text/css",
".html" => "text/html",
".htm" => "text/html",
".js" => "text/javascript",
".asc" => "text/plain",
".c" => "text/plain",
".conf" => "text/plain",
".text" => "text/plain",
".txt" => "text/plain",
".dtd" => "text/xml",
".xml" => "text/xml",
".mpeg" => "video/mpeg",
".mpg" => "video/mpeg",
".mov" => "video/quicktime",
".qt" => "video/quicktime",
".avi" => "video/x-msvideo",
".asf" => "video/x-ms-asf",
".asx" => "video/x-ms-asf",
".wmv" => "video/x-ms-wmv"
)
# Use the "Content-Type" extended attribute to obtain mime type if possible
# mimetype.use-xattr = "enable"
#### accesslog module
accesslog.filename = "/var/log/lighttpd/access.log"
## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be part
# of the document-root
url.access-deny = ( "~", ".inc" )
######### Options that are good to be but not neccesary to be changed #######
## bind to port (default: 80)
#server.port = 81
## bind to localhost (default: all interfaces)
#server.bind = "grisu.home.kneschke.de"
## error-handler for status 404
#server.error-handler-404 = "/error-handler.html"
#server.error-handler-404 = "/error-handler.php"
## to help the rc.scripts
server.pid-file = "/var/run/lighttpd.pid"
###### virtual hosts
##
## If you want name-based virtual hosting add the next three settings and load
## mod_simple_vhost
##
## document-root =
## virtual-server-root + virtual-server-default-host + virtual-server-docroot or
## virtual-server-root + http-host + virtual-server-docroot
##
#simple-vhost.server-root = "/home/weigon/wwwroot/servers/"
#simple-vhost.default-host = "grisu.home.kneschke.de"
#simple-vhost.document-root = "/pages/"
##
## Format: <errorfile-prefix><status>.html
## -> ..../status-404.html for 'File not found'
#server.errorfile-prefix = "/home/weigon/projects/lighttpd/doc/status-"
## virtual directory listings
#server.dir-listing = "enable"
## send unhandled HTTP-header headers to error-log
#debug.dump-unknown-headers = "enable"
### only root can use these options
#
# chroot() to directory (default: no chroot() )
#server.chroot = "/"
## change uid to <uid> (default: don't care)
server.username = "www-data"
## change uid to <uid> (default: don't care)
server.groupname = "www-data"
#### compress module
#compress.cache-dir = "/var/tmp/lighttpd/cache/compress/"
#compress.filetype = ("text/plain", "text/html")
#### fastcgi module
## read fastcgi.txt for more info
#fastcgi.server = ( ".php" =>
# ( "localhost" =>
# (
# "socket" => "/tmp/php-fastcgi.socket",
# "bin-path" => "/usr/local/bin/php"
# )
# )
# )
#### CGI module
#cgi.assign = ( ".pl" => "/usr/bin/perl",
# ".cgi" => "/usr/bin/perl" )
#### SSL engine
#ssl.engine = "enable"
#ssl.pemfile = "server.pem"
#### status module
# status.status-url = "/server-status"
# status.config-url = "/server-config"
#### auth module
## read authentification.txt for more info
# auth.backend = "plain"
# auth.backend.plain.userfile = "lighttpd.user"
# auth.backend.plain.groupfile = "lighttpd.group"
# auth.backend.ldap.hostname = "localhost"
# auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
# auth.backend.ldap.filter = "(uid=$)"
# auth.require = ( "/server-status" =>
# (
# "method" => "digest",
# "realm" => "download archiv",
# "require" => "group=www|user=jan|host=192.168.2.10"
# ),
# "/server-info" =>
# (
# "method" => "digest",
# "realm" => "download archiv",
# "require" => "group=www|user=jan|host=192.168.2.10"
# )
# )
#### url handling modules (rewrite, redirect, access)
# url.rewrite = ( "^/$" => "/server-status" )
# url.redirect = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
#
# define a pattern for the host url finding
# %% => % sign
# %0 => domain name + tld
# %1 => tld
# %2 => domain name without tld
# %3 => subdomain 1 name
# %4 => subdomain 2 name
#
# evhost.path-pattern = "/home/storage/dev/www/%3/htdocs/"
#### expire module
# expire.url = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes")
#### ssi
# ssi.extension = ( ".shtml" )
#### rrdtool
# rrdtool.binary = "/usr/bin/rrdtool"
# rrdtool.db-name = "/var/www/lighttpd.rrd"

22
debian/lighttpd.doc-base.EX

@ -1,22 +0,0 @@
Document: lighttpd
Title: Debian lighttpd Manual
Author: <insert document author here>
Abstract: This manual describes what lighttpd is
and how it can be used to
manage online manuals on Debian systems.
Section: unknown
Format: debiandoc-sgml
Files: /usr/share/doc/lighttpd/lighttpd.sgml.gz
Format: postscript
Files: /usr/share/doc/lighttpd/lighttpd.ps.gz
Format: text
Files: /usr/share/doc/lighttpd/lighttpd.text.gz
Format: HTML
Index: /usr/share/doc/lighttpd/html/index.html
Files: /usr/share/doc/lighttpd/html/*.html

18
debian/lighttpd.logrotate

@ -1,18 +0,0 @@
/var/log/lighttpd/*.log {
daily
missingok
copytruncate
rotate 7
compress
notifempty
sharedscripts
postrotate
if [ -f /var/run/lighttpd.pid ]; then \
if [ -x /usr/sbin/invoke-rc.d ]; then \
invoke-rc.d lighttpd reload > /dev/null; \
else \
/etc/init.d/lighttpd reload > /dev/null; \
fi; \
fi;
endscript
}

42
debian/lighttpd.postinst

@ -1,42 +0,0 @@
#! /bin/sh
# postinst script for lighttpd
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#
case "$1" in
configure)
chown www-data:www-data /var/log/lighttpd
;;
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

60
debian/manpage.1.ex

@ -1,60 +0,0 @@
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH LIGHTTPD SECTION "March 24, 2004"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
lighttpd \- program to do something
.SH SYNOPSIS
.B lighttpd
.RI [ options ] " files" ...
.br
.B bar
.RI [ options ] " files" ...
.SH DESCRIPTION
This manual page documents briefly the
.B lighttpd
and
.B bar
commands.
This manual page was written for the Debian distribution
because the original program does not have a manual page.
Instead, it has documentation in the GNU Info format; see below.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBlighttpd\fP is a program that...
.SH OPTIONS
These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
For a complete description, see the Info files.
.TP
.B \-h, \-\-help
Show summary of options.
.TP
.B \-v, \-\-version
Show version of program.
.SH SEE ALSO
.BR bar (1),
.BR baz (1).
.br
The programs are documented fully by
.IR "The Rise and Fall of a Fooish Bar" ,
available via the Info system.
.SH AUTHOR
This manual page was written by Vincent Wagelaar <vincent@hannibal.lr-s.tudelft.nl>,
for the Debian project (but may be used by others).

156
debian/manpage.sgml.ex

@ -1,156 +0,0 @@
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
The docbook-to-man binary is found in the docbook-to-man package.
Please remember that if you create the nroff version in one of the
debian/rules file targets (such as build), you will need to include
docbook-to-man in your Build-Depends control field.
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
<!ENTITY dhsurname "<surname>SURNAME</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>March 24, 2004</date>">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). -->
<!ENTITY dhsection "<manvolnum>SECTION</manvolnum>">
<!ENTITY dhemail "<email>vincent@hannibal.lr-s.tudelft.nl</email>">
<!ENTITY dhusername "Vincent Wagelaar">
<!ENTITY dhucpackage "<refentrytitle>LIGHTTPD</refentrytitle>">
<!ENTITY dhpackage "lighttpd">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2003</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>program to do something</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<arg><option>-e <replaceable>this</replaceable></option></arg>
<arg><option>--example <replaceable>that</replaceable></option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>This manual page documents briefly the
<command>&dhpackage;</command> and <command>bar</command>
commands.</para>
<para>This manual page was written for the &debian; distribution
because the original program does not have a manual page.
Instead, it has documentation in the &gnu;
<application>Info</application> format; see below.</para>
<para><command>&dhpackage;</command> is a program that...</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<para>These programs follow the usual &gnu; command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below. For a complete description, see the
<application>Info</application> files.</para>
<variablelist>
<varlistentry>
<term><option>-h</option>
<option>--help</option>
</term>
<listitem>
<para>Show summary of options.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-v</option>
<option>--version</option>
</term>
<listitem>
<para>Show version of program.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para>bar (1), baz (1).</para>
<para>The programs are documented fully by <citetitle>The Rise and
Fall of a Fooish Bar</citetitle> available via the
<application>Info</application> system.</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was written by &dhusername; &dhemail; for
the &debian; system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; General Public License, Version 2 any
later version published by the Free Software Foundation.
</para>
<para>
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->

148
debian/manpage.xml.ex

@ -1,148 +0,0 @@
<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!--
Process this file with an XSLT processor: `xsltproc \
-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
manpages/docbook.xsl manpage.dbk'. A manual page
<package>.<section> will be generated. You may view the
manual page with: nroff -man <package>.<section> | less'. A
typical entry in a Makefile or Makefile.am is:
DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
manpages/docbook.xsl
XP=xsltproc -''-nonet
manpage.1: manpage.dbk
$(XP) $(DB2MAN) $<
The xsltproc binary is found in the xsltproc package. The
XSL files are in docbook-xsl. Please remember that if you
create the nroff version in one of the debian/rules file
targets (such as build), you will need to include xsltproc
and docbook-xsl in your Build-Depends control field.
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
<!ENTITY dhsurname "<surname>SURNAME</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>March 24, 2004</date>">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). -->
<!ENTITY dhsection "<manvolnum>SECTION</manvolnum>">
<!ENTITY dhemail "<email>vincent@hannibal.lr-s.tudelft.nl</email>">
<!ENTITY dhusername "Vincent Wagelaar">
<!ENTITY dhucpackage "<refentrytitle>LIGHTTPD</refentrytitle>">
<!ENTITY dhpackage "lighttpd">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2003</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>program to do something</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<arg><option>-e <replaceable>this</replaceable></option></arg>
<arg><option>--example <replaceable>that</replaceable></option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>This manual page documents briefly the
<command>&dhpackage;</command> and <command>bar</command>
commands.</para>
<para>This manual page was written for the &debian; distribution
because the original program does not have a manual page.
Instead, it has documentation in the &gnu;
<application>Info</application> format; see below.</para>
<para><command>&dhpackage;</command> is a program that...</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<para>These programs follow the usual &gnu; command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below. For a complete description, see the
<application>Info</application> files.</para>
<variablelist>
<varlistentry>
<term><option>-h</option>
<option>--help</option>
</term>
<listitem>
<para>Show summary of options.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-v</option>
<option>--version</option>
</term>
<listitem>
<para>Show version of program.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para>bar (1), baz (1).</para>
<para>The programs are documented fully by <citetitle>The Rise and
Fall of a Fooish Bar</citetitle> available via the
<application>Info</application> system.</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was written by &dhusername; &dhemail; for
the &debian; system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; General Public License, Version 2 any
later version published by the Free Software Foundation.
</para>
<para>
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL.
</para>
</refsect1>
</refentry>

2
debian/menu.ex

@ -1,2 +0,0 @@
?package(lighttpd):needs=X11|text|vc|wm section=Apps/see-menu-manual\
title="lighttpd" command="/usr/bin/lighttpd"

38
debian/postrm.ex

@ -1,38 +0,0 @@
#! /bin/sh
# postrm script for lighttpd
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge|remove|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

44
debian/preinst.ex

@ -1,44 +0,0 @@
#! /bin/sh
# preinst script for lighttpd
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
#
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
install|upgrade)
# if [ "$1" = "upgrade" ]
# then
# start-stop-daemon --stop --quiet --oknodo \
# --pidfile /var/run/lighttpd.pid \
# --exec /usr/sbin/lighttpd 2>/dev/null || true
# fi
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

39
debian/prerm.ex

@ -1,39 +0,0 @@
#! /bin/sh
# prerm script for lighttpd
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
remove|upgrade|deconfigure)
# install-info --quiet --remove /usr/info/lighttpd.info.gz
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

117
debian/rules

@ -1,117 +0,0 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# 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)
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
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE)\
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--sysconfdir=/etc/lighttpd \
--libdir=/usr/lib/lighttpd \
--with-openssl
build: build-stamp
build-stamp: config.status
dh_testdir
# Add here commands to compile the package.
$(MAKE)
#/usr/bin/docbook-to-man debian/lighttpd.sgml > lighttpd.1
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
-$(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/lighttpd.
$(MAKE) install DESTDIR=$(CURDIR)/debian/lighttpd
install -d debian/lighttpd/etc/{lighttpd,init.d,logrotate.d}
install -d debian/lighttpd/var/{www,log/lighttpd}
install -m 644 debian/*conf debian/lighttpd/etc/lighttpd/
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_python
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

6
debian/watch.ex

@ -1,6 +0,0 @@
# 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
sunsite.unc.edu /pub/Linux/Incoming lighttpd-(.*)\.tar\.gz debian uupdate

4
openwrt/.cvsignore

@ -1,4 +0,0 @@
Makefile.in
Makefile
control
lighttpd.mk

1
openwrt/Makefile.am

@ -1 +0,0 @@
EXTRA_DIST=conffiles control lighttpd.conf S51lighttpd lighttpd.mk

4
openwrt/S51lighttpd

@ -1,4 +0,0 @@
#!/bin/sh
/usr/sbin/lighttpd -f /etc/lighttpd.conf
exit $?

1
openwrt/conffiles

@ -1 +0,0 @@
/etc/lighttpd.conf

9
openwrt/control.in

@ -1,9 +0,0 @@
Package: lighttpd
Version: @VERSION@
Architecture: mipsel
Maintainer: Jan Kneschke <jan@kneschke.de>
Source: http://jan.kneschke.de/projects/lighttpd/download/lighttpd-@VERSION@.tar.gz
Section: net
Priority: optional
Depends:
Description: Flexible and Lightweight Webserver

231
openwrt/lighttpd.conf

@ -1,231 +0,0 @@<