From 2ba767d58e056b85b0b44e74897bc85398f1f699 Mon Sep 17 00:00:00 2001 From: Stuart Herbert Date: Sun, 8 Aug 2004 11:14:13 +0000 Subject: Moved from net-www/cherokee to www-servers/cherokee. --- www-servers/cherokee/ChangeLog | 112 ++++++++++++++++ www-servers/cherokee/Manifest | 25 ++++ www-servers/cherokee/cherokee-0.4.0.ebuild | 24 ++++ www-servers/cherokee/cherokee-0.4.1.ebuild | 31 +++++ www-servers/cherokee/cherokee-0.4.10.ebuild | 70 ++++++++++ www-servers/cherokee/cherokee-0.4.14.ebuild | 70 ++++++++++ www-servers/cherokee/cherokee-0.4.15.ebuild | 70 ++++++++++ www-servers/cherokee/cherokee-0.4.16.ebuild | 57 ++++++++ www-servers/cherokee/cherokee-0.4.17.ebuild | 52 ++++++++ www-servers/cherokee/cherokee-0.4.4.ebuild | 20 +++ www-servers/cherokee/cherokee-0.4.5.ebuild | 71 ++++++++++ .../cherokee/files/cherokee-0.4.1-gcc3.patch | 24 ++++ www-servers/cherokee/files/cherokee-0.4.17-init.d | 30 +++++ .../files/cherokee-0.4.5-Makefile.am.patch | 22 +++ .../cherokee/files/cherokee-0.4.5-cherokee.conf | 148 +++++++++++++++++++++ www-servers/cherokee/files/cherokee-0.4.5-init.d | 30 +++++ www-servers/cherokee/files/digest-cherokee-0.4.0 | 1 + www-servers/cherokee/files/digest-cherokee-0.4.1 | 1 + www-servers/cherokee/files/digest-cherokee-0.4.10 | 1 + www-servers/cherokee/files/digest-cherokee-0.4.14 | 1 + www-servers/cherokee/files/digest-cherokee-0.4.15 | 1 + www-servers/cherokee/files/digest-cherokee-0.4.16 | 1 + www-servers/cherokee/files/digest-cherokee-0.4.17 | 1 + www-servers/cherokee/files/digest-cherokee-0.4.4 | 1 + www-servers/cherokee/files/digest-cherokee-0.4.5 | 1 + www-servers/cherokee/metadata.xml | 5 + 26 files changed, 870 insertions(+) create mode 100644 www-servers/cherokee/ChangeLog create mode 100644 www-servers/cherokee/Manifest create mode 100644 www-servers/cherokee/cherokee-0.4.0.ebuild create mode 100644 www-servers/cherokee/cherokee-0.4.1.ebuild create mode 100644 www-servers/cherokee/cherokee-0.4.10.ebuild create mode 100644 www-servers/cherokee/cherokee-0.4.14.ebuild create mode 100644 www-servers/cherokee/cherokee-0.4.15.ebuild create mode 100644 www-servers/cherokee/cherokee-0.4.16.ebuild create mode 100644 www-servers/cherokee/cherokee-0.4.17.ebuild create mode 100644 www-servers/cherokee/cherokee-0.4.4.ebuild create mode 100644 www-servers/cherokee/cherokee-0.4.5.ebuild create mode 100644 www-servers/cherokee/files/cherokee-0.4.1-gcc3.patch create mode 100644 www-servers/cherokee/files/cherokee-0.4.17-init.d create mode 100644 www-servers/cherokee/files/cherokee-0.4.5-Makefile.am.patch create mode 100644 www-servers/cherokee/files/cherokee-0.4.5-cherokee.conf create mode 100644 www-servers/cherokee/files/cherokee-0.4.5-init.d create mode 100644 www-servers/cherokee/files/digest-cherokee-0.4.0 create mode 100644 www-servers/cherokee/files/digest-cherokee-0.4.1 create mode 100644 www-servers/cherokee/files/digest-cherokee-0.4.10 create mode 100644 www-servers/cherokee/files/digest-cherokee-0.4.14 create mode 100644 www-servers/cherokee/files/digest-cherokee-0.4.15 create mode 100644 www-servers/cherokee/files/digest-cherokee-0.4.16 create mode 100644 www-servers/cherokee/files/digest-cherokee-0.4.17 create mode 100644 www-servers/cherokee/files/digest-cherokee-0.4.4 create mode 100644 www-servers/cherokee/files/digest-cherokee-0.4.5 create mode 100644 www-servers/cherokee/metadata.xml (limited to 'www-servers') diff --git a/www-servers/cherokee/ChangeLog b/www-servers/cherokee/ChangeLog new file mode 100644 index 000000000000..01a4e5317316 --- /dev/null +++ b/www-servers/cherokee/ChangeLog @@ -0,0 +1,112 @@ +# ChangeLog for net-www/cherokee +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/ChangeLog,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +*cherokee-0.4.15 (08 Aug 2004) + + 08 Aug 2004; Stuart Herbert +metadata.xml, + +files/cherokee-0.4.1-gcc3.patch, +files/cherokee-0.4.17-init.d, + +files/cherokee-0.4.5-Makefile.am.patch, + +files/cherokee-0.4.5-cherokee.conf, +files/cherokee-0.4.5-init.d, + +cherokee-0.4.0.ebuild, +cherokee-0.4.1.ebuild, +cherokee-0.4.10.ebuild, + +cherokee-0.4.14.ebuild, +cherokee-0.4.15.ebuild, +cherokee-0.4.16.ebuild, + +cherokee-0.4.17.ebuild, +cherokee-0.4.4.ebuild, +cherokee-0.4.5.ebuild: + Moved from net-www/cherokee to www-servers/cherokee. + +*cherokee-0.4.17 (20 Jul 2004) + + 20 Jul 2004; Martin Holzer cherokee-0.4.17.ebuild, + files/cherokee-0.4.17-init.d: + Version bumped. Closes 56561 + + 01 Jul 2004; Jeremy Huddleston + cherokee-0.4.10.ebuild, cherokee-0.4.14.ebuild, cherokee-0.4.15.ebuild, + cherokee-0.4.16.ebuild, cherokee-0.4.5.ebuild: + virtual/glibc -> virtual/libc + + 27 Apr 2004; Aron Griffis cherokee-0.4.1.ebuild: + Add inherit eutils + + 26 Apr 2004; Aron Griffis cherokee-0.4.0.ebuild: + Add die following econf for bug 48950 + + 17 Apr 2004; Jason Wever cherokee-0.4.5.ebuild: + Added ~sparc keyword. + +*cherokee-0.4.16 (15 Apr 2004) + + 15 Apr 2004; cherokee-0.4.16.ebuild: + New version. + Removed the gnome-vfs support, the main cherokee-dev say this: + (00:33:56) Alo: quita lo de GNOME-VFS.. que eso sólo es un peligro + y no vale para nada en el mundo real :) + (gnome-vfs is dengerous and don't usefull in the real world) + (00:45:14) Alo: es un buen ejemplo de como hacer un handler + asincrono en Cherokee... :) + +*cherokee-0.4.15 (01 Apr 2004) + + 01 Apr 2004; cherokee-0.4.15.ebuild: + New Version. + +*cherokee-0.4.14 (18 Mar 2004) + + 18 Mar 2004; cherokee-0.4.14.ebuild: + Bumped version. + + 19 Mar 2004; David Holm cherokee-0.4.14.ebuild: + Added to ~ppc. + +*cherokee-0.4.10 (26 Feb 2004) + + 18 Mar 2004; cherokee-0.4.10.ebuild: + Marked as stable in x86 + + 26 Feb 2004; cherokee-0.4.10.ebuild: + Bumped version. Changed Url. + + 06 Dec 2003; cherokee-0.4.5.ebuild: + Fixing the badly broken gnome deps + + 05 Oct 2003; Stuart Herbert files/cherokee-0.4.5-init.d: + Fixed announcement when stopping cherokee server + +*cherokee-0.4.5 (05 Oct 2003) + + 05 Oct 2003; Stuart Herbert cherokee-0.4.5.ebuild, + metadata.xml, files/cherokee-0.4.5-Makefile.am.patch, + files/cherokee-0.4.5-cherokee.conf, files/cherokee-0.4.5-init.d: + Updated to cherokee-0.4.5 + Added /etc/init.d/cherokee init script + Added Gentoo-ised default config file + Closes bug #27722 + +*cherokee-0.4.4 (25 Jul 2003) + + 25 Jul 2003; Daniel Ahlberg : + Version bump. Found by Eric Olinger in #25158. + +*chrokee-4.1 (18 Mar 2003) + + 18 Mar 2003; J.Alberto Suárez L. cherokee-4.1.ebuild: + Bumped version + +*cherokee-4.0.0 (11 Jan 2003) + + 10 Jan 2002; J.Alberto Suárez L. cherokee-4.0.0.ebuild: + First relase. Beta5 version. + +*cherokee-0.4.0 (11 Jan 2003) + + 13 Jul 2003; Daniel Ahlberg : + Added missing changelog entry. + +*cherokee-0.4.1 (16 Mar 2003) + + 10 Mar 2004; Martin Holzer cherokee-0.4.1.ebuild, + files/cherokee-0.4.1-gcc3.patch: + adding gcc3 fix. closes 41744 + + 13 Jul 2003; Daniel Ahlberg : + Added missing changelog entry. + diff --git a/www-servers/cherokee/Manifest b/www-servers/cherokee/Manifest new file mode 100644 index 000000000000..76fe431133ae --- /dev/null +++ b/www-servers/cherokee/Manifest @@ -0,0 +1,25 @@ +MD5 af1fa59e6c7b4b62b221b63d31f8c033 ChangeLog 3238 +MD5 97a8e11aa3284c23cfc40e5d78e72442 cherokee-0.4.0.ebuild 678 +MD5 9d18d8e51bed293336829388e69a37f3 cherokee-0.4.1.ebuild 730 +MD5 b88825232c372a1d32a8b2475247ec40 cherokee-0.4.4.ebuild 647 +MD5 479b8ad7014f5052a99745bec8faa04c cherokee-0.4.5.ebuild 1742 +MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161 +MD5 b4fd7d7f240c02f0b432c68c065e56d9 cherokee-0.4.10.ebuild 1712 +MD5 4e2d88d89316f55b61af7b88cb9eca01 cherokee-0.4.14.ebuild 1717 +MD5 6a2c279c91fa6981fb677f45bbfc58f6 cherokee-0.4.15.ebuild 1718 +MD5 3b87e4a2f545b41cd34d59eacee6e243 cherokee-0.4.16.ebuild 1345 +MD5 c82f8acf95a21a7737845446208dc694 cherokee-0.4.17.ebuild 1306 +MD5 6da94000869b804248b03d61703b69bb files/cherokee-0.4.5-Makefile.am.patch 956 +MD5 8278b4acda7637c68885863ddd58f712 files/cherokee-0.4.5-cherokee.conf 2769 +MD5 3e2fdafbd98d2a4747d06ca5f52da8e8 files/cherokee-0.4.5-init.d 785 +MD5 328043d9bd3472aa21ed3eab65a8bb87 files/digest-cherokee-0.4.0 72 +MD5 c4c2ec2b5ce18737c27b306f0ba93578 files/digest-cherokee-0.4.1 66 +MD5 a4010247cc6d338421781155b7ad324b files/digest-cherokee-0.4.4 66 +MD5 298dfdd3c83893b3123d85278d1c1e7e files/digest-cherokee-0.4.5 66 +MD5 af8c59cc3ff3018823e5050bc61c619d files/digest-cherokee-0.4.10 67 +MD5 88661e2618ec207291c2a9948ee90d73 files/cherokee-0.4.1-gcc3.patch 674 +MD5 9039251180a9ae02ee3b8077cd09c274 files/digest-cherokee-0.4.14 67 +MD5 57162fc67ff684e4198d041a8cd90f47 files/digest-cherokee-0.4.15 67 +MD5 f5860d77fca2046152680af040c1a978 files/digest-cherokee-0.4.16 67 +MD5 5a3e375b2fcd80b7cbfd5f43d4e9cdf5 files/cherokee-0.4.17-init.d 786 +MD5 7abc32dac306688c90e1ef1757603b3a files/digest-cherokee-0.4.17 67 diff --git a/www-servers/cherokee/cherokee-0.4.0.ebuild b/www-servers/cherokee/cherokee-0.4.0.ebuild new file mode 100644 index 000000000000..7d351791e1b1 --- /dev/null +++ b/www-servers/cherokee/cherokee-0.4.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.4.0.ebuild,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +S="${WORKDIR}/cherokee-0.4.0" +DESCRIPTION="An extremely fast and tiny web server." +SRC_URI="ftp://laurel.datsi.fi.upm.es/pub/linux/cherokee/${P}-beta5.tar.gz" +HOMEPAGE="http://www.alobbs.com/cherokee" +LICENSE="GPL-2" +DEPEND="sys-libs/glibc" +RDEPEND="${DEPEND}" +KEYWORDS="x86" +SLOT="0" + +src_compile() { + econf || die "econf failed" + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README +} diff --git a/www-servers/cherokee/cherokee-0.4.1.ebuild b/www-servers/cherokee/cherokee-0.4.1.ebuild new file mode 100644 index 000000000000..17a39b323ecf --- /dev/null +++ b/www-servers/cherokee/cherokee-0.4.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.4.1.ebuild,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +inherit eutils + +S="${WORKDIR}/${P}" +DESCRIPTION="An extremely fast and tiny web server." +SRC_URI="ftp://laurel.datsi.fi.upm.es/pub/linux/cherokee/${P}.tar.gz" +HOMEPAGE="http://www.alobbs.com/cherokee" +LICENSE="GPL-2" +DEPEND="sys-libs/glibc" +RDEPEND="${DEPEND}" +KEYWORDS="x86" +SLOT="0" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-gcc3.patch +} + +src_compile() { + econf || die + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README +} diff --git a/www-servers/cherokee/cherokee-0.4.10.ebuild b/www-servers/cherokee/cherokee-0.4.10.ebuild new file mode 100644 index 000000000000..ad14cc787af3 --- /dev/null +++ b/www-servers/cherokee/cherokee-0.4.10.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.4.10.ebuild,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +S="${WORKDIR}/${P}" +DESCRIPTION="An extremely fast and tiny web server." +SRC_URI="ftp://laurel.datsi.fi.upm.es/pub/linux/cherokee/0.4/${PV}/${P}.tar.gz" +HOMEPAGE="http://www.alobbs.com/cherokee" +LICENSE="GPL-2" + +DEPEND=">=sys-devel/automake-1.7.5 + ${RDEPEND}" + +RDEPEND="virtual/libc + >=sys-libs/zlib-1.1.4-r1 + gnome? ( >=dev-libs/glib-2.2.2 + >=gnome-base/ORBit2-2.6.1 + >=gnome-base/gnome-vfs-2.2.4 )" + +KEYWORDS="x86" +SLOT="0" +IUSE="gnome" + +src_unpack () +{ + unpack "${A}" + + # patch to fix Makefile DESTDIR compliance + +# einfo "Applying Makefile.am patch" +# patch ${S}/Makefile.am < ${FILESDIR}/${P}-Makefile.am.patch +# +# einfo "Running automake to update Makefile.in" +# cd ${S} +# automake +} + +src_compile () +{ + use gnome && my_conf="$my_conf --enable-gnomevfs" + +# coming soon ;-) +# use php && my_conf="$my_conf --with-php" +# use mono && my_conf="$my_conf --with-mono" + + ./configure --prefix=/usr --sysconfdir=/etc --disable-static $my_conf --with-pic + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog COPYING INSTALL README + + # install the Gentoo-ised config file + +# cp ${FILESDIR}/${P}-cherokee.conf ${D}/etc/cherokee/cherokee.conf + + # remove the installed sample config file +# rm ${D}/etc/cherokee/cherokee.conf.sample + + # add default doc-root and cgi-bin locations + dodir /var/www/localhost/htdocs + dodir /var/www/localhost/cgi-bin + + # add init.d script + + dodir /etc/init.d + cp ${FILESDIR}/cherokee-0.4.5-init.d ${D}/etc/init.d/cherokee +} diff --git a/www-servers/cherokee/cherokee-0.4.14.ebuild b/www-servers/cherokee/cherokee-0.4.14.ebuild new file mode 100644 index 000000000000..904dd678f144 --- /dev/null +++ b/www-servers/cherokee/cherokee-0.4.14.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.4.14.ebuild,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +S="${WORKDIR}/${P}" +DESCRIPTION="An extremely fast and tiny web server." +SRC_URI="ftp://laurel.datsi.fi.upm.es/pub/linux/cherokee/0.4/${PV}/${P}.tar.gz" +HOMEPAGE="http://www.alobbs.com/cherokee" +LICENSE="GPL-2" + +DEPEND=">=sys-devel/automake-1.7.5 + ${RDEPEND}" + +RDEPEND="virtual/libc + >=sys-libs/zlib-1.1.4-r1 + gnome? ( >=dev-libs/glib-2.2.2 + >=gnome-base/ORBit2-2.6.1 + >=gnome-base/gnome-vfs-2.2.4 )" + +KEYWORDS="x86 ~ppc" +SLOT="0" +IUSE="gnome" + +src_unpack () +{ + unpack "${A}" + + # patch to fix Makefile DESTDIR compliance + +# einfo "Applying Makefile.am patch" +# patch ${S}/Makefile.am < ${FILESDIR}/${P}-Makefile.am.patch +# +# einfo "Running automake to update Makefile.in" +# cd ${S} +# automake +} + +src_compile () +{ + use gnome && my_conf="$my_conf --enable-gnomevfs" + +# coming soon ;-) +# use php && my_conf="$my_conf --with-php" +# use mono && my_conf="$my_conf --with-mono" + + ./configure --prefix=/usr --sysconfdir=/etc --disable-static $my_conf --with-pic + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog COPYING INSTALL README + + # install the Gentoo-ised config file + +# cp ${FILESDIR}/${P}-cherokee.conf ${D}/etc/cherokee/cherokee.conf + + # remove the installed sample config file +# rm ${D}/etc/cherokee/cherokee.conf.sample + + # add default doc-root and cgi-bin locations + dodir /var/www/localhost/htdocs + dodir /var/www/localhost/cgi-bin + + # add init.d script + + dodir /etc/init.d + cp ${FILESDIR}/cherokee-0.4.5-init.d ${D}/etc/init.d/cherokee +} diff --git a/www-servers/cherokee/cherokee-0.4.15.ebuild b/www-servers/cherokee/cherokee-0.4.15.ebuild new file mode 100644 index 000000000000..1387194b283b --- /dev/null +++ b/www-servers/cherokee/cherokee-0.4.15.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.4.15.ebuild,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +S="${WORKDIR}/${P}" +DESCRIPTION="An extremely fast and tiny web server." +SRC_URI="ftp://laurel.datsi.fi.upm.es/pub/linux/cherokee/0.4/${PV}/${P}.tar.gz" +HOMEPAGE="http://www.alobbs.com/cherokee" +LICENSE="GPL-2" + +DEPEND=">=sys-devel/automake-1.7.5 + ${RDEPEND}" + +RDEPEND="virtual/libc + >=sys-libs/zlib-1.1.4-r1 + gnome? ( >=dev-libs/glib-2.2.2 + >=gnome-base/ORBit2-2.6.1 + >=gnome-base/gnome-vfs-2.2.4 )" + +KEYWORDS="~x86 ~ppc" +SLOT="0" +IUSE="gnome" + +src_unpack () +{ + unpack "${A}" + + # patch to fix Makefile DESTDIR compliance + +# einfo "Applying Makefile.am patch" +# patch ${S}/Makefile.am < ${FILESDIR}/${P}-Makefile.am.patch +# +# einfo "Running automake to update Makefile.in" +# cd ${S} +# automake +} + +src_compile () +{ + use gnome && my_conf="$my_conf --enable-gnomevfs" + +# coming soon ;-) +# use php && my_conf="$my_conf --with-php" +# use mono && my_conf="$my_conf --with-mono" + + ./configure --prefix=/usr --sysconfdir=/etc --disable-static $my_conf --with-pic + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog COPYING INSTALL README + + # install the Gentoo-ised config file + +# cp ${FILESDIR}/${P}-cherokee.conf ${D}/etc/cherokee/cherokee.conf + + # remove the installed sample config file +# rm ${D}/etc/cherokee/cherokee.conf.sample + + # add default doc-root and cgi-bin locations + dodir /var/www/localhost/htdocs + dodir /var/www/localhost/cgi-bin + + # add init.d script + + dodir /etc/init.d + cp ${FILESDIR}/cherokee-0.4.5-init.d ${D}/etc/init.d/cherokee +} diff --git a/www-servers/cherokee/cherokee-0.4.16.ebuild b/www-servers/cherokee/cherokee-0.4.16.ebuild new file mode 100644 index 000000000000..203735ba52fb --- /dev/null +++ b/www-servers/cherokee/cherokee-0.4.16.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.4.16.ebuild,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +S="${WORKDIR}/${P}" +DESCRIPTION="An extremely fast and tiny web server." +SRC_URI="ftp://laurel.datsi.fi.upm.es/pub/linux/cherokee/0.4/${PV}/${P}.tar.gz" +HOMEPAGE="http://www.alobbs.com/cherokee" +LICENSE="GPL-2" + +DEPEND=">=sys-devel/automake-1.7.5 + ${RDEPEND}" + +RDEPEND="virtual/libc + >=sys-libs/zlib-1.1.4-r1" + +KEYWORDS="~x86 ~ppc" +SLOT="0" + +src_unpack () +{ + unpack "${A}" + +} + +src_compile () +{ + +# coming soon ;-) +# use php && my_conf="$my_conf --with-php" +# use mono && my_conf="$my_conf --with-mono" + + ./configure --prefix=/usr --sysconfdir=/etc --disable-static $my_conf --with-pic + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog COPYING INSTALL README + + # install the Gentoo-ised config file + +# cp ${FILESDIR}/${P}-cherokee.conf ${D}/etc/cherokee/cherokee.conf + + # remove the installed sample config file +# rm ${D}/etc/cherokee/cherokee.conf.sample + + # add default doc-root and cgi-bin locations + dodir /var/www/localhost/htdocs + dodir /var/www/localhost/cgi-bin + + # add init.d script + + dodir /etc/init.d + cp ${FILESDIR}/cherokee-0.4.5-init.d ${D}/etc/init.d/cherokee +} diff --git a/www-servers/cherokee/cherokee-0.4.17.ebuild b/www-servers/cherokee/cherokee-0.4.17.ebuild new file mode 100644 index 000000000000..075e149a08e1 --- /dev/null +++ b/www-servers/cherokee/cherokee-0.4.17.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.4.17.ebuild,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +DESCRIPTION="An extremely fast and tiny web server." +SRC_URI="ftp://laurel.datsi.fi.upm.es/pub/linux/cherokee/0.4/${PV}/${P}.tar.gz" +HOMEPAGE="http://www.alobbs.com/cherokee" +LICENSE="GPL-2" + +DEPEND=">=sys-devel/automake-1.7.5 + ${RDEPEND}" + +RDEPEND="virtual/libc + >=sys-libs/zlib-1.1.4-r1" + +KEYWORDS="~x86 ~ppc" +SLOT="0" + +src_unpack() { + unpack ${A} +} + +src_compile() { + +# coming soon ;-) +# use php && my_conf="$my_conf --with-php" +# use mono && my_conf="$my_conf --with-mono" + + ./configure --prefix=/usr --sysconfdir=/etc --disable-static $my_conf --with-pic + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog COPYING INSTALL README + + # install the Gentoo-ised config file + +# cp ${FILESDIR}/${P}-cherokee.conf ${D}/etc/cherokee/cherokee.conf + + # remove the installed sample config file +# rm ${D}/etc/cherokee/cherokee.conf.sample + + # add default doc-root and cgi-bin locations + dodir /var/www/localhost/htdocs + dodir /var/www/localhost/cgi-bin + + # add init.d script + dodir /etc/init.d + cp ${FILESDIR}/${P}-init.d ${D}/etc/init.d/cherokee +} diff --git a/www-servers/cherokee/cherokee-0.4.4.ebuild b/www-servers/cherokee/cherokee-0.4.4.ebuild new file mode 100644 index 000000000000..855b7df36eea --- /dev/null +++ b/www-servers/cherokee/cherokee-0.4.4.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.4.4.ebuild,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +S="${WORKDIR}/${P}" +DESCRIPTION="An extremely fast and tiny web server." +SRC_URI="ftp://alobbs.com/cherokee/${PV}/${P}.tar.gz + ftp://laurel.datsi.fi.upm.es/pub/linux/cherokee/${PV}/${P}.tar.gz" +HOMEPAGE="http://www.alobbs.com/cherokee" +LICENSE="GPL-2" +DEPEND="sys-libs/glibc" +RDEPEND="${DEPEND}" +KEYWORDS="~x86" +SLOT="0" + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog COPYING INSTALL README +} diff --git a/www-servers/cherokee/cherokee-0.4.5.ebuild b/www-servers/cherokee/cherokee-0.4.5.ebuild new file mode 100644 index 000000000000..623a53ec26ad --- /dev/null +++ b/www-servers/cherokee/cherokee-0.4.5.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.4.5.ebuild,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +S="${WORKDIR}/${P}" +DESCRIPTION="An extremely fast and tiny web server." +SRC_URI="ftp://alobbs.com/cherokee/${PV}/${P}.tar.gz + ftp://laurel.datsi.fi.upm.es/pub/linux/cherokee/${PV}/${P}.tar.gz" +HOMEPAGE="http://www.alobbs.com/cherokee" +LICENSE="GPL-2" + +DEPEND=">=sys-devel/automake-1.7.5 + ${RDEPEND}" + +RDEPEND="virtual/libc + >=sys-libs/zlib-1.1.4-r1 + gnome? ( >=dev-libs/glib-2.2.2 + >=gnome-base/ORBit2-2.6.1 + >=gnome-base/gnome-vfs-2.2.4 )" + +KEYWORDS="~x86 ~sparc" +SLOT="0" +IUSE="gnome" + +src_unpack () +{ + unpack "${A}" + + # patch to fix Makefile DESTDIR compliance + + einfo "Applying Makefile.am patch" + patch ${S}/Makefile.am < ${FILESDIR}/${P}-Makefile.am.patch + + einfo "Running automake to update Makefile.in" + cd ${S} + automake +} + +src_compile () +{ + use gnome && my_conf="$my_conf --enable-gnomevfs" + +# coming soon ;-) +# use php && my_conf="$my_conf --with-php" +# use mono && my_conf="$my_conf --with-mono" + + ./configure --prefix=/usr --sysconfdir=/etc --disable-static $my_conf --with-pic + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog COPYING INSTALL README + + # install the Gentoo-ised config file + + cp ${FILESDIR}/${P}-cherokee.conf ${D}/etc/cherokee/cherokee.conf + + # remove the installed sample config file + rm ${D}/etc/cherokee/cherokee.conf.sample + + # add default doc-root and cgi-bin locations + dodir /var/www/localhost/htdocs + dodir /var/www/localhost/cgi-bin + + # add init.d script + + dodir /etc/init.d + cp ${FILESDIR}/${P}-init.d ${D}/etc/init.d/cherokee +} diff --git a/www-servers/cherokee/files/cherokee-0.4.1-gcc3.patch b/www-servers/cherokee/files/cherokee-0.4.1-gcc3.patch new file mode 100644 index 000000000000..07cec44c4b25 --- /dev/null +++ b/www-servers/cherokee/files/cherokee-0.4.1-gcc3.patch @@ -0,0 +1,24 @@ +diff -r -u cherokee-0.4.1-old/src/common.c cherokee-0.4.1/src/common.c +--- cherokee-0.4.1-old/src/common.c 2003-02-23 08:36:02.000000000 -0700 ++++ cherokee-0.4.1/src/common.c 2004-02-15 23:17:22.000000000 -0700 +@@ -23,7 +23,7 @@ + * USA + */ + +-#include ++#include + #include "common.h" + + /* Global mini-buffer for quickly use +diff -r -u cherokee-0.4.1-old/src/log.c cherokee-0.4.1/src/log.c +--- cherokee-0.4.1-old/src/log.c 2003-02-23 08:36:31.000000000 -0700 ++++ cherokee-0.4.1/src/log.c 2004-02-15 23:17:37.000000000 -0700 +@@ -24,7 +24,7 @@ + */ + + #include "log.h" +-#include ++#include + + static int __cherokee_logging = 0; + diff --git a/www-servers/cherokee/files/cherokee-0.4.17-init.d b/www-servers/cherokee/files/cherokee-0.4.17-init.d new file mode 100644 index 000000000000..b94d6d757aae --- /dev/null +++ b/www-servers/cherokee/files/cherokee-0.4.17-init.d @@ -0,0 +1,30 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/files/cherokee-0.4.17-init.d,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +PIDFILE=/var/run/cherokee.pid + +depend() { + need net +} + +start() { + ebegin "Starting Cherokee Web Server" + # make sure they can't break our startup by passing -d (which would + # cause incorrect PID to be written to pidfile), or the incorrect + # depot root + start-stop-daemon --start --quiet \ + --pidfile ${PIDFILE} --make-pidfile -b \ + --exec /usr/sbin/cherokee + eend $? +} + +stop() { + ebegin "Stopping Cherokee Web Server" + if [ -f ${PIDFILE} ]; then + start-stop-daemon --stop --quiet --pidfile ${PIDFILE} + fi + rm -f ${PIDFILE} + eend $? +} diff --git a/www-servers/cherokee/files/cherokee-0.4.5-Makefile.am.patch b/www-servers/cherokee/files/cherokee-0.4.5-Makefile.am.patch new file mode 100644 index 000000000000..40bdd440bf8d --- /dev/null +++ b/www-servers/cherokee/files/cherokee-0.4.5-Makefile.am.patch @@ -0,0 +1,22 @@ +--- Makefile.am 2003-07-04 14:54:38.000000000 +0100 ++++ /tmp/Makefile.am 2003-10-05 11:04:55.000000000 +0100 +@@ -23,14 +23,14 @@ + + + install-data-local: +- @if test -f $(cherokeeconfdir)/cherokee.conf ; then \ ++ @if test -f $(DESTDIR)$(cherokeeconfdir)/cherokee.conf ; then \ + echo "$@ will not overwrite existing $(cherokeeconfdir)/cherokee.conf"; \ + else \ +- $(mkinstalldirs) $(cherokeeconfdir) \ +- echo "$(INSTALL_DATA) cherokee.conf.sample $(cherokeeconfdir)/cherokee.conf"; \ +- $(INSTALL_DATA) cherokee.conf.sample $(cherokeeconfdir)/cherokee.conf; \ ++ $(mkinstalldirs) $(DESTDIR)$(cherokeeconfdir) ;\ ++ echo "$(INSTALL_DATA) cherokee.conf.sample $(DESTDIR)$(cherokeeconfdir)/cherokee.conf"; \ ++ $(INSTALL_DATA) cherokee.conf.sample $(DESTDIR)$(cherokeeconfdir)/cherokee.conf; \ + fi +- $(mkinstalldirs) $(localstatedir) ++ $(mkinstalldirs) $(DESTDIR)$(localstatedir) + + uninstall-local: + @if test -f $(cherokeeconfdir)/cherokee.conf ; then \ diff --git a/www-servers/cherokee/files/cherokee-0.4.5-cherokee.conf b/www-servers/cherokee/files/cherokee-0.4.5-cherokee.conf new file mode 100644 index 000000000000..fa67f8521c93 --- /dev/null +++ b/www-servers/cherokee/files/cherokee-0.4.5-cherokee.conf @@ -0,0 +1,148 @@ +## +## cherokee.conf -- Cherokee HTTP server configuration file +## + +## +## Port: The port to which the standalone server listens. For +## ports < 1023, you will need cherokee to be run as root initially. +## +Port 80 + +## +## IPv6 support +## +IPv6 On + +## +## This directiveis used to tell the server which IP address to listen to. +## +#Listen 127.0.0.1 + +## +## If you wish cherokee to run as a different user or group, you must run +## cherokee as root initially and it will switch. +## +## Eg: User "www-data" +## Group "www-data" +## +## Eg: User 65534 +## Group 65534 +## +#User nobody +#Group nogroup + +## +## Timeout: The number of seconds before receives and sends time out. +## +Timeout 15 + +## +## KeepAlive: Whether or not to allow persistent connections (more than +## one request per connection). Set to "Off" to deactivate. +## +KeepAlive On + +## +## ThreadNumber: +## +# ThreadNumber 5 + +## +## DocumentRoot: The directory out of which you will serve your +## documents. By default, all requests are taken from this directory, but +## symbolic links and aliases may be used to point to other locations. +## +DocumentRoot /var/www/localhost/htdocs + +## +## Log: Turn On/Off the logging in to syslog +## +## Parameters: +## ncsa - AccessLog, ErrorLog +## w3c - LogFile +## +#Log w3c { +# LogFile /var/log/cherokee.w3c.log +#} +Log ncsa { + AccessLog /var/log/cherokee.access + ErrorLog /var/log/cherokee.error +} + +## +## Hide Versions: Hide the software version +## +HideVersion Off + +## +## PidFile: The file in which the server should record its process +## identification number when it starts. +## +PidFile /var/run/cherokee.pid + +## +## UserDir: The name of the directory which is appended onto a user's home +## directory if a ~user request is received. +## +## NOTE: Take in mind the permissions. If you have changed the User/Group +## the server maybe will have problems accessing the personal users' +## content. +## +UserDir public_html { + Handler common +} + +## +## MimeFile: Mime types file. By default you should leave it +## commented +## +#MimeFile /usr/share/cherokee/mime_types.txt + +## +## Load the GZip encoder plugin +## +Encoder gzip { + Allow html, htm, txt + Deny jpg, png, gz +} + +## +## Handler to directory configuration +## +Directory / { + Handler common +} + +Directory /icons { + Handler file + DocumentRoot /usr/share/cherokee/icons/ +} + +Directory /google { + Handler redir { + URL http://www.google.com/search?sourceid=cherokee-search&q= + } +} + +Directory /cgi-bin { + Handler cgi + DocumentRoot /var/www/localhost/cgi-bin/ +} + +#Directory /gnome { +# Handler gnomevfs { +# FileDir /var/www/compressed/ +# } +#} + +## +## Virtual servers +## +# Server tesoro.alobbs.com { +# DocumentRoot /var/www/tesoro.alobbs.com/htdocs +# +# Directory / { +# Handler common +# } +#} + diff --git a/www-servers/cherokee/files/cherokee-0.4.5-init.d b/www-servers/cherokee/files/cherokee-0.4.5-init.d new file mode 100644 index 000000000000..c5baf366e582 --- /dev/null +++ b/www-servers/cherokee/files/cherokee-0.4.5-init.d @@ -0,0 +1,30 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/files/cherokee-0.4.5-init.d,v 1.1 2004/08/08 11:14:13 stuart Exp $ + +PIDFILE=/var/run/cherokee.pid + +depend() { + need net +} + +start() { + ebegin "Starting Cherokee Web Server" + # make sure they can't break our startup by passing -d (which would + # cause incorrect PID to be written to pidfile), or the incorrect + # depot root + start-stop-daemon --start --quiet \ + --pidfile ${PIDFILE} --make-pidfile -b \ + --exec /usr/bin/cherokee + eend $? +} + +stop() { + ebegin "Stopping Cherokee Web Server" + if [ -f ${PIDFILE} ]; then + start-stop-daemon --stop --quiet --pidfile ${PIDFILE} + fi + rm -f ${PIDFILE} + eend $? +} diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.0 b/www-servers/cherokee/files/digest-cherokee-0.4.0 new file mode 100644 index 000000000000..1d80d29a1e6f --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.0 @@ -0,0 +1 @@ +MD5 bd204abaeb75f4b7a3a2c238f468b447 cherokee-0.4.0-beta5.tar.gz 207094 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.1 b/www-servers/cherokee/files/digest-cherokee-0.4.1 new file mode 100644 index 000000000000..5916dd39d1ef --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.1 @@ -0,0 +1 @@ +MD5 15ed888989350ad9b1e1d36609a7bd0d cherokee-0.4.1.tar.gz 212222 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.10 b/www-servers/cherokee/files/digest-cherokee-0.4.10 new file mode 100644 index 000000000000..94ae94565758 --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.10 @@ -0,0 +1 @@ +MD5 1934b6f20e774c6981b80575bfd7427f cherokee-0.4.10.tar.gz 680687 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.14 b/www-servers/cherokee/files/digest-cherokee-0.4.14 new file mode 100644 index 000000000000..c3c739731c90 --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.14 @@ -0,0 +1 @@ +MD5 f7210fd4960af21e4b285a5f6fb7fad4 cherokee-0.4.14.tar.gz 749879 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.15 b/www-servers/cherokee/files/digest-cherokee-0.4.15 new file mode 100644 index 000000000000..f2ca53179c69 --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.15 @@ -0,0 +1 @@ +MD5 e08c299da597feebaecd5839b8aaafc3 cherokee-0.4.15.tar.gz 755199 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.16 b/www-servers/cherokee/files/digest-cherokee-0.4.16 new file mode 100644 index 000000000000..87ea0c17028c --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.16 @@ -0,0 +1 @@ +MD5 b0e390c247952756bec877189583be22 cherokee-0.4.16.tar.gz 771568 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.17 b/www-servers/cherokee/files/digest-cherokee-0.4.17 new file mode 100644 index 000000000000..80824cbd0cc3 --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.17 @@ -0,0 +1 @@ +MD5 2cf8c8eb973e6b3e5578406b467f23b5 cherokee-0.4.17.tar.gz 800872 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.4 b/www-servers/cherokee/files/digest-cherokee-0.4.4 new file mode 100644 index 000000000000..390943d6a340 --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.4 @@ -0,0 +1 @@ +MD5 efed5a8351acee511686c8662629162a cherokee-0.4.4.tar.gz 338818 diff --git a/www-servers/cherokee/files/digest-cherokee-0.4.5 b/www-servers/cherokee/files/digest-cherokee-0.4.5 new file mode 100644 index 000000000000..3e5e5a48bd4e --- /dev/null +++ b/www-servers/cherokee/files/digest-cherokee-0.4.5 @@ -0,0 +1 @@ +MD5 d06bfce5bbb6c99f6d3349383be7377c cherokee-0.4.5.tar.gz 508784 diff --git a/www-servers/cherokee/metadata.xml b/www-servers/cherokee/metadata.xml new file mode 100644 index 000000000000..95c06f0095bb --- /dev/null +++ b/www-servers/cherokee/metadata.xml @@ -0,0 +1,5 @@ + + + +web-apps + -- cgit v1.2.3-65-gdbad