diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-09 02:05:56 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-09 02:05:56 +0000 |
commit | 2974cf83319eb0243fa2480aa2fa50663e4094b8 (patch) | |
tree | c1d0b80d35b5a1e6020b66bdf5a520ad3483e9bd /www-servers | |
parent | Version bump (Manifest recommit) (diff) | |
download | gentoo-2-2974cf83319eb0243fa2480aa2fa50663e4094b8.tar.gz gentoo-2-2974cf83319eb0243fa2480aa2fa50663e4094b8.tar.bz2 gentoo-2-2974cf83319eb0243fa2480aa2fa50663e4094b8.zip |
Version bump.
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/monkeyd/ChangeLog | 7 | ||||
-rw-r--r-- | www-servers/monkeyd/files/digest-monkeyd-0.9.0 | 1 | ||||
-rw-r--r-- | www-servers/monkeyd/monkeyd-0.9.0.ebuild | 65 |
3 files changed, 72 insertions, 1 deletions
diff --git a/www-servers/monkeyd/ChangeLog b/www-servers/monkeyd/ChangeLog index 6d636a32f66d..98945186929c 100644 --- a/www-servers/monkeyd/ChangeLog +++ b/www-servers/monkeyd/ChangeLog @@ -1,6 +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.4 2004/09/28 02:02:08 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/monkeyd/ChangeLog,v 1.5 2004/12/09 02:05:56 vapier Exp $ + +*monkeyd-0.9.0 (08 Dec 2004) + + 08 Dec 2004; Mike Frysinger <vapier@gentoo.org> +monkeyd-0.9.0.ebuild: + Version bump. 28 Sep 2004; Sven Wegener <swegener@gentoo.org> files/monkeyd.conf.d, files/monkeyd.init.d: diff --git a/www-servers/monkeyd/files/digest-monkeyd-0.9.0 b/www-servers/monkeyd/files/digest-monkeyd-0.9.0 new file mode 100644 index 000000000000..657420e08189 --- /dev/null +++ b/www-servers/monkeyd/files/digest-monkeyd-0.9.0 @@ -0,0 +1 @@ +MD5 e8bcde30b93b84656897bcd60683bcf0 monkey-0.9.0.tar.gz 84170 diff --git a/www-servers/monkeyd/monkeyd-0.9.0.ebuild b/www-servers/monkeyd/monkeyd-0.9.0.ebuild new file mode 100644 index 000000000000..5727f0e9d2c5 --- /dev/null +++ b/www-servers/monkeyd/monkeyd-0.9.0.ebuild @@ -0,0 +1,65 @@ +# 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.9.0.ebuild,v 1.1 2004/12/09 02:05:56 vapier Exp $ + +inherit toolchain-funcs + +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 + >=sys-apps/portage-2.0.51" +RDEPEND="virtual/libc + php? ( dev-php/php-cgi )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e '/strip /s:.*::' src/Makefile +} + +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 CC="$(tc-getCC)" 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 + newinitd ${FILESDIR}/monkeyd.init.d monkeyd + newconfd ${FILESDIR}/monkeyd.conf.d monkeyd + dodoc MODULES HowItWorks.txt README ChangeLog +} |