summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-20 04:22:42 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-20 04:22:42 +0000
commitfe5f8df35720bc81ed7e6bcea4a6711efd95fe5b (patch)
treeb05b8eed1cf927922eed169c7c5dc76bd0573974 /net-www
parentStable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-fe5f8df35720bc81ed7e6bcea4a6711efd95fe5b.tar.gz
gentoo-2-fe5f8df35720bc81ed7e6bcea4a6711efd95fe5b.tar.bz2
gentoo-2-fe5f8df35720bc81ed7e6bcea4a6711efd95fe5b.zip
ver bump #54461
Diffstat (limited to 'net-www')
-rw-r--r--net-www/monkeyd/ChangeLog7
-rw-r--r--net-www/monkeyd/files/digest-monkeyd-0.8.41
-rw-r--r--net-www/monkeyd/monkeyd-0.8.4.ebuild56
3 files changed, 63 insertions, 1 deletions
diff --git a/net-www/monkeyd/ChangeLog b/net-www/monkeyd/ChangeLog
index 3c28695bd662..c64e665fa10e 100644
--- a/net-www/monkeyd/ChangeLog
+++ b/net-www/monkeyd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-www/monkeyd
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/monkeyd/ChangeLog,v 1.9 2004/06/19 13:15:23 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/monkeyd/ChangeLog,v 1.10 2004/06/20 04:22:42 vapier Exp $
+
+*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.
diff --git a/net-www/monkeyd/files/digest-monkeyd-0.8.4 b/net-www/monkeyd/files/digest-monkeyd-0.8.4
new file mode 100644
index 000000000000..3b0e8ffbb9e5
--- /dev/null
+++ b/net-www/monkeyd/files/digest-monkeyd-0.8.4
@@ -0,0 +1 @@
+MD5 09858b3ebdaa70200b2075926eabb20b monkey-0.8.4-2.tar.gz 83528
diff --git a/net-www/monkeyd/monkeyd-0.8.4.ebuild b/net-www/monkeyd/monkeyd-0.8.4.ebuild
new file mode 100644
index 000000000000..51898b3ac5cb
--- /dev/null
+++ b/net-www/monkeyd/monkeyd-0.8.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/monkeyd/monkeyd-0.8.4.ebuild,v 1.1 2004/06/20 04:22:42 vapier 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"
+IUSE="php"
+
+DEPEND="virtual/glibc"
+RDEPEND="virtual/glibc
+ 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
+}