]>
Commit | Line | Data |
---|---|---|
48234d24 MT |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = lighttpd | |
5a310574 | 28 | PKG_VER = 1.4.28 |
1dcacb50 | 29 | PKG_REL = 2 |
48234d24 MT |
30 | |
31 | PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org> | |
bb7d617c | 32 | PKG_GROUPS = Networking/Webservers |
48234d24 MT |
33 | PKG_URL = http://www.lighttpd.net/ |
34 | PKG_LICENSE = BSD | |
35 | PKG_SUMMARY = Lightning fast webserver with light system requirements. | |
36 | ||
6e3d390c MT |
37 | PKG_BUILD_DEPS+= bzip2-devel gdbm-devel openldap-devel openssl-devel pcre-devel \ |
38 | pkg-config zlib-devel | |
48234d24 MT |
39 | |
40 | define PKG_DESCRIPTION | |
41 | Secure, fast, compliant and very flexible web-server which has been optimized \ | |
42 | for high-performance environments. It has a very low memory footprint compared \ | |
43 | to other webservers and takes care of cpu-load. Its advanced feature-set \ | |
44 | (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make \ | |
45 | it the perfect webserver-software for every server that is suffering load \ | |
46 | problems. | |
47 | endef | |
48 | ||
5a310574 | 49 | PKG_TARBALL = $(THISAPP).tar.gz |
48234d24 MT |
50 | |
51 | CONFIGURE_OPTIONS += \ | |
52 | --libdir=/usr/lib/$(PKG_NAME) \ | |
53 | --with-ldap \ | |
54 | --with-openssl | |
55 | ||
56 | define STAGE_INSTALL_CMDS | |
57 | -mkdir -pv $(BUILDROOT)/etc | |
58 | cp -vf $(DIR_SOURCE)/$(PKG_NAME).conf $(BUILDROOT)/etc/$(PKG_NAME).conf | |
59 | ||
60 | -mkdir -pv $(BUILDROOT)/var/log/$(PKG_NAME) | |
61 | touch $(BUILDROOT)/var/log/$(PKG_NAME)/{access,error}.log | |
62 | chown nobody.nobody -R $(BUILDROOT)/var/log/$(PKG_NAME) | |
63 | -mkdir -pv $(BUILDROOT)/var/cache/lighttpd/compress | |
64 | chown nobody.nobody -Rv $(BUILDROOT)/var/cache/lighttpd/ | |
65 | endef |