[oe] [meta-oe][PATCH v3] fluentbit: add new recipe

2016-04-27 Thread Eduardo Silva
Fluent Bit is an open source data collector for Embedded Linux, this
patch adds the recipe for version 0.7.2.

  Project web site: http://fluentbit.io
  Documentation   : http://fluentbit.io/documentation/

Signed-off-by: Eduardo Silva 
---
 meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb | 16 
 1 file changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb

diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb 
b/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb
new file mode 100644
index 000..c75f446
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb
@@ -0,0 +1,16 @@
+SUMMARY = "Fast data collector for Embedded Linux"
+HOMEPAGE = "http://fluentbit.io";
+BUGTRACKER = "https://github.com/fluent/fluent-bit/issues";
+
+SRC_URI = "http://fluentbit.io/releases/0.7/fluent-bit-${PV}.tar.gz";
+SRC_URI[md5sum] = "6df9d676e1d2d782a243e655e144e8ae"
+SRC_URI[sha256sum] = 
"695b56ce378f56855c9554f88f5d8e4f7b11ba7691284903870f779912af4ebe"
+S = "${WORKDIR}/fluent-bit-${PV}"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS = "zlib"
+INSANE_SKIP_${PN}-dev += "dev-elf"
+
+inherit cmake
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH v2] fluentbit: add new recipe

2016-04-15 Thread Eduardo Silva
is the patch OK ?

On Wed, Apr 6, 2016 at 10:38 AM, Eduardo Silva  wrote:

>
>
> On Wed, Apr 6, 2016 at 4:44 AM, Felipe Ferreri Tonello <
> e...@felipetonello.com> wrote:
>
>> Hi Eduardo,
>>
>> On 04/04/16 07:12, Eduardo Silva wrote:
>> > Fluent Bit is an open source data collector for Embedded Linux, this
>> > patch adds the recipe for version 0.7.2.
>> >
>> >   Project web site: http://fluentbit.io
>> >   Documentation   : http://fluentbit.io/documentation/
>> >
>> > Signed-off-by: Eduardo Silva 
>> > ---
>> >  meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb | 15
>> +++
>> >  1 file changed, 15 insertions(+)
>> >  create mode 100644 meta-oe/recipes-extended/fluentbit/
>> fluentbit_0.7.2.bb
>>
>> If the project package is called fluent-bit, why did you name the recipe
>> fluentbit?
>>
>
> just to follow the convention of RPM and DEB packages.
>
> regards,
>



-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH v2] fluentbit: add new recipe

2016-04-06 Thread Eduardo Silva
On Wed, Apr 6, 2016 at 4:44 AM, Felipe Ferreri Tonello  wrote:

> Hi Eduardo,
>
> On 04/04/16 07:12, Eduardo Silva wrote:
> > Fluent Bit is an open source data collector for Embedded Linux, this
> > patch adds the recipe for version 0.7.2.
> >
> >   Project web site: http://fluentbit.io
> >   Documentation   : http://fluentbit.io/documentation/
> >
> > Signed-off-by: Eduardo Silva 
> > ---
> >  meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb | 15
> +++
> >  1 file changed, 15 insertions(+)
> >  create mode 100644 meta-oe/recipes-extended/fluentbit/
> fluentbit_0.7.2.bb
>
> If the project package is called fluent-bit, why did you name the recipe
> fluentbit?
>

just to follow the convention of RPM and DEB packages.

regards,
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] fluentbit: add new recipe

2016-04-04 Thread Eduardo Silva
Thanks. Already sent a Patch v2.
On Apr 4, 2016 1:46 PM, "Paul Eggleton" 
wrote:

> On Sat, 02 Apr 2016 20:17:14 Martin Jansa wrote:
> > On Fri, Apr 01, 2016 at 11:20:49AM -0600, Eduardo Silva wrote:
> > > on this case should be "RDEPENDS_${PN} = "zlib" OK ?
> >
> > NO
>
> It's build-time so you want zlib in DEPENDS. A runtime dependency will get
> added automatically (since binaries packaged by the recipe will be linking
> against libz.so).
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH v2] fluentbit: add new recipe

2016-04-03 Thread Eduardo Silva
Fluent Bit is an open source data collector for Embedded Linux, this
patch adds the recipe for version 0.7.2.

  Project web site: http://fluentbit.io
  Documentation   : http://fluentbit.io/documentation/

Signed-off-by: Eduardo Silva 
---
 meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb | 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb

diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb 
b/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb
new file mode 100644
index 000..e757ee6
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Fast data collector for Embedded Linux"
+HOMEPAGE = "http://fluentbit.io";
+BUGTRACKER = "https://github.com/fluent/fluent-bit/issues";
+
+SRC_URI = "http://fluentbit.io/releases/0.7/fluent-bit-${PV}.tar.gz";
+SRC_URI[md5sum] = "6df9d676e1d2d782a243e655e144e8ae"
+SRC_URI[sha256sum] = 
"695b56ce378f56855c9554f88f5d8e4f7b11ba7691284903870f779912af4ebe"
+S = "${WORKDIR}/fluent-bit-${PV}"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+DEPENDS = "zlib"
+
+inherit cmake
-- 
2.5.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] fluentbit: add new recipe

2016-04-01 Thread Eduardo Silva
on this case should be "RDEPENDS_${PN} = "zlib" OK ?

On Fri, Apr 1, 2016 at 11:01 AM, Eduardo Silva  wrote:

> Oh, sorry I misunderstood. The program requires zlib to run, so it's a
> build (headers) and runtime dependency.
>
> On Fri, Apr 1, 2016 at 10:57 AM, Martin Jansa 
> wrote:
>
>> Then it's probably build time dependency as the warning says, not runtime
>> dependency like you did.
>>
>> Read what the component build does, if it checks for zlib in configure
>> then
>> you really need to add it to DEPENDS not RDEPENDS_${PN}.
>>
>> On Fri, Apr 1, 2016 at 6:53 PM, Eduardo Silva  wrote:
>>
>> > > +LIC_FILES_CHKSUM =
>> > "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
>> >
>> > >
>> > > LIC_FILES_CHKSUM is relative to ${S}, so LIC_FILES_CHKSUM =
>> > > "file://LICENSE.. should work fine
>> > >
>> > >
>> > Thanks, I have updated my local copy
>> >
>> >
>> > > > +
>> > > > +RDEPENDS_${PN} = "zlib"
>> > >
>> > > If it does link with libz then the runtime dependency should be added
>> > > automatically by shlibs code in package.bbclass if it's not the case
>> > > can you add comment explaining why it needs to be added explicitly?
>> > >
>> > >
>> > I added that because I got a QA warning message:
>> >
>> > WARNING: QA Issue: fluentbit-dev rdepends on zlib, but it isn't a build
>> > dependency? [build-deps]
>> > WARNING: QA Issue: fluentbit rdepends on zlib, but it isn't a build
>> > dependency? [build-deps]
>> >
>> > what's your suggestion in this case ?
>> >
>> > best
>> >
>> >
>> >
>> > > > +
>> > > > +inherit cmake
>> > > > --
>> > > > 2.5.0
>> > > >
>> > > > --
>> > > > ___
>> > > > Openembedded-devel mailing list
>> > > > Openembedded-devel@lists.openembedded.org
>> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> > >
>> > > --
>> > > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
>> > >
>> > > --
>> > > _______
>> > > Openembedded-devel mailing list
>> > > Openembedded-devel@lists.openembedded.org
>> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> > >
>> > >
>> >
>> >
>> > --
>> > Eduardo Silva
>> > Monkey Software
>> > --
>> > ___
>> > Openembedded-devel mailing list
>> > Openembedded-devel@lists.openembedded.org
>> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> >
>> --
>> ___
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>
>
>
> --
> Eduardo Silva
> Monkey Software
>



-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] fluentbit: add new recipe

2016-04-01 Thread Eduardo Silva
Oh, sorry I misunderstood. The program requires zlib to run, so it's a
build (headers) and runtime dependency.

On Fri, Apr 1, 2016 at 10:57 AM, Martin Jansa 
wrote:

> Then it's probably build time dependency as the warning says, not runtime
> dependency like you did.
>
> Read what the component build does, if it checks for zlib in configure then
> you really need to add it to DEPENDS not RDEPENDS_${PN}.
>
> On Fri, Apr 1, 2016 at 6:53 PM, Eduardo Silva  wrote:
>
> > > +LIC_FILES_CHKSUM =
> > "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
> >
> > >
> > > LIC_FILES_CHKSUM is relative to ${S}, so LIC_FILES_CHKSUM =
> > > "file://LICENSE.. should work fine
> > >
> > >
> > Thanks, I have updated my local copy
> >
> >
> > > > +
> > > > +RDEPENDS_${PN} = "zlib"
> > >
> > > If it does link with libz then the runtime dependency should be added
> > > automatically by shlibs code in package.bbclass if it's not the case
> > > can you add comment explaining why it needs to be added explicitly?
> > >
> > >
> > I added that because I got a QA warning message:
> >
> > WARNING: QA Issue: fluentbit-dev rdepends on zlib, but it isn't a build
> > dependency? [build-deps]
> > WARNING: QA Issue: fluentbit rdepends on zlib, but it isn't a build
> > dependency? [build-deps]
> >
> > what's your suggestion in this case ?
> >
> > best
> >
> >
> >
> > > > +
> > > > +inherit cmake
> > > > --
> > > > 2.5.0
> > > >
> > > > --
> > > > ___
> > > > Openembedded-devel mailing list
> > > > Openembedded-devel@lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > >
> > > --
> > > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
> > >
> > > --
> > > ___
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > >
> > >
> >
> >
> > --
> > Eduardo Silva
> > Monkey Software
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] fluentbit: add new recipe

2016-04-01 Thread Eduardo Silva
> +LIC_FILES_CHKSUM =
"file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"

>
> LIC_FILES_CHKSUM is relative to ${S}, so LIC_FILES_CHKSUM =
> "file://LICENSE.. should work fine
>
>
Thanks, I have updated my local copy


> > +
> > +RDEPENDS_${PN} = "zlib"
>
> If it does link with libz then the runtime dependency should be added
> automatically by shlibs code in package.bbclass if it's not the case
> can you add comment explaining why it needs to be added explicitly?
>
>
I added that because I got a QA warning message:

WARNING: QA Issue: fluentbit-dev rdepends on zlib, but it isn't a build
dependency? [build-deps]
WARNING: QA Issue: fluentbit rdepends on zlib, but it isn't a build
dependency? [build-deps]

what's your suggestion in this case ?

best



> > +
> > +inherit cmake
> > --
> > 2.5.0
> >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
>
> --
> ___________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>


-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] fluentbit: add new recipe

2016-03-30 Thread Eduardo Silva
Fluent Bit is an open source data collector for Embedded Linux, this
patch adds the recipe for version 0.7.2.

  Project web site: http://fluentbit.io
  Documentation   : http://fluentbit.io/documentation/

Signed-off-by: Eduardo Silva 
---
 meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb | 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb

diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb 
b/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb
new file mode 100644
index 000..fd38e84
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Fast data collector for Embedded Linux"
+HOMEPAGE = "http://fluentbit.io";
+BUGTRACKER = "https://github.com/fluent/fluent-bit/issues";
+
+SRC_URI = "http://fluentbit.io/releases/0.7/fluent-bit-${PV}.tar.gz";
+SRC_URI[md5sum] = "6df9d676e1d2d782a243e655e144e8ae"
+SRC_URI[sha256sum] = 
"695b56ce378f56855c9554f88f5d8e4f7b11ba7691284903870f779912af4ebe"
+S = "${WORKDIR}/fluent-bit-${PV}"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+RDEPENDS_${PN} = "zlib"
+
+inherit cmake
-- 
2.5.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH] monkey: new v1.6.3 release.

2015-10-13 Thread Eduardo Silva
This patch add the new Monkey HTTP Server v1.6.3.

For more details about software changes please visit:

  http://monkey-project.com/Announcements/v1.6.3

=== Build Tests ==

This version have been tested on Yocto/Fido being packaged and
deployed on images based on RPM successfully.

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/files/monkey.init | 34 
 .../recipes-httpd/monkey/files/monkey.service  | 12 
 .../recipes-httpd/monkey/monkey_1.5.6.bb   | 64 --
 .../recipes-httpd/monkey/monkey_1.6.3.bb   | 44 +++
 4 files changed, 44 insertions(+), 110 deletions(-)
 delete mode 100644 meta-webserver/recipes-httpd/monkey/files/monkey.init
 delete mode 100644 meta-webserver/recipes-httpd/monkey/files/monkey.service
 delete mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
 create mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.6.3.bb

diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.init 
b/meta-webserver/recipes-httpd/monkey/files/monkey.init
deleted file mode 100644
index 40b2118..000
--- a/meta-webserver/recipes-httpd/monkey/files/monkey.init
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/bin/monkey
-NAME=monkey
-DESC="Monkey HTTP Server"
-OPTS="--daemon"
-
-case "$1" in
-  start)
-   echo -n "Starting $DESC: "
-   start-stop-daemon --start -x "$DAEMON" -- $OPTS
-   echo "$NAME."
-   ;;
-  stop)
-   echo -n "Stopping $DESC: "
-   start-stop-daemon --stop -x "$DAEMON"
-   echo "$NAME."
-   ;;
-  restart|force-reload)
-   echo -n "Restarting $DESC: "
-   start-stop-daemon --stop -x "$DAEMON"
-   sleep 1
-   start-stop-daemon --start -x "$DAEMON" -- $OPTS
-   echo "$NAME."
-   ;;
-  *)
-   N=/etc/init.d/$NAME
-   echo "Usage: $N {start|stop|restart|force-reload}" >&2
-   exit 1
-   ;;
-esac
-
-exit 0
diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.service 
b/meta-webserver/recipes-httpd/monkey/files/monkey.service
deleted file mode 100644
index f9aa57f..000
--- a/meta-webserver/recipes-httpd/monkey/files/monkey.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Monkey HTTP Server
-After=network.target remote-fs.target
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/monkey --daemon
-PIDFile=/var/run/monkey.pid.2001
-TimeoutSec=10
-
-[Install]
-WantedBy=multi-user.target
diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
deleted file mode 100644
index d7330a1..000
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
+++ /dev/null
@@ -1,64 +0,0 @@
-SUMMARY = "Fast and Lightweight HTTP Server for Linux"
-HOMEPAGE = "http://monkey-project.com";
-BUGTRACKER = "https://github.com/monkey/monkey/issues";
-
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
-
-SECTION = "net"
-
-SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
-   file://monkey.service \
-   file://monkey.init"
-
-SRC_URI[md5sum] = "9699e4c9ea6ce6b989907c252ae80254"
-SRC_URI[sha256sum] = 
"7c3d845306aa74ee6effd7ab6169d16ac4e6450e564954d0d0baa2d1e9be1a22"
-
-EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
---logdir=${localstatedir}/log/monkey/ \
---pidfile=${localstatedir}/run/monkey.pid \
---default-user=www-data \
---datadir=${localstatedir}/www/monkey/ \
---sysconfdir=${sysconfdir}/monkey/ \
---enable-plugins=* \
---disable-plugins=mbedtls \
---debug \
---malloc-libc"
-
-inherit autotools-brokensep pkgconfig update-rc.d systemd
-
-INITSCRIPT_NAME = "monkey"
-INITSCRIPT_PARAMS = "defaults 70"
-
-SYSTEMD_SERVICE_${PN} = "monkey.service"
-
-FILES_${PN} += "${localstatedir}/www/monkey/"
-
-CONFFILES_${PN} = "${sysconfdir}/monkey/monkey.conf \
-   ${sysconfdir}/monkey/sites/default \
-   ${sysconfdir}/monkey/monkey.mime \
-   ${sysconfdir}/monkey/plugins.load \
-   
${sysconfdir}/monkey/plugins/proxy_reverse/proxy_reverse.conf \
-   ${sysconfdir}/monkey/plugins/mandril/mandril.conf \
-   ${sysconfdir}/monkey/plugins/fastcgi/fastcgi.conf \
-   ${sysconfdir}/monkey/plugins/logger/logger.conf \
-   ${sysconfdir}/monkey/plugins/cgi/cgi.conf \
-   ${sysconfdir}/monkey/plugins/cheetah/cheetah.conf \
-   ${sysconfdir}/monkey/plugins/

Re: [oe] OpenEmbeddded Developer meeting Oct 9 after ELCE in Dublin

2015-09-07 Thread Eduardo Silva
Hi,

would you please confirm the date ?, Linux Foundation page says is October
8 (this email Oct 9):

http://events.linuxfoundation.org/events/embedded-linux-conference-europe/extend-the-experience/co-located-events

best

note:


On Sat, Aug 15, 2015 at 1:23 AM, Philip Balister 
wrote:

> Just a reminder about the meeting in Dublin after ELCE and the Yocto
> Project developer day. Everyone, even if you are not sure you are a
> developer, is welcome. The goal of the meeting is to work out future
> directions for OpenEmbedded so input from users and developers is welcome.
>
> http://openembedded.org/wiki/OEDEM_2015
>
> Please add your name to the attendee list, even if tentative so we can
> plan accordingly.
>
> Thanks,
>
> Philip
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-ruby] problems building Gem that contains C code

2015-05-15 Thread Eduardo Silva
Hi,

thanks for the update. If I try that patch I get the following error when
building Ruby:

ERROR: Function failed: do_install (log file is located at
/home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/log.do_install.10344)
ERROR: Logfile of failure stored in:
/home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/log.do_install.10344
Log data follows:
| DEBUG: Executing shell function do_install
| NOTE: make -j 4 LIBRUBYARG=-lruby-static
DESTDIR=/home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/image
install
| make: *** No rule to make target 'install'.  Stop.
| ERROR: oe_runmake failed
| WARNING:
/home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/run.do_install.10344:1
exit 1 from
|   exit 1
| ERROR: Function failed: do_install (log file is located at
/home/edsiper/coding/poky/build/tmp/work/x86_64-linux/ruby-native/2.2.2-r0/temp/log.do_install.10344)
ERROR: Task 111
(virtual:native:/home/edsiper/coding/meta-openembedded/meta-ruby/recipes-devtools/ruby/
ruby_2.2.2.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 672 tasks of which 671 didn't need to be
rerun and 1 failed.
No currently running tasks (565 of 682)

regards,


On Thu, May 14, 2015 at 2:53 PM, akuster808  wrote:

> Eduardo,
>
> I think one issue is --sysroot is using the host path that might be
> contributing to the Arch mismatch message. I have a patch that I have not
> submitted, yet.
>
> Regarding the .debug, you might need to add
>
> FILE_${PN}-dbg +=
> "/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/.debug"
>
>
> It you could try the patch I have attached and let me know if it helps.
>
> regards,
> Armin
>
>
> On 05/14/2015 06:25 AM, Eduardo Silva wrote:
>
>> Hi,
>>
>> I am packaging a Ruby gem that also contains C code:
>>
>>http://github.com/msgpack/msgpack-ruby
>>
>> but when building it raise many QA issues about linking to 64 bits
>> version,
>> my target is "i586-poky-linux":
>>
>> ERROR: QA Issue: Architecture did not match (3 to 62) on
>>
>> /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack-dbg/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/.debug/msgpack.so
>> [arch]
>> ERROR: QA Issue: non debug package contains .debug directory: ruby-msgpack
>> path
>>
>> /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/msgpack-0.5.11/msgpack/.debug/msgpack.so
>> [debug-files]
>> ERROR: QA Issue: Architecture did not match (3 to 62) on
>>
>> /work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/msgpack.so
>> [arch]
>> WARNING: QA Issue: ruby-msgpack requires libruby.so.2.2()(64bit),
>> libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.4)(64bit),
>> libc.so.6()(64bit), libc.so.6(GLIBC_2.2.5)(64bit), but no providers in its
>> RDEPENDS [file-rdeps]
>> ERROR: QA run found fatal errors. Please consider fixing them.
>> ERROR: Function failed: do_package_qa
>> ERROR: Logfile of failure stored in:
>>
>> /home/edsiper/coding/poky/build/tmp/work/i586-poky-linux/ruby-msgpack/0.5.11-r0/temp/log.do_package_qa.7603
>> ERROR: Task 9
>> (/home/edsiper/coding/poky/meta-fluentd/recipes-core/ruby-msgpack/
>> ruby-msgpack_git.bb, do_package_qa) failed with exit code '1'
>>
>> would you please advice if some specific flag/setup is required to build
>> Ruby gems that contains C code ?
>>
>> thanks,
>>
>>


-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-ruby] problems building Gem that contains C code

2015-05-14 Thread Eduardo Silva
Hi,

I am packaging a Ruby gem that also contains C code:

  http://github.com/msgpack/msgpack-ruby

but when building it raise many QA issues about linking to 64 bits version,
my target is "i586-poky-linux":

ERROR: QA Issue: Architecture did not match (3 to 62) on
/work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack-dbg/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/.debug/msgpack.so
[arch]
ERROR: QA Issue: non debug package contains .debug directory: ruby-msgpack
path
/work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/msgpack-0.5.11/msgpack/.debug/msgpack.so
[debug-files]
ERROR: QA Issue: Architecture did not match (3 to 62) on
/work/i586-poky-linux/ruby-msgpack/0.5.11-r0/packages-split/ruby-msgpack/usr/lib/ruby/gems/2.2.0/gems/msgpack-0.5.11/lib/msgpack/msgpack.so
[arch]
WARNING: QA Issue: ruby-msgpack requires libruby.so.2.2()(64bit),
libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.4)(64bit),
libc.so.6()(64bit), libc.so.6(GLIBC_2.2.5)(64bit), but no providers in its
RDEPENDS [file-rdeps]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
/home/edsiper/coding/poky/build/tmp/work/i586-poky-linux/ruby-msgpack/0.5.11-r0/temp/log.do_package_qa.7603
ERROR: Task 9
(/home/edsiper/coding/poky/meta-fluentd/recipes-core/ruby-msgpack/
ruby-msgpack_git.bb, do_package_qa) failed with exit code '1'

would you please advice if some specific flag/setup is required to build
Ruby gems that contains C code ?

thanks,

-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCHv2] Monkey: new v1.5.6 release.

2015-03-04 Thread Eduardo Silva
This patch add the new Monkey HTTP Server v1.5.6.

For more details about software changes please visit:

http://monkey-project.com/Announcements/v1.5.6

=== Build Tests ==

 This version have been tested on Yocto/Dizzy based on RPM.

 monkey-yocto/5aee7684cd66f78fb51f78138603a4dde4ef2484

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/{monkey_1.5.4.bb => monkey_1.5.6.bb}   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-webserver/recipes-httpd/monkey/{monkey_1.5.4.bb => 
monkey_1.5.6.bb} (93%)

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.4.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
similarity index 93%
rename from meta-webserver/recipes-httpd/monkey/monkey_1.5.4.bb
rename to meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
index a4963af..d7330a1 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.4.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
@@ -11,8 +11,8 @@ SRC_URI = 
"http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
file://monkey.service \
file://monkey.init"
 
-SRC_URI[md5sum] = "b794724ac38cfedee2a5d27c175bc87e"
-SRC_URI[sha256sum] = 
"662bbafc614d32f645059e6e00258fed640665594f5b7f11cf4c4763cf09ddcf"
+SRC_URI[md5sum] = "9699e4c9ea6ce6b989907c252ae80254"
+SRC_URI[sha256sum] = 
"7c3d845306aa74ee6effd7ab6169d16ac4e6450e564954d0d0baa2d1e9be1a22"
 
 EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
 --logdir=${localstatedir}/log/monkey/ \
@@ -21,7 +21,7 @@ EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
 --datadir=${localstatedir}/www/monkey/ \
 --sysconfdir=${sysconfdir}/monkey/ \
 --enable-plugins=* \
---disable-plugins=polarssl \
+--disable-plugins=mbedtls \
 --debug \
 --malloc-libc"
 
-- 
2.1.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-webserver][PATCH] Monkey: new v1.5.6 release.

2015-03-04 Thread Eduardo Silva
On Wed, Mar 4, 2015 at 11:08 AM, Martin Jansa 
wrote:

> On Wed, Mar 04, 2015 at 10:50:08AM -0600, Eduardo Silva wrote:
> > This patch add the new Monkey HTTP Server v1.5.6.
> >
> > For more details about software changes please visit:
> >
> > http://monkey-project.com/Announcements/v1.5.6
> >
> > === Build Tests ==
> >
> >  This version have been tested on Yocto/Daisy based on RPM.
>
> Please test it with master branch as well.
>
>
my mistake on the commit text, it was tested on Dizzy.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH] Monkey: new v1.5.6 release.

2015-03-04 Thread Eduardo Silva
This patch add the new Monkey HTTP Server v1.5.6.

For more details about software changes please visit:

http://monkey-project.com/Announcements/v1.5.6

=== Build Tests ==

 This version have been tested on Yocto/Daisy based on RPM.

 monkey-yocto/5aee7684cd66f78fb51f78138603a4dde4ef2484

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/{monkey_1.5.4.bb => monkey_1.5.6.bb}   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-webserver/recipes-httpd/monkey/{monkey_1.5.4.bb => 
monkey_1.5.6.bb} (93%)

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.4.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
similarity index 93%
rename from meta-webserver/recipes-httpd/monkey/monkey_1.5.4.bb
rename to meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
index a4963af..d7330a1 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.4.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
@@ -11,8 +11,8 @@ SRC_URI = 
"http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
file://monkey.service \
file://monkey.init"
 
-SRC_URI[md5sum] = "b794724ac38cfedee2a5d27c175bc87e"
-SRC_URI[sha256sum] = 
"662bbafc614d32f645059e6e00258fed640665594f5b7f11cf4c4763cf09ddcf"
+SRC_URI[md5sum] = "9699e4c9ea6ce6b989907c252ae80254"
+SRC_URI[sha256sum] = 
"7c3d845306aa74ee6effd7ab6169d16ac4e6450e564954d0d0baa2d1e9be1a22"
 
 EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
 --logdir=${localstatedir}/log/monkey/ \
@@ -21,7 +21,7 @@ EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
 --datadir=${localstatedir}/www/monkey/ \
 --sysconfdir=${sysconfdir}/monkey/ \
 --enable-plugins=* \
---disable-plugins=polarssl \
+--disable-plugins=mbedtls \
 --debug \
 --malloc-libc"
 
-- 
2.1.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH] Monkey: new v1.5.4 release.

2014-10-16 Thread Eduardo Silva
This patch add the new Monkey HTTP Server v1.5.4.

For more details about software changes please visit:

http://monkey-project.com/Announcements/v1.5.4

=== Build Tests ==

This version have been tested on Yocto/Daisy based on RPM.

monkey-yocto/a617991e40bd5c3779ad7b3689f78857d3e45248

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/{monkey_1.5.3.bb => monkey_1.5.4.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-webserver/recipes-httpd/monkey/{monkey_1.5.3.bb => 
monkey_1.5.4.bb} (94%)

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.3.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.4.bb
similarity index 94%
rename from meta-webserver/recipes-httpd/monkey/monkey_1.5.3.bb
rename to meta-webserver/recipes-httpd/monkey/monkey_1.5.4.bb
index 06095ba..a4963af 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.3.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.4.bb
@@ -11,8 +11,8 @@ SRC_URI = 
"http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
file://monkey.service \
file://monkey.init"
 
-SRC_URI[md5sum] = "1fa9ddbb4c0100b22f2fc4b8da56dbe9"
-SRC_URI[sha256sum] = 
"0ac300e04f052818bc26b7da0183c3c5cd13be8090aaabd3505838587be8c0ec"
+SRC_URI[md5sum] = "b794724ac38cfedee2a5d27c175bc87e"
+SRC_URI[sha256sum] = 
"662bbafc614d32f645059e6e00258fed640665594f5b7f11cf4c4763cf09ddcf"
 
 EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
 --logdir=${localstatedir}/log/monkey/ \
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] PolarSSL: update package description

2014-10-16 Thread Eduardo Silva
Signed-off-by: Eduardo Silva 
---
 .../recipes-connectivity/polarssl/polarssl_1.3.8.bb| 18 +++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb 
b/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb
index d05f416..8ca1b1c 100644
--- a/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb
+++ b/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb
@@ -1,7 +1,19 @@
 SUMMARY = "Lightweight crypto and SSL/TLS library"
-DESCRIPTION = "PolarSSL is a fork of the abandonned project XySSL. It \
-is a lean crypto library providing SSL and TLS support \
-in your programs."
+DESCRIPTION = "PolarSSL is a lean open source crypto library \
+for providing SSL and TLS support in your programs. It offers\
+an intuitive API and documented header files, so you can actually\
+understand what the code does. It features:  \
+ \
+ - Symmetric algorithms, like AES, Blowfish, Triple-DES, DES, ARC4,  \
+   Camellia and XTEA \
+ - Hash algorithms, like SHA-1, SHA-2, RIPEMD-160 and MD5\
+ - Entropy pool and random generators, like CTR-DRBG and HMAC-DRBG   \
+ - Public key algorithms, like RSA, Elliptic Curves, Diffie-Hellman, \
+   ECDSA and ECDH\
+ - SSL v3 and TLS 1.0, 1.1 and 1.2   \
+ - Abstraction layers for ciphers, hashes, public key operations,\
+   platform abstraction and threading\
+"
 
 HOMEPAGE = "https://polarssl.org";
 BUGTRACKER = "https://github.com/polarssl/polarssl/issues";
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] PolarSSL: new recipe for polarssl v1.3.8

2014-10-03 Thread Eduardo Silva
PolarSSL is a lightweight crypto and SSL/TLS library with a strong
focus on embedded systems.

Signed-off-by: Eduardo Silva 
---
 .../polarssl/polarssl_1.3.8.bb | 22 ++
 1 file changed, 22 insertions(+)
 create mode 100644 
meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb

diff --git a/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb 
b/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb
new file mode 100644
index 000..d05f416
--- /dev/null
+++ b/meta-networking/recipes-connectivity/polarssl/polarssl_1.3.8.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Lightweight crypto and SSL/TLS library"
+DESCRIPTION = "PolarSSL is a fork of the abandonned project XySSL. It \
+is a lean crypto library providing SSL and TLS support \
+in your programs."
+
+HOMEPAGE = "https://polarssl.org";
+BUGTRACKER = "https://github.com/polarssl/polarssl/issues";
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
+
+SECTION = "net"
+
+SRC_URI = "https://polarssl.org/download/polarssl-${PV}-gpl.tgz";
+
+SRC_URI[md5sum] = "d1a2b4f21727e888f143414d2e3144e6"
+SRC_URI[sha256sum] = 
"318171db41335cacbb5b0047c94f1faf91442ab70a223b5223436703c9406ff1"
+
+RDEPENDS_${PN} += "libcrypto"
+EXTRA_OECMAKE = "-DUSE_SHARED_POLARSSL_LIBRARY=on"
+
+inherit cmake
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH] monkey: new v1.5.3 release.

2014-08-24 Thread Eduardo Silva
This patch add the new Monkey HTTP Server v1.5.3.

For more details about software changes please visit:

   http://monkey-project.com/Announcements/v1.5.3

=== Build Tests ==

This version have been tested on Yocto/Daisy being packaged and
deployed on images based on RPM successfully.

monkey-yocto/672eadb254e754b91efe691a6594985ee6d9a22e

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/{monkey_1.5.2.bb => monkey_1.5.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-webserver/recipes-httpd/monkey/{monkey_1.5.2.bb => 
monkey_1.5.3.bb} (94%)

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.2.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.3.bb
similarity index 94%
rename from meta-webserver/recipes-httpd/monkey/monkey_1.5.2.bb
rename to meta-webserver/recipes-httpd/monkey/monkey_1.5.3.bb
index fcd40e0..06095ba 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.2.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.3.bb
@@ -11,8 +11,8 @@ SRC_URI = 
"http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
file://monkey.service \
file://monkey.init"
 
-SRC_URI[md5sum] = "c90ccba23a814265c7e0fd3a75f883fd"
-SRC_URI[sha256sum] = 
"2048d49662895f83df475e22d87c45ea8022c0b1565bba222bda2192fd02c349"
+SRC_URI[md5sum] = "1fa9ddbb4c0100b22f2fc4b8da56dbe9"
+SRC_URI[sha256sum] = 
"0ac300e04f052818bc26b7da0183c3c5cd13be8090aaabd3505838587be8c0ec"
 
 EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
 --logdir=${localstatedir}/log/monkey/ \
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH v2] monkey: new v1.5.2 release.

2014-08-07 Thread Eduardo Silva
This patch add the new Monkey HTTP Server v1.5.2. The new Bitbake file
contains the modifications suggested over the patch set for v1.5.1. It
specify each configuration file for CONFFILES_${PN}.

For more details about software changes please visit:

  http://monkey-project.com/Announcements/v1.5.2

=== Build Tests ==

This version and new Bitbake file have been tested on Yocto/Daisy being
packaged and deployed on images based on rpm and ipk successfully.

monkey-yocto/70d57bfd19c01ec055db57e35385ffc4185ae186

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/monkey_1.5.1.bb   | 50 -
 .../recipes-httpd/monkey/monkey_1.5.2.bb   | 64 ++
 2 files changed, 64 insertions(+), 50 deletions(-)
 delete mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
 create mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.2.bb

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
deleted file mode 100644
index 2de98f4..000
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
+++ /dev/null
@@ -1,50 +0,0 @@
-SUMMARY = "Fast and Lightweight HTTP Server for Linux"
-HOMEPAGE = "http://monkey-project.com";
-BUGTRACKER = "https://github.com/monkey/monkey/issues";
-
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
-
-SECTION = "net"
-
-SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
-   file://monkey.service \
-   file://monkey.init"
-
-SRC_URI[md5sum] = "2fe04135728f5c3a86c3a412059e0da3"
-SRC_URI[sha256sum] = 
"28dfc5e57bbcd305727e7af6a1a0587868db1c1286498757bfeb72edddf457e7"
-
-EXTRA_OECONF = " \
- --plugdir=${libdir}/monkey/ \
- --logdir=${localstatedir}/log/monkey/ \
- --pidfile=${localstatedir}/run/monkey.pid \
- --default-user=www-data \
- --datadir=${localstatedir}/www/monkey/ \
- --sysconfdir=${sysconfdir}/monkey/ \
- --enable-plugins=* \
- --disable-plugins=polarssl \
- --debug \
- --malloc-libc"
-
-inherit autotools-brokensep pkgconfig update-rc.d systemd
-
-INITSCRIPT_NAME = "monkey"
-INITSCRIPT_PARAMS = "defaults 70"
-
-SYSTEMD_SERVICE_${PN} = "monkey.service"
-
-FILES_${PN} += "${localstatedir}/www/monkey/"
-
-# temporarily remove, because ipk doesn't allow directories in CONFFILES
-# CONFFILES_${PN} = "${sysconfdir}/monkey/"
-
-do_install_append() {
-
-mkdir -p ${D}${sysconfdir}/init.d
-install -m 0755 ${WORKDIR}/monkey.init ${D}${sysconfdir}/init.d/monkey
-
-if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
-install -d ${D}${systemd_unitdir}/system
-install -m 644 ${WORKDIR}/monkey.service ${D}/${systemd_unitdir}/system
-fi
-}
diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.2.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.2.bb
new file mode 100644
index 000..fcd40e0
--- /dev/null
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.2.bb
@@ -0,0 +1,64 @@
+SUMMARY = "Fast and Lightweight HTTP Server for Linux"
+HOMEPAGE = "http://monkey-project.com";
+BUGTRACKER = "https://github.com/monkey/monkey/issues";
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+SECTION = "net"
+
+SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
+   file://monkey.service \
+   file://monkey.init"
+
+SRC_URI[md5sum] = "c90ccba23a814265c7e0fd3a75f883fd"
+SRC_URI[sha256sum] = 
"2048d49662895f83df475e22d87c45ea8022c0b1565bba222bda2192fd02c349"
+
+EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
+--logdir=${localstatedir}/log/monkey/ \
+--pidfile=${localstatedir}/run/monkey.pid \
+--default-user=www-data \
+--datadir=${localstatedir}/www/monkey/ \
+--sysconfdir=${sysconfdir}/monkey/ \
+--enable-plugins=* \
+--disable-plugins=polarssl \
+--debug \
+--malloc-libc"
+
+inherit autotools-brokensep pkgconfig update-rc.d systemd
+
+INITSCRIPT_NAME = "monkey"
+INITSCRIPT_PARAMS = "defaults 70"
+
+SYSTEMD_SERVICE_${PN} = "monkey.service"
+
+FILES_${PN} += "${localstatedir}/www/monkey/"
+
+CONFFILES_${PN} = "${sysconfdir}/monkey/monkey.conf \
+   ${sysconfdir}/monkey/sites/default \
+   ${sysconfdir}/monkey/monkey.mime \
+   ${sysconfdir}/monkey/plugins.load \
+   

Re: [oe] [meta-webserver][PATCH] monkey: new v1.5.2 release.

2014-08-07 Thread Eduardo Silva
On Thu, Aug 7, 2014 at 1:49 AM, Martin Jansa  wrote:

> On Wed, Aug 06, 2014 at 10:49:36PM -0600, Eduardo Silva wrote:
> > This patch add the new Monkey HTTP Server v1.5.2. The new Bitbake file
> > contains the modifications suggested over the patch set for v1.5.1. It
> > specify each configuration file for CONFFILES_${PN}.
> >
> > For more details about software changes please visit:
> >
> >   http://monkey-project.com/Announcements/v1.5.2
>
> Can you please resend with -M?
>

I did it, i will send a new one as Patch v2.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH] monkey: new v1.5.2 release.

2014-08-06 Thread Eduardo Silva
This patch add the new Monkey HTTP Server v1.5.2. The new Bitbake file
contains the modifications suggested over the patch set for v1.5.1. It
specify each configuration file for CONFFILES_${PN}.

For more details about software changes please visit:

  http://monkey-project.com/Announcements/v1.5.2

=== Build Tests ==

This version and new Bitbake file have been tested on Yocto/Daisy being
packaged and deployed on images based on rpm and ipk successfully.

monkey-yocto/70d57bfd19c01ec055db57e35385ffc4185ae186

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/monkey_1.5.1.bb   | 50 -
 .../recipes-httpd/monkey/monkey_1.5.2.bb   | 64 ++
 2 files changed, 64 insertions(+), 50 deletions(-)
 delete mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
 create mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.2.bb

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
deleted file mode 100644
index 2de98f4..000
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
+++ /dev/null
@@ -1,50 +0,0 @@
-SUMMARY = "Fast and Lightweight HTTP Server for Linux"
-HOMEPAGE = "http://monkey-project.com";
-BUGTRACKER = "https://github.com/monkey/monkey/issues";
-
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
-
-SECTION = "net"
-
-SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
-   file://monkey.service \
-   file://monkey.init"
-
-SRC_URI[md5sum] = "2fe04135728f5c3a86c3a412059e0da3"
-SRC_URI[sha256sum] = 
"28dfc5e57bbcd305727e7af6a1a0587868db1c1286498757bfeb72edddf457e7"
-
-EXTRA_OECONF = " \
- --plugdir=${libdir}/monkey/ \
- --logdir=${localstatedir}/log/monkey/ \
- --pidfile=${localstatedir}/run/monkey.pid \
- --default-user=www-data \
- --datadir=${localstatedir}/www/monkey/ \
- --sysconfdir=${sysconfdir}/monkey/ \
- --enable-plugins=* \
- --disable-plugins=polarssl \
- --debug \
- --malloc-libc"
-
-inherit autotools-brokensep pkgconfig update-rc.d systemd
-
-INITSCRIPT_NAME = "monkey"
-INITSCRIPT_PARAMS = "defaults 70"
-
-SYSTEMD_SERVICE_${PN} = "monkey.service"
-
-FILES_${PN} += "${localstatedir}/www/monkey/"
-
-# temporarily remove, because ipk doesn't allow directories in CONFFILES
-# CONFFILES_${PN} = "${sysconfdir}/monkey/"
-
-do_install_append() {
-
-mkdir -p ${D}${sysconfdir}/init.d
-install -m 0755 ${WORKDIR}/monkey.init ${D}${sysconfdir}/init.d/monkey
-
-if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
-install -d ${D}${systemd_unitdir}/system
-install -m 644 ${WORKDIR}/monkey.service ${D}/${systemd_unitdir}/system
-fi
-}
diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.2.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.2.bb
new file mode 100644
index 000..fcd40e0
--- /dev/null
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.2.bb
@@ -0,0 +1,64 @@
+SUMMARY = "Fast and Lightweight HTTP Server for Linux"
+HOMEPAGE = "http://monkey-project.com";
+BUGTRACKER = "https://github.com/monkey/monkey/issues";
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+SECTION = "net"
+
+SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
+   file://monkey.service \
+   file://monkey.init"
+
+SRC_URI[md5sum] = "c90ccba23a814265c7e0fd3a75f883fd"
+SRC_URI[sha256sum] = 
"2048d49662895f83df475e22d87c45ea8022c0b1565bba222bda2192fd02c349"
+
+EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
+--logdir=${localstatedir}/log/monkey/ \
+--pidfile=${localstatedir}/run/monkey.pid \
+--default-user=www-data \
+--datadir=${localstatedir}/www/monkey/ \
+--sysconfdir=${sysconfdir}/monkey/ \
+--enable-plugins=* \
+--disable-plugins=polarssl \
+--debug \
+--malloc-libc"
+
+inherit autotools-brokensep pkgconfig update-rc.d systemd
+
+INITSCRIPT_NAME = "monkey"
+INITSCRIPT_PARAMS = "defaults 70"
+
+SYSTEMD_SERVICE_${PN} = "monkey.service"
+
+FILES_${PN} += "${localstatedir}/www/monkey/"
+
+CONFFILES_${PN} = "${sysconfdir}/monkey/monkey.conf \
+   ${sysconfdir}/monkey/sites/default \
+   ${sysconfdir}/monkey/monkey.mime \
+   ${sysconfdir}/monkey/plugins.load \
+   

Re: [oe] [meta-webserver][PATCHv4] monkey: new v1.5.1 release.

2014-08-06 Thread Eduardo Silva
>
> hing OE specific or something in your own environment ?
>
> It's IPK specific, see my last reply in this thread with explanation:
> "Directories in CONFFILES Was: [oe] [meta-webserver][PATCHv4] monkey:
> new v1.5.1 release."
>
>
thanks.

All changes will come in the bb file for v1.5.2 release.

-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-webserver][PATCHv4] monkey: new v1.5.1 release.

2014-08-04 Thread Eduardo Silva
Hi Martin,

Is this something OE specific or something in your own environment ?

best


On Sat, Jul 26, 2014 at 9:03 AM, Eduardo Silva  wrote:

> hi Martin,
>
>
>> > My builds are using "distroless" setup, if you're using poky then it's
>> > possible that there is still sysvinit added in your DISTRO_FEATURES
>> > somewhere (check bitbake -e monkay) so the sysv init script isn't
>> > removed in the end for you.
>>
>> I've just noticed that CONFFILES is set to
>> ${sysconfdir}/monkey/
>>
>> so it's not caused by missing init.d script but whole
>> ${sysconfdir}/monkey/ is empty in PN, can you check what's installed
>> there in your builds?
>>
>> It's either not installed when some dependency is missing or it's
>> included in different package in my build (knowing which file to look
>> for would help).
>>
>>
> thanks for tracking this. In my build using Poky i get installed the
> following files:
>
> root@qemux86:~# find /etc/monkey/
> /etc/monkey/
> /etc/monkey/sites
> /etc/monkey/sites/default
> /etc/monkey/plugins.load
> /etc/monkey/monkey.conf
> /etc/monkey/monkey.mime
> /etc/monkey/plugins
> /etc/monkey/plugins/fastcgi
> /etc/monkey/plugins/fastcgi/fastcgi.conf
> /etc/monkey/plugins/logger
> /etc/monkey/plugins/logger/logger.conf
> /etc/monkey/plugins/mandril
> /etc/monkey/plugins/mandril/mandril.conf
> /etc/monkey/plugins/dirlisting
> /etc/monkey/plugins/dirlisting/dirhtml.conf
> /etc/monkey/plugins/dirlisting/themes
> /etc/monkey/plugins/dirlisting/themes/guineo
> /etc/monkey/plugins/dirlisting/themes/guineo/entry.theme
> /etc/monkey/plugins/dirlisting/themes/guineo/footer.theme
> /etc/monkey/plugins/dirlisting/themes/guineo/header.theme
> /etc/monkey/plugins/cgi
> /etc/monkey/plugins/cgi/cgi.conf
> /etc/monkey/plugins/auth
> /etc/monkey/plugins/auth/monkey.users
> /etc/monkey/plugins/auth/README
> /etc/monkey/plugins/proxy_reverse
> /etc/monkey/plugins/proxy_reverse/proxy_reverse.conf
> /etc/monkey/plugins/cheetah
> /etc/monkey/plugins/cheetah/cheetah.conf
>
> if you need any extra info let me know,
>
> best
>
>



-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-webserver][PATCHv4] monkey: new v1.5.1 release.

2014-07-26 Thread Eduardo Silva
hi Martin,


> > My builds are using "distroless" setup, if you're using poky then it's
> > possible that there is still sysvinit added in your DISTRO_FEATURES
> > somewhere (check bitbake -e monkay) so the sysv init script isn't
> > removed in the end for you.
>
> I've just noticed that CONFFILES is set to
> ${sysconfdir}/monkey/
>
> so it's not caused by missing init.d script but whole
> ${sysconfdir}/monkey/ is empty in PN, can you check what's installed
> there in your builds?
>
> It's either not installed when some dependency is missing or it's
> included in different package in my build (knowing which file to look
> for would help).
>
>
thanks for tracking this. In my build using Poky i get installed the
following files:

root@qemux86:~# find /etc/monkey/
/etc/monkey/
/etc/monkey/sites
/etc/monkey/sites/default
/etc/monkey/plugins.load
/etc/monkey/monkey.conf
/etc/monkey/monkey.mime
/etc/monkey/plugins
/etc/monkey/plugins/fastcgi
/etc/monkey/plugins/fastcgi/fastcgi.conf
/etc/monkey/plugins/logger
/etc/monkey/plugins/logger/logger.conf
/etc/monkey/plugins/mandril
/etc/monkey/plugins/mandril/mandril.conf
/etc/monkey/plugins/dirlisting
/etc/monkey/plugins/dirlisting/dirhtml.conf
/etc/monkey/plugins/dirlisting/themes
/etc/monkey/plugins/dirlisting/themes/guineo
/etc/monkey/plugins/dirlisting/themes/guineo/entry.theme
/etc/monkey/plugins/dirlisting/themes/guineo/footer.theme
/etc/monkey/plugins/dirlisting/themes/guineo/header.theme
/etc/monkey/plugins/cgi
/etc/monkey/plugins/cgi/cgi.conf
/etc/monkey/plugins/auth
/etc/monkey/plugins/auth/monkey.users
/etc/monkey/plugins/auth/README
/etc/monkey/plugins/proxy_reverse
/etc/monkey/plugins/proxy_reverse/proxy_reverse.conf
/etc/monkey/plugins/cheetah
/etc/monkey/plugins/cheetah/cheetah.conf

if you need any extra info let me know,

best
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-webserver][PATCHv4] monkey: new v1.5.1 release.

2014-07-20 Thread Eduardo Silva
Hi Martin,

I was trying to reproduce the problem that you faced but here it worked
fine. My local.conf looks like this:

--
BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
MACHINE ??= "qemux86"
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
PACKAGECONFIG_pn-qemu-native = "sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"

INHERIT += ""

IMAGE_INSTALL_append = " monkey dropbear"
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
--

a fresh build of 'bitbake -k core-image-sato' worked with the following .bb:

b40e6ecaed2b10ba9c9aba4f128b029a  monkey_1.5.1.bb

before the test i make sure to clean the monkey stuff with 'bitbake -c
cleanall monkey'.  Do you see any difference between your system and mine
?, i am very interested into reproduce the problem you detected.

best






On Fri, Jul 18, 2014 at 12:27 PM, Martin Jansa 
wrote:

> On Fri, Jul 18, 2014 at 12:19:29PM -0600, Eduardo Silva wrote:
> > >
> > > Now it failed with:
> > >
> > > | NOTE: Not creating empty archive for monkey-locale-1.5.1-r0.2
> > > | *** Error: CONTROL/conffiles mentions conffile /etc/monkey/ which
> does
> > > not exist
> > > |
> > > | opkg-build: Please fix the above errors and try again.
> > >
> > > I guess it's because sysvinit script was removed by
> update-rc.d.bbclass and
> > > then nothing was left in /etc/monkey
> > >
> > >
> > thanks for the report. Which specific build options did you use (and
> image)
> > ?, i would like to be able to reproduce that problem locally, not sure
> why
> > my tests passed.
>
> world builds as described on
> http://www.openembedded.org/wiki/Bitbake_World_Status
>
> probably the most important difference is:
> # use systemd
> DISTRO_FEATURES_append = " systemd"
> DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
> VIRTUAL-RUNTIME_init_manager = "systemd"
> VIRTUAL-RUNTIME_initscripts = ""
>
> --
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>


-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-webserver][PATCHv4] monkey: new v1.5.1 release.

2014-07-18 Thread Eduardo Silva
>
> Now it failed with:
>
> | NOTE: Not creating empty archive for monkey-locale-1.5.1-r0.2
> | *** Error: CONTROL/conffiles mentions conffile /etc/monkey/ which does
> not exist
> |
> | opkg-build: Please fix the above errors and try again.
>
> I guess it's because sysvinit script was removed by update-rc.d.bbclass and
> then nothing was left in /etc/monkey
>
>
thanks for the report. Which specific build options did you use (and image)
?, i would like to be able to reproduce that problem locally, not sure why
my tests passed.

best


-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-webserver][PATCHv4] monkey: new v1.5.1 release.

2014-07-17 Thread Eduardo Silva
additional notes on this patch:

 - tested with Sato image with systemd
 - tested with Sato image with common init.d sript.



On Sat, Jul 12, 2014 at 12:37 AM, Eduardo Silva  wrote:

> This patch add the minor release fix of Monkey HTTP Server v1.5.1. It fixes
> some problems when switching user when started as root.
>
> monkey/yocto: 941ce3a55496d42164164877735db6c8def63265
>
> Signed-off-by: Eduardo Silva 
> ---
>  .../recipes-httpd/monkey/files/monkey.init | 34
> ++
>  .../recipes-httpd/monkey/files/monkey.service  | 12 
>  .../monkey/{monkey_1.5.0.bb => monkey_1.5.1.bb}| 25 
>  3 files changed, 65 insertions(+), 6 deletions(-)
>  create mode 100644 meta-webserver/recipes-httpd/monkey/files/monkey.init
>  create mode 100644
> meta-webserver/recipes-httpd/monkey/files/monkey.service
>  rename meta-webserver/recipes-httpd/monkey/{monkey_1.5.0.bb =>
> monkey_1.5.1.bb} (59%)
>
> diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.init
> b/meta-webserver/recipes-httpd/monkey/files/monkey.init
> new file mode 100644
> index 000..40b2118
> --- /dev/null
> +++ b/meta-webserver/recipes-httpd/monkey/files/monkey.init
> @@ -0,0 +1,34 @@
> +#!/bin/sh
> +
> +PATH=/sbin:/bin:/usr/sbin:/usr/bin
> +DAEMON=/usr/bin/monkey
> +NAME=monkey
> +DESC="Monkey HTTP Server"
> +OPTS="--daemon"
> +
> +case "$1" in
> +  start)
> +   echo -n "Starting $DESC: "
> +   start-stop-daemon --start -x "$DAEMON" -- $OPTS
> +   echo "$NAME."
> +   ;;
> +  stop)
> +   echo -n "Stopping $DESC: "
> +   start-stop-daemon --stop -x "$DAEMON"
> +   echo "$NAME."
> +   ;;
> +  restart|force-reload)
> +   echo -n "Restarting $DESC: "
> +   start-stop-daemon --stop -x "$DAEMON"
> +   sleep 1
> +   start-stop-daemon --start -x "$DAEMON" -- $OPTS
> +   echo "$NAME."
> +   ;;
> +  *)
> +   N=/etc/init.d/$NAME
> +   echo "Usage: $N {start|stop|restart|force-reload}" >&2
> +   exit 1
> +   ;;
> +esac
> +
> +exit 0
> diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.service
> b/meta-webserver/recipes-httpd/monkey/files/monkey.service
> new file mode 100644
> index 000..f9aa57f
> --- /dev/null
> +++ b/meta-webserver/recipes-httpd/monkey/files/monkey.service
> @@ -0,0 +1,12 @@
> +[Unit]
> +Description=Monkey HTTP Server
> +After=network.target remote-fs.target
> +
> +[Service]
> +Type=forking
> +ExecStart=/usr/bin/monkey --daemon
> +PIDFile=/var/run/monkey.pid.2001
> +TimeoutSec=10
> +
> +[Install]
> +WantedBy=multi-user.target
> diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
> b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
> similarity index 59%
> rename from meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
> rename to meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
> index 6fa1b77..7d0239e 100644
> --- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
> +++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
> @@ -7,22 +7,24 @@ LIC_FILES_CHKSUM =
> "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
>
>  SECTION = "net"
>
> -SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz";
> -SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3"
> -SRC_URI[sha256sum] =
> "f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7"
> +SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
> +   file://monkey.service \
> +   file://monkey.init"
> +
> +SRC_URI[md5sum] = "2fe04135728f5c3a86c3a412059e0da3"
> +SRC_URI[sha256sum] =
> "28dfc5e57bbcd305727e7af6a1a0587868db1c1286498757bfeb72edddf457e7"
>
>  EXTRA_OECONF = " \
>   --plugdir=${libdir}/monkey/ \
>   --logdir=${localstatedir}/log/monkey/ \
>   --pidfile=${localstatedir}/run/monkey.pid \
>   --default-user=www-data \
> - --datadir= ${localstatedir}/www/monkey/ \
> + --datadir=${localstatedir}/www/monkey/ \
>   --sysconfdir=${sysconfdir}/monkey/ \
>   --enable-plugins=* \
>   --disable-plugins=polarssl \
>   --debug \
> - --malloc-libc \
> -"
> + --malloc-libc"
>
>  inherit autotools-brokensep pkgconfig update-rc.d systemd
>
> @@ -34,3 +36,14 @@ SYSTEMD_SERVICE_${PN} = "monkey.service"
>  FILES_${PN} +=

[oe] [meta-webserver][PATCHv4] monkey: new v1.5.1 release.

2014-07-11 Thread Eduardo Silva
This patch add the minor release fix of Monkey HTTP Server v1.5.1. It fixes
some problems when switching user when started as root.

monkey/yocto: 941ce3a55496d42164164877735db6c8def63265

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/files/monkey.init | 34 ++
 .../recipes-httpd/monkey/files/monkey.service  | 12 
 .../monkey/{monkey_1.5.0.bb => monkey_1.5.1.bb}| 25 
 3 files changed, 65 insertions(+), 6 deletions(-)
 create mode 100644 meta-webserver/recipes-httpd/monkey/files/monkey.init
 create mode 100644 meta-webserver/recipes-httpd/monkey/files/monkey.service
 rename meta-webserver/recipes-httpd/monkey/{monkey_1.5.0.bb => 
monkey_1.5.1.bb} (59%)

diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.init 
b/meta-webserver/recipes-httpd/monkey/files/monkey.init
new file mode 100644
index 000..40b2118
--- /dev/null
+++ b/meta-webserver/recipes-httpd/monkey/files/monkey.init
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/bin/monkey
+NAME=monkey
+DESC="Monkey HTTP Server"
+OPTS="--daemon"
+
+case "$1" in
+  start)
+   echo -n "Starting $DESC: "
+   start-stop-daemon --start -x "$DAEMON" -- $OPTS
+   echo "$NAME."
+   ;;
+  stop)
+   echo -n "Stopping $DESC: "
+   start-stop-daemon --stop -x "$DAEMON"
+   echo "$NAME."
+   ;;
+  restart|force-reload)
+   echo -n "Restarting $DESC: "
+   start-stop-daemon --stop -x "$DAEMON"
+   sleep 1
+   start-stop-daemon --start -x "$DAEMON" -- $OPTS
+   echo "$NAME."
+   ;;
+  *)
+   N=/etc/init.d/$NAME
+   echo "Usage: $N {start|stop|restart|force-reload}" >&2
+   exit 1
+   ;;
+esac
+
+exit 0
diff --git a/meta-webserver/recipes-httpd/monkey/files/monkey.service 
b/meta-webserver/recipes-httpd/monkey/files/monkey.service
new file mode 100644
index 000..f9aa57f
--- /dev/null
+++ b/meta-webserver/recipes-httpd/monkey/files/monkey.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Monkey HTTP Server
+After=network.target remote-fs.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/monkey --daemon
+PIDFile=/var/run/monkey.pid.2001
+TimeoutSec=10
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
similarity index 59%
rename from meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
rename to meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
index 6fa1b77..7d0239e 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
@@ -7,22 +7,24 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
 
 SECTION = "net"
 
-SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz";
-SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3"
-SRC_URI[sha256sum] = 
"f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7"
+SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
+   file://monkey.service \
+   file://monkey.init"
+
+SRC_URI[md5sum] = "2fe04135728f5c3a86c3a412059e0da3"
+SRC_URI[sha256sum] = 
"28dfc5e57bbcd305727e7af6a1a0587868db1c1286498757bfeb72edddf457e7"
 
 EXTRA_OECONF = " \
  --plugdir=${libdir}/monkey/ \
  --logdir=${localstatedir}/log/monkey/ \
  --pidfile=${localstatedir}/run/monkey.pid \
  --default-user=www-data \
- --datadir= ${localstatedir}/www/monkey/ \
+ --datadir=${localstatedir}/www/monkey/ \
  --sysconfdir=${sysconfdir}/monkey/ \
  --enable-plugins=* \
  --disable-plugins=polarssl \
  --debug \
- --malloc-libc \
-"
+ --malloc-libc"
 
 inherit autotools-brokensep pkgconfig update-rc.d systemd
 
@@ -34,3 +36,14 @@ SYSTEMD_SERVICE_${PN} = "monkey.service"
 FILES_${PN} += "${localstatedir}/www/monkey/"
 
 CONFFILES_${PN} = "${sysconfdir}/monkey/"
+
+do_install_append() {
+
+mkdir -p ${D}${sysconfdir}/init.d
+install -m 0755 ${WORKDIR}/monkey.init ${D}${sysconfdir}/init.d/monkey
+
+if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+install -d ${D}${systemd_unitdir}/system
+install -m 644 ${WORKDIR}/monkey.service ${D}/${systemd_unitdir}/system
+fi
+}
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] systemd service failing at start

2014-07-10 Thread Eduardo Silva
Hi,

For some reason the systemd service that i plan to use for Monkey HTTP
Server in Yocto is not starting up when booting the core-image-sato image.
Once is booting it hangs saying:

  [  OK  ] Stopped Monkey HTTP Server
  [  ***   ] A Start job is running for Run pending postinsts (20min 12s...)

My service file looks like this:

--- start of monkey.service---

[Unit]
Description=Monkey HTTP Server
Requires=network.target remote-fs.target
After=network.target remote-fs.target

[Service]
Type=forking
ExecStart=/usr/bin/monkey --daemon
PIDFile=/var/run/monkey.pid.2001
TimeoutSec=10

[Install]
WantedBy=multi-user.target

-- end--

If i deploy Monkey RPM (cooked by bitbake) on the Sato image and i add this
service once the system is up, systemd can start the service without
problems, everything works: start, stop, status, etc. Do i am missing
something that can be generating some problems on the first boot ?

thanks for your help

-- 
Eduardo Silva
Monkey Software
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCHv4] monkey: new v1.5.1 release.

2014-06-24 Thread Eduardo Silva
On Fri, Jun 20, 2014 at 6:01 PM, Martin Jansa 
wrote:

> On Thu, Jun 19, 2014 at 10:39:08AM +0200, Martin Jansa wrote:
> > On Wed, Jun 18, 2014 at 05:41:10PM -0600, Eduardo Silva wrote:
> > > This patch add the minor release fix of Monkey HTTP Server v1.5.1. It
> fixes
> > > some problems when switching user when started as root.
> > >
> > > monkey/yocto: 3163d01492ea3d85268dc3773419e94db57ee8df
> >
> > [meta-webserver] is still missing in subject (helps me a lot when
> > separating patches on patchwork), you don't need to resend it now, but
> > please remember it for next time.
>
> It seems to fail with systemd enabled:
>
> | ERROR: Function failed: SYSTEMD_SERVICE_monkey value monkey.service does
> not exist
> NOTE: recipe monkey-1.5.1-r0: task do_package: Failed
>

thanks for pointing out the problem.

There is a missing configure script option that is the one in charge to
create the systemd service file. I will make sure to fix it shortly,

best
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCHv4] monkey: new v1.5.1 release.

2014-06-19 Thread Eduardo Silva
>
> [meta-webserver] is still missing in subject (helps me a lot when
> separating patches on patchwork), you don't need to resend it now, but
> please remember it for next time.
>

thanks for the suggestion, it will be done from now,

best
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] monkey: new v1.5.1 release (v2).

2014-06-18 Thread Eduardo Silva
hi everybody,

> I suspect it corresponds with the layer that Eduardo is maintaining on
> > github. For meta-webserver I'm not too concerned if these sorts of things
> > are in the commit message if it helps for future reference, so I'm happy
> > for it to stay.
>
> Actually, I just tested this it seems clear that this recipe has not
> actually
> been build-tested - the issue pointed out earlier with the errant space in
> EXTRA_OECONF (between "--datadir=" and "${localstatedir}/www/monkey/" is
> still
> present, so do_configure fails immediately.
>
> Eduardo could you please fix this as part of this upgrade, test it and
> send a
> v3?
>

my apologizes for the problem and noise, i have submitted PATCHv4 with the
proper fix,

best regards,
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCHv4] monkey: new v1.5.1 release.

2014-06-18 Thread Eduardo Silva
This patch add the minor release fix of Monkey HTTP Server v1.5.1. It fixes
some problems when switching user when started as root.

monkey/yocto: 3163d01492ea3d85268dc3773419e94db57ee8df

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/{monkey_1.5.0.bb => monkey_1.5.1.bb}   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-webserver/recipes-httpd/monkey/{monkey_1.5.0.bb => 
monkey_1.5.1.bb} (83%)

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
similarity index 83%
rename from meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
rename to meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
index 6fa1b77..2ea18f5 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
@@ -8,15 +8,15 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
 SECTION = "net"
 
 SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz";
-SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3"
-SRC_URI[sha256sum] = 
"f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7"
+SRC_URI[md5sum] = "2fe04135728f5c3a86c3a412059e0da3"
+SRC_URI[sha256sum] = 
"28dfc5e57bbcd305727e7af6a1a0587868db1c1286498757bfeb72edddf457e7"
 
 EXTRA_OECONF = " \
  --plugdir=${libdir}/monkey/ \
  --logdir=${localstatedir}/log/monkey/ \
  --pidfile=${localstatedir}/run/monkey.pid \
  --default-user=www-data \
- --datadir= ${localstatedir}/www/monkey/ \
+ --datadir=${localstatedir}/www/monkey/ \
  --sysconfdir=${sysconfdir}/monkey/ \
  --enable-plugins=* \
  --disable-plugins=polarssl \
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCHv3] monkey: new v1.5.1 release.

2014-06-18 Thread Eduardo Silva
This patch add the minor release fix of Monkey HTTP Server v1.5.1. It fixes
some problems when switching user when started as root.

monkey/yocto: 3163d01492ea3d85268dc3773419e94db57ee8df

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/monkey_1.5.0.bb   | 36 --
 1 file changed, 36 deletions(-)
 delete mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
deleted file mode 100644
index 6fa1b77..000
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
+++ /dev/null
@@ -1,36 +0,0 @@
-SUMMARY = "Fast and Lightweight HTTP Server for Linux"
-HOMEPAGE = "http://monkey-project.com";
-BUGTRACKER = "https://github.com/monkey/monkey/issues";
-
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
-
-SECTION = "net"
-
-SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz";
-SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3"
-SRC_URI[sha256sum] = 
"f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7"
-
-EXTRA_OECONF = " \
- --plugdir=${libdir}/monkey/ \
- --logdir=${localstatedir}/log/monkey/ \
- --pidfile=${localstatedir}/run/monkey.pid \
- --default-user=www-data \
- --datadir= ${localstatedir}/www/monkey/ \
- --sysconfdir=${sysconfdir}/monkey/ \
- --enable-plugins=* \
- --disable-plugins=polarssl \
- --debug \
- --malloc-libc \
-"
-
-inherit autotools-brokensep pkgconfig update-rc.d systemd
-
-INITSCRIPT_NAME = "monkey"
-INITSCRIPT_PARAMS = "defaults 70"
-
-SYSTEMD_SERVICE_${PN} = "monkey.service"
-
-FILES_${PN} += "${localstatedir}/www/monkey/"
-
-CONFFILES_${PN} = "${sysconfdir}/monkey/"
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] monkey: new v1.5.1 release.

2014-06-17 Thread Eduardo Silva
>
> >
> > monkey/yocto: 7a702d00c5e48d1e03d8bbd2c7bd93a0d26f701e
> >
> > Signed-off-by: Eduardo Silva 
> > ---
> >  .../recipes-httpd/monkey/monkey_1.5.1.bb   | 36
> > ++ 1 file changed, 36 insertions(+)
>
> Typically we try to keep only one version of each recipe unless there is a
> good reason to do otherwise. Could you send a v2 of your patch which also
> removes the previous version recipe?
>
>
thanks for the feedback, already done (new patch sent).

best
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] monkey: new v1.5.1 release (v2).

2014-06-17 Thread Eduardo Silva
This patch add the minor release fix of Monkey HTTP Server v1.5.1. It fixes
some problems when switching user when started as root.

monkey/yocto: 7a702d00c5e48d1e03d8bbd2c7bd93a0d26f701e

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/{monkey_1.5.0.bb => monkey_1.5.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-webserver/recipes-httpd/monkey/{monkey_1.5.0.bb => 
monkey_1.5.1.bb} (88%)

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
similarity index 88%
rename from meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
rename to meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
index 6fa1b77..172d4f7 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
 SECTION = "net"
 
 SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz";
-SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3"
-SRC_URI[sha256sum] = 
"f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7"
+SRC_URI[md5sum] = "2fe04135728f5c3a86c3a412059e0da3"
+SRC_URI[sha256sum] = 
"28dfc5e57bbcd305727e7af6a1a0587868db1c1286498757bfeb72edddf457e7"
 
 EXTRA_OECONF = " \
  --plugdir=${libdir}/monkey/ \
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] monkey: new v1.5.1 release.

2014-06-14 Thread Eduardo Silva
This patch add the minor release fix of Monkey HTTP Server v1.5.1. It fixes
some problems when switching user when started as root.

monkey/yocto: 7a702d00c5e48d1e03d8bbd2c7bd93a0d26f701e

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/monkey_1.5.1.bb   | 36 ++
 1 file changed, 36 insertions(+)
 create mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
new file mode 100644
index 000..172d4f7
--- /dev/null
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.1.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Fast and Lightweight HTTP Server for Linux"
+HOMEPAGE = "http://monkey-project.com";
+BUGTRACKER = "https://github.com/monkey/monkey/issues";
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+SECTION = "net"
+
+SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz";
+SRC_URI[md5sum] = "2fe04135728f5c3a86c3a412059e0da3"
+SRC_URI[sha256sum] = 
"28dfc5e57bbcd305727e7af6a1a0587868db1c1286498757bfeb72edddf457e7"
+
+EXTRA_OECONF = " \
+ --plugdir=${libdir}/monkey/ \
+ --logdir=${localstatedir}/log/monkey/ \
+ --pidfile=${localstatedir}/run/monkey.pid \
+ --default-user=www-data \
+ --datadir= ${localstatedir}/www/monkey/ \
+ --sysconfdir=${sysconfdir}/monkey/ \
+ --enable-plugins=* \
+ --disable-plugins=polarssl \
+ --debug \
+ --malloc-libc \
+"
+
+inherit autotools-brokensep pkgconfig update-rc.d systemd
+
+INITSCRIPT_NAME = "monkey"
+INITSCRIPT_PARAMS = "defaults 70"
+
+SYSTEMD_SERVICE_${PN} = "monkey.service"
+
+FILES_${PN} += "${localstatedir}/www/monkey/"
+
+CONFFILES_${PN} = "${sysconfdir}/monkey/"
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] monkey: fix broken separate build with workaround.

2014-06-11 Thread Eduardo Silva
This patch make use of autotools-brokensep on main
recipe to avoid a broken build when using a different
build directory.

monkey-yocto/f15c9e7cd9143ce8486ae5e78db9092238c3d0ec

Signed-off-by: Eduardo Silva 
---
 meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
index 07a202f..6fa1b77 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
@@ -24,7 +24,7 @@ EXTRA_OECONF = " \
  --malloc-libc \
 "
 
-inherit autotools pkgconfig update-rc.d systemd
+inherit autotools-brokensep pkgconfig update-rc.d systemd
 
 INITSCRIPT_NAME = "monkey"
 INITSCRIPT_PARAMS = "defaults 70"
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] [meta-webserver]: add Monkey HTTP Server.

2014-06-11 Thread Eduardo Silva
Hi all,

/media/large/tmp/work/core2-64-poky-linux/monkey/1.5.0-
> r0/temp/log.do_compile.22474)
> ERROR: Task 6 (/home/paul/poky/meta-oe/meta-webserver/recipes-
> httpd/monkey/monkey_1.5.0.bb, do_compile) failed with exit code '1'
> - snip --
>
> The quick fix for this is to inherit autotools-brokensep; a more desirable
> long-term fix would be to fix monkey to allow building it in a separate
> build
> directory.
>
> Eduardo, could you please send patches for these?
>

thanks for tracking down this problem.

After verify, our configure script miss that feature (i am wondering why
this problem did not happened on our local tests), as this is something
that is breaking the build we will work in a long-term fix. You should
receive today a patch for the quickfix plus the new recipe for Monkey
v1.5.1 (minor release).

cheers,
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] [meta-webserver]: add Monkey HTTP Server.

2014-06-05 Thread Eduardo Silva
This patch adds the Monkey HTTP Server v1.5.0 recipes. The content
on this patch includes the modifications suggested by people in the
Maling List.

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/monkey_1.5.0.bb   | 36 ++
 1 file changed, 36 insertions(+)
 create mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
new file mode 100644
index 000..07a202f
--- /dev/null
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Fast and Lightweight HTTP Server for Linux"
+HOMEPAGE = "http://monkey-project.com";
+BUGTRACKER = "https://github.com/monkey/monkey/issues";
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+SECTION = "net"
+
+SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz";
+SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3"
+SRC_URI[sha256sum] = 
"f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7"
+
+EXTRA_OECONF = " \
+ --plugdir=${libdir}/monkey/ \
+ --logdir=${localstatedir}/log/monkey/ \
+ --pidfile=${localstatedir}/run/monkey.pid \
+ --default-user=www-data \
+ --datadir= ${localstatedir}/www/monkey/ \
+ --sysconfdir=${sysconfdir}/monkey/ \
+ --enable-plugins=* \
+ --disable-plugins=polarssl \
+ --debug \
+ --malloc-libc \
+"
+
+inherit autotools pkgconfig update-rc.d systemd
+
+INITSCRIPT_NAME = "monkey"
+INITSCRIPT_PARAMS = "defaults 70"
+
+SYSTEMD_SERVICE_${PN} = "monkey.service"
+
+FILES_${PN} += "${localstatedir}/www/monkey/"
+
+CONFFILES_${PN} = "${sysconfdir}/monkey/"
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] [meta-webserver]: add Monkey HTTP Server.

2014-06-03 Thread Eduardo Silva
On Tue, Jun 3, 2014 at 12:23 AM, Koen Kooi 
wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Eduardo Silva schreef op 02-06-14 23:14:
> > This patch add the initial recipe for Monkey HTTP Server v1.5.0.
> >
> > Signed-off-by: Eduardo Silva  ---
> > .../recipes-httpd/monkey/monkey_1.5.0.bb   | 36
> > ++ 1 file changed, 36 insertions(+) create mode
> > 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
> >
> > diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
> > b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb new file mode
> > 100644 index 000..25a9530 --- /dev/null +++
> > b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb @@ -0,0 +1,36 @@
> > +SUMMARY = "Fast and Lightweight HTTP Server for Linux" +HOMEPAGE =
> > "http://monkey-project.com"; +BUGTRACKER =
> > "https://github.com/monkey/monkey/issues"; + +LICENSE = "Apache-2.0"
> > +LIC_FILES_CHKSUM =
> > "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +SECTION = "net"
> > + +SRC_URI =
> > "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz";
> > +SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3" +SRC_URI[sha256sum]
> > = "f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7" +
> > +EXTRA_OECONF = " \ + --plugdir=${libdir}/monkey/ \ +
> > --logdir=/var/log/monkey/ \ + --pidfile=/var/run/monkey.pid
> > \ + --default-user=www-data \ +
> > --datadir=/var/www/monkey/ \
>
> /var -> ${localstatedir} ?
>
>
> > + --sysconfdir=${sysconfdir}/monkey/ \ +
> > --enable-plugins=* \ + --disable-plugins=polarssl \ +
> > --debug \ + --malloc-libc \ +" + +inherit autotools pkgconfig
> > update-rc.d systemd + +INITSCRIPT_NAME = "monkey" +INITSCRIPT_PARAMS =
> > "defaults 70" + +SYSTEMD_SERVICE_${PN} = "monkey.service" + +FILES_${PN}
> > += "/www" + +CONFFILES_${PN} = "${sysconfdir}/monkey/"
> >
>
>
thanks to all for the feedback!.

Before to submit a new patch, would you please verify if it now looks
correct now ?:

   https://github.com/monkey/monkey-yocto/blob/master/monkey/monkey_1.5.0.bb

if it's ok i will submit a new one.

best
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] [meta-webserver]: add Monkey HTTP Server

2014-06-02 Thread Eduardo Silva
On Mon, Jun 2, 2014 at 2:56 PM, Jack Mitchell  wrote:
> Hi Eduardo,
>
> Just the one comment inline.
>
>
> On 02/06/2014 21:35, Eduardo Silva wrote:
>>
>> Signed-off-by: Eduardo Silva 
>> ---
>>   .../recipes-httpd/monkey/monkey_1.5.0.bb   | 38
>> ++
>>   1 file changed, 38 insertions(+)
>>   create mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
>>
>> diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
>> b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
>> new file mode 100644
>> index 000..c6f1a76
>> --- /dev/null
>> +++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
>> @@ -0,0 +1,38 @@
>> +SUMMARY = "Fast and Lightweight HTTP Server for Linux"
>> +HOMEPAGE = "http://monkey-project.com";
>> +BUGTRACKER = "https://github.com/monkey/monkey/issues";
>> +
>> +LICENSE = "Apache-2.0"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
>> +
>> +PR = "r1"
>
>
> PR is no longer needed, remove.

new patch will be submitted.
thanks
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] [meta-webserver]: add Monkey HTTP Server.

2014-06-02 Thread Eduardo Silva
This patch add the initial recipe for Monkey HTTP Server v1.5.0.

Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/monkey_1.5.0.bb   | 36 ++
 1 file changed, 36 insertions(+)
 create mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
new file mode 100644
index 000..25a9530
--- /dev/null
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Fast and Lightweight HTTP Server for Linux"
+HOMEPAGE = "http://monkey-project.com";
+BUGTRACKER = "https://github.com/monkey/monkey/issues";
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+SECTION = "net"
+
+SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz";
+SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3"
+SRC_URI[sha256sum] = 
"f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7"
+
+EXTRA_OECONF = " \
+ --plugdir=${libdir}/monkey/ \
+ --logdir=/var/log/monkey/ \
+ --pidfile=/var/run/monkey.pid \
+ --default-user=www-data \
+ --datadir=/var/www/monkey/ \
+ --sysconfdir=${sysconfdir}/monkey/ \
+ --enable-plugins=* \
+ --disable-plugins=polarssl \
+ --debug \
+ --malloc-libc \
+"
+
+inherit autotools pkgconfig update-rc.d systemd
+
+INITSCRIPT_NAME = "monkey"
+INITSCRIPT_PARAMS = "defaults 70"
+
+SYSTEMD_SERVICE_${PN} = "monkey.service"
+
+FILES_${PN} += "/www"
+
+CONFFILES_${PN} = "${sysconfdir}/monkey/"
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] [meta-webserver]: add Monkey HTTP Server

2014-06-02 Thread Eduardo Silva
Signed-off-by: Eduardo Silva 
---
 .../recipes-httpd/monkey/monkey_1.5.0.bb   | 38 ++
 1 file changed, 38 insertions(+)
 create mode 100644 meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb 
b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
new file mode 100644
index 000..c6f1a76
--- /dev/null
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb
@@ -0,0 +1,38 @@
+SUMMARY = "Fast and Lightweight HTTP Server for Linux"
+HOMEPAGE = "http://monkey-project.com";
+BUGTRACKER = "https://github.com/monkey/monkey/issues";
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+PR = "r1"
+
+SECTION = "net"
+
+SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz";
+SRC_URI[md5sum] = "9123fc371334621fde1c060ab17adcd3"
+SRC_URI[sha256sum] = 
"f7a5e4839822750930a723f63a4edbf700e0fb8299a4b3637bd8bab5b1d098a7"
+
+EXTRA_OECONF = " \
+ --plugdir=${libdir}/monkey/ \
+ --logdir=/var/log/monkey/ \
+ --pidfile=/var/run/monkey.pid \
+ --default-user=www-data \
+ --datadir=/var/www/monkey/ \
+ --sysconfdir=${sysconfdir}/monkey/ \
+ --enable-plugins=* \
+ --disable-plugins=polarssl \
+ --debug \
+ --malloc-libc \
+"
+
+inherit autotools pkgconfig update-rc.d systemd
+
+INITSCRIPT_NAME = "monkey"
+INITSCRIPT_PARAMS = "defaults 70"
+
+SYSTEMD_SERVICE_${PN} = "monkey.service"
+
+FILES_${PN} += "/www"
+
+CONFFILES_${PN} = "${sysconfdir}/monkey/"
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel