summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lighttpd
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-extended/lighttpd
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/lighttpd')
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb
index cf7f478915..f97c5913b8 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb
@@ -7,10 +7,10 @@ LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://COPYING;md5=e4dac5c6ab169aa212feb5028853a579" 7LIC_FILES_CHKSUM = "file://COPYING;md5=e4dac5c6ab169aa212feb5028853a579"
8 8
9SECTION = "net" 9SECTION = "net"
10RDEPENDS_${PN} = "lighttpd-module-dirlisting \ 10RDEPENDS:${PN} = "lighttpd-module-dirlisting \
11 lighttpd-module-indexfile \ 11 lighttpd-module-indexfile \
12 lighttpd-module-staticfile" 12 lighttpd-module-staticfile"
13RRECOMMENDS_${PN} = "lighttpd-module-access \ 13RRECOMMENDS:${PN} = "lighttpd-module-access \
14 lighttpd-module-accesslog" 14 lighttpd-module-accesslog"
15 15
16SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.xz \ 16SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.xz \
@@ -52,9 +52,9 @@ inherit autotools pkgconfig update-rc.d gettext systemd
52INITSCRIPT_NAME = "lighttpd" 52INITSCRIPT_NAME = "lighttpd"
53INITSCRIPT_PARAMS = "defaults 70" 53INITSCRIPT_PARAMS = "defaults 70"
54 54
55SYSTEMD_SERVICE_${PN} = "lighttpd.service" 55SYSTEMD_SERVICE:${PN} = "lighttpd.service"
56 56
57do_install_append() { 57do_install:append() {
58 install -d ${D}${sysconfdir}/init.d ${D}${sysconfdir}/lighttpd ${D}${sysconfdir}/lighttpd.d ${D}/www/pages/dav 58 install -d ${D}${sysconfdir}/init.d ${D}${sysconfdir}/lighttpd ${D}${sysconfdir}/lighttpd.d ${D}/www/pages/dav
59 install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d 59 install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d
60 install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}/lighttpd 60 install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir}/lighttpd
@@ -71,13 +71,13 @@ do_install_append() {
71 ln -sf ${localstatedir}/tmp ${D}/www/var 71 ln -sf ${localstatedir}/tmp ${D}/www/var
72} 72}
73 73
74FILES_${PN} += "${sysconfdir} /www" 74FILES:${PN} += "${sysconfdir} /www"
75 75
76CONFFILES_${PN} = "${sysconfdir}/lighttpd/lighttpd.conf" 76CONFFILES:${PN} = "${sysconfdir}/lighttpd/lighttpd.conf"
77 77
78PACKAGES_DYNAMIC += "^lighttpd-module-.*" 78PACKAGES_DYNAMIC += "^lighttpd-module-.*"
79 79
80python populate_packages_prepend () { 80python populate_packages:prepend () {
81 lighttpd_libdir = d.expand('${libdir}') 81 lighttpd_libdir = d.expand('${libdir}')
82 do_split_packages(d, lighttpd_libdir, r'^mod_(.*)\.so$', 'lighttpd-module-%s', 'Lighttpd module for %s', extra_depends='') 82 do_split_packages(d, lighttpd_libdir, r'^mod_(.*)\.so$', 'lighttpd-module-%s', 'Lighttpd module for %s', extra_depends='')
83} 83}