summaryrefslogtreecommitdiff
path: root/recipes-core/lighttpd/lighttpd_1.4.48.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/lighttpd/lighttpd_1.4.48.bb')
-rw-r--r--recipes-core/lighttpd/lighttpd_1.4.48.bb13
1 files changed, 3 insertions, 10 deletions
diff --git a/recipes-core/lighttpd/lighttpd_1.4.48.bb b/recipes-core/lighttpd/lighttpd_1.4.48.bb
index 776acc9..19e6cf2 100644
--- a/recipes-core/lighttpd/lighttpd_1.4.48.bb
+++ b/recipes-core/lighttpd/lighttpd_1.4.48.bb
@@ -5,7 +5,6 @@ BUGTRACKER = "http://redmine.lighttpd.net/projects/lighttpd/issues"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=e4dac5c6ab169aa212feb5028853a579"
-PR .= ".mts21"
SECTION = "net"
DEPENDS = "zlib libpcre openssl"
@@ -22,13 +21,11 @@ RDEPENDS_${PN} += " \
"
RDEPENDS_${PN} += " openssl"
# for lighttpd_custom_images_setup script
-RDEPENDS_${PN} += "bash file file-magic-db-images"
SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.gz \
file://lighttpd.conf \
- file://lighttpd_nrs.conf \
- file://lighttpd_custom_images_setup \
+ file://lighttpd.init \
file://0001-lighttpd-pcre-use-pkg-config.patch;apply=true \
file://0004_fastcgi_env_with_unixsocket.patch;apply=true \
"
@@ -64,16 +61,13 @@ do_install_append() {
install -d ${D}${sysconfdir}/init.d ${D}${sysconfdir}/lighttpd.d ${D}/www/pages/dav
install -d 0644 ${D}${sysconfdir}/ssl
install -m 0755 --group www -d ${D}${localstatedir}/www
+# install -m 0755 ${WORKDIR}/lighttpd.init ${D}${sysconfdir}/init.d/lighttpd
install -m 0644 --group www ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}
- install -m 0644 --group www ${WORKDIR}/lighttpd_nrs.conf ${D}${sysconfdir}
#For FHS compliance, create symbolic links to /var/log and /var/tmp for logs and temporary data
ln -sf ${localstatedir}/log ${D}/www/logs
ln -sf ${localstatedir}/tmp ${D}/www/var
- ln -snf ../volatile/www/tmp ${D}${localstatedir}/www/tmp
-
- install -d ${D}/${base_sbindir}
- install -m 755 ${WORKDIR}/lighttpd_custom_images_setup ${D}/${base_sbindir}/lighttpd_custom_images_setup
+ ln -snf ../volatile/www/tmp ${D}${localstatedir}/www/tmp}
}
do_install_append_mtr() {
@@ -87,7 +81,6 @@ do_install_append_mtrv1() {
FILES_${PN} += "${sysconfdir} /www"
CONFFILES_${PN} = "${sysconfdir}/lighttpd.conf \
- ${sysconfdir}/lighttpd_nrs.conf \
"
PACKAGES_DYNAMIC += "^lighttpd-module-.*"