Skip to contentSkip to conversation

: add Monkey HTTP Server.

PATCH In review Eduardo Silva 3 participants 4 messages Jun 2, 2014 – Jun 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : add Monkey HTTP Server.

This patch add the initial recipe for Monkey HTTP Server v1.5.0.

---
 .../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
meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb new file +36 -0
new file mode 100644
index 0000000..25a9530
@@ -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/"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · Eduardo Silva

This patch add the initial recipe for Monkey HTTP Server v1.5.0.

...

Quoted 1 line

+ --datadir=/var/www/monkey/ \

...

Quoted 1 line

+FILES_${PN} += "/www"

Does not match. Is it right?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#2 lore raw
In reply to Eduardo Silva

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eduardo Silva schreef op 02-06-14 23:14:

Quoted 8 lines

This patch add the initial recipe for Monkey HTTP Server v1.5.0.

.../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

(quoted diff) +0 -0
Quoted 16 lines

b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb new file mode 100644 index 0000000..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} ?

Quoted 7 lines

+ --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/"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFTjWnfMkyGM64RGpERAleHAJ98+/IM1m1Ddw708zXerzZummo+0QCdH9Yl t/mM47yqio6yGosSXuuTVBY=
=BunW
-----END PGP SIGNATURE-----

#3 lore raw
Quoted 22 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eduardo Silva schreef op 02-06-14 23:14:

Quoted 18 lines

This patch add the initial recipe for Monkey HTTP Server v1.5.0.

.../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

(quoted diff) +0 -0

b/meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb new file mode 100644 index 0000000..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"

Quoted 19 lines
Quoted 6 lines

+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} ?

Quoted 7 lines

+ --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