]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
lighttpd: Drop package
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 3 Aug 2015 14:59:51 +0000 (15:59 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 3 Aug 2015 14:59:51 +0000 (15:59 +0100)
lighttpd was originally used to run the IPFire web infrastructure
and also inteded to be used to host the web user interface in
IPFire. It was chosen because of its lightweight design and
small footprint.

However, development of lighttpd has stalled since a long time
and it does not support all the major web technologies any more.

Hence it is now removed from the distribution in favor of other
alternatives.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lighttpd/lighttpd.conf [deleted file]
lighttpd/lighttpd.nm [deleted file]
lighttpd/lighttpd.tmpfiles [deleted file]
lighttpd/systemd/lighttpd.service [deleted file]

diff --git a/lighttpd/lighttpd.conf b/lighttpd/lighttpd.conf
deleted file mode 100644 (file)
index 15dc849..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-############################################################################
-#                                                                          #
-# This file is part of the IPFire Firewall.                                #
-#                                                                          #
-# IPFire 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; either version 2 of the License, or        #
-# (at your option) any later version.                                      #
-#                                                                          #
-# IPFire is distributed in the hope that it will be useful,                #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of           #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
-# GNU General Public License for more details.                             #
-#                                                                          #
-# You should have received a copy of the GNU General Public License        #
-# along with IPFire; if not, write to the Free Software                    #
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
-#                                                                          #
-# Copyright (C) 2008 IPFire-Team <info@ipfire.org>.                        #
-#                                                                          #
-############################################################################
-
-server.document-root   = "/srv/www/ipfire/"
-
-server.port            = 444
-
-server.username                = "www"
-server.groupname       = "www"
-
-server.event-handler   = "linux-sysepoll"
-server.network-backend = "linux-sendfile"
-
-accesslog.filename     = "/var/log/lighttpd/access.log"
-server.errorlog                = "/var/log/lighttpd/error.log"
-static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
-server.pid-file                = "/var/run/lighttpd.pid"
-#server.bind           = "127.0.0.1"
-
-index-file.names = (
-               "index.html",
-               "index.htm",
-               "index.py",
-               "index.cgi"
-)
-
-compress.cache-dir     = "/var/cache/lighttpd/compress/"
-compress.filetype      = ("text/plain", "text/html")
-
-### SSL engine
-#ssl.engine            = "enable"
-#ssl.pemfile           = "/etc/ssl/private/server.pem"
-
-#auth.backend.ldap.hostnam     = "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" => "user=jan"
-#                      ),
-#              "/server-config" =>
-#                      (
-#                              "method"  => "digest",
-#                              "realm"   => "download archiv",
-#                              "require" => "valid-user"
-#                      )
-#)
-
-server.modules = (
-#              "mod_rewrite",
-#              "mod_redirect",
-#              "mod_alias",
-               "mod_access",
-#              "mod_cml",
-#              "mod_trigger_b4_dl",
-               "mod_auth",
-#              "mod_status",
-#              "mod_setenv",
-               "mod_fastcgi",
-#              "mod_proxy",
-#              "mod_simple_vhost",
-#              "mod_evhost",
-#              "mod_userdir",
-               "mod_cgi",
-               "mod_compress",
-#              "mod_ssi",
-#              "mod_usertrack",
-#              "mod_expire",
-#              "mod_secdownload",
-#              "mod_rrdtool",
-               "mod_accesslog"
-)
-
-cgi.assign = (
-               ".py"   => "/usr/bin/python",
-               ".cgi"  => "/usr/bin/python",
-)
-
-mimetype.assign = (
-               ".gz"           =>      "application/x-gzip",
-               ".tar.gz"       =>      "application/x-tgz",
-               ".tgz"          =>      "application/x-tgz",
-               ".tar"          =>      "application/x-tar",
-               ".zip"          =>      "application/zip",
-               ".gif"          =>      "image/gif",
-               ".jpg"          =>      "image/jpeg",
-               ".jpeg"         =>      "image/jpeg",
-               ".png"          =>      "image/png",
-               ".css"          =>      "text/css",
-               ".html"         =>      "text/html",
-               ".htm"          =>      "text/html",
-               ".js"           =>      "text/javascript",
-               ".log"          =>      "text/plain",
-               ".conf"         =>      "text/plain",
-               ".text"         =>      "text/plain",
-               ".txt"          =>      "text/plain",
-               ".xml"          =>      "text/xml",
-               ".bz2"          =>      "application/x-bzip",
-               ".tbz"          =>      "application/x-bzip-compressed-tar",
-               ".tar.bz2"      =>      "application/x-bzip-compressed-tar"
-)
diff --git a/lighttpd/lighttpd.nm b/lighttpd/lighttpd.nm
deleted file mode 100644 (file)
index 2b348b5..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
-###############################################################################
-
-name       = lighttpd
-version    = 1.4.35
-ver_major  = 1.4
-release    = 2
-
-maintainer = Michael Tremer <michael.tremer@ipfire.org>
-groups     = Networking/Webservers
-url        = http://www.lighttpd.net/
-license    = BSD
-summary    = Lightning fast webserver with light system requirements.
-
-description
-       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
-       it the perfect webserver-software for every server that is suffering load
-       problems.
-end
-
-source_dl  = http://download.lighttpd.net/lighttpd/releases-%{ver_major}.x/
-
-build
-       requires
-               bzip2-devel
-               gdbm-devel
-               openldap-devel
-               openssl-devel
-               pcre-devel
-               pkg-config
-               shadow-utils
-               zlib-devel
-       end
-
-       configure_options += \
-               --libdir=%{libdir}/%{name} \
-               --with-ldap \
-               --with-openssl
-
-       prepare_cmds
-               %{create_user}
-       end
-
-       install_cmds
-               mkdir -pv %{BUILDROOT}/etc
-               cp -vf %{DIR_SOURCE}/%{name}.conf %{BUILDROOT}/etc/%{name}.conf
-
-               mkdir -pv %{BUILDROOT}/var/log/%{name}
-               touch %{BUILDROOT}/var/log/%{name}/{access,error}.log
-               chown lighttpd.lighttpd -R %{BUILDROOT}/var/log/%{name}
-               mkdir -pv %{BUILDROOT}/var/cache/lighttpd/compress
-               chown lighttpd.lighttpd -Rv %{BUILDROOT}/var/cache/lighttpd/
-
-               mkdir -pv %{BUILDROOT}/run/lighttpd
-               chown lighttpd.lighttpd -Rv %{BUILDROOT}/run/lighttpd/
-       end
-end
-
-create_user
-       getent group lighttpd >/dev/null || /usr/sbin/groupadd -r lighttpd
-       getent passwd lighttpd >/dev/null || /usr/sbin/useradd -r -g lighttpd \
-               -d /var/www/lighttpd -s /sbin/nologin lighttpd
-end
-
-packages
-       package %{name}
-               configfiles
-                       /etc/lighttpd.conf
-               end
-
-               prerequires
-                       shadow-utils
-                       systemd-units
-               end
-
-               script prein
-                       %{create_user}
-               end
-
-               script postin
-                       /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-               end
-
-               script preun
-                       /bin/systemctl --no-reload disable lighttpd.service >/dev/null 2>&1 || :
-                       /bin/systemctl stop lighttpd.service >/dev/null 2>&1 || :
-               end
-
-               script postup
-                       /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-                       /bin/systemctl try-restart lighttpd.service >/dev/null 2>&1 || :
-               end
-       end
-
-       package %{name}-debuginfo
-               template DEBUGINFO
-       end
-end
diff --git a/lighttpd/lighttpd.tmpfiles b/lighttpd/lighttpd.tmpfiles
deleted file mode 100644 (file)
index 4ba7262..0000000
+++ /dev/null
@@ -1 +0,0 @@
-d /run/lighttpd 0750 lighttpd lighttpd -
diff --git a/lighttpd/systemd/lighttpd.service b/lighttpd/systemd/lighttpd.service
deleted file mode 100644 (file)
index 04f343c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-
-[Unit]
-Description=Lighttpd Daemon
-After=network.target
-
-[Service]
-ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd.conf
-ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd.conf
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target