From 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd Mon Sep 17 00:00:00 2001 From: ToshikazuOhiwa Date: Mon, 30 Mar 2020 09:24:26 +0900 Subject: agl-basesystem --- .../apache-mod/apache-websocket_git.bb | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 external/meta-openembedded/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb (limited to 'external/meta-openembedded/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb') diff --git a/external/meta-openembedded/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb b/external/meta-openembedded/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb new file mode 100644 index 00000000..0beb3ed0 --- /dev/null +++ b/external/meta-openembedded/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb @@ -0,0 +1,33 @@ +SUMMARY = "Websocket module for Apache web server" +DESCRIPTION = "Process requests using the WebSocket protocol (RFC 6455)" +HOMEPAGE = "https://github.com/jchampio/${PN}/" +SECTION = "net" +LICENSE = "Apache-2.0" + +inherit autotools-brokensep pkgconfig + +DEPENDS = "apache2 apache2-native pbzip2-native" +RDEPENDS_${PN} += "apache2" + +# Original (github.com/disconnect/apache-websocket) is dead since 2012, the +# fork contains patches from the modules ML and fixes CVE compliance issues +SRC_URI = "git://github.com/jchampio/apache-websocket.git" + +SRCREV = "f5230d8c520dccf8631da94bf90c23f3c1100dcc" + +PV = "0.1.1" + +S = "${WORKDIR}/git" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +EXTRA_OECONF = "APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl \ + LIBTOOL=${STAGING_DIR_TARGET}${bindir_crossscripts}/${HOST_SYS}-libtool" + +do_install() { + install -d ${D}${libdir}/apache2/modules/ + install ${B}/.libs/mod_websocket.so ${D}${libdir}/apache2/modules/ +} + +FILES_${PN} += " ${libdir}/apache2/modules/* " +FILES_${PN}-dbg += " ${libdir}/apache2/modules/.debug/* " -- cgit 1.2.3-korg