diff options
Diffstat (limited to 'meta/recipes-extended/lighttpd/lighttpd_1.4.53.bb')
-rw-r--r-- | meta/recipes-extended/lighttpd/lighttpd_1.4.53.bb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.53.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.53.bb index a58faa17be..a0b350f358 100644 --- a/meta/recipes-extended/lighttpd/lighttpd_1.4.53.bb +++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.53.bb | |||
@@ -16,7 +16,6 @@ SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t | |||
16 | file://index.html.lighttpd \ | 16 | file://index.html.lighttpd \ |
17 | file://lighttpd.conf \ | 17 | file://lighttpd.conf \ |
18 | file://lighttpd \ | 18 | file://lighttpd \ |
19 | file://lighttpd.service \ | ||
20 | file://0001-Use-pkg-config-for-pcre-dependency-instead-of-config.patch \ | 19 | file://0001-Use-pkg-config-for-pcre-dependency-instead-of-config.patch \ |
21 | " | 20 | " |
22 | 21 | ||
@@ -57,13 +56,13 @@ INITSCRIPT_PARAMS = "defaults 70" | |||
57 | SYSTEMD_SERVICE_${PN} = "lighttpd.service" | 56 | SYSTEMD_SERVICE_${PN} = "lighttpd.service" |
58 | 57 | ||
59 | do_install_append() { | 58 | do_install_append() { |
60 | install -d ${D}${sysconfdir}/init.d ${D}${sysconfdir}/lighttpd.d ${D}/www/pages/dav | 59 | install -d ${D}${sysconfdir}/init.d ${D}${sysconfdir}/lighttpd ${D}${sysconfdir}/lighttpd.d ${D}/www/pages/dav |
61 | install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d | 60 | install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d |
62 | install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} | 61 | install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}/lighttpd |
63 | install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html | 62 | install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html |
64 | 63 | ||
65 | install -d ${D}${systemd_unitdir}/system | 64 | install -d ${D}${systemd_unitdir}/system |
66 | install -m 0644 ${WORKDIR}/lighttpd.service ${D}${systemd_unitdir}/system | 65 | install -m 0644 ${S}/doc/systemd/lighttpd.service ${D}${systemd_unitdir}/system |
67 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ | 66 | sed -i -e 's,@SBINDIR@,${sbindir},g' \ |
68 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ | 67 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ |
69 | -e 's,@BASE_BINDIR@,${base_bindir},g' \ | 68 | -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
@@ -75,7 +74,7 @@ do_install_append() { | |||
75 | 74 | ||
76 | FILES_${PN} += "${sysconfdir} /www" | 75 | FILES_${PN} += "${sysconfdir} /www" |
77 | 76 | ||
78 | CONFFILES_${PN} = "${sysconfdir}/lighttpd.conf" | 77 | CONFFILES_${PN} = "${sysconfdir}/lighttpd/lighttpd.conf" |
79 | 78 | ||
80 | PACKAGES_DYNAMIC += "^lighttpd-module-.*" | 79 | PACKAGES_DYNAMIC += "^lighttpd-module-.*" |
81 | 80 | ||