]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - lighttpd/lighttpd.nm
Move all packages to root.
[people/stevee/ipfire-3.x.git] / lighttpd / lighttpd.nm
CommitLineData
48234d24 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
48234d24
MT
4###############################################################################
5
802ea3af
MT
6name = lighttpd
7version = 1.4.29
8release = 1
48234d24 9
802ea3af
MT
10maintainer = Michael Tremer <michael.tremer@ipfire.org>
11groups = Networking/Webservers
12url = http://www.lighttpd.net/
13license = BSD
14summary = Lightning fast webserver with light system requirements.
48234d24 15
802ea3af 16description
48234d24
MT
17 Secure, fast, compliant and very flexible web-server which has been optimized \
18 for high-performance environments. It has a very low memory footprint compared \
19 to other webservers and takes care of cpu-load. Its advanced feature-set \
20 (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make \
21 it the perfect webserver-software for every server that is suffering load \
22 problems.
802ea3af
MT
23end
24
25source_dl =
26
27build
28 requires
29 bzip2-devel
30 gdbm-devel
31 openldap-devel
32 openssl-devel
33 pcre-devel
34 pkg-config
35 zlib-devel
36 end
37
38 configure_options += \
39 --libdir=/usr/lib/%{name} \
40 --with-ldap \
41 --with-openssl
42
43 install_cmds
44 mkdir -pv %{BUILDROOT}/etc
45 cp -vf %{DIR_SOURCE}/%{name}.conf %{BUILDROOT}/etc/%{name}.conf
46
47 mkdir -pv %{BUILDROOT}/var/log/%{name}
48 touch %{BUILDROOT}/var/log/%{name}/{access,error}.log
49 chown nobody.nobody -R %{BUILDROOT}/var/log/%{name}
50 mkdir -pv %{BUILDROOT}/var/cache/lighttpd/compress
51 chown nobody.nobody -Rv %{BUILDROOT}/var/cache/lighttpd/
52 end
53end
54
55packages
56 package %{name}
57 end
58end