diff options
author | Stuart Herbert <stuart@gentoo.org> | 2004-08-08 17:59:18 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2004-08-08 17:59:18 +0000 |
commit | a33e0460ae2865c1329bae97e25766b75b8f3b74 (patch) | |
tree | ce0141f38031aa60aabe4e6b5fad2b356fefa517 | |
parent | Moved from net-www/plb to www-servers/plb (diff) | |
download | gentoo-2-a33e0460ae2865c1329bae97e25766b75b8f3b74.tar.gz gentoo-2-a33e0460ae2865c1329bae97e25766b75b8f3b74.tar.bz2 gentoo-2-a33e0460ae2865c1329bae97e25766b75b8f3b74.zip |
Moved from net-www/pound to www-servers/pound.
-rw-r--r-- | www-servers/pound/ChangeLog | 47 | ||||
-rw-r--r-- | www-servers/pound/Manifest | 8 | ||||
-rw-r--r-- | www-servers/pound/files/digest-pound-1.6 | 1 | ||||
-rw-r--r-- | www-servers/pound/files/digest-pound-1.7 | 1 | ||||
-rw-r--r-- | www-servers/pound/files/pound.cfg | 41 | ||||
-rw-r--r-- | www-servers/pound/files/pound.init | 23 | ||||
-rw-r--r-- | www-servers/pound/metadata.xml | 5 | ||||
-rw-r--r-- | www-servers/pound/pound-1.6.ebuild | 60 | ||||
-rw-r--r-- | www-servers/pound/pound-1.7.ebuild | 48 |
9 files changed, 234 insertions, 0 deletions
diff --git a/www-servers/pound/ChangeLog b/www-servers/pound/ChangeLog new file mode 100644 index 000000000000..bfb2ccdbe4c5 --- /dev/null +++ b/www-servers/pound/ChangeLog @@ -0,0 +1,47 @@ +# ChangeLog for net-www/pound +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/pound/ChangeLog,v 1.1 2004/08/08 17:59:18 stuart Exp $ + +*pound-1.6 (08 Aug 2004) + + 08 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml, + +files/pound.cfg, +files/pound.init, +pound-1.6.ebuild, +pound-1.7.ebuild: + Moved from net-www/pound to www-servers/pound. + + 16 Jul 2004; <rob@gentoo.org> files/pound.init: + Fix the init script. Closes #57134. Thanks to kuma@legmo.com for the report + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> pound-1.6.ebuild, + pound-1.7.ebuild: + virtual/glibc -> virtual/libc + + 27 Jun 2004; Aron Griffis <agriffis@gentoo.org> pound-1.6.ebuild: + QA - fix use invocation + + 11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> pound-1.7.ebuild: + Stable on alpha. + + 09 May 2004; Stuart Herbert <stuart@gentoo.org> pound-1.7.ebuild: + Marked stable on x86; for bug #50421 + +*pound-1.7 (23 Apr 2004) + + 23 Apr 2004; Stuart Herbert <stuart@gentoo.org> pound-1.7.ebuild: + Version bump; added 'msdav' and 'unsafe' local USE flags; see bug #45615 + +*pound-1.6 (27 Jan 2004) + + 27 Jan 2004; Martin Holzer <mholzer@gentoo.org> pound-1.6.ebuild: + Version bumped. Closes 39491 + +*pound-1.5 (01 Nov 2003) + + 01 Nov 2003; Markus Nigbur <pyrania@gentoo.org> metadata.xml, + pound-1.5.ebuild: + Version bump. Thanks to Thomas Eckert (#32454). + +*pound-1.4 (02 Aug 2003) + + 02 Aug 2003; Michael Imhof <tantive@gentoo.org> pound-1.4.ebuild : + Initial import. Ebuild submitted by Tom <Eckert.Thomas@gmx.net>. + Should close #19207. diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest new file mode 100644 index 000000000000..cfb3208e253d --- /dev/null +++ b/www-servers/pound/Manifest @@ -0,0 +1,8 @@ +MD5 e19018c53cee60cd47f6bf2c84d01349 pound-1.7.ebuild 1148 +MD5 c0b35141247958974232d7589b531a84 ChangeLog 1393 +MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161 +MD5 15dda659d5650e609fed767196595551 pound-1.6.ebuild 1348 +MD5 3f520e905590733604bd7cba38777f6a files/pound.init 579 +MD5 0b2e14a1793d6e6393cf13f015c58a7e files/digest-pound-1.6 58 +MD5 a5bfd8880ab9b367f5333083252548db files/digest-pound-1.7 58 +MD5 4c7b6277bb33061b615ac9059c74cf62 files/pound.cfg 830 diff --git a/www-servers/pound/files/digest-pound-1.6 b/www-servers/pound/files/digest-pound-1.6 new file mode 100644 index 000000000000..c46a088fc4b9 --- /dev/null +++ b/www-servers/pound/files/digest-pound-1.6 @@ -0,0 +1 @@ +MD5 530c26184be5da7715207423339cf2b1 Pound-1.6.tgz 121075 diff --git a/www-servers/pound/files/digest-pound-1.7 b/www-servers/pound/files/digest-pound-1.7 new file mode 100644 index 000000000000..3f77eb1bdeda --- /dev/null +++ b/www-servers/pound/files/digest-pound-1.7 @@ -0,0 +1 @@ +MD5 ebd15a0ff4a1920a857239630c33e8f5 Pound-1.7.tgz 132879 diff --git a/www-servers/pound/files/pound.cfg b/www-servers/pound/files/pound.cfg new file mode 100644 index 000000000000..482be9b79162 --- /dev/null +++ b/www-servers/pound/files/pound.cfg @@ -0,0 +1,41 @@ +## Minimal sample pound.cfg +## +## see pound(8) for details + + +###################################################################### +## global options: + +User nobody +Group nobody +#RootJail /chroot/pound + +## allow PUT and DELETE also (by default only GET, POST and HEAD)?: +ExtendedHTTP 0 + +WebDAV 0 + +## Logging: (goes to syslog by default) +## 0 no logging +## 1 normal +## 2 extended +## 3 Apache-style (common log format) +LogLevel 1 + +## check backend every X secs: +Alive 30 + +## use hardware-accelleration card supported by openssl(1): +#SSLEngine <hw> + + +###################################################################### +## listen, redirect and ... to: + +## redirect all requests on port 8888 ("ListenHTTP") to the local webserver see "UrlGroup" below): +ListenHTTP 127.0.0.1,8888 + +## +UrlGroup ".*" +BackEnd 127.0.0.1,80,1 +EndGroup diff --git a/www-servers/pound/files/pound.init b/www-servers/pound/files/pound.init new file mode 100644 index 000000000000..eaeb49097728 --- /dev/null +++ b/www-servers/pound/files/pound.init @@ -0,0 +1,23 @@ +#!/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/pound/files/pound.init,v 1.1 2004/08/08 17:59:18 stuart Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting pound" + if [ ! -f "/etc/pound.cfg" ]; then + eend 1 "configfile /etc/pound.cfg not found." + fi + start-stop-daemon --quiet --start --exec /usr/sbin/pound -- -f /etc/pound.cfg + eend $? +} + +stop() { + ebegin "Stopping pound" + start-stop-daemon --quiet --stop --pidfile /var/run/pound_pid.* + eend $? +} diff --git a/www-servers/pound/metadata.xml b/www-servers/pound/metadata.xml new file mode 100644 index 000000000000..95c06f0095bb --- /dev/null +++ b/www-servers/pound/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> diff --git a/www-servers/pound/pound-1.6.ebuild b/www-servers/pound/pound-1.6.ebuild new file mode 100644 index 000000000000..7aaf3b8bf8fb --- /dev/null +++ b/www-servers/pound/pound-1.6.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/pound/pound-1.6.ebuild,v 1.1 2004/08/08 17:59:18 stuart Exp $ + +MY_P=${P/p/P} + +DESCRIPTION="A http/https reverse-proxy and load-balancer." +SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz" +HOMEPAGE="http://www.apsis.ch/pound/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa" +IUSE="ssl" + +DEPEND="virtual/libc + ssl? ( dev-libs/openssl )" + +S=${WORKDIR}/${MY_P} + +src_compile() { + local myconf + + ## check for ssl-support: + if use ssl; then + myconf="${myconf} --with-ssl" + else + myconf="${myconf} --without-ssl" + fi + + ## TODO: how to handle the missing "syslog" USE-flag? + ## check for syslog-support: + #if use syslog; then + # myconf="${myconf} --with-log=" + #else + # myconf="${myconf} --without-log" + #fi + + econf ${myconf} || die "configure failed" + emake || die "compile failed" +} + +src_install() { + dosbin pound + doman pound.8 + + dodoc README + + exeinto /etc/init.d + newexe ${FILESDIR}/pound.init pound + + insinto /etc + doins ${FILESDIR}/pound.cfg +} + +pkg_postinst() { + einfo "No demo-/sample-configfile is included in the distribution -- read the man-page" + einfo "for more info." + einfo "A sample (localhost:8888 -> localhost:80) for gentoo is given in \"/etc/pound.cfg\"." +} diff --git a/www-servers/pound/pound-1.7.ebuild b/www-servers/pound/pound-1.7.ebuild new file mode 100644 index 000000000000..7039d7004403 --- /dev/null +++ b/www-servers/pound/pound-1.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/pound/pound-1.7.ebuild,v 1.1 2004/08/08 17:59:18 stuart Exp $ + +MY_P=${P/p/P} + +DESCRIPTION="A http/https reverse-proxy and load-balancer." +SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz" +HOMEPAGE="http://www.apsis.ch/pound/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc ~sparc alpha ~mips ~hppa" +IUSE="ssl msdav unsafe" + +DEPEND="virtual/libc + ssl? ( dev-libs/openssl )" + +S=${WORKDIR}/${MY_P} + +src_compile() { + local myconf + + ## check for ssl-support: + myconf="${myconf} `use_with ssl` `use_enable msdav` `use_enable unsafe`" + + econf ${myconf} || die "configure failed" + emake || die "compile failed" +} + +src_install() { + dosbin pound + doman pound.8 + + dodoc README + + exeinto /etc/init.d + newexe ${FILESDIR}/pound.init pound + + insinto /etc + doins ${FILESDIR}/pound.cfg +} + +pkg_postinst() { + einfo "No demo-/sample-configfile is included in the distribution -- read the man-page" + einfo "for more info." + einfo "A sample (localhost:8888 -> localhost:80) for gentoo is given in \"/etc/pound.cfg\"." +} |