diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:04:53 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 10:21:25 -0700 |
| commit | c61dc077bbd81260e4f167fa2251643ba0ba6974 (patch) | |
| tree | 66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-webserver/recipes-httpd | |
| parent | c5f7cfb8db54cfa4257797db5bd87828dea43296 (diff) | |
| download | meta-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')
7 files changed, 60 insertions, 60 deletions
diff --git a/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb index 0ef2bd7f45..884d467eec 100644 --- a/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb +++ b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb | |||
| @@ -7,7 +7,7 @@ LICENSE = "Apache-2.0" | |||
| 7 | inherit autotools-brokensep pkgconfig | 7 | inherit autotools-brokensep pkgconfig |
| 8 | 8 | ||
| 9 | DEPENDS = "apache2 apache2-native pbzip2-native" | 9 | DEPENDS = "apache2 apache2-native pbzip2-native" |
| 10 | RDEPENDS_${PN} += "apache2" | 10 | RDEPENDS:${PN} += "apache2" |
| 11 | 11 | ||
| 12 | # Original (github.com/disconnect/apache-websocket) is dead since 2012, the | 12 | # Original (github.com/disconnect/apache-websocket) is dead since 2012, the |
| 13 | # fork contains patches from the modules ML and fixes CVE compliance issues | 13 | # fork contains patches from the modules ML and fixes CVE compliance issues |
| @@ -29,5 +29,5 @@ do_install() { | |||
| 29 | install -m 755 ${B}/.libs/mod_websocket.so ${D}${libexecdir}/apache2/modules | 29 | install -m 755 ${B}/.libs/mod_websocket.so ${D}${libexecdir}/apache2/modules |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | FILES_${PN} += " ${libexecdir}/apache2/modules/* " | 32 | FILES:${PN} += " ${libexecdir}/apache2/modules/* " |
| 33 | FILES_${PN}-dbg += " ${libexecdir}/apache2/modules/.debug/* " | 33 | FILES:${PN}-dbg += " ${libexecdir}/apache2/modules/.debug/* " |
diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.48.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.48.bb index 3a851167cf..1ac4fcbf26 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.48.bb +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.48.bb | |||
| @@ -17,7 +17,7 @@ SRC_URI = "${APACHE_MIRROR}/httpd/httpd-${PV}.tar.bz2 \ | |||
| 17 | file://0001-support-apxs.in-force-destdir-to-be-empty-string.patch \ | 17 | file://0001-support-apxs.in-force-destdir-to-be-empty-string.patch \ |
| 18 | " | 18 | " |
| 19 | 19 | ||
| 20 | SRC_URI_append_class-target = " \ | 20 | SRC_URI:append:class-target = " \ |
| 21 | file://0008-apache2-do-not-use-relative-path-for-gen_test_char.patch \ | 21 | file://0008-apache2-do-not-use-relative-path-for-gen_test_char.patch \ |
| 22 | file://init \ | 22 | file://init \ |
| 23 | file://apache2-volatile.conf \ | 23 | file://apache2-volatile.conf \ |
| @@ -44,9 +44,9 @@ PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselin | |||
| 44 | PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap" | 44 | PACKAGECONFIG[openldap] = "--enable-ldap --enable-authnz-ldap,--disable-ldap --disable-authnz-ldap,openldap" |
| 45 | PACKAGECONFIG[zlib] = "--enable-deflate,,zlib,zlib" | 45 | PACKAGECONFIG[zlib] = "--enable-deflate,,zlib,zlib" |
| 46 | 46 | ||
| 47 | CFLAGS_append = " -DPATH_MAX=4096" | 47 | CFLAGS:append = " -DPATH_MAX=4096" |
| 48 | 48 | ||
| 49 | EXTRA_OECONF_class-target = "\ | 49 | EXTRA_OECONF:class-target = "\ |
| 50 | --enable-layout=Debian \ | 50 | --enable-layout=Debian \ |
| 51 | --prefix=${base_prefix} \ | 51 | --prefix=${base_prefix} \ |
| 52 | --exec_prefix=${exec_prefix} \ | 52 | --exec_prefix=${exec_prefix} \ |
| @@ -68,7 +68,7 @@ EXTRA_OECONF_class-target = "\ | |||
| 68 | ac_cv_have_threadsafe_pollset=no \ | 68 | ac_cv_have_threadsafe_pollset=no \ |
| 69 | " | 69 | " |
| 70 | 70 | ||
| 71 | EXTRA_OECONF_class-native = "\ | 71 | EXTRA_OECONF:class-native = "\ |
| 72 | --prefix=${prefix} \ | 72 | --prefix=${prefix} \ |
| 73 | --includedir=${includedir}/${BPN} \ | 73 | --includedir=${includedir}/${BPN} \ |
| 74 | --sysconfdir=${sysconfdir}/${BPN} \ | 74 | --sysconfdir=${sysconfdir}/${BPN} \ |
| @@ -78,11 +78,11 @@ EXTRA_OECONF_class-native = "\ | |||
| 78 | --localstatedir=${localstatedir} \ | 78 | --localstatedir=${localstatedir} \ |
| 79 | " | 79 | " |
| 80 | 80 | ||
| 81 | do_configure_prepend() { | 81 | do_configure:prepend() { |
| 82 | sed -i -e 's:$''{prefix}/usr/lib/cgi-bin:$''{libexecdir}/cgi-bin:g' ${S}/config.layout | 82 | sed -i -e 's:$''{prefix}/usr/lib/cgi-bin:$''{libexecdir}/cgi-bin:g' ${S}/config.layout |
| 83 | } | 83 | } |
| 84 | 84 | ||
| 85 | do_install_append_class-target() { | 85 | do_install:append:class-target() { |
| 86 | install -d ${D}/${sysconfdir}/init.d | 86 | install -d ${D}/${sysconfdir}/init.d |
| 87 | 87 | ||
| 88 | cat ${WORKDIR}/init | \ | 88 | cat ${WORKDIR}/init | \ |
| @@ -144,12 +144,12 @@ do_install_append_class-target() { | |||
| 144 | chown -R root:root ${D} | 144 | chown -R root:root ${D} |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | do_install_append_class-native() { | 147 | do_install:append:class-native() { |
| 148 | install -d ${D}${bindir} ${D}${libdir} | 148 | install -d ${D}${bindir} ${D}${libdir} |
| 149 | install -m 755 server/gen_test_char ${D}${bindir} | 149 | install -m 755 server/gen_test_char ${D}${bindir} |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | SYSROOT_PREPROCESS_FUNCS_append_class-target = " apache_sysroot_preprocess" | 152 | SYSROOT_PREPROCESS_FUNCS:append:class-target = " apache_sysroot_preprocess" |
| 153 | 153 | ||
| 154 | apache_sysroot_preprocess() { | 154 | apache_sysroot_preprocess() { |
| 155 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts} | 155 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts} |
| @@ -172,15 +172,15 @@ apache_sysroot_preprocess() { | |||
| 172 | INITSCRIPT_NAME = "apache2" | 172 | INITSCRIPT_NAME = "apache2" |
| 173 | INITSCRIPT_PARAMS = "defaults 91 20" | 173 | INITSCRIPT_PARAMS = "defaults 91 20" |
| 174 | 174 | ||
| 175 | SYSTEMD_SERVICE_${PN} = "apache2.service" | 175 | SYSTEMD_SERVICE:${PN} = "apache2.service" |
| 176 | SYSTEMD_AUTO_ENABLE_${PN} = "enable" | 176 | SYSTEMD_AUTO_ENABLE:${PN} = "enable" |
| 177 | 177 | ||
| 178 | ALTERNATIVE_${PN}-doc = "htpasswd.1" | 178 | ALTERNATIVE:${PN}-doc = "htpasswd.1" |
| 179 | ALTERNATIVE_LINK_NAME[htpasswd.1] = "${mandir}/man1/htpasswd.1" | 179 | ALTERNATIVE_LINK_NAME[htpasswd.1] = "${mandir}/man1/htpasswd.1" |
| 180 | 180 | ||
| 181 | PACKAGES = "${PN}-scripts ${PN}-doc ${PN}-dev ${PN}-dbg ${PN}" | 181 | PACKAGES = "${PN}-scripts ${PN}-doc ${PN}-dev ${PN}-dbg ${PN}" |
| 182 | 182 | ||
| 183 | CONFFILES_${PN} = "${sysconfdir}/${BPN}/httpd.conf \ | 183 | CONFFILES:${PN} = "${sysconfdir}/${BPN}/httpd.conf \ |
| 184 | ${sysconfdir}/${BPN}/magic \ | 184 | ${sysconfdir}/${BPN}/magic \ |
| 185 | ${sysconfdir}/${BPN}/mime.types \ | 185 | ${sysconfdir}/${BPN}/mime.types \ |
| 186 | ${sysconfdir}/${BPN}/extra/*" | 186 | ${sysconfdir}/${BPN}/extra/*" |
| @@ -188,7 +188,7 @@ CONFFILES_${PN} = "${sysconfdir}/${BPN}/httpd.conf \ | |||
| 188 | # We override here rather than append so that .so links are | 188 | # We override here rather than append so that .so links are |
| 189 | # included in the runtime package rather than here (-dev) | 189 | # included in the runtime package rather than here (-dev) |
| 190 | # and to get build, icons, error into the -dev package | 190 | # and to get build, icons, error into the -dev package |
| 191 | FILES_${PN}-dev = "${datadir}/${BPN}/build \ | 191 | FILES:${PN}-dev = "${datadir}/${BPN}/build \ |
| 192 | ${datadir}/${BPN}/icons \ | 192 | ${datadir}/${BPN}/icons \ |
| 193 | ${datadir}/${BPN}/error \ | 193 | ${datadir}/${BPN}/error \ |
| 194 | ${includedir}/${BPN} \ | 194 | ${includedir}/${BPN} \ |
| @@ -196,26 +196,26 @@ FILES_${PN}-dev = "${datadir}/${BPN}/build \ | |||
| 196 | " | 196 | " |
| 197 | 197 | ||
| 198 | # Add the manual to -doc | 198 | # Add the manual to -doc |
| 199 | FILES_${PN}-doc += " ${datadir}/${BPN}/manual" | 199 | FILES:${PN}-doc += " ${datadir}/${BPN}/manual" |
| 200 | 200 | ||
| 201 | FILES_${PN}-scripts += "${bindir}/dbmmanage" | 201 | FILES:${PN}-scripts += "${bindir}/dbmmanage" |
| 202 | 202 | ||
| 203 | # Override this too - here is the default, less datadir | 203 | # Override this too - here is the default, less datadir |
| 204 | FILES_${PN} = "${bindir} ${sbindir} ${libexecdir} ${libdir} \ | 204 | FILES:${PN} = "${bindir} ${sbindir} ${libexecdir} ${libdir} \ |
| 205 | ${sysconfdir} ${libdir}/${BPN}" | 205 | ${sysconfdir} ${libdir}/${BPN}" |
| 206 | 206 | ||
| 207 | # We want htdocs and cgi-bin to go with the binary | 207 | # We want htdocs and cgi-bin to go with the binary |
| 208 | FILES_${PN} += "${datadir}/${BPN}/ ${libdir}/cgi-bin" | 208 | FILES:${PN} += "${datadir}/${BPN}/ ${libdir}/cgi-bin" |
| 209 | 209 | ||
| 210 | FILES_${PN}-dbg += "${libdir}/${BPN}/modules/.debug" | 210 | FILES:${PN}-dbg += "${libdir}/${BPN}/modules/.debug" |
| 211 | 211 | ||
| 212 | RDEPENDS_${PN} += "openssl libgcc" | 212 | RDEPENDS:${PN} += "openssl libgcc" |
| 213 | RDEPENDS_${PN}-scripts += "perl ${PN}" | 213 | RDEPENDS:${PN}-scripts += "perl ${PN}" |
| 214 | RDEPENDS_${PN}-dev = "perl" | 214 | RDEPENDS:${PN}-dev = "perl" |
| 215 | 215 | ||
| 216 | BBCLASSEXTEND = "native" | 216 | BBCLASSEXTEND = "native" |
| 217 | 217 | ||
| 218 | pkg_postinst_${PN}() { | 218 | pkg_postinst:${PN}() { |
| 219 | if [ -z "$D" ]; then | 219 | if [ -z "$D" ]; then |
| 220 | if type systemd-tmpfiles >/dev/null; then | 220 | if type systemd-tmpfiles >/dev/null; then |
| 221 | systemd-tmpfiles --create | 221 | systemd-tmpfiles --create |
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb index 7424467946..7077d76d7a 100644 --- a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb +++ b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | SUMMARY = "Cherokee Web Server fast and secure" | 1 | SUMMARY = "Cherokee Web Server fast and secure" |
| 2 | SUMMARY_cget = "Small downloader based in the Cherokee client library" | 2 | SUMMARY:cget = "Small downloader based in the Cherokee client library" |
| 3 | HOMEPAGE = "http://www.cherokee-project.com/" | 3 | HOMEPAGE = "http://www.cherokee-project.com/" |
| 4 | SECTION = "network" | 4 | SECTION = "network" |
| 5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
| @@ -34,7 +34,7 @@ EXTRA_OECONF = "--disable-static \ | |||
| 34 | --with-wwwroot=${localstatedir}/www/cherokee \ | 34 | --with-wwwroot=${localstatedir}/www/cherokee \ |
| 35 | " | 35 | " |
| 36 | 36 | ||
| 37 | do_install_append () { | 37 | do_install:append () { |
| 38 | install -m 0755 -d ${D}${sysconfdir}/init.d | 38 | install -m 0755 -d ${D}${sysconfdir}/init.d |
| 39 | install -m 755 ${WORKDIR}/cherokee.init ${D}${sysconfdir}/init.d/cherokee | 39 | install -m 755 ${WORKDIR}/cherokee.init ${D}${sysconfdir}/init.d/cherokee |
| 40 | 40 | ||
| @@ -50,15 +50,15 @@ do_install_append () { | |||
| 50 | # Put -dev near the front so we can move the .la files into it with a wildcard | 50 | # Put -dev near the front so we can move the .la files into it with a wildcard |
| 51 | PACKAGES =+ "libcherokee-server libcherokee-client libcherokee-base cget" | 51 | PACKAGES =+ "libcherokee-server libcherokee-client libcherokee-base cget" |
| 52 | 52 | ||
| 53 | FILES_cget = "${bindir}/cget" | 53 | FILES:cget = "${bindir}/cget" |
| 54 | FILES_libcherokee-server = "${libdir}/libcherokee-server${SOLIBS}" | 54 | FILES:libcherokee-server = "${libdir}/libcherokee-server${SOLIBS}" |
| 55 | FILES_libcherokee-client = "${libdir}/libcherokee-client${SOLIBS}" | 55 | FILES:libcherokee-client = "${libdir}/libcherokee-client${SOLIBS}" |
| 56 | FILES_libcherokee-base = "${libdir}/libcherokee-base${SOLIBS}" | 56 | FILES:libcherokee-base = "${libdir}/libcherokee-base${SOLIBS}" |
| 57 | 57 | ||
| 58 | # Pack the htdocs | 58 | # Pack the htdocs |
| 59 | FILES_${PN} += "${localstatedir}/www/cherokee" | 59 | FILES:${PN} += "${localstatedir}/www/cherokee" |
| 60 | 60 | ||
| 61 | CONFFILES_${PN} = " \ | 61 | CONFFILES:${PN} = " \ |
| 62 | ${sysconfdir}/cherokee/cherokee.conf \ | 62 | ${sysconfdir}/cherokee/cherokee.conf \ |
| 63 | ${sysconfdir}/init.d/cherokee \ | 63 | ${sysconfdir}/init.d/cherokee \ |
| 64 | " | 64 | " |
| @@ -66,10 +66,10 @@ CONFFILES_${PN} = " \ | |||
| 66 | INITSCRIPT_NAME = "cherokee" | 66 | INITSCRIPT_NAME = "cherokee" |
| 67 | INITSCRIPT_PARAMS = "defaults 91 91" | 67 | INITSCRIPT_PARAMS = "defaults 91 91" |
| 68 | 68 | ||
| 69 | RPROVIDES_${PN} += "${PN}-systemd" | 69 | RPROVIDES:${PN} += "${PN}-systemd" |
| 70 | RREPLACES_${PN} += "${PN}-systemd" | 70 | RREPLACES:${PN} += "${PN}-systemd" |
| 71 | RCONFLICTS_${PN} += "${PN}-systemd" | 71 | RCONFLICTS:${PN} += "${PN}-systemd" |
| 72 | SYSTEMD_SERVICE_${PN} = "cherokee.service" | 72 | SYSTEMD_SERVICE:${PN} = "cherokee.service" |
| 73 | 73 | ||
| 74 | python() { | 74 | python() { |
| 75 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): | 75 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): |
diff --git a/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb b/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb index 4b902bfda6..f66ec7d736 100644 --- a/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb +++ b/meta-webserver/recipes-httpd/hiawatha/hiawatha_10.12.bb | |||
| @@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "61bf41146c51244769984135529fcffd0f6cb92be18dc12d460effc42f | |||
| 16 | INITSCRIPT_NAME = "hiawatha" | 16 | INITSCRIPT_NAME = "hiawatha" |
| 17 | INITSCRIPT_PARAMS = "defaults 70" | 17 | INITSCRIPT_PARAMS = "defaults 70" |
| 18 | 18 | ||
| 19 | SYSTEMD_SERVICE_${PN} = "hiawatha.service" | 19 | SYSTEMD_SERVICE:${PN} = "hiawatha.service" |
| 20 | 20 | ||
| 21 | inherit cmake update-rc.d systemd | 21 | inherit cmake update-rc.d systemd |
| 22 | 22 | ||
| @@ -35,7 +35,7 @@ EXTRA_OECMAKE = " -DENABLE_IPV6=OFF \ | |||
| 35 | -DCMAKE_INSTALL_LIBDIR=${libdir} \ | 35 | -DCMAKE_INSTALL_LIBDIR=${libdir} \ |
| 36 | -DCMAKE_INSTALL_FULL_LOCALSTATEDIR=${localstatedir}" | 36 | -DCMAKE_INSTALL_FULL_LOCALSTATEDIR=${localstatedir}" |
| 37 | 37 | ||
| 38 | do_install_append() { | 38 | do_install:append() { |
| 39 | # Copy over init script and sed in the correct sbin path | 39 | # Copy over init script and sed in the correct sbin path |
| 40 | sed -i 's,sed_sbin_path,${sbindir},' ${WORKDIR}/hiawatha-init | 40 | sed -i 's,sed_sbin_path,${sbindir},' ${WORKDIR}/hiawatha-init |
| 41 | mkdir -p ${D}${sysconfdir}/init.d | 41 | mkdir -p ${D}${sysconfdir}/init.d |
| @@ -53,7 +53,7 @@ do_install_append() { | |||
| 53 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" "${D}${localstatedir}/run" | 53 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" "${D}${localstatedir}/run" |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | CONFFILES_${PN} = " \ | 56 | CONFFILES:${PN} = " \ |
| 57 | ${sysconfdir}/hiawatha/cgi-wrapper.conf \ | 57 | ${sysconfdir}/hiawatha/cgi-wrapper.conf \ |
| 58 | ${sysconfdir}/hiawatha/hiawatha.conf \ | 58 | ${sysconfdir}/hiawatha/hiawatha.conf \ |
| 59 | ${sysconfdir}/hiawatha/index.xslt \ | 59 | ${sysconfdir}/hiawatha/index.xslt \ |
| @@ -61,4 +61,4 @@ CONFFILES_${PN} = " \ | |||
| 61 | ${sysconfdir}/hiawatha/php-fcgi.conf \ | 61 | ${sysconfdir}/hiawatha/php-fcgi.conf \ |
| 62 | " | 62 | " |
| 63 | 63 | ||
| 64 | FILES_${PN}-dev = "${libdir}/hiawatha/*${SOLIBSDEV}" | 64 | FILES:${PN}-dev = "${libdir}/hiawatha/*${SOLIBSDEV}" |
diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.6.9.bb b/meta-webserver/recipes-httpd/monkey/monkey_1.6.9.bb index 698f8608fd..1386770c8a 100644 --- a/meta-webserver/recipes-httpd/monkey/monkey_1.6.9.bb +++ b/meta-webserver/recipes-httpd/monkey/monkey_1.6.9.bb | |||
| @@ -26,7 +26,7 @@ EXTRA_OECMAKE = "-DINSTALL_LOGDIR=${localstatedir}/log/monkey/ \ | |||
| 26 | -DWITH_SYSTEM_MALLOC=1 \ | 26 | -DWITH_SYSTEM_MALLOC=1 \ |
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | EXTRA_OECMAKE_append_libc-musl = " -DWITH_MUSL=1 " | 29 | EXTRA_OECMAKE:append:libc-musl = " -DWITH_MUSL=1 " |
| 30 | 30 | ||
| 31 | # GCC-10+ defaults to -fno-common | 31 | # GCC-10+ defaults to -fno-common |
| 32 | CFLAGS += "-fcommon" | 32 | CFLAGS += "-fcommon" |
| @@ -37,7 +37,7 @@ inherit cmake pkgconfig update-rc.d systemd | |||
| 37 | 37 | ||
| 38 | OECMAKE_GENERATOR = "Unix Makefiles" | 38 | OECMAKE_GENERATOR = "Unix Makefiles" |
| 39 | 39 | ||
| 40 | do_install_append() { | 40 | do_install:append() { |
| 41 | rm -rf ${D}/run | 41 | rm -rf ${D}/run |
| 42 | rm -rf ${D}${localstatedir}/run | 42 | rm -rf ${D}${localstatedir}/run |
| 43 | install -Dm 0755 ${WORKDIR}/monkey.init ${D}${sysconfdir}/init.d/monkey | 43 | install -Dm 0755 ${WORKDIR}/monkey.init ${D}${sysconfdir}/init.d/monkey |
| @@ -50,16 +50,16 @@ do_install_append() { | |||
| 50 | INITSCRIPT_NAME = "monkey" | 50 | INITSCRIPT_NAME = "monkey" |
| 51 | INITSCRIPT_PARAMS = "defaults 70" | 51 | INITSCRIPT_PARAMS = "defaults 70" |
| 52 | 52 | ||
| 53 | SYSTEMD_SERVICE_${PN} = "monkey.service" | 53 | SYSTEMD_SERVICE:${PN} = "monkey.service" |
| 54 | 54 | ||
| 55 | PACKAGES += "${PN}-plugins" | 55 | PACKAGES += "${PN}-plugins" |
| 56 | 56 | ||
| 57 | FILES_${PN}-plugins = "${libdir}/monkey-*.so" | 57 | FILES:${PN}-plugins = "${libdir}/monkey-*.so" |
| 58 | 58 | ||
| 59 | FILES_${PN} += "${localstatedir}/www/monkey/ /run" | 59 | FILES:${PN} += "${localstatedir}/www/monkey/ /run" |
| 60 | 60 | ||
| 61 | 61 | ||
| 62 | CONFFILES_${PN} = "${sysconfdir}/monkey/monkey.conf \ | 62 | CONFFILES:${PN} = "${sysconfdir}/monkey/monkey.conf \ |
| 63 | ${sysconfdir}/monkey/sites/default \ | 63 | ${sysconfdir}/monkey/sites/default \ |
| 64 | ${sysconfdir}/monkey/monkey.mime \ | 64 | ${sysconfdir}/monkey/monkey.mime \ |
| 65 | ${sysconfdir}/monkey/plugins.load \ | 65 | ${sysconfdir}/monkey/plugins.load \ |
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index de080a2b01..ab37fa3146 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc | |||
| @@ -26,10 +26,10 @@ SRC_URI = " \ | |||
| 26 | 26 | ||
| 27 | inherit siteinfo update-rc.d useradd systemd | 27 | inherit siteinfo update-rc.d useradd systemd |
| 28 | 28 | ||
| 29 | SYSTEMD_SERVICE_${PN} = "nginx.service" | 29 | SYSTEMD_SERVICE:${PN} = "nginx.service" |
| 30 | 30 | ||
| 31 | CFLAGS_append = " -fPIE -pie" | 31 | CFLAGS:append = " -fPIE -pie" |
| 32 | CXXFLAGS_append = " -fPIE -pie" | 32 | CXXFLAGS:append = " -fPIE -pie" |
| 33 | 33 | ||
| 34 | NGINX_WWWDIR ?= "${localstatedir}/www/localhost" | 34 | NGINX_WWWDIR ?= "${localstatedir}/www/localhost" |
| 35 | NGINX_USER ?= "www" | 35 | NGINX_USER ?= "www" |
| @@ -143,7 +143,7 @@ do_install () { | |||
| 143 | rm -rf ${D}${localstatedir}/log/ | 143 | rm -rf ${D}${localstatedir}/log/ |
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | pkg_postinst_${PN} () { | 146 | pkg_postinst:${PN} () { |
| 147 | if [ -z "$D" ]; then | 147 | if [ -z "$D" ]; then |
| 148 | if type systemd-tmpfiles >/dev/null; then | 148 | if type systemd-tmpfiles >/dev/null; then |
| 149 | systemd-tmpfiles --create | 149 | systemd-tmpfiles --create |
| @@ -153,12 +153,12 @@ pkg_postinst_${PN} () { | |||
| 153 | fi | 153 | fi |
| 154 | } | 154 | } |
| 155 | 155 | ||
| 156 | FILES_${PN} += " \ | 156 | FILES:${PN} += " \ |
| 157 | ${localstatedir}/ \ | 157 | ${localstatedir}/ \ |
| 158 | ${systemd_unitdir}/system/nginx.service \ | 158 | ${systemd_unitdir}/system/nginx.service \ |
| 159 | " | 159 | " |
| 160 | 160 | ||
| 161 | CONFFILES_${PN} = " \ | 161 | CONFFILES:${PN} = " \ |
| 162 | ${sysconfdir}/nginx/nginx.conf \ | 162 | ${sysconfdir}/nginx/nginx.conf \ |
| 163 | ${sysconfdir}/nginx/fastcgi.conf \ | 163 | ${sysconfdir}/nginx/fastcgi.conf \ |
| 164 | ${sysconfdir}/nginx/fastcgi_params \ | 164 | ${sysconfdir}/nginx/fastcgi_params \ |
| @@ -174,7 +174,7 @@ INITSCRIPT_NAME = "nginx" | |||
| 174 | INITSCRIPT_PARAMS = "defaults 92 20" | 174 | INITSCRIPT_PARAMS = "defaults 92 20" |
| 175 | 175 | ||
| 176 | USERADD_PACKAGES = "${PN}" | 176 | USERADD_PACKAGES = "${PN}" |
| 177 | USERADD_PARAM_${PN} = " \ | 177 | USERADD_PARAM:${PN} = " \ |
| 178 | --system --no-create-home \ | 178 | --system --no-create-home \ |
| 179 | --home ${NGINX_WWWDIR} \ | 179 | --home ${NGINX_WWWDIR} \ |
| 180 | --groups www-data \ | 180 | --groups www-data \ |
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" | |||
| 20 | inherit autotools update-rc.d systemd update-alternatives | 20 | inherit autotools update-rc.d systemd update-alternatives |
| 21 | 21 | ||
| 22 | ALTERNATIVE_PRIORITY = "100" | 22 | ALTERNATIVE_PRIORITY = "100" |
| 23 | ALTERNATIVE_${PN}-doc = "htpasswd.1" | 23 | ALTERNATIVE:${PN}-doc = "htpasswd.1" |
| 24 | ALTERNATIVE_LINK_NAME[htpasswd.1] = "${mandir}/man1/htpasswd.1" | 24 | ALTERNATIVE_LINK_NAME[htpasswd.1] = "${mandir}/man1/htpasswd.1" |
| 25 | 25 | ||
| 26 | SRV_DIR ?= "${servicedir}/www" | 26 | SRV_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. |
| 30 | WEBGROUP ?= "www-data" | 30 | WEBGROUP ?= "www-data" |
| 31 | 31 | ||
| 32 | do_configure_prepend () { | 32 | do_configure:prepend () { |
| 33 | export WEBDIR=${SRV_DIR} | 33 | export WEBDIR=${SRV_DIR} |
| 34 | export WEBGROUP=${WEBGROUP} | 34 | export WEBGROUP=${WEBGROUP} |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | do_install_append () { | 37 | do_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 () { | |||
| 52 | INITSCRIPT_NAME = "thttpd" | 52 | INITSCRIPT_NAME = "thttpd" |
| 53 | INITSCRIPT_PARAMS = "defaults" | 53 | INITSCRIPT_PARAMS = "defaults" |
| 54 | 54 | ||
| 55 | SYSTEMD_SERVICE_${PN} = "thttpd.service" | 55 | SYSTEMD_SERVICE:${PN} = "thttpd.service" |
| 56 | 56 | ||
| 57 | FILES_${PN} += "${SRV_DIR}" | 57 | FILES:${PN} += "${SRV_DIR}" |
| 58 | FILES_${PN}-dbg += "${SRV_DIR}/cgi-bin/.debug" | 58 | FILES:${PN}-dbg += "${SRV_DIR}/cgi-bin/.debug" |
