summaryrefslogtreecommitdiffstats
path: root/openwrt/package/lighttpd
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/lighttpd')
-rw-r--r--openwrt/package/lighttpd/Config.in106
-rw-r--r--openwrt/package/lighttpd/Makefile133
-rw-r--r--openwrt/package/lighttpd/files/lighttpd.conf217
-rw-r--r--openwrt/package/lighttpd/files/lighttpd.default1
-rw-r--r--openwrt/package/lighttpd/files/lighttpd.init24
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-accesslog.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-alias.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-auth.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-cgi.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-evasive.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-expire.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-fastcgi.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-proxy.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-redirect.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-rewrite.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-setenv.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-simple-vhost.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-ssi.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-status.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-usertrack.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd-mod-webdav.control5
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd.conffiles3
-rw-r--r--openwrt/package/lighttpd/ipkg/lighttpd.control6
-rw-r--r--openwrt/package/lighttpd/patches/500-configure_cross.patch24
24 files changed, 0 insertions, 594 deletions
diff --git a/openwrt/package/lighttpd/Config.in b/openwrt/package/lighttpd/Config.in
deleted file mode 100644
index a08392824..000000000
--- a/openwrt/package/lighttpd/Config.in
+++ /dev/null
@@ -1,106 +0,0 @@
-menu "lighttpd.......................... Flexible and lightweight web server"
-
-config BR2_PACKAGE_LIGHTTPD
- prompt "lighttpd.......................... Flexible and lightweight web server"
- tristate
- default m if CONFIG_DEVEL
- select BR2_PACKAGE_LIBOPENSSL
- select BR2_PACKAGE_LIBPCRE
- help
- A flexible and lightweight web server.
-
- http://www.lighttpd.net/
-
- Depends: libopenssl, libpcre
-
-config BR2_PACKAGE_LIGHTTPD_MOD_ACCESSLOG
- prompt "lighttpd-mod-accesslog.......... Access logging module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_ALIAS
- prompt "lighttpd-mod-alias.............. Directory alias module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_AUTH
- prompt "lighttpd-mod-auth............... Authentication module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_CGI
- prompt "lighttpd-mod-cgi................ CGI module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_EVASIVE
- prompt "lighttpd-mod-evasive............ Evasive module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_EXPIRE
- prompt "lighttpd-mod-expire............. Expire module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_FASTCGI
- prompt "lighttpd-mod-fastcgi............ FastCGI module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_PROXY
- prompt "lighttpd-mod-proxy.............. Proxy module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_REDIRECT
- prompt "lighttpd-mod-redirect........... URL redirection module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_REWRITE
- prompt "lighttpd-mod-rewrite............ URL rewriting module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_SETENV
- prompt "lighttpd-mod-setenv............. Environment variable setting module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_SIMPLE_VHOST
- prompt "lighttpd-mod-simple-vhost....... Simple virtual hosting module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_SSI
- prompt "lighttpd-mod-ssi................ SSI module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_STATUS
- prompt "lighttpd-mod-status............. Server status display module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-config BR2_PACKAGE_LIGHTTPD_MOD_USERTRACK
- prompt "lighttpd-mod-usertrack.......... User tracking module"
- tristate
- default m if CONFIG_DEVEL
- depends BR2_PACKAGE_LIGHTTPD
-
-endmenu
diff --git a/openwrt/package/lighttpd/Makefile b/openwrt/package/lighttpd/Makefile
deleted file mode 100644
index d0a88a65a..000000000
--- a/openwrt/package/lighttpd/Makefile
+++ /dev/null
@@ -1,133 +0,0 @@
-# $Id$
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=lighttpd
-PKG_VERSION:=1.4.11
-PKG_RELEASE:=1
-PKG_MD5SUM:=f55eebb9815c94a7de35906bb557ecd3
-
-PKG_SOURCE_URL:=http://www.lighttpd.net/download/
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_CAT:=zcat
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
-include $(TOPDIR)/package/rules.mk
-
-define PKG_mod_template
-
-$$(IPKG_$(1)):
- install -d -m0755 $$(IDIR_$(1))/usr/lib/lighttpd
- install -m0755 $(PKG_INSTALL_DIR)/usr/lib/lighttpd/mod_$(2).so $$(IDIR_$(1))/usr/lib/lighttpd/
- $(RSTRIP) $$(IDIR_$(1))
- $(IPKG_BUILD) $$(IDIR_$(1)) $(PACKAGE_DIR)
-
-endef
-
-$(eval $(call PKG_template,LIGHTTPD,lighttpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_ACCESSLOG,lighttpd-mod-accesslog,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_ALIAS,lighttpd-mod-alias,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_AUTH,lighttpd-mod-auth,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_CGI,lighttpd-mod-cgi,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_EVASIVE,lighttpd-mod-evasive,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_EXPIRE,lighttpd-mod-expire,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_FASTCGI,lighttpd-mod-fastcgi,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_PROXY,lighttpd-mod-proxy,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_REDIRECT,lighttpd-mod-redirect,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_REWRITE,lighttpd-mod-rewrite,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_SETENV,lighttpd-mod-setenv,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_SIMPLE_VHOST,lighttpd-mod-simple-vhost,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_SSI,lighttpd-mod-ssi,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_STATUS,lighttpd-mod-status,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_USERTRACK,lighttpd-mod-usertrack,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,LIGHTTPD_MOD_WEBDAV,lighttpd-mod-webdav,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_ACCESSLOG,accesslog))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_ALIAS,alias))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_AUTH,auth))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_CGI,cgi))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_EVASIVE,evasive))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_EXPIRE,expire))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_FASTCGI,fastcgi))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_PROXY,proxy))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_REDIRECT,redirect))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_REWRITE,rewrite))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_SETENV,setenv))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_SIMPLE_VHOST,simple_vhost))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_SSI,ssi))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_STATUS,status))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_USERTRACK,usertrack))
-$(eval $(call PKG_mod_template,LIGHTTPD_MOD_WEBDAV,webdav))
-
-$(PKG_BUILD_DIR)/.configured:
- (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
- $(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include/libxml2 -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
- LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
- PCRE_LIB="-lpcre" \
- PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --program-prefix="" \
- --program-suffix="" \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --includedir=/usr/include \
- --infodir=/usr/share/info \
- --libdir=/usr/lib/lighttpd \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc/lighttpd \
- $(DISABLE_LARGEFILE) \
- $(DISABLE_NLS) \
- --enable-shared \
- --enable-static \
- --disable-rpath \
- --without-attr \
- --without-bzip2 \
- --without-fam \
- --without-gdbm \
- --without-ldap \
- --without-lua \
- --without-memcache \
- --without-mysql \
- --with-openssl="$(STAGING_DIR)/usr" \
- --with-pcre \
- --without-valgrind \
- --with-webdav-props \
- )
- touch $@
-
-$(PKG_BUILD_DIR)/.built:
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
- touch $@
-
-$(IPKG_LIGHTTPD):
- install -m0755 -d $(IDIR_LIGHTTPD)/etc
- install -m0644 ./files/lighttpd.conf $(IDIR_LIGHTTPD)/etc/
- install -m0755 -d $(IDIR_LIGHTTPD)/etc/default
- install -m0644 ./files/lighttpd.default $(IDIR_LIGHTTPD)/etc/default/lighttpd
- install -m0755 -d $(IDIR_LIGHTTPD)/etc/init.d
- install -m0755 ./files/lighttpd.init $(IDIR_LIGHTTPD)/etc/init.d/lighttpd
- install -m0755 -d $(IDIR_LIGHTTPD)/usr/lib/lighttpd
- for m in dirlisting indexfile staticfile; do \
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/lighttpd/mod_$$m.so $(IDIR_LIGHTTPD)/usr/lib/lighttpd/ ; \
- done
- install -m0755 -d $(IDIR_LIGHTTPD)/usr/sbin
- $(CP) $(PKG_INSTALL_DIR)/usr/sbin/lighttpd $(IDIR_LIGHTTPD)/usr/sbin/
- $(RSTRIP) $(IDIR_LIGHTTPD)
- $(IPKG_BUILD) $(IDIR_LIGHTTPD) $(PACKAGE_DIR)
-
diff --git a/openwrt/package/lighttpd/files/lighttpd.conf b/openwrt/package/lighttpd/files/lighttpd.conf
deleted file mode 100644
index 6e5137740..000000000
--- a/openwrt/package/lighttpd/files/lighttpd.conf
+++ /dev/null
@@ -1,217 +0,0 @@
-# lighttpd configuration file
-#
-## modules to load
-# all other module should only be loaded if really neccesary
-# - saves some time
-# - saves memory
-#server.modules = (
-# "mod_rewrite",
-# "mod_redirect",
-# "mod_alias",
-# "mod_auth",
-# "mod_status",
-# "mod_setenv",
-# "mod_fastcgi",
-# "mod_proxy",
-# "mod_simple_vhost",
-# "mod_cgi",
-# "mod_ssi",
-# "mod_usertrack",
-# "mod_expire"
-#)
-
-## a static document-root, for virtual-hosting take look at the
-## server.virtual-* options
-server.document-root = "/www/"
-
-## where to send error-messages to
-#server.errorlog = "/var/log/lighttpd/error.log"
-
-## files to check for if .../ is requested
-index-file.names = ( "index.html", "default.html", "index.htm", "default.htm" )
-
-## mimetype mapping
-mimetype.assign = (
- ".pdf" => "application/pdf",
- ".class" => "application/octet-stream",
- ".pac" => "application/x-ns-proxy-autoconfig",
- ".swf" => "application/x-shockwave-flash",
- ".wav" => "audio/x-wav",
- ".gif" => "image/gif",
- ".jpg" => "image/jpeg",
- ".jpeg" => "image/jpeg",
- ".png" => "image/png",
- ".css" => "text/css",
- ".html" => "text/html",
- ".htm" => "text/html",
- ".js" => "text/javascript",
- ".txt" => "text/plain",
- ".dtd" => "text/xml",
- ".xml" => "text/xml"
- )
-
-## Use the "Content-Type" extended attribute to obtain mime type if possible
-#mimetypes.use-xattr = "enable"
-
-## send a different Server: header
-## be nice and keep it at lighttpd
-#server.tag = "lighttpd"
-
-$HTTP["url"] =~ "\.pdf$" {
- server.range-requests = "disable"
-}
-
-##
-# which extensions should not be handle via static-file transfer
-#
-# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
-static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
-
-######### 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 = "localhost"
-
-## 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 = "/www/error-"
-
-## 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 = "nobody"
-
-## change uid to <uid> (default: don't care)
-#server.groupname = "nobody"
-
-#### compress module
-#compress.cache-dir = "/dev/null/"
-#compress.filetype = ("text/plain", "text/html")
-
-#### proxy module
-## read proxy.txt for more info
-#proxy.server = (
-# ".php" => (
-# "localhost" => (
-# "host" => "192.168.0.101",
-# "port" => 80
-# )
-# )
-#)
-
-#### 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.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" )
-
-#### both rewrite/redirect support back reference to regex conditional using %n
-#$HTTP["host"] =~ "^www\.(.*)" {
-# url.redirect = ( "^/(.*)" => "http://%1/$1" )
-#}
-
-#### expire module
-#expire.url = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes")
-
-#### ssi
-#ssi.extension = ( ".shtml" )
-
-#### setenv
-#setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" )
-#setenv.add-response-header = ( "X-Secret-Message" => "42" )
-
-#### variable usage:
-## variable name without "." is auto prefixed by "var." and becomes "var.bar"
-#bar = 1
-#var.mystring = "foo"
-
-## integer add
-#bar += 1
-## string concat, with integer cast as string, result: "www.foo1.com"
-#server.name = "www." + mystring + var.bar + ".com"
-## array merge
-#index-file.names = (foo + ".php") + index-file.names
-#index-file.names += (foo + ".php")
-
-#### include
-#include /etc/lighttpd/lighttpd-inc.conf
-## same as above if you run: "lighttpd -f /etc/lighttpd/lighttpd.conf"
-#include "lighttpd-inc.conf"
-
-#### include_shell
-#include_shell "echo var.a=1"
-## the above is same as:
-#var.a=1
diff --git a/openwrt/package/lighttpd/files/lighttpd.default b/openwrt/package/lighttpd/files/lighttpd.default
deleted file mode 100644
index 649571e64..000000000
--- a/openwrt/package/lighttpd/files/lighttpd.default
+++ /dev/null
@@ -1 +0,0 @@
-OPTIONS="-f /etc/lighttpd.conf" \ No newline at end of file
diff --git a/openwrt/package/lighttpd/files/lighttpd.init b/openwrt/package/lighttpd/files/lighttpd.init
deleted file mode 100644
index ca7a3f97f..000000000
--- a/openwrt/package/lighttpd/files/lighttpd.init
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-BIN=lighttpd
-DEFAULT=/etc/default/$BIN
-LOG_D=/var/log/$BIN
-RUN_D=/var/run
-PID_F=$RUN_D/$BIN.pid
-[ -f $DEFAULT ] && . $DEFAULT
-
-case $1 in
- start)
- mkdir -p $LOG_D
- mkdir -p $RUN_D
- $BIN $OPTIONS
- ;;
- stop)
- [ -f $PID_F ] && kill $(cat $PID_F)
- ;;
- *)
- echo "usage: $0 (start|stop)"
- exit 1
-esac
-
-exit $?
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-accesslog.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-accesslog.control
deleted file mode 100644
index 640122652..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-accesslog.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-accesslog
-Priority: optional
-Section: net
-Description: an access logging module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-alias.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-alias.control
deleted file mode 100644
index c1e12e373..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-alias.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-alias
-Priority: optional
-Section: net
-Description: a directory alias module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-auth.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-auth.control
deleted file mode 100644
index 179501fbf..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-auth.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-auth
-Priority: optional
-Section: net
-Description: an authentication module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-cgi.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-cgi.control
deleted file mode 100644
index 18c574a9b..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-cgi.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-cgi
-Priority: optional
-Section: net
-Description: a CGI module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-evasive.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-evasive.control
deleted file mode 100644
index dd00165ea..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-evasive.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-evasive
-Priority: optional
-Section: net
-Description: Evasive module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-expire.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-expire.control
deleted file mode 100644
index 8d5c5546c..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-expire.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-expire
-Priority: optional
-Section: net
-Description: Expire module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-fastcgi.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-fastcgi.control
deleted file mode 100644
index 123e9b636..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-fastcgi.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-fastcgi
-Priority: optional
-Section: net
-Description: FASTCGI module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-proxy.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-proxy.control
deleted file mode 100644
index 5578d1a53..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-proxy.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-proxy
-Priority: optional
-Section: net
-Description: a proxy module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-redirect.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-redirect.control
deleted file mode 100644
index 80f3a574c..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-redirect.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-redirect
-Priority: optional
-Section: net
-Description: an url redirection module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-rewrite.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-rewrite.control
deleted file mode 100644
index 19c5b1a76..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-rewrite.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-rewrite
-Priority: optional
-Section: net
-Description: an url rewriting module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-setenv.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-setenv.control
deleted file mode 100644
index 0506b7a4c..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-setenv.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-setenv
-Priority: optional
-Section: net
-Description: an environment variable setting module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-simple-vhost.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-simple-vhost.control
deleted file mode 100644
index 58550e124..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-simple-vhost.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-simple-vhost
-Priority: optional
-Section: net
-Description: a simple virtual hosting module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-ssi.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-ssi.control
deleted file mode 100644
index 266d4ea68..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-ssi.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-ssi
-Priority: optional
-Section: net
-Description: SSI module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-status.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-status.control
deleted file mode 100644
index 081d21c4e..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-status.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-status
-Priority: optional
-Section: net
-Description: a server status display module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-usertrack.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-usertrack.control
deleted file mode 100644
index 32a0e79a0..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-usertrack.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-usertrack
-Priority: optional
-Section: net
-Description: an user tracking module for lighttpd
-Depends: lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd-mod-webdav.control b/openwrt/package/lighttpd/ipkg/lighttpd-mod-webdav.control
deleted file mode 100644
index 0d5110ce6..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd-mod-webdav.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lighttpd-mod-webdav
-Priority: optional
-Section: net
-Description: a webdav module for lighttpd
-Depends: lighttpd, libxml2, sqlite
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd.conffiles b/openwrt/package/lighttpd/ipkg/lighttpd.conffiles
deleted file mode 100644
index 6c127a408..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd.conffiles
+++ /dev/null
@@ -1,3 +0,0 @@
-/etc/lighttpd.conf
-/etc/default/lighttpd
-/etc/init.d/lighttpd
diff --git a/openwrt/package/lighttpd/ipkg/lighttpd.control b/openwrt/package/lighttpd/ipkg/lighttpd.control
deleted file mode 100644
index 3fdfcb0ed..000000000
--- a/openwrt/package/lighttpd/ipkg/lighttpd.control
+++ /dev/null
@@ -1,6 +0,0 @@
-Package: lighttpd
-Priority: optional
-Section: net
-Description: a flexible and lightweight web server,
- built with SSL support.
-Depends: libopenssl, libpcre
diff --git a/openwrt/package/lighttpd/patches/500-configure_cross.patch b/openwrt/package/lighttpd/patches/500-configure_cross.patch
deleted file mode 100644
index 8f8099823..000000000
--- a/openwrt/package/lighttpd/patches/500-configure_cross.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ruN lighttpd-1.4.2-old/configure lighttpd-1.4.2-new/configure
---- lighttpd-1.4.2-old/configure 2005-08-29 14:18:11.000000000 +0200
-+++ lighttpd-1.4.2-new/configure 2005-09-01 09:06:29.000000000 +0200
-@@ -23849,7 +23849,7 @@
- echo "$as_me:$LINENO: result: $WITH_PCRE" >&5
- echo "${ECHO_T}$WITH_PCRE" >&6
-
--if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
-+if test "$WITH_PCRE" != "no"; then
- # Extract the first word of "pcre-config", so it can be a program name with args.
- set dummy pcre-config; ac_word=$2
- echo "$as_me:$LINENO: checking for $ac_word" >&5
-diff -ruN lighttpd-1.4.2-old/configure.in lighttpd-1.4.2-new/configure.in
---- lighttpd-1.4.2-old/configure.in 2005-08-29 14:06:03.000000000 +0200
-+++ lighttpd-1.4.2-new/configure.in 2005-09-01 09:05:39.000000000 +0200
-@@ -222,7 +222,7 @@
- [WITH_PCRE=$withval],[WITH_PCRE=yes])
- AC_MSG_RESULT([$WITH_PCRE])
-
--if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
-+if test "$WITH_PCRE" != "no"; then
- AC_PATH_PROG(PCRECONFIG, pcre-config)
-
- if test x"$PCRECONFIG" != x; then