diff options
| -rw-r--r-- | meta/recipes-extended/lighttpd/lighttpd/lighttpd.conf | 3 | ||||
| -rw-r--r-- | meta/recipes-extended/lighttpd/lighttpd_1.4.33.bb | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-extended/lighttpd/lighttpd/lighttpd.conf b/meta/recipes-extended/lighttpd/lighttpd/lighttpd.conf index 3342470cec..6e8402d242 100644 --- a/meta/recipes-extended/lighttpd/lighttpd/lighttpd.conf +++ b/meta/recipes-extended/lighttpd/lighttpd/lighttpd.conf | |||
| @@ -326,3 +326,6 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) | |||
| 326 | #include_shell "echo var.a=1" | 326 | #include_shell "echo var.a=1" |
| 327 | ## the above is same as: | 327 | ## the above is same as: |
| 328 | #var.a=1 | 328 | #var.a=1 |
| 329 | |||
| 330 | # include other config file fragments from lighttpd.d subdir | ||
| 331 | include_shell "find /etc/lighttpd.d -maxdepth 1 -name '*.conf' -exec cat {} \;" | ||
diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.33.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.33.bb index 2ddab16498..2ea5f85b15 100644 --- a/meta/recipes-extended/lighttpd/lighttpd_1.4.33.bb +++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.33.bb | |||
| @@ -5,6 +5,7 @@ BUGTRACKER = "http://redmine.lighttpd.net/projects/lighttpd/issues" | |||
| 5 | LICENSE = "BSD" | 5 | LICENSE = "BSD" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4dac5c6ab169aa212feb5028853a579" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4dac5c6ab169aa212feb5028853a579" |
| 7 | 7 | ||
| 8 | PR = "r1" | ||
| 8 | 9 | ||
| 9 | SECTION = "net" | 10 | SECTION = "net" |
| 10 | DEPENDS = "zlib libpcre" | 11 | DEPENDS = "zlib libpcre" |
| @@ -47,7 +48,7 @@ INITSCRIPT_PARAMS = "defaults 70" | |||
| 47 | SYSTEMD_SERVICE_${PN} = "lighttpd.service" | 48 | SYSTEMD_SERVICE_${PN} = "lighttpd.service" |
| 48 | 49 | ||
| 49 | do_install_append() { | 50 | do_install_append() { |
| 50 | install -d ${D}${sysconfdir}/init.d ${D}/www/pages/dav | 51 | install -d ${D}${sysconfdir}/init.d ${D}${sysconfdir}/lighttpd.d ${D}/www/pages/dav |
| 51 | install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d | 52 | install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d |
| 52 | install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} | 53 | install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} |
| 53 | install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html | 54 | install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html |
