aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Silva <eduardo@monkey.io>2014-06-05 11:00:07 -0600
committerPaul Eggleton <paul.eggleton@linux.intel.com>2014-06-07 15:48:37 +0100
commit33e1da434d150d148f1ccc6934ed7709f3247e2c (patch)
tree8905d214401e6e4a42af93e9be175fe735a8f0e0
parent25b3fb81c9627efd76d5aec468513c53e53148cb (diff)
downloadmeta-openembedded-contrib-33e1da434d150d148f1ccc6934ed7709f3247e2c.tar.gz
meta-openembedded-contrib-33e1da434d150d148f1ccc6934ed7709f3247e2c.tar.bz2
meta-openembedded-contrib-33e1da434d150d148f1ccc6934ed7709f3247e2c.zip
monkey: add Monkey HTTP Server
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 <eduardo@monkey.io>
-rw-r--r--meta-webserver/recipes-httpd/monkey/monkey_1.5.0.bb36
1 files changed, 36 insertions, 0 deletions
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 0000000000..07a202f090
--- /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/"