summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-www/monkeyd/ChangeLog7
-rw-r--r--net-www/monkeyd/files/digest-monkeyd-0.8.21
-rw-r--r--net-www/monkeyd/monkeyd-0.8.2.ebuild49
3 files changed, 56 insertions, 1 deletions
diff --git a/net-www/monkeyd/ChangeLog b/net-www/monkeyd/ChangeLog
index 6ce7177b384d..775e06f9d092 100644
--- a/net-www/monkeyd/ChangeLog
+++ b/net-www/monkeyd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-www/monkeyd
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/monkeyd/ChangeLog,v 1.5 2003/12/25 19:39:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/monkeyd/ChangeLog,v 1.6 2004/02/10 23:23:32 vapier Exp $
+
+*monkeyd-0.8.2 (10 Feb 2004)
+
+ 10 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
+ Version bump to fix #41156.
*monkeyd-0.8.0 (25 Dec 2003)
diff --git a/net-www/monkeyd/files/digest-monkeyd-0.8.2 b/net-www/monkeyd/files/digest-monkeyd-0.8.2
new file mode 100644
index 000000000000..a635f948433e
--- /dev/null
+++ b/net-www/monkeyd/files/digest-monkeyd-0.8.2
@@ -0,0 +1 @@
+MD5 17dfa899380a578787a6a309b476c9fc monkey-0.8.2.tar.gz 77422
diff --git a/net-www/monkeyd/monkeyd-0.8.2.ebuild b/net-www/monkeyd/monkeyd-0.8.2.ebuild
new file mode 100644
index 000000000000..0e4d022ecdb5
--- /dev/null
+++ b/net-www/monkeyd/monkeyd-0.8.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 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.2.ebuild,v 1.1 2004/02/10 23:23: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"
+
+DEPEND="virtual/glibc"
+RDEPEND="virtual/glibc"
+
+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
+ [ -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
+}