All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2 1/2] apache2: stage apachectl
@ 2016-03-17 15:54 Ioan-Adrian Ratiu
  2016-03-17 15:54 ` [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe Ioan-Adrian Ratiu
  0 siblings, 1 reply; 7+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-03-17 15:54 UTC (permalink / raw)
  To: openembedded-devel

Some apache module recipes like the newly introduced apache-websocket
also need apachectl at build in the sysroot besides apxs.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
---
 meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
index 597afe6..53d0564 100644
--- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.18.bb
@@ -113,6 +113,8 @@ SYSROOT_PREPROCESS_FUNCS += "apache_sysroot_preprocess"
 apache_sysroot_preprocess () {
     install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
     install -m 755 ${D}${bindir}/apxs ${SYSROOT_DESTDIR}${bindir_crossscripts}/
+    install -d ${SYSROOT_DESTDIR}${sbindir}/
+    install -m 755 ${D}${sbindir}/apachectl ${SYSROOT_DESTDIR}${sbindir}/
     sed -i 's!my $installbuilddir = .*!my $installbuilddir = "${STAGING_DIR_HOST}/${datadir}/${BPN}/build";!' ${SYSROOT_DESTDIR}${bindir_crossscripts}/apxs
     sed -i 's!my $libtool = .*!my $libtool = "${STAGING_BINDIR_CROSS}/${TARGET_PREFIX}libtool";!' ${SYSROOT_DESTDIR}${bindir_crossscripts}/apxs
 
-- 
2.7.3



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe
  2016-03-17 15:54 [meta-oe][PATCH v2 1/2] apache2: stage apachectl Ioan-Adrian Ratiu
@ 2016-03-17 15:54 ` Ioan-Adrian Ratiu
  2016-03-17 21:41   ` Martin Jansa
  0 siblings, 1 reply; 7+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-03-17 15:54 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Haris Okanovic

From: Haris Okanovic <haris.okanovic@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.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@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



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe
  2016-03-17 15:54 ` [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe Ioan-Adrian Ratiu
@ 2016-03-17 21:41   ` Martin Jansa
  2016-03-17 21:48     ` Martin Jansa
  2016-03-18  8:40     ` Ioan-Adrian Ratiu
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Jansa @ 2016-03-17 21:41 UTC (permalink / raw)
  To: Ioan-Adrian Ratiu; +Cc: Haris Okanovic, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2539 bytes --]

On Thu, Mar 17, 2016 at 05:54:35PM +0200, Ioan-Adrian Ratiu wrote:
> From: Haris Okanovic <haris.okanovic@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@ni.com>
> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@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@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe
  2016-03-17 21:41   ` Martin Jansa
@ 2016-03-17 21:48     ` Martin Jansa
  2016-03-18  8:40     ` Ioan-Adrian Ratiu
  1 sibling, 0 replies; 7+ messages in thread
From: Martin Jansa @ 2016-03-17 21:48 UTC (permalink / raw)
  To: Ioan-Adrian Ratiu; +Cc: Haris Okanovic, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2877 bytes --]

On Thu, Mar 17, 2016 at 10:41:18PM +0100, Martin Jansa wrote:
> On Thu, Mar 17, 2016 at 05:54:35PM +0200, Ioan-Adrian Ratiu wrote:
> > From: Haris Okanovic <haris.okanovic@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

Whole log:
http://errors.yoctoproject.org/Errors/Details/56598/
> 
> ?
> 
> > 
> > Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
> > Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@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@gmail.com



-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe
  2016-03-17 21:41   ` Martin Jansa
  2016-03-17 21:48     ` Martin Jansa
@ 2016-03-18  8:40     ` Ioan-Adrian Ratiu
  2016-03-18 11:49       ` Martin Jansa
  1 sibling, 1 reply; 7+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-03-18  8:40 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Haris Okanovic, openembedded-devel

Hello

On Thu, 17 Mar 2016 22:41:18 +0100
Martin Jansa <martin.jansa@gmail.com> wrote:

> On Thu, Mar 17, 2016 at 05:54:35PM +0200, Ioan-Adrian Ratiu wrote:
> > From: Haris Okanovic <haris.okanovic@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
> 
> ?

v2 fixes just the version number for apache-websocket. I'm not seeing that error on my machine:

(...)
checking for apachectl... /media/adi/ssd/nilrt-master/build/tmp-glibc/sysroots/x64/usr/sbin/apachectl
checking for httpd... /media/adi/ssd/nilrt-master/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/httpd
checking for libtool... /usr/bin/libtool
checking for the httpd modules directory... /usr/lib/apache2/modules
(...)

Is there some kind of host contamination going on here?

> 
> > 
> > Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
> > Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@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
> >   
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe
  2016-03-18  8:40     ` Ioan-Adrian Ratiu
@ 2016-03-18 11:49       ` Martin Jansa
  2016-03-18 11:53         ` Ioan-Adrian Ratiu
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2016-03-18 11:49 UTC (permalink / raw)
  To: Ioan-Adrian Ratiu; +Cc: Haris Okanovic, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3628 bytes --]

On Fri, Mar 18, 2016 at 10:40:56AM +0200, Ioan-Adrian Ratiu wrote:
> Hello
> 
> On Thu, 17 Mar 2016 22:41:18 +0100
> Martin Jansa <martin.jansa@gmail.com> wrote:
> 
> > On Thu, Mar 17, 2016 at 05:54:35PM +0200, Ioan-Adrian Ratiu wrote:
> > > From: Haris Okanovic <haris.okanovic@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
> > 
> > ?
> 
> v2 fixes just the version number for apache-websocket. I'm not seeing that error on my machine:
> 
> (...)
> checking for apachectl... /media/adi/ssd/nilrt-master/build/tmp-glibc/sysroots/x64/usr/sbin/apachectl
> checking for httpd... /media/adi/ssd/nilrt-master/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/httpd
> checking for libtool... /usr/bin/libtool

That build machine doesn't even have /usr/bin/libtool, you should use
libtool provided by libtool-cross recipe.

> checking for the httpd modules directory... /usr/lib/apache2/modules
> (...)
> 
> Is there some kind of host contamination going on here?
> 
> > 
> > > 
> > > Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
> > > Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@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@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe
  2016-03-18 11:49       ` Martin Jansa
@ 2016-03-18 11:53         ` Ioan-Adrian Ratiu
  0 siblings, 0 replies; 7+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-03-18 11:53 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Haris Okanovic, openembedded-devel

On Fri, 18 Mar 2016 12:49:48 +0100
Martin Jansa <martin.jansa@gmail.com> wrote:

> On Fri, Mar 18, 2016 at 10:40:56AM +0200, Ioan-Adrian Ratiu wrote:
> > Hello
> > 
> > On Thu, 17 Mar 2016 22:41:18 +0100
> > Martin Jansa <martin.jansa@gmail.com> wrote:
> >   
> > > On Thu, Mar 17, 2016 at 05:54:35PM +0200, Ioan-Adrian Ratiu wrote:  
> > > > From: Haris Okanovic <haris.okanovic@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
> > > 
> > > ?  
> > 
> > v2 fixes just the version number for apache-websocket. I'm not seeing that error on my machine:
> > 
> > (...)
> > checking for apachectl... /media/adi/ssd/nilrt-master/build/tmp-glibc/sysroots/x64/usr/sbin/apachectl
> > checking for httpd... /media/adi/ssd/nilrt-master/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/httpd
> > checking for libtool... /usr/bin/libtool  
> 
> That build machine doesn't even have /usr/bin/libtool, you should use
> libtool provided by libtool-cross recipe.

Ok. I'll make some time today to fix this and send v3.

> 
> > checking for the httpd modules directory... /usr/lib/apache2/modules
> > (...)
> > 
> > Is there some kind of host contamination going on here?
> >   
> > >   
> > > > 
> > > > Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
> > > > Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@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
> > > >     
> > >   
> >   
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-18 11:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-17 15:54 [meta-oe][PATCH v2 1/2] apache2: stage apachectl Ioan-Adrian Ratiu
2016-03-17 15:54 ` [meta-oe][PATCH v2 2/2] apache-websocket: Add recipe Ioan-Adrian Ratiu
2016-03-17 21:41   ` Martin Jansa
2016-03-17 21:48     ` Martin Jansa
2016-03-18  8:40     ` Ioan-Adrian Ratiu
2016-03-18 11:49       ` Martin Jansa
2016-03-18 11:53         ` Ioan-Adrian Ratiu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.