summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-12-01 03:33:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-08 10:31:30 +0000
commit5be84f940b3a7ecfe48d371f03d852092899eb23 (patch)
treecff7147f4bc329eea02e161b971bc0d233b18d68 /meta
parent1bf8d703f4c9f13a89a496e12a3b1675342127b9 (diff)
downloadpoky-5be84f940b3a7ecfe48d371f03d852092899eb23.tar.gz
lighttpd: Add many packageconfig options
Respect largefile and xattr distro features. (From OE-Core rev: 38eb51d4739cbac292abaef9d2888b6a54d32ad6) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd_1.4.43.bb37
1 files changed, 22 insertions, 15 deletions
diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.43.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.43.bb
index 322f212a73..38eaf70808 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.43.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.43.bb
@@ -6,7 +6,6 @@ LICENSE = "BSD"
6LIC_FILES_CHKSUM = "file://COPYING;md5=e4dac5c6ab169aa212feb5028853a579" 6LIC_FILES_CHKSUM = "file://COPYING;md5=e4dac5c6ab169aa212feb5028853a579"
7 7
8SECTION = "net" 8SECTION = "net"
9DEPENDS = "zlib libpcre"
10RDEPENDS_${PN} += " \ 9RDEPENDS_${PN} += " \
11 lighttpd-module-access \ 10 lighttpd-module-access \
12 lighttpd-module-accesslog \ 11 lighttpd-module-accesslog \
@@ -26,22 +25,30 @@ SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t
26SRC_URI[md5sum] = "95eda531c27b161ef8fa2b9bf4948caf" 25SRC_URI[md5sum] = "95eda531c27b161ef8fa2b9bf4948caf"
27SRC_URI[sha256sum] = "fe0c4a06dd2408a83ee7a2bfedc45e09597f3313cbda82485507573ae8fa948a" 26SRC_URI[sha256sum] = "fe0c4a06dd2408a83ee7a2bfedc45e09597f3313cbda82485507573ae8fa948a"
28 27
29PACKAGECONFIG ??= "openssl \ 28PACKAGECONFIG ??= "openssl pcre zlib \
30 ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ 29 ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
30 ${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'lfs', '', d)} \
31 ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)} \
31" 32"
32PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl" 33PACKAGECONFIG[lfs] = "--enable-lfs,--disable-lfs"
33PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 34PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
34 35PACKAGECONFIG[mmap] = "--enable-mmap,--disable-mmap"
35EXTRA_OECONF = " \ 36PACKAGECONFIG[libev] = "--with-libev,--without-libev,libev"
36 --without-bzip2 \ 37PACKAGECONFIG[mysql] = "--with-mysql,--without-mysql,mariadb"
37 --without-ldap \ 38PACKAGECONFIG[ldap] = "--with-ldap,--without-ldap,openldap"
38 --without-lua \ 39PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr"
39 --without-memcached \ 40PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind"
40 --with-pcre \ 41PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
41 --without-webdav-props \ 42PACKAGECONFIG[krb5] = "--with-krb5,--without-krb5,krb5"
42 --without-webdav-locks \ 43PACKAGECONFIG[pcre] = "--with-pcre,--without-pcre,libpcre"
43 --disable-static \ 44PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
44" 45PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2"
46PACKAGECONFIG[fam] = "--with-fam,--without-fam,gamin"
47PACKAGECONFIG[webdav-props] = "--with-webdav-props,--without-webdav-props,libxml2 sqlite3"
48PACKAGECONFIG[webdav-locks] = "--with-webdav-locks,--without-webdav-locks,util-linux"
49PACKAGECONFIG[gdbm] = "--with-gdbm,--without-gdbm,gdbm"
50PACKAGECONFIG[memcache] = "--with-memcached,--without-memcached,libmemcached"
51PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua5.1"
45 52
46inherit autotools pkgconfig update-rc.d gettext systemd 53inherit autotools pkgconfig update-rc.d gettext systemd
47 54