diff options
author | Stuart Herbert <stuart@gentoo.org> | 2004-08-08 17:41:38 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2004-08-08 17:41:38 +0000 |
commit | d2ce6d61b57a837dfdb5a4fabc17e25bfaf56d3e (patch) | |
tree | 6e71ca2bdec8c34b81fc6328da583a4f41cc8263 /www-servers | |
parent | Moved from net-www/mini_httpd to www-servers/mini_httpd (diff) | |
download | historical-d2ce6d61b57a837dfdb5a4fabc17e25bfaf56d3e.tar.gz historical-d2ce6d61b57a837dfdb5a4fabc17e25bfaf56d3e.tar.bz2 historical-d2ce6d61b57a837dfdb5a4fabc17e25bfaf56d3e.zip |
Moved from net-www/monkeyd to www-servers/monkeyd.
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/monkeyd/ChangeLog | 58 | ||||
-rw-r--r-- | www-servers/monkeyd/Manifest | 10 | ||||
-rw-r--r-- | www-servers/monkeyd/files/digest-monkeyd-0.8.2 | 1 | ||||
-rw-r--r-- | www-servers/monkeyd/files/digest-monkeyd-0.8.3 | 1 | ||||
-rw-r--r-- | www-servers/monkeyd/files/digest-monkeyd-0.8.4 | 1 | ||||
-rw-r--r-- | www-servers/monkeyd/files/monkeyd.conf.d | 6 | ||||
-rw-r--r-- | www-servers/monkeyd/files/monkeyd.init.d | 28 | ||||
-rw-r--r-- | www-servers/monkeyd/metadata.xml | 9 | ||||
-rw-r--r-- | www-servers/monkeyd/monkeyd-0.8.2.ebuild | 55 | ||||
-rw-r--r-- | www-servers/monkeyd/monkeyd-0.8.3.ebuild | 56 | ||||
-rw-r--r-- | www-servers/monkeyd/monkeyd-0.8.4.ebuild | 56 |
11 files changed, 281 insertions, 0 deletions
diff --git a/www-servers/monkeyd/ChangeLog b/www-servers/monkeyd/ChangeLog new file mode 100644 index 000000000000..9451ec9b1483 --- /dev/null +++ b/www-servers/monkeyd/ChangeLog @@ -0,0 +1,58 @@ +# ChangeLog for net-www/monkeyd +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/ChangeLog,v 1.1 2004/08/08 17:41:38 stuart Exp $ + +*monkeyd-0.8.2 (08 Aug 2004) + + 08 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml, + +files/monkeyd.conf.d, +files/monkeyd.init.d, +monkeyd-0.8.2.ebuild, + +monkeyd-0.8.3.ebuild, +monkeyd-0.8.4.ebuild: + Moved from net-www/monkeyd to www-servers/monkeyd. + + 07 Jul 2004; Jason Wever <weeve@gentoo.org> monkeyd-0.8.4.ebuild: + Added ~sparc keyword. + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> monkeyd-0.8.2.ebuild, + monkeyd-0.8.3.ebuild, monkeyd-0.8.4.ebuild: + virtual/glibc -> virtual/libc + +*monkeyd-0.8.4 (20 Jun 2004) + + 20 Jun 2004; Mike Frysinger <vapier@gentoo.org> +monkeyd-0.8.4.ebuild: + Version bump #54461 by Marc-Éric Dupuis. + + 19 Jun 2004; David Holm <dholm@gentoo.org> monkeyd-0.8.3.ebuild: + Added to ~ppc. + +*monkeyd-0.8.3 (19 Jun 2004) + + 19 Jun 2004; Mike Frysinger <vapier@gentoo.org> +monkeyd-0.8.3.ebuild: + Version bump #53164 by Mauricio Bahamonde. + +*monkeyd-0.8.2 (10 Feb 2004) + + 22 Feb 2004; Mike Frysinger <vapier@gentoo.org> : + Add php setup automagically #42442. + + 10 Feb 2004; Mike Frysinger <vapier@gentoo.org> : + Version bump to fix #41156. + +*monkeyd-0.8.0 (25 Dec 2003) + + 25 Dec 2003; Mike Frysinger <vapier@gentoo.org> : + Version bump + move to /var/www + index.html overwrite fix #35712. + +*monkeyd-0.7.1 (13 Jun 2003) + + 13 Jun 2003; Mike Frysinger <vapier@gentoo.org> : + Version bump + init script (#22081). + +*monkeyd-0.6.3 (16 Apr 2003) + + 16 Apr 2003; Mike Frysinger <vapier@gentoo.org> : + Version bumpage. + +*monkeyd-0.6.1 (03 Mar 2003) + + 03 Mar 2003; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Ido Rosen <ido@cs.columbia.edu> #14941. diff --git a/www-servers/monkeyd/Manifest b/www-servers/monkeyd/Manifest new file mode 100644 index 000000000000..b4113145209d --- /dev/null +++ b/www-servers/monkeyd/Manifest @@ -0,0 +1,10 @@ +MD5 aee67a1f0ae98083e26c127a5923ea85 ChangeLog 1576 +MD5 20f55838157b99eb439f2aea79415799 monkeyd-0.8.2.ebuild 1621 +MD5 ab4178e5b874a3a51a0eeb8269338d1c metadata.xml 292 +MD5 ec4c516b30b2ef62907b905fa4be85da monkeyd-0.8.3.ebuild 1682 +MD5 284e72bf9c376ee7b3df1fc0144de101 monkeyd-0.8.4.ebuild 1686 +MD5 0a2562fa39c3652c8b13d2b246266db5 files/digest-monkeyd-0.8.2 63 +MD5 2179cd4a96ad04873e7e406a4f3e5698 files/monkeyd.conf.d 281 +MD5 73e1f4120c3f5b32ad9c5a35eb42ae46 files/monkeyd.init.d 619 +MD5 0977e8355534adfc8fd3571879d42fd1 files/digest-monkeyd-0.8.3 63 +MD5 b74df5e863a308f9817e6978496d3753 files/digest-monkeyd-0.8.4 65 diff --git a/www-servers/monkeyd/files/digest-monkeyd-0.8.2 b/www-servers/monkeyd/files/digest-monkeyd-0.8.2 new file mode 100644 index 000000000000..a635f948433e --- /dev/null +++ b/www-servers/monkeyd/files/digest-monkeyd-0.8.2 @@ -0,0 +1 @@ +MD5 17dfa899380a578787a6a309b476c9fc monkey-0.8.2.tar.gz 77422 diff --git a/www-servers/monkeyd/files/digest-monkeyd-0.8.3 b/www-servers/monkeyd/files/digest-monkeyd-0.8.3 new file mode 100644 index 000000000000..9870a961516b --- /dev/null +++ b/www-servers/monkeyd/files/digest-monkeyd-0.8.3 @@ -0,0 +1 @@ +MD5 e07c441603a4ff830745aed94d1ba4fb monkey-0.8.3.tar.gz 81674 diff --git a/www-servers/monkeyd/files/digest-monkeyd-0.8.4 b/www-servers/monkeyd/files/digest-monkeyd-0.8.4 new file mode 100644 index 000000000000..3b0e8ffbb9e5 --- /dev/null +++ b/www-servers/monkeyd/files/digest-monkeyd-0.8.4 @@ -0,0 +1 @@ +MD5 09858b3ebdaa70200b2075926eabb20b monkey-0.8.4-2.tar.gz 83528 diff --git a/www-servers/monkeyd/files/monkeyd.conf.d b/www-servers/monkeyd/files/monkeyd.conf.d new file mode 100644 index 000000000000..ded9ccdf8ef7 --- /dev/null +++ b/www-servers/monkeyd/files/monkeyd.conf.d @@ -0,0 +1,6 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/files/monkeyd.conf.d,v 1.1 2004/08/08 17:41:38 stuart Exp $ + +# this should be fine +MONKEY_PID=/var/run/monkey.pid diff --git a/www-servers/monkeyd/files/monkeyd.init.d b/www-servers/monkeyd/files/monkeyd.init.d new file mode 100644 index 000000000000..5af03e072a62 --- /dev/null +++ b/www-servers/monkeyd/files/monkeyd.init.d @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/files/monkeyd.init.d,v 1.1 2004/08/08 17:41:38 stuart Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting monkeyd" + /usr/bin/monkey -D start &>/dev/null + eend $? +} + +stop() { + ebegin "Stopping monkeyd" + /usr/bin/monkey stop &>/dev/null + ret=$? + eend ${ret} + + if [ ${ret} -ne 0 ] && [ -f ${MONKEY_PID} ] ; then + ebegin " Killing monkeyd" + kill `cat ${MONKEY_PID}` &>/dev/null + eend $? + rm -f ${MONKEY_PID} &>/dev/null + fi +} diff --git a/www-servers/monkeyd/metadata.xml b/www-servers/monkeyd/metadata.xml new file mode 100644 index 000000000000..b3261b1467fe --- /dev/null +++ b/www-servers/monkeyd/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>vapier@gentoo.org</email> + <description>no one else wants to do it so here i am :(</description> +</maintainer> +</pkgmetadata> diff --git a/www-servers/monkeyd/monkeyd-0.8.2.ebuild b/www-servers/monkeyd/monkeyd-0.8.2.ebuild new file mode 100644 index 000000000000..1177c78e0099 --- /dev/null +++ b/www-servers/monkeyd/monkeyd-0.8.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/monkeyd-0.8.2.ebuild,v 1.1 2004/08/08 17:41:38 stuart Exp $ + +WEBROOT=/var/www/localhost + +MY_P="${PN/d}-${PV}" +DESCRIPTION="fast, efficient, (REALLY) small, and easy to configure web server" +HOMEPAGE="http://monkeyd.sourceforge.net/" +SRC_URI="http://monkeyd.sourceforge.net/versions/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="php" + +DEPEND="virtual/libc" +RDEPEND="virtual/libc + php? ( dev-php/php-cgi )" + +S=${WORKDIR}/${MY_P} + +src_compile() { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --cgibin=${WEBROOT}/cgi-bin \ + --sysconfdir=/etc/${PN} \ + --datadir=${WEBROOT}/htdocs \ + --logdir=/var/log/${PN} \ + --lang=en \ + || die + emake CFLAGS="${CFLAGS}" || die +} + +src_install() { + make \ + PREFIX=${D}/usr \ + BINDIR=${D}/usr/bin \ + CGIBIN=${D}${WEBROOT}/cgi-bin \ + SYSCONFDIR=${D}/etc/${PN} \ + DATADIR=${D}${WEBROOT}/htdocs \ + LOGDIR=${D}/var/log/${PN} \ + install \ + || die + if use php ; then + dosed '/^#AddScript application\/x-httpd-php/s:^#::' /etc/monkeyd/monkey.conf + dosed 's:/home/my_home/php/bin/php:/usr/bin/php-cgi:' /etc/monkeyd/monkey.conf + fi + [ -e ${ROOT}/${WEBROOT}/htdocs/index.html ] && mv ${D}${WEBROOT}/htdocs/{index,index-monkey}.html + dosed "s:/var/log/monkeyd/monkey.pid:/var/run/monkey.pid:" /etc/monkeyd/monkey.conf + exeinto /etc/init.d ; newexe ${FILESDIR}/monkeyd.init.d monkeyd + insinto /etc/conf.d ; newins ${FILESDIR}/monkeyd.conf.d monkeyd + dodoc MODULES HowItWorks.txt README ChangeLog +} diff --git a/www-servers/monkeyd/monkeyd-0.8.3.ebuild b/www-servers/monkeyd/monkeyd-0.8.3.ebuild new file mode 100644 index 000000000000..35db8e9b7313 --- /dev/null +++ b/www-servers/monkeyd/monkeyd-0.8.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/monkeyd-0.8.3.ebuild,v 1.1 2004/08/08 17:41:38 stuart Exp $ + +WEBROOT=/var/www/localhost + +MY_P="${PN/d}-${PV}" +DESCRIPTION="fast, efficient, (REALLY) small, and easy to configure web server" +HOMEPAGE="http://monkeyd.sourceforge.net/" +SRC_URI="http://monkeyd.sourceforge.net/versions/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="php" + +DEPEND="virtual/libc" +RDEPEND="virtual/libc + php? ( dev-php/php-cgi )" + +S=${WORKDIR}/${MY_P} + +src_compile() { + # monkey has it's own funky script ... cant use econf + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --cgibin=${WEBROOT}/cgi-bin \ + --sysconfdir=/etc/${PN} \ + --datadir=${WEBROOT}/htdocs \ + --logdir=/var/log/${PN} \ + --lang=en \ + || die + emake CFLAGS="${CFLAGS}" || die +} + +src_install() { + make \ + PREFIX=${D}/usr \ + BINDIR=${D}/usr/bin \ + CGIBIN=${D}${WEBROOT}/cgi-bin \ + SYSCONFDIR=${D}/etc/${PN} \ + DATADIR=${D}${WEBROOT}/htdocs \ + LOGDIR=${D}/var/log/${PN} \ + install \ + || die + if use php ; then + dosed '/^#AddScript application\/x-httpd-php/s:^#::' /etc/monkeyd/monkey.conf + dosed 's:/home/my_home/php/bin/php:/usr/bin/php-cgi:' /etc/monkeyd/monkey.conf + fi + [ -e ${ROOT}/${WEBROOT}/htdocs/index.html ] && mv ${D}${WEBROOT}/htdocs/{index,index-monkey}.html + dosed "s:/var/log/monkeyd/monkey.pid:/var/run/monkey.pid:" /etc/monkeyd/monkey.conf + exeinto /etc/init.d ; newexe ${FILESDIR}/monkeyd.init.d monkeyd + insinto /etc/conf.d ; newins ${FILESDIR}/monkeyd.conf.d monkeyd + dodoc MODULES HowItWorks.txt README ChangeLog +} diff --git a/www-servers/monkeyd/monkeyd-0.8.4.ebuild b/www-servers/monkeyd/monkeyd-0.8.4.ebuild new file mode 100644 index 000000000000..e6072795fff1 --- /dev/null +++ b/www-servers/monkeyd/monkeyd-0.8.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/monkeyd-0.8.4.ebuild,v 1.1 2004/08/08 17:41:38 stuart Exp $ + +WEBROOT=/var/www/localhost + +MY_P="${PN/d}-${PV}-2" +DESCRIPTION="fast, efficient, (REALLY) small, and easy to configure web server" +HOMEPAGE="http://monkeyd.sourceforge.net/" +SRC_URI="http://monkeyd.sourceforge.net/versions/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="php" + +DEPEND="virtual/libc" +RDEPEND="virtual/libc + php? ( dev-php/php-cgi )" + +S=${WORKDIR}/${MY_P} + +src_compile() { + # monkey has it's own funky script ... cant use econf + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --cgibin=${WEBROOT}/cgi-bin \ + --sysconfdir=/etc/${PN} \ + --datadir=${WEBROOT}/htdocs \ + --logdir=/var/log/${PN} \ + --lang=en \ + || die + emake CFLAGS="${CFLAGS}" || die +} + +src_install() { + make \ + PREFIX=${D}/usr \ + BINDIR=${D}/usr/bin \ + CGIBIN=${D}${WEBROOT}/cgi-bin \ + SYSCONFDIR=${D}/etc/${PN} \ + DATADIR=${D}${WEBROOT}/htdocs \ + LOGDIR=${D}/var/log/${PN} \ + install \ + || die + if use php ; then + dosed '/^#AddScript application\/x-httpd-php/s:^#::' /etc/monkeyd/monkey.conf + dosed 's:/home/my_home/php/bin/php:/usr/bin/php-cgi:' /etc/monkeyd/monkey.conf + fi + [ -e ${ROOT}/${WEBROOT}/htdocs/index.html ] && mv ${D}${WEBROOT}/htdocs/{index,index-monkey}.html + dosed "s:/var/log/monkeyd/monkey.pid:/var/run/monkey.pid:" /etc/monkeyd/monkey.conf + exeinto /etc/init.d ; newexe ${FILESDIR}/monkeyd.init.d monkeyd + insinto /etc/conf.d ; newins ${FILESDIR}/monkeyd.conf.d monkeyd + dodoc MODULES HowItWorks.txt README ChangeLog +} |