summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-09-06 22:16:32 +0000
committerMike Frysinger <vapier@gentoo.org>2004-09-06 22:16:32 +0000
commit989ea04509869f644eb2f367fc4fce7b3e410612 (patch)
tree36f9d2eace284f7cae37e1b4c4e70fb02872a01a /www-servers
parentDisplay plugin help text, bug #62559 (Manifest recommit) (diff)
downloadgentoo-2-989ea04509869f644eb2f367fc4fce7b3e410612.tar.gz
gentoo-2-989ea04509869f644eb2f367fc4fce7b3e410612.tar.bz2
gentoo-2-989ea04509869f644eb2f367fc4fce7b3e410612.zip
Version bump #62865.
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/monkeyd/ChangeLog8
-rw-r--r--www-servers/monkeyd/files/digest-monkeyd-0.8.51
-rw-r--r--www-servers/monkeyd/monkeyd-0.8.5.ebuild56
3 files changed, 62 insertions, 3 deletions
diff --git a/www-servers/monkeyd/ChangeLog b/www-servers/monkeyd/ChangeLog
index 242883e56c9d..b80e1853716f 100644
--- a/www-servers/monkeyd/ChangeLog
+++ b/www-servers/monkeyd/ChangeLog
@@ -1,9 +1,11 @@
# ChangeLog for www-servers/monkeyd
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/ChangeLog,v 1.2 2004/09/05 09:40:27 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/ChangeLog,v 1.3 2004/09/06 22:16:32 vapier Exp $
- 05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
- Fixed ChangeLog header.
+*monkeyd-0.8.5 (06 Sep 2004)
+
+ 06 Sep 2004; Mike Frysinger <vapier@gentoo.org> +monkeyd-0.8.5.ebuild:
+ Version bump #62865.
*monkeyd-0.8.2 (08 Aug 2004)
diff --git a/www-servers/monkeyd/files/digest-monkeyd-0.8.5 b/www-servers/monkeyd/files/digest-monkeyd-0.8.5
new file mode 100644
index 000000000000..601ea72aa7d2
--- /dev/null
+++ b/www-servers/monkeyd/files/digest-monkeyd-0.8.5
@@ -0,0 +1 @@
+MD5 2ffc8c8c32d760078cff7f0d49efbd66 monkey-0.8.5.tar.gz 83923
diff --git a/www-servers/monkeyd/monkeyd-0.8.5.ebuild b/www-servers/monkeyd/monkeyd-0.8.5.ebuild
new file mode 100644
index 000000000000..7d58b36be24a
--- /dev/null
+++ b/www-servers/monkeyd/monkeyd-0.8.5.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.5.ebuild,v 1.1 2004/09/06 22:16:32 vapier 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 ~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
+}