blob: 040788609e31665dec7bcb6030f681b92d4ba498 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Websocket module for Apache web server"
2DESCRIPTION = "Process requests using the WebSocket protocol (RFC 6455)"
Brad Bishopc342db32019-05-15 21:57:59 -04003HOMEPAGE = "https://github.com/jchampio/apache-websocket/"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05004SECTION = "net"
5LICENSE = "Apache-2.0"
6
7inherit autotools-brokensep pkgconfig
8
Brad Bishop6e60e8b2018-02-01 10:27:11 -05009DEPENDS = "apache2 apache2-native pbzip2-native"
Patrick Williams213cb262021-08-07 19:21:33 -050010RDEPENDS:${PN} += "apache2"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011
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
Andrew Geissler595f6302022-01-24 19:11:47 +000014SRC_URI = "git://github.com/jchampio/apache-websocket.git;branch=master;protocol=https"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050016SRCREV = "0ee34c77fc78ff08fd548706300b80a7bc7874e4"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050018PV = "0.1.2+git${SRCPV}"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050019
20S = "${WORKDIR}/git"
21
22LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
23
Andrew Geissler595f6302022-01-24 19:11:47 +000024EXTRA_OECONF = "APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025
26do_install() {
Brad Bishopa891d152019-09-13 06:17:45 -040027 install -d ${D}${libexecdir}/apache2/modules
28 install -m 755 ${B}/.libs/mod_websocket.so ${D}${libexecdir}/apache2/modules
Patrick Williamsb48b7b42016-08-17 15:04:38 -050029}
30
Patrick Williams213cb262021-08-07 19:21:33 -050031FILES:${PN} += " ${libexecdir}/apache2/modules/* "
32FILES:${PN}-dbg += " ${libexecdir}/apache2/modules/.debug/* "