[oe] lighttpd 1.4.18 runtime issue
Michael Lippautz
michael.lippautz at gmail.com
Mon Oct 5 18:52:13 UTC 2009
hej,
lighttpd_1.4.18 is installed with a config that should actually load its
module mod-indexfile.so.
Since the config is pretty default, I added the module to the runtime
depends. (also re-formated recipe, uses tabs now).
Regards,
Michael
diff --git a/recipes/lighttpd/lighttpd_1.4.18.bb
b/recipes/lighttpd/lighttpd_1.4.18.bb
index d5870ba..80d22bc 100644
--- a/recipes/lighttpd/lighttpd_1.4.18.bb
+++ b/recipes/lighttpd/lighttpd_1.4.18.bb
@@ -2,26 +2,31 @@ DESCRIPTION = "Web server"
SECTION = "net"
LICENSE = "BSD"
DEPENDS = "libpcre"
-PR = "r3"
-
-SRC_URI = "http://www.lighttpd.net/download/lighttpd-${PV}.tar.gz \
- file://configure.in.patch;patch=1 \
- file://mod_redirect.c.patch;patch=1 \
- file://src-server.c.patch;patch=1 \
- file://index.html \
- file://lighttpd.conf \
- file://lighttpd"
-
-EXTRA_OECONF="--without-bzip2 \
- --without-ldap \
- --without-lua \
- --without-memcache \
- --with-pcre \
- --without-webdav-props \
- --without-webdav-locks \
- --without-openssl \
- --disable-nls \
- --disable-static"
+PR = "r4"
+
+RDEPENDS_${PN} += " \
+ lighttpd-module-indexfile"
+
+SRC_URI = " \
+ http://www.lighttpd.net/download/lighttpd-${PV}.tar.gz \
+ file://configure.in.patch;patch=1 \
+ file://mod_redirect.c.patch;patch=1 \
+ file://src-server.c.patch;patch=1 \
+ file://index.html \
+ file://lighttpd.conf \
+ file://lighttpd"
+
+EXTRA_OECONF=" \
+ --without-bzip2 \
+ --without-ldap \
+ --without-lua \
+ --without-memcache \
+ --with-pcre \
+ --without-webdav-props \
+ --without-webdav-locks \
+ --without-openssl \
+ --disable-nls \
+ --disable-static"
inherit autotools pkgconfig update-rc.d
@@ -44,6 +49,6 @@ FILES_${PN} += "${sysconfdir} /www"
PACKAGES_DYNAMIC = "lighttpd-module-*"
python populate_packages_prepend () {
- lighttpd_libdir = bb.data.expand('${libdir}', d)
- do_split_packages(d, lighttpd_libdir, '^mod_(.*)\.so$',
'lighttpd-module-%s', 'Lighttpd module for %s', extra_depends='')
+ lighttpd_libdir = bb.data.expand('${libdir}', d)
+ do_split_packages(d, lighttpd_libdir, '^mod_(.*)\.so$',
'lighttpd-module-%s', 'Lighttpd module for %s', extra_depends='')
}
More information about the Openembedded-devel
mailing list