summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb')
-rw-r--r--meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
index 560dd9b6e4..8a30b74c81 100644
--- a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
+++ b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb
@@ -20,7 +20,7 @@ S = "${WORKDIR}/git"
20inherit autotools update-rc.d systemd update-alternatives 20inherit autotools update-rc.d systemd update-alternatives
21 21
22ALTERNATIVE_PRIORITY = "100" 22ALTERNATIVE_PRIORITY = "100"
23ALTERNATIVE_${PN}-doc = "htpasswd.1" 23ALTERNATIVE:${PN}-doc = "htpasswd.1"
24ALTERNATIVE_LINK_NAME[htpasswd.1] = "${mandir}/man1/htpasswd.1" 24ALTERNATIVE_LINK_NAME[htpasswd.1] = "${mandir}/man1/htpasswd.1"
25 25
26SRV_DIR ?= "${servicedir}/www" 26SRV_DIR ?= "${servicedir}/www"
@@ -29,12 +29,12 @@ SRV_DIR ?= "${servicedir}/www"
29# but ${SRV_DIR} is not installed chgrp'd to the group by default. 29# but ${SRV_DIR} is not installed chgrp'd to the group by default.
30WEBGROUP ?= "www-data" 30WEBGROUP ?= "www-data"
31 31
32do_configure_prepend () { 32do_configure:prepend () {
33 export WEBDIR=${SRV_DIR} 33 export WEBDIR=${SRV_DIR}
34 export WEBGROUP=${WEBGROUP} 34 export WEBGROUP=${WEBGROUP}
35} 35}
36 36
37do_install_append () { 37do_install:append () {
38 install -d ${D}${sysconfdir}/init.d 38 install -d ${D}${sysconfdir}/init.d
39 install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/thttpd 39 install -c -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/thttpd
40 install -c -m 755 ${WORKDIR}/thttpd.conf ${D}${sysconfdir} 40 install -c -m 755 ${WORKDIR}/thttpd.conf ${D}${sysconfdir}
@@ -52,7 +52,7 @@ do_install_append () {
52INITSCRIPT_NAME = "thttpd" 52INITSCRIPT_NAME = "thttpd"
53INITSCRIPT_PARAMS = "defaults" 53INITSCRIPT_PARAMS = "defaults"
54 54
55SYSTEMD_SERVICE_${PN} = "thttpd.service" 55SYSTEMD_SERVICE:${PN} = "thttpd.service"
56 56
57FILES_${PN} += "${SRV_DIR}" 57FILES:${PN} += "${SRV_DIR}"
58FILES_${PN}-dbg += "${SRV_DIR}/cgi-bin/.debug" 58FILES:${PN}-dbg += "${SRV_DIR}/cgi-bin/.debug"