diff options
author | Stuart Herbert <stuart@gentoo.org> | 2004-08-08 11:14:13 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2004-08-08 11:14:13 +0000 |
commit | c78cd385e8535cde173e7427ae92d9502ec4acc5 (patch) | |
tree | b5c2f6e5be1c3359d70b7e38287b4242ee4ae1c1 /www-servers/cherokee | |
parent | Added fix for CAN-2004-0415 (diff) | |
download | historical-c78cd385e8535cde173e7427ae92d9502ec4acc5.tar.gz historical-c78cd385e8535cde173e7427ae92d9502ec4acc5.tar.bz2 historical-c78cd385e8535cde173e7427ae92d9502ec4acc5.zip |
Moved from net-www/cherokee to www-servers/cherokee.
Diffstat (limited to 'www-servers/cherokee')
26 files changed, 870 insertions, 0 deletions
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 <stuart@gentoo.org> +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 <mholzer@gentoo.org> cherokee-0.4.17.ebuild, + files/cherokee-0.4.17-init.d: + Version bumped. Closes 56561 + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + 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 <agriffis@gentoo.org> cherokee-0.4.1.ebuild: + Add inherit eutils + + 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> cherokee-0.4.0.ebuild: + Add die following econf for bug 48950 + + 17 Apr 2004; Jason Wever <weeve@gentoo.org> cherokee-0.4.5.ebuild: + Added ~sparc keyword. + +*cherokee-0.4.16 (15 Apr 2004) + + 15 Apr 2004; <bass@gentoo.org> 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; <bass@gentoo.org> cherokee-0.4.15.ebuild: + New Version. + +*cherokee-0.4.14 (18 Mar 2004) + + 18 Mar 2004; <bass@gentoo.org> cherokee-0.4.14.ebuild: + Bumped version. + + 19 Mar 2004; David Holm <dholm@gentoo.org> cherokee-0.4.14.ebuild: + Added to ~ppc. + +*cherokee-0.4.10 (26 Feb 2004) + + 18 Mar 2004; <bass@gentoo.org> cherokee-0.4.10.ebuild: + Marked as stable in x86 + + 26 Feb 2004; <bass@gentoo.org> cherokee-0.4.10.ebuild: + Bumped version. Changed Url. + + 06 Dec 2003; <spider@gentoo.org> cherokee-0.4.5.ebuild: + Fixing the badly broken gnome deps + + 05 Oct 2003; Stuart Herbert <stuart@gentoo.org> 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 <stuart@gentoo.org> 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 <aliz@gentoo.org> : + Version bump. Found by Eric Olinger <EvvL@RustedHalo.net> in #25158. + +*chrokee-4.1 (18 Mar 2003) + + 18 Mar 2003; J.Alberto Suárez L. <bass@gentoo.org> cherokee-4.1.ebuild: + Bumped version + +*cherokee-4.0.0 (11 Jan 2003) + + 10 Jan 2002; J.Alberto Suárez L. <bass@gentoo.org> cherokee-4.0.0.ebuild: + First relase. Beta5 version. + +*cherokee-0.4.0 (11 Jan 2003) + + 13 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> : + Added missing changelog entry. + +*cherokee-0.4.1 (16 Mar 2003) + + 10 Mar 2004; Martin Holzer <mholzer@gentoo.org> cherokee-0.4.1.ebuild, + files/cherokee-0.4.1-gcc3.patch: + adding gcc3 fix. closes 41744 + + 13 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> : + 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 <varargs.h> ++#include <stdarg.h> + #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 <varargs.h> ++#include <stdarg.h> + + 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>web-apps</herd> +</pkgmetadata> |