diff options
Diffstat (limited to 'www-servers/pound')
-rw-r--r-- | www-servers/pound/Manifest | 12 | ||||
-rw-r--r-- | www-servers/pound/files/pound-2.2.cfg | 54 | ||||
-rw-r--r-- | www-servers/pound/files/pound.init-1.9 | 22 | ||||
-rw-r--r-- | www-servers/pound/metadata.xml | 18 | ||||
-rw-r--r-- | www-servers/pound/pound-2.6.ebuild | 55 | ||||
-rw-r--r-- | www-servers/pound/pound-2.7d.ebuild | 50 | ||||
-rw-r--r-- | www-servers/pound/pound-2.7f-r1.ebuild | 51 | ||||
-rw-r--r-- | www-servers/pound/pound-2.7f.ebuild | 50 |
8 files changed, 312 insertions, 0 deletions
diff --git a/www-servers/pound/Manifest b/www-servers/pound/Manifest new file mode 100644 index 000000000000..dfc7428e1c1e --- /dev/null +++ b/www-servers/pound/Manifest @@ -0,0 +1,12 @@ +AUX pound-2.2.cfg 906 SHA256 e13a68731464472f4fc1f86c688b3697fe304e77811f01a0c9fa9fe186cc047c SHA512 9471e5abe3e0ee83165ed01a7081a4d14075c6c21b9f9d7c3fb239aa78c38eae74394a7c7e7e7753d218a7ce5cae388823570d19b702a829baa93e949a8946b8 WHIRLPOOL 4e9aa05214f0c9d7a9c9873a80e8b734063a3dafdf13337fb208cb461c861bd946715311668dafeca38169c06ac101af33caba2d9dd2b60c28222af3723a442e +AUX pound.init-1.9 495 SHA256 4fed475cd93ea9234571aae44f2548d3ed109afa25ea463dbf7c52655de7d55d SHA512 fab1936ce907bdb5b215eada2c05025bd4dd158d0dfb0cdeb9f32ec4284bcdc75625ed7933913d080c3c26edbd8dcbbd197a729fa9c130fbff12d7bfdfd8d41f WHIRLPOOL 88c0eabd9839a7f7e7867b43f17fc6e12c87447c6b845e201f4842b7f94e11305ced245e8daf0923d930648d65dde6c1f2d298b8c34823a6a9bee2f0ca217cc8 +DIST Pound-2.6.tgz 180595 SHA256 0ad25e3652e22117abbc17a70b5d8913e05991318a5506bc7437e662616fdf21 SHA512 ec397740672ab3784322136e9e0ab7ac059c888453f2bdaf00cf64795a0ff9985d9d60a77a78491f64f2d0a63cce0b18a5df4f9b74a97ab9065a591ac046ad36 WHIRLPOOL e67340e6200de6d22bc65734ccf518ce25b168f9c2f7672f3682ccac15cd837484a7fa2b8cc3b9d6490a20c1994ac92c316820d1273c55156a201392e07273a5 +DIST Pound-2.7d.tgz 184801 SHA256 4eabba4b0139c09c58a3eb0a6c91c0487f429eb5a322a75d76d67a49aa8b09b8 SHA512 3a64a910327c3acbc43daaaca28612fe5f98f89937612844fc2a4de9d638499465783b09782daceda0a10f8cfdf396d233fa231fb967b7889213898078015416 WHIRLPOOL bcc58f1978a8b0d0150430759198ef4e860b74c1c151503b2ba62033ba789706d69dd080d22be9ed682ed610e6fc6e41ca3a70692135cd341030f14c2edd6d7a +DIST Pound-2.7f.tgz 186719 SHA256 0aba1a8b152f85c1521e7e0ca1b3d4258bd7a74382d4b64eb5e812a7704a9375 SHA512 292f4f7b4363365829f204b687080eae9e17b9a67ae7eb6021eb5a028321191d97abd9633d5664db5ebca6467795f73a787be4a0bd29360d737865930ff81830 WHIRLPOOL b5d5a0b7479f12428ace3e6f1d85e82dbcea222701de5031f5499b29acd911637193764d534020f6f5a365162201eb6601b1f766371ed039ca480ce9d583e2df +EBUILD pound-2.6.ebuild 1286 SHA256 a94ad2ba6f50b15ace5a494b92b6222003dcf654c966682340acd755f6445a5d SHA512 79256196c2bf358baedac43f7522be90e734ac4dff8c6c3f41c9d5aff0b355312346959ed2f2987dd7a9f751167eaa0621c510ce30fb5c6fefa033709e508e03 WHIRLPOOL d776a47ea18e469c68fbd1bc3571b55277c60c6d757a799d23c05e1322c6fdd1af527ab4c5aa60c0a5668bc02e39b5a20d11afb08b5915cb5427829d04c73c60 +EBUILD pound-2.7d.ebuild 1222 SHA256 2a35bd01374a5f6e8cac3bc679aa88b8426c013c31ef787b78687fb95fc24201 SHA512 b5d3c6f85a75762738bd0e1973d9adec12d560583eb3569a16f68aac68346640def51c74a780aaf8fbee723ff2c115fa822aae8991d0ec9a883eecf01e04523c WHIRLPOOL 16b1741d8036969b025bad22f568e7c321fcd9efa2367be25bbe35441da17514a00b49a6c5702253b733f97fa7bdb791028a8296cce2e5546257c5f042156028 +EBUILD pound-2.7f-r1.ebuild 1280 SHA256 8006647ccc8c70ec384cca446e1110fdc2a6cab1482f3fc7bbba60a22a2236ce SHA512 9a0624df66498f18bc36dbd9f0e9f964948e38419b23b9730b37dc38e900d84266a089c7f7e2f5c6ee7330b70cc2c95a36edc034543317339eaf03a4ca60de7d WHIRLPOOL 497a5d089657dfc32751e610f971406db1966e2681e1cd21a1b29f97c7944cdf3707f3794361a675f8292f45c3a3403ff424e0adff42078b0faf000aea4e4980 +EBUILD pound-2.7f.ebuild 1222 SHA256 2a35bd01374a5f6e8cac3bc679aa88b8426c013c31ef787b78687fb95fc24201 SHA512 b5d3c6f85a75762738bd0e1973d9adec12d560583eb3569a16f68aac68346640def51c74a780aaf8fbee723ff2c115fa822aae8991d0ec9a883eecf01e04523c WHIRLPOOL 16b1741d8036969b025bad22f568e7c321fcd9efa2367be25bbe35441da17514a00b49a6c5702253b733f97fa7bdb791028a8296cce2e5546257c5f042156028 +MISC ChangeLog 3035 SHA256 9c00589ec08a85cc1ecad4c61b28dc86f203df671ca7fb38720fe73e3f35f9e3 SHA512 e62eb0df0d77660b2ec6c346ba9c6f4ddb3eacd955ec7fb6a81c0af50c911d76115acb5ead48f139cf1360f56c8dd62226a8be9771cd916829ddc30dd5b77afc WHIRLPOOL dfdb7a3a4ec91fb1e10a16888530521d75d8957a8a2674e5fa8ad8fa1746febdd96f5123fc617aea9d920d877b89964476f212568f240f8c6365c2feacd66654 +MISC ChangeLog-2015 8846 SHA256 7dfc12138f6997f49a9453c9c7810d4b696b6e903fe48e7f7125b60c564f7e1f SHA512 43092ba7707668a1c33bad6085719686b9a24346356ae0a70fe2258d71a1091f8a7a5e1e364d849893e34a845b1f78d07f2bedcbefb794d3fffba9fbb3a29065 WHIRLPOOL 18caa7fe789aade046f7657fa76a1de84041f1620b33a79d626d477ccc86129d7d4b36e5588ca655076fb16cafd13b1f782dc5ecd3b9dfc77196646af16cf199 +MISC metadata.xml 777 SHA256 07d5e8754a44b7c9618a18b7b6d4f5c155602279dcfa7c7681d32393b4c85c28 SHA512 e08c001a038ad8d4a7870afa9334d66eeddadff33629c764c4aefdc107f7b53693d09c32e4ad2886afecab7991302506fc2b714aa669f1b4b398ab5dddbb11a3 WHIRLPOOL 298f112cb28cf6cc9a7d3a506b8bd4497f7e05dcb36d54939e56dd34dc938ea4a5b9fbd783ffa7cf4aa2fa2eb449acb430c1b25dd031fe3f33979cd88e8dc7be diff --git a/www-servers/pound/files/pound-2.2.cfg b/www-servers/pound/files/pound-2.2.cfg new file mode 100644 index 000000000000..664ea53c9edd --- /dev/null +++ b/www-servers/pound/files/pound-2.2.cfg @@ -0,0 +1,54 @@ +## Minimal sample pound.cfg +## +## see pound(8) for details + + +###################################################################### +## global options: + +User "nobody" +Group "nobody" +#RootJail /chroot/pound + +## 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 +Address 127.0.0.1 +Port 8888 + +## allow PUT and DELETE also (by default only GET, POST and HEAD)?: +xHTTP 0 + +Service +URL ".*" + +BackEnd +Address 127.0.0.1 +Port 80 +Priority 1 + +## End Backend +End + +## End Service +End + +## End listener +End + diff --git a/www-servers/pound/files/pound.init-1.9 b/www-servers/pound/files/pound.init-1.9 new file mode 100644 index 000000000000..905c97b78a81 --- /dev/null +++ b/www-servers/pound/files/pound.init-1.9 @@ -0,0 +1,22 @@ +#!/sbin/openrc-run +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 -p /var/run/pound.pid + 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..3b154386945a --- /dev/null +++ b/www-servers/pound/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> +</maintainer> +<longdescription lang="en">The Pound program is a reverse proxy, load balancer + and HTTPS front-end for Web server(s). Pound was developed to enable + distributing the load among several Web-servers and to allow for a convenient + SSL wrapper for those Web servers that do not offer it natively. Pound is + distributed under the GPL - no warranty, it's free to use, copy and give away. +</longdescription> +<use> + <flag name="dynscaler">Enable dynamic rescaling of back-end + priorities</flag> +</use> +</pkgmetadata> diff --git a/www-servers/pound/pound-2.6.ebuild b/www-servers/pound/pound-2.6.ebuild new file mode 100644 index 000000000000..d7d176e63a5e --- /dev/null +++ b/www-servers/pound/pound-2.6.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +inherit eutils + +MY_P=${P/p/P} +DESCRIPTION="A http/https reverse-proxy and load-balancer" +HOMEPAGE="http://www.apsis.ch/pound/" +SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc x86" +IUSE="dynscaler" + +DEPEND="dev-libs/libpcre + dev-libs/openssl" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_configure() { + econf \ + $(use_enable dynscaler) +} + +src_install() { + dodir /usr/sbin + cp "${S}"/pound "${D}"/usr/sbin/ + cp "${S}"/poundctl "${D}"/usr/sbin/ + + doman pound.8 + doman poundctl.8 + dodoc README FAQ + + dodir /etc/init.d + newinitd "${FILESDIR}"/pound.init-1.9 pound + + insinto /etc + newins "${FILESDIR}"/pound-2.2.cfg pound.cfg +} + +pkg_postinst() { + elog "No demo-/sample-configfile is included in the distribution -" + elog "read the man-page for more info." + elog "A sample (localhost:8888 -> localhost:80) for gentoo is given in \"/etc/pound.cfg\"." + echo + ewarn "You will have to upgrade you configuration file, if you are" + ewarn "upgrading from a version <= 2.0." + echo + ewarn "The 'WebDAV' config statement is no longer supported!" + ewarn "Please adjust your configuration, if necessary." + echo +} diff --git a/www-servers/pound/pound-2.7d.ebuild b/www-servers/pound/pound-2.7d.ebuild new file mode 100644 index 000000000000..79e7d10fc790 --- /dev/null +++ b/www-servers/pound/pound-2.7d.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +MY_P=${P/p/P} +DESCRIPTION="A http/https reverse-proxy and load-balancer" +HOMEPAGE="http://www.apsis.ch/pound/" +SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="dev-libs/libpcre + dev-libs/openssl" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_install() { + dodir /usr/sbin + cp "${S}"/pound "${D}"/usr/sbin/ + cp "${S}"/poundctl "${D}"/usr/sbin/ + + doman pound.8 + doman poundctl.8 + dodoc README FAQ + + dodir /etc/init.d + newinitd "${FILESDIR}"/pound.init-1.9 pound + + insinto /etc + newins "${FILESDIR}"/pound-2.2.cfg pound.cfg +} + +pkg_postinst() { + elog "No demo-/sample-configfile is included in the distribution -" + elog "read the man-page for more info." + elog "A sample (localhost:8888 -> localhost:80) for gentoo is given in \"/etc/pound.cfg\"." + echo + ewarn "You will have to upgrade you configuration file, if you are" + ewarn "upgrading from a version <= 2.0." + echo + ewarn "The 'WebDAV' config statement is no longer supported!" + ewarn "Please adjust your configuration, if necessary." + echo +} diff --git a/www-servers/pound/pound-2.7f-r1.ebuild b/www-servers/pound/pound-2.7f-r1.ebuild new file mode 100644 index 000000000000..2b7160a260ad --- /dev/null +++ b/www-servers/pound/pound-2.7f-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +MY_P=${P/p/P} +DESCRIPTION="A http/https reverse-proxy and load-balancer" +HOMEPAGE="http://www.apsis.ch/pound/" +SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="libressl" + +DEPEND="dev-libs/libpcre + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_install() { + dodir /usr/sbin + cp "${S}"/pound "${D}"/usr/sbin/ + cp "${S}"/poundctl "${D}"/usr/sbin/ + + doman pound.8 + doman poundctl.8 + dodoc README FAQ + + dodir /etc/init.d + newinitd "${FILESDIR}"/pound.init-1.9 pound + + insinto /etc + newins "${FILESDIR}"/pound-2.2.cfg pound.cfg +} + +pkg_postinst() { + elog "No demo-/sample-configfile is included in the distribution -" + elog "read the man-page for more info." + elog "A sample (localhost:8888 -> localhost:80) for gentoo is given in \"/etc/pound.cfg\"." + echo + ewarn "You will have to upgrade you configuration file, if you are" + ewarn "upgrading from a version <= 2.0." + echo + ewarn "The 'WebDAV' config statement is no longer supported!" + ewarn "Please adjust your configuration, if necessary." + echo +} diff --git a/www-servers/pound/pound-2.7f.ebuild b/www-servers/pound/pound-2.7f.ebuild new file mode 100644 index 000000000000..79e7d10fc790 --- /dev/null +++ b/www-servers/pound/pound-2.7f.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +MY_P=${P/p/P} +DESCRIPTION="A http/https reverse-proxy and load-balancer" +HOMEPAGE="http://www.apsis.ch/pound/" +SRC_URI="http://www.apsis.ch/pound/${MY_P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="dev-libs/libpcre + dev-libs/openssl" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_install() { + dodir /usr/sbin + cp "${S}"/pound "${D}"/usr/sbin/ + cp "${S}"/poundctl "${D}"/usr/sbin/ + + doman pound.8 + doman poundctl.8 + dodoc README FAQ + + dodir /etc/init.d + newinitd "${FILESDIR}"/pound.init-1.9 pound + + insinto /etc + newins "${FILESDIR}"/pound-2.2.cfg pound.cfg +} + +pkg_postinst() { + elog "No demo-/sample-configfile is included in the distribution -" + elog "read the man-page for more info." + elog "A sample (localhost:8888 -> localhost:80) for gentoo is given in \"/etc/pound.cfg\"." + echo + ewarn "You will have to upgrade you configuration file, if you are" + ewarn "upgrading from a version <= 2.0." + echo + ewarn "The 'WebDAV' config statement is no longer supported!" + ewarn "Please adjust your configuration, if necessary." + echo +} |