summaryrefslogtreecommitdiff
path: root/www-servers/monkeyd
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/monkeyd')
-rw-r--r--www-servers/monkeyd/Manifest9
-rw-r--r--www-servers/monkeyd/files/monkeyd-1.6.8-system-mbedtls.patch19
-rw-r--r--www-servers/monkeyd/files/monkeyd-1.6.9-fix-pidfile.patch12
-rw-r--r--www-servers/monkeyd/files/monkeyd.confd5
-rw-r--r--www-servers/monkeyd/files/monkeyd.initd25
-rw-r--r--www-servers/monkeyd/files/monkeyd.initd-r125
-rw-r--r--www-servers/monkeyd/metadata.xml9
-rw-r--r--www-servers/monkeyd/monkeyd-1.6.9-r2.ebuild136
-rw-r--r--www-servers/monkeyd/monkeyd-9999.ebuild136
9 files changed, 0 insertions, 376 deletions
diff --git a/www-servers/monkeyd/Manifest b/www-servers/monkeyd/Manifest
deleted file mode 100644
index e811311ee61e..000000000000
--- a/www-servers/monkeyd/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-AUX monkeyd-1.6.8-system-mbedtls.patch 672 BLAKE2B e16fc9540e179e36381925905a9d45666289797d2d230a4387d531f730659248dd24dc8e778237bad82fa3636e11b027a047bd13e98f47bec5efc48ec44650b0 SHA512 e5eed5eb1d5810b56c94280419859bcb8f8d5d2277965ffc17e00c9074da282c2197ac4ed7e029a57264722f8e1df43cdc5aae4cbf7900e537c60802ad397647
-AUX monkeyd-1.6.9-fix-pidfile.patch 526 BLAKE2B 179782b8a81ad6881a6ef6616a33b922ebe4e699ac98a434ad6cdab5077c215df7322200af3580326d495dbec616e9eb4d07e4b17a23ae1a92efa03b663044a1 SHA512 73026d23723b95316f83ec7c9c49be014c3a52b86bf76cc5b4273ac4393f968d6123bff48afda6478b5d5409eb154d25eeb5f51fc20db53f4d679fdf3cbb35a2
-AUX monkeyd.confd 172 BLAKE2B 12259f30705d5f9e20971a4966056481636b5134951a850c1a468a0bfeb6cc2b874940ecb2617cbd1ab773234ed4138c93ee3f4ee6518a427648f5a21a5527a6 SHA512 8ca7312a80440e908ef8c6297870411f4978c56fe8ad09589d1bb56e9d545d086a53f07120d5cc14c6042a83755730ac6fc4839020a5159eb054eb34d3f264e7
-AUX monkeyd.initd 601 BLAKE2B 178c97cb2d8281a971c43ec78d5904238b180ad43ea47a7aaf272010fcceb9942a3b6b2089ea7b8244d265a1f4d241fb82b483073f75204356fd775769992625 SHA512 e356742c537b5bbc8d9696e5fdad0c08d93ace5085f8939fa50d97498ebe0d85712af5da675e76c642296856768081ee14d6f0d3d73a17ce4642cf46e9056a79
-AUX monkeyd.initd-r1 608 BLAKE2B c6ce981294e6e852d346166ba71493470f8ac3604cf597a35a8d38a0ab1fe4c808de018a94149832d0f647257cff42c189dbfc6ef9876a06a338c4cfdeb1c3ba SHA512 d1a30f0033d9f2a0957028a6873b71903d8051340ac272ccbaf12daba9a89bf0c2e476b8aa22a0e60697ffd10ab5c1d6a4aa0ff7b204f8b4adc76ebe91b8abaa
-DIST monkey-1.6.9.tar.gz 1972040 BLAKE2B f1fe4791bfdba14905797e36563d76a7b551fb3f8bf4d387c598f6c19f58e7759044e4ad2664ac29a546ce76b210fa61285198c711751c7a47c124be507898a7 SHA512 3540a17fffe57a9d4b88b6243c634dcf6a27ed894ae2a0d5d42a4881221a9d59ae67d4c7fcf087535360d20ccdadab16947cf3a7dc6d4e864d487f598eb0ba62
-EBUILD monkeyd-1.6.9-r2.ebuild 3499 BLAKE2B 9e96f877fc3eba717af1ff1e42b7b195b6034d448a930729188a92e15438b4dcb6e0970edcac8df73a492bd92d9b1a6d2d1a9934f4ca1e7e72dfec94a704a57d SHA512 b7564de8bba31b45ff57995835242273145f31e78e7ab0b928d8daac94ec6fc8fdfa24715a95e913a970832e07dd393a41d600a60a1671f4b18065f650c3be69
-EBUILD monkeyd-9999.ebuild 3504 BLAKE2B 505d0e50077404895ba3c6d513e4758af78a4750a1d0c5e63f9947dde6fad423b45b376030358a51b1f41ee02a153939d399e869f253a0b8d75600d3d16bf2b8 SHA512 287bc45b353521beafe6b26ad3096c5e427c2354b5c268b8f0b70158ed836b3512af2f710b04c7f7ee0949e74c580b9f175f54db11a0b27139ba1be6c36820eb
-MISC metadata.xml 310 BLAKE2B 29ddccb5f2c0d85d2af642d46b412432874ee65c5c4b1ab8b158cb1d7c0fd03e129a28559c8473be2c3a6e9c28d3eea296b0fc08390a26ba1276cc6350700e11 SHA512 7456de803c42949c9d4c95b8594aed57714a38f257154a32005304bb2939291a8fecc4fca8396392a63daeb892361bc033bd0afb8a97cc0ba96356cac17252d7
diff --git a/www-servers/monkeyd/files/monkeyd-1.6.8-system-mbedtls.patch b/www-servers/monkeyd/files/monkeyd-1.6.8-system-mbedtls.patch
deleted file mode 100644
index 6b7ca5473ee0..000000000000
--- a/www-servers/monkeyd/files/monkeyd-1.6.8-system-mbedtls.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naur monkey-1.6.3.orig/plugins/tls/CMakeLists.txt monkey-1.6.3/plugins/tls/CMakeLists.txt
---- monkey-1.6.3.orig/plugins/tls/CMakeLists.txt 2015-10-13 13:23:34.000000000 -0400
-+++ monkey-1.6.3/plugins/tls/CMakeLists.txt 2015-10-14 21:28:27.941930485 -0400
-@@ -2,15 +2,6 @@
- tls.c
- )
-
--if(NOT WITH_MBEDTLS_SHARED)
-- option(ENABLE_TESTING OFF)
-- option(ENABLE_PROGRAMS OFF)
-- option(INSTALL_MBEDTLS_HEADERS OFF)
-- set(MK_MBEDTLS_SRC ../../deps/mbedtls-2.2.1)
-- add_subdirectory(${MK_MBEDTLS_SRC} ${CMAKE_BINARY_DIR}/mbedtls-2.2.1)
-- include_directories(${MK_MBEDTLS_SRC}/include)
--endif()
--
- MONKEY_PLUGIN(tls "${src}")
-
- MONKEY_PLUGIN_LINK_LIB(tls mbedtls)
diff --git a/www-servers/monkeyd/files/monkeyd-1.6.9-fix-pidfile.patch b/www-servers/monkeyd/files/monkeyd-1.6.9-fix-pidfile.patch
deleted file mode 100644
index 82550aef4d09..000000000000
--- a/www-servers/monkeyd/files/monkeyd-1.6.9-fix-pidfile.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur monkey-1.6.9.orig/CMakeLists.txt monkey-1.6.9/CMakeLists.txt
---- monkey-1.6.9.orig/CMakeLists.txt 2016-06-04 19:16:47.000000000 -0400
-+++ monkey-1.6.9/CMakeLists.txt 2016-07-01 13:08:51.237213196 -0400
-@@ -285,7 +285,7 @@
-
- # Custom PIDPATH
- if(NOT PID_PATH)
-- set(MK_PATH_PIDPATH ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/run/ CACHE STRING "Server PID path")
-+ set(MK_PATH_PIDPATH /run/ CACHE STRING "Server PID path")
- else()
- set(MK_PATH_PIDPATH ${PID_PATH} CACHE STRING "Server PID path")
- endif()
diff --git a/www-servers/monkeyd/files/monkeyd.confd b/www-servers/monkeyd/files/monkeyd.confd
deleted file mode 100644
index 818957c9792c..000000000000
--- a/www-servers/monkeyd/files/monkeyd.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Add any additional command line arguments here
-MONKEY_ARGS=""
diff --git a/www-servers/monkeyd/files/monkeyd.initd b/www-servers/monkeyd/files/monkeyd.initd
deleted file mode 100644
index c44975ddda24..000000000000
--- a/www-servers/monkeyd/files/monkeyd.initd
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-DAEMON="/usr/bin/monkey"
-CONFFILE="/etc/monkeyd/monkey.conf"
-
-depend() {
- use net
-}
-
-start() {
- ebegin "Starting monkeyd"
- start-stop-daemon --start --exec "${DAEMON}" -- "-D" "${MONKEY_ARGS}" >/dev/null
- eend $?
-}
-
-stop() {
- ebegin "Stopping monkeyd"
- local PORT=$(awk '/^ *Port/ { print $2 }' "${CONFFILE}")
- local PIDFILE=$(awk '/^ *PidFile/ { print $2 }' "${CONFFILE}")
- PIDFILE="${PIDFILE}"."${PORT}"
- start-stop-daemon --stop --quiet --pidfile "${PIDFILE}"
- eend $?
-}
diff --git a/www-servers/monkeyd/files/monkeyd.initd-r1 b/www-servers/monkeyd/files/monkeyd.initd-r1
deleted file mode 100644
index 6ec67e11435c..000000000000
--- a/www-servers/monkeyd/files/monkeyd.initd-r1
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-DAEMON="/usr/sbin/monkey"
-CONFFILE="/etc/monkeyd/monkey.conf"
-
-depend() {
- use net
-}
-
-start() {
- ebegin "Starting monkeyd"
- local PIDFILE=$(awk '/^ *PidFile/ { print $2 }' "${CONFFILE}")
- mkdir -p $(dirname ${PIDFILE})
- start-stop-daemon --start --exec "${DAEMON}" -- "-D" "${MONKEY_ARGS}" >/dev/null
- eend $?
-}
-
-stop() {
- ebegin "Stopping monkeyd"
- local PIDFILE=$(awk '/^ *PidFile/ { print $2 }' "${CONFFILE}")
- start-stop-daemon --stop --quiet --pidfile "${PIDFILE}"
- eend $?
-}
diff --git a/www-servers/monkeyd/metadata.xml b/www-servers/monkeyd/metadata.xml
deleted file mode 100644
index 56d90feb80b4..000000000000
--- a/www-servers/monkeyd/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <use>
- <flag name="debug">Enable lots of debugging info</flag>
- <flag name="static-plugins">Build statically linked plugins</flag>
- </use>
-</pkgmetadata>
diff --git a/www-servers/monkeyd/monkeyd-1.6.9-r2.ebuild b/www-servers/monkeyd/monkeyd-1.6.9-r2.ebuild
deleted file mode 100644
index 1d194afb20c4..000000000000
--- a/www-servers/monkeyd/monkeyd-1.6.9-r2.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="A small, fast, and scalable web server"
-HOMEPAGE="http://www.monkey-project.com/"
-MY_P="${PN/d}-${PV}"
-if [[ ${PV} == *9999* ]] ; then
- EGIT_REPO_URI="https://github.com/monkey/monkey.git"
- inherit git-r3
-else
- SRC_URI="http://monkey-project.com/releases/${PV:0:3}/${MY_P}.tar.gz"
- KEYWORDS="amd64 arm ~mips ppc ppc64 x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-# jemalloc is also off until we figure out how to work CMakeLists.txt magic.
-#IUSE="cgi debug fastcgi jemalloc php static-plugins ${PLUGINS}"
-
-PLUGINS="monkeyd_plugins_auth monkeyd_plugins_cheetah monkeyd_plugins_dirlisting +monkeyd_plugins_liana monkeyd_plugins_logger monkeyd_plugins_mandril monkeyd_plugins_tls"
-IUSE="cgi debug fastcgi php static-plugins ${PLUGINS}"
-
-REQUIRED_USE="
- monkeyd_plugins_tls? ( !static-plugins )
- cgi? ( php )"
-
-#DEPEND="jemalloc? ( >=dev-libs/jemalloc-3.3.1 )"
-DEPEND="
- dev-build/cmake
- monkeyd_plugins_tls? ( net-libs/mbedtls:= )"
-RDEPEND="
- acct-group/monkeyd
- acct-user/monkeyd
- php? ( dev-lang/php )
- cgi? ( dev-lang/php[cgi] )"
-
-S="${WORKDIR}/${MY_P}"
-
-WEBROOT="/var/www/localhost"
-
-pkg_setup() {
- if use debug; then
- ewarn
- ewarn "\033[1;33m**************************************************\033[00m"
- ewarn "Do not use debug in production!"
- ewarn "\033[1;33m**************************************************\033[00m"
- ewarn
- fi
-}
-
-src_prepare() {
- # Unconditionally get rid of the bundled jemalloc
- rm -rf "${S}"/deps
- eapply "${FILESDIR}"/${PN}-1.6.9-fix-pidfile.patch
- eapply "${FILESDIR}"/${PN}-1.6.8-system-mbedtls.patch
- eapply_user
-}
-
-src_configure() {
- append-cflags -fcommon
- local myconf=""
-
- use elibc_musl && myconf+=" --musl-mode"
-
- #use jemalloc || myconf+=" --malloc-libc"
- myconf+=" --malloc-libc"
-
- if use debug; then
- myconf+=" --debug --trace"
- else
- myconf+=" --no-backtrace"
- fi
-
- local enable_plugins=""
- local disable_plugins=""
- # We use 'cgi' and 'fastcgi' because they are global flags
- # instead of the corresponding monkeyd_plugins_*
- use cgi && enable_plugins+="cgi," || disable_plugins+="cgi,"
- use fastcgi && enable_plugins+="fastcgi," || disable_plugins+="fastcgi,"
- # For the rest, we scan the monkeyd_plugins_* and parse out the plugin name.
- local p
- for p in ${PLUGINS}; do
- pp=${p/+/}
- cp=${pp/monkeyd_plugins_/}
- use $pp && enable_plugins+="${cp}," || disable_plugins+="${cp},"
- done
- myconf+=" --enable-plugins=${enable_plugins%,} --disable-plugins=${disable_plugins%,}"
- if use static-plugins; then
- myconf+=" --static-plugins=${enable_plugins%,}"
- fi
-
- # Non-autotools configure
- ./configure \
- --pthread-tls \
- --prefix=/usr \
- --default-user=monkeyd \
- --sbindir=/usr/sbin \
- --webroot=${WEBROOT}/htdocs \
- --logdir=/var/log/monkeyd \
- --mandir=/usr/share/man \
- --libdir=/usr/$(get_libdir) \
- --sysconfdir=/etc/monkeyd \
- ${myconf} \
- || die
-}
-
-src_compile() {
- emake VERBOSE=1
-}
-
-src_install() {
- default
-
- newinitd "${FILESDIR}"/monkeyd.initd-r1 monkeyd
- newconfd "${FILESDIR}"/monkeyd.confd monkeyd
-
- # Move htdocs to docdir, bug #429632
- docompress -x /usr/share/doc/"${PF}"/htdocs.dist
- mv "${D}"${WEBROOT}/htdocs \
- "${D}"/usr/share/doc/"${PF}"/htdocs.dist || die
-
- keepdir /var/log/monkeyd ${WEBROOT}/htdocs
-
- # This needs to be created at runtime
- rm -rf "${D}"/run
-}
-
-pkg_postinst() {
- chown monkeyd:monkeyd /var/log/monkeyd
- chmod 770 /var/log/monkeyd
-}
diff --git a/www-servers/monkeyd/monkeyd-9999.ebuild b/www-servers/monkeyd/monkeyd-9999.ebuild
deleted file mode 100644
index 09c054059b22..000000000000
--- a/www-servers/monkeyd/monkeyd-9999.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="A small, fast, and scalable web server"
-HOMEPAGE="http://www.monkey-project.com/"
-MY_P="${PN/d}-${PV}"
-if [[ ${PV} == *9999* ]] ; then
- EGIT_REPO_URI="https://github.com/monkey/monkey.git"
- inherit git-r3
-else
- SRC_URI="http://monkey-project.com/releases/${PV:0:3}/${MY_P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-# jemalloc is also off until we figure out how to work CMakeLists.txt magic.
-#IUSE="cgi debug fastcgi jemalloc php static-plugins ${PLUGINS}"
-
-PLUGINS="monkeyd_plugins_auth monkeyd_plugins_cheetah monkeyd_plugins_dirlisting +monkeyd_plugins_liana monkeyd_plugins_logger monkeyd_plugins_mandril monkeyd_plugins_tls"
-IUSE="cgi debug fastcgi php static-plugins ${PLUGINS}"
-
-REQUIRED_USE="
- monkeyd_plugins_tls? ( !static-plugins )
- cgi? ( php )"
-
-#DEPEND="jemalloc? ( >=dev-libs/jemalloc-3.3.1 )"
-DEPEND="
- dev-build/cmake
- monkeyd_plugins_tls? ( net-libs/mbedtls:= )"
-RDEPEND="
- acct-group/monkeyd
- acct-user/monkeyd
- php? ( dev-lang/php )
- cgi? ( dev-lang/php[cgi] )"
-
-S="${WORKDIR}/${MY_P}"
-
-WEBROOT="/var/www/localhost"
-
-pkg_setup() {
- if use debug; then
- ewarn
- ewarn "\033[1;33m**************************************************\033[00m"
- ewarn "Do not use debug in production!"
- ewarn "\033[1;33m**************************************************\033[00m"
- ewarn
- fi
-}
-
-src_prepare() {
- # Unconditionally get rid of the bundled jemalloc
- rm -rf "${S}"/deps
- eapply "${FILESDIR}"/${PN}-1.6.9-fix-pidfile.patch
- eapply "${FILESDIR}"/${PN}-1.6.8-system-mbedtls.patch
- eapply_user
-}
-
-src_configure() {
- append-cflags -fcommon
- local myconf=""
-
- use elibc_musl && myconf+=" --musl-mode"
-
- #use jemalloc || myconf+=" --malloc-libc"
- myconf+=" --malloc-libc"
-
- if use debug; then
- myconf+=" --debug --trace"
- else
- myconf+=" --no-backtrace"
- fi
-
- local enable_plugins=""
- local disable_plugins=""
- # We use 'cgi' and 'fastcgi' because they are global flags
- # instead of the corresponding monkeyd_plugins_*
- use cgi && enable_plugins+="cgi," || disable_plugins+="cgi,"
- use fastcgi && enable_plugins+="fastcgi," || disable_plugins+="fastcgi,"
- # For the rest, we scan the monkeyd_plugins_* and parse out the plugin name.
- local p
- for p in ${PLUGINS}; do
- pp=${p/+/}
- cp=${pp/monkeyd_plugins_/}
- use $pp && enable_plugins+="${cp}," || disable_plugins+="${cp},"
- done
- myconf+=" --enable-plugins=${enable_plugins%,} --disable-plugins=${disable_plugins%,}"
- if use static-plugins; then
- myconf+=" --static-plugins=${enable_plugins%,}"
- fi
-
- # Non-autotools configure
- ./configure \
- --pthread-tls \
- --prefix=/usr \
- --default-user=monkeyd \
- --sbindir=/usr/sbin \
- --webroot=${WEBROOT}/htdocs \
- --logdir=/var/log/monkeyd \
- --mandir=/usr/share/man \
- --libdir=/usr/$(get_libdir) \
- --sysconfdir=/etc/monkeyd \
- ${myconf} \
- || die
-}
-
-src_compile() {
- emake VERBOSE=1
-}
-
-src_install() {
- default
-
- newinitd "${FILESDIR}"/monkeyd.initd-r1 monkeyd
- newconfd "${FILESDIR}"/monkeyd.confd monkeyd
-
- # Move htdocs to docdir, bug #429632
- docompress -x /usr/share/doc/"${PF}"/htdocs.dist
- mv "${D}"${WEBROOT}/htdocs \
- "${D}"/usr/share/doc/"${PF}"/htdocs.dist || die
-
- keepdir /var/log/monkeyd ${WEBROOT}/htdocs
-
- # This needs to be created at runtime
- rm -rf "${D}"/run
-}
-
-pkg_postinst() {
- chown monkeyd:monkeyd /var/log/monkeyd
- chmod 770 /var/log/monkeyd
-}