[oe] [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe

Martin Jansa martin.jansa at gmail.com
Thu Mar 17 21:41:18 UTC 2016


On Thu, Mar 17, 2016 at 05:54:35PM +0200, Ioan-Adrian Ratiu wrote:
> From: Haris Okanovic <haris.okanovic at ni.com>
> 
> The apache-websocket module is an Apache 2.x server module that may be
> used to process requests using the WebSocket protocol (RFC 6455) by an
> Apache 2.x server. The module consists of a plugin architecture for
> handling WebSocket messaging.

does v2 fix hits?

| checking for libtool... no
| configure: error: could not find an installed libtool
| NOTE: The following config.log files may provide further information.
| NOTE:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/apache-websocket/1.1.1-r0/git/config.log

?

> 
> Signed-off-by: Haris Okanovic <haris.okanovic at ni.com>
> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
> ---
>  .../apache-mod/apache-websocket_git.bb             | 32 ++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
>  create mode 100644 meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> 
> diff --git a/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> new file mode 100644
> index 0000000..2cfc1f3
> --- /dev/null
> +++ b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
> @@ -0,0 +1,32 @@
> +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"
> +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"
> +
> +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/* "
> -- 
> 2.7.3
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160317/1c7a6b61/attachment-0002.sig>


More information about the Openembedded-devel mailing list