Skip to contentSkip to conversation

: add Monkey HTTP Server

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : add Monkey HTTP Server

---
 .../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
meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb new file +38 -0
new file mode 100644
index 0000000..c6f1a76
@@ -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/"
Signature · 1 line
1.9.1
#1 lore raw

Hi Eduardo,

Just the one comment inline.

Quoted 12 lines · 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

meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb new file +0 -0
new file mode 100644
index 0000000..c6f1a76

meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb line 8

Quoted 8 lines
meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb new file +8 -0
@@ -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.

Quoted 31 lines
meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb new file +30 -0
+
+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/"
#2 lore raw
Quoted 24 lines · Jack Mitchell

Hi Eduardo,

Just the one comment inline.

Quoted 18 lines · 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

meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb new file +3 -0
new file mode 100644
index 0000000..c6f1a76
@@ -0,0 +1,38 @@
+SUMMARY = "Fast and Lightweight HTTP Server for Linux"
+HOMEPAGE = "http://monkey-project.com"
+BUGTRACKER = "https://github.com/monkey/monkey/issues"
Quoted 8 lines

meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb line 8

Quoted 5 lines
meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb new file +5 -0
+
+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