1eb8dc403SDave CobbleySUMMARY = "Websocket module for Apache web server" 2eb8dc403SDave CobbleyDESCRIPTION = "Process requests using the WebSocket protocol (RFC 6455)" 3c342db35SBrad BishopHOMEPAGE = "https://github.com/jchampio/apache-websocket/" 4eb8dc403SDave CobbleySECTION = "net" 5eb8dc403SDave CobbleyLICENSE = "Apache-2.0" 6eb8dc403SDave Cobbley 7eb8dc403SDave Cobbleyinherit autotools-brokensep pkgconfig 8eb8dc403SDave Cobbley 9eb8dc403SDave CobbleyDEPENDS = "apache2 apache2-native pbzip2-native" 10213cb269SPatrick WilliamsRDEPENDS:${PN} += "apache2" 11eb8dc403SDave Cobbley 12eb8dc403SDave Cobbley# Original (github.com/disconnect/apache-websocket) is dead since 2012, the 13eb8dc403SDave Cobbley# fork contains patches from the modules ML and fixes CVE compliance issues 14595f6308SAndrew GeisslerSRC_URI = "git://github.com/jchampio/apache-websocket.git;branch=master;protocol=https" 15eb8dc403SDave Cobbley 16bffdb3e0SAndrew GeisslerSRCREV = "0ee34c77fc78ff08fd548706300b80a7bc7874e4" 17eb8dc403SDave Cobbley 18*73bd93f1SPatrick WilliamsPV = "0.1.2+git" 19eb8dc403SDave Cobbley 20eb8dc403SDave CobbleyS = "${WORKDIR}/git" 21eb8dc403SDave Cobbley 22eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" 23eb8dc403SDave Cobbley 24595f6308SAndrew GeisslerEXTRA_OECONF = "APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl" 25eb8dc403SDave Cobbley 26eb8dc403SDave Cobbleydo_install() { 27a891d150SBrad Bishop install -d ${D}${libexecdir}/apache2/modules 28a891d150SBrad Bishop install -m 755 ${B}/.libs/mod_websocket.so ${D}${libexecdir}/apache2/modules 29eb8dc403SDave Cobbley} 30eb8dc403SDave Cobbley 31213cb269SPatrick WilliamsFILES:${PN} += " ${libexecdir}/apache2/modules/* " 32213cb269SPatrick WilliamsFILES:${PN}-dbg += " ${libexecdir}/apache2/modules/.debug/* " 33