diff options
author | Marco Trillo <martri@arantia.com> | 2016-05-19 08:46:33 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-27 15:39:10 +0200 |
commit | ab22ea3411f25e585489ede74dd4f8b92f69acdc (patch) | |
tree | bdc43a67d982f581b2a0ab30f6aa609f5ca37d3d /meta-webserver | |
parent | 02b52eec17f0e92ac6ce77bcaac5013edcf3ea52 (diff) | |
download | meta-openembedded-ab22ea3411f25e585489ede74dd4f8b92f69acdc.tar.gz |
sthttpd: update to 2.27.0
Update sthttpd to release 2.27.0.
The variable WEBGROUP is introduced to allow configuring the group used
for the special ${sbindir}/makeweb tool, which in 2.27.0 is installed
setgid to this group by default, whereas in 2.26.4 it was not.
sthttpd 2.27 uses `thttpd' as the default value; here, the more
standard `www-data' group is used by default.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver')
-rw-r--r-- | meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb (renamed from meta-webserver/recipes-httpd/sthttpd/sthttpd_2.26.4.bb) | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.26.4.bb b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb index 703492167..efa533a7d 100644 --- a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.26.4.bb +++ b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb | |||
@@ -9,8 +9,8 @@ SRC_URI = "http://opensource.dyc.edu/pub/sthttpd/sthttpd-${PV}.tar.gz \ | |||
9 | file://thttpd.conf \ | 9 | file://thttpd.conf \ |
10 | file://init" | 10 | file://init" |
11 | 11 | ||
12 | SRC_URI[md5sum] = "e645a85a97d3cb883011a35bc2211815" | 12 | SRC_URI[md5sum] = "f7dd2d506dc5fad2ad8794b1800d2634" |
13 | SRC_URI[sha256sum] = "78e87979140cbda123c81b4051552242dbbffb5dec1a17e5f95ec4826b1eaddb" | 13 | SRC_URI[sha256sum] = "97d660a881331e93818e872ce11536f461105d70a18dfc5de5895851c4b2afdb" |
14 | 14 | ||
15 | S = "${WORKDIR}/sthttpd-${PV}" | 15 | S = "${WORKDIR}/sthttpd-${PV}" |
16 | 16 | ||
@@ -18,7 +18,14 @@ inherit autotools update-rc.d systemd | |||
18 | 18 | ||
19 | SRV_DIR ?= "${servicedir}/www" | 19 | SRV_DIR ?= "${servicedir}/www" |
20 | 20 | ||
21 | EXTRA_OEMAKE += "'WEBDIR=${SRV_DIR}'" | 21 | # Note that `${sbindir}/makeweb' is installed setgid to this group, |
22 | # but ${SRV_DIR} is not installed chgrp'd to the group by default. | ||
23 | WEBGROUP ?= "www-data" | ||
24 | |||
25 | do_configure_prepend () { | ||
26 | export WEBDIR=${SRV_DIR} | ||
27 | export WEBGROUP=${WEBGROUP} | ||
28 | } | ||
22 | 29 | ||
23 | do_install_append () { | 30 | do_install_append () { |
24 | install -d ${D}${sysconfdir}/init.d | 31 | install -d ${D}${sysconfdir}/init.d |