diff options
| -rw-r--r-- | meta-webserver/recipes-httpd/hiawatha/hiawatha_11.7.bb (renamed from meta-webserver/recipes-httpd/hiawatha/hiawatha_11.2.bb) | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/meta-webserver/recipes-httpd/hiawatha/hiawatha_11.2.bb b/meta-webserver/recipes-httpd/hiawatha/hiawatha_11.7.bb index 098c07e954..fac1498b3b 100644 --- a/meta-webserver/recipes-httpd/hiawatha/hiawatha_11.2.bb +++ b/meta-webserver/recipes-httpd/hiawatha/hiawatha_11.7.bb | |||
| @@ -10,7 +10,7 @@ SRC_URI = "https://hiawatha.leisink.net/files/hiawatha-${PV}.tar.gz \ | |||
| 10 | file://hiawatha-init \ | 10 | file://hiawatha-init \ |
| 11 | file://hiawatha.service " | 11 | file://hiawatha.service " |
| 12 | 12 | ||
| 13 | SRC_URI[sha256sum] = "99c64f76927f93469f062ab76b74eb79a397ea4be12da86bf746b2bb57cf1bc5" | 13 | SRC_URI[sha256sum] = "8bc180ae3b986d02466f081efeefdb1595d96783f581fded2a9b198752ab7ae1" |
| 14 | 14 | ||
| 15 | INITSCRIPT_NAME = "hiawatha" | 15 | INITSCRIPT_NAME = "hiawatha" |
| 16 | INITSCRIPT_PARAMS = "defaults 70" | 16 | INITSCRIPT_PARAMS = "defaults 70" |
| @@ -19,12 +19,12 @@ SYSTEMD_SERVICE:${PN} = "hiawatha.service" | |||
| 19 | 19 | ||
| 20 | inherit cmake update-rc.d systemd | 20 | inherit cmake update-rc.d systemd |
| 21 | 21 | ||
| 22 | |||
| 22 | CFLAGS += "-std=gnu17" | 23 | CFLAGS += "-std=gnu17" |
| 23 | 24 | ||
| 24 | EXTRA_OECMAKE = " -DENABLE_IPV6=OFF \ | 25 | EXTRA_OECMAKE = " -DENABLE_IPV6=OFF \ |
| 25 | -DENABLE_CACHE=OFF \ | 26 | -DENABLE_CACHE=OFF \ |
| 26 | -DENABLE_DEBUG=OFF \ | 27 | -DENABLE_DEBUG=OFF \ |
| 27 | -DENABLE_TLS=OFF \ | ||
| 28 | -DENABLE_TOOLKIT=OFF \ | 28 | -DENABLE_TOOLKIT=OFF \ |
| 29 | -DENABLE_CHROOT=OFF \ | 29 | -DENABLE_CHROOT=OFF \ |
| 30 | -DENABLE_XSLT=ON \ | 30 | -DENABLE_XSLT=ON \ |
| @@ -34,7 +34,9 @@ EXTRA_OECMAKE = " -DENABLE_IPV6=OFF \ | |||
| 34 | -DCMAKE_INSTALL_SBINDIR=${sbindir} \ | 34 | -DCMAKE_INSTALL_SBINDIR=${sbindir} \ |
| 35 | -DCMAKE_INSTALL_SYSCONFDIR=${sysconfdir} \ | 35 | -DCMAKE_INSTALL_SYSCONFDIR=${sysconfdir} \ |
| 36 | -DCMAKE_INSTALL_LIBDIR=${libdir} \ | 36 | -DCMAKE_INSTALL_LIBDIR=${libdir} \ |
| 37 | -DCMAKE_INSTALL_FULL_LOCALSTATEDIR=${localstatedir}" | 37 | -DCMAKE_INSTALL_FULL_LOCALSTATEDIR=${localstatedir} \ |
| 38 | -DENABLE_TLS=ON \ | ||
| 39 | -DCMAKE_POLICY_VERSION_MINIMUM=3.5" | ||
| 38 | 40 | ||
| 39 | do_install:append() { | 41 | do_install:append() { |
| 40 | # Copy over init script and sed in the correct sbin path | 42 | # Copy over init script and sed in the correct sbin path |
| @@ -78,5 +80,11 @@ CONFFILES:${PN} = " \ | |||
| 78 | ${sysconfdir}/hiawatha/php-fcgi.conf \ | 80 | ${sysconfdir}/hiawatha/php-fcgi.conf \ |
| 79 | " | 81 | " |
| 80 | 82 | ||
| 83 | PACKAGES =+ "${PN}-letsencrypt" | ||
| 84 | |||
| 85 | FILES:${PN}-letsencrypt += "${sbindir}/lefh ${libdir}/hiawatha/letsencrypt" | ||
| 86 | |||
| 81 | FILES:${PN} += "${nonarch_libdir}/tmpfiles.d" | 87 | FILES:${PN} += "${nonarch_libdir}/tmpfiles.d" |
| 82 | FILES:${PN}-dev = "${libdir}/hiawatha/*${SOLIBSDEV}" | 88 | FILES:${PN}-dev += "${libdir}/hiawatha/*${SOLIBSDEV}" |
| 89 | |||
| 90 | RDEPENDS:${PN}-letsencrypt += "php-cli" | ||
