From 10019ad536e8cc34c90a8f7e72f022cb4e22bbdc Mon Sep 17 00:00:00 2001 From: Christian Heim Date: Sun, 29 Jul 2007 14:57:18 +0000 Subject: Moving net-www/mod_limitipconn to www-apache/mod_limitipconn (#81244). (Portage version: 2.1.3_rc9) --- www-apache/mod_limitipconn/ChangeLog | 81 ++++++++++++++++++++++ www-apache/mod_limitipconn/Manifest | 20 ++++++ .../mod_limitipconn/files/27_mod_limitipconn.conf | 22 ++++++ .../files/digest-mod_limitipconn-0.22-r1 | 3 + www-apache/mod_limitipconn/metadata.xml | 14 ++++ .../mod_limitipconn/mod_limitipconn-0.22-r1.ebuild | 26 +++++++ 6 files changed, 166 insertions(+) create mode 100644 www-apache/mod_limitipconn/ChangeLog create mode 100644 www-apache/mod_limitipconn/Manifest create mode 100644 www-apache/mod_limitipconn/files/27_mod_limitipconn.conf create mode 100644 www-apache/mod_limitipconn/files/digest-mod_limitipconn-0.22-r1 create mode 100644 www-apache/mod_limitipconn/metadata.xml create mode 100644 www-apache/mod_limitipconn/mod_limitipconn-0.22-r1.ebuild (limited to 'www-apache') diff --git a/www-apache/mod_limitipconn/ChangeLog b/www-apache/mod_limitipconn/ChangeLog new file mode 100644 index 000000000000..901b6be99518 --- /dev/null +++ b/www-apache/mod_limitipconn/ChangeLog @@ -0,0 +1,81 @@ +# ChangeLog for net-www/mod_limitipconn +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_limitipconn/ChangeLog,v 1.1 2007/07/29 14:57:18 phreak Exp $ + + 29 Jul 2007; Christian Heim + +files/27_mod_limitipconn.conf, +metadata.xml, + +mod_limitipconn-0.22-r1.ebuild: + Moving net-www/mod_limitipconn to www-apache/mod_limitipconn (#81244). + + 13 Jun 2007; Luca Longinotti + -files/mod_limitipconn-0.04-local_ip.patch, + -files/mod_limitipconn-0.04-vhost.patch, -mod_limitipconn-0.04.ebuild: + Remove Apache1. + + 14 Jan 2007; Luca Longinotti + mod_limitipconn-0.04.ebuild, mod_limitipconn-0.22-r1.ebuild: + Cleanup. + + 28 Oct 2006; Tom Knight + +files/mod_limitipconn-0.04-local_ip.patch, + +files/mod_limitipconn-0.04-vhost.patch, metadata.xml, + +mod_limitipconn-0.04.ebuild, mod_limitipconn-0.22-r1.ebuild: + Better fix for bug #148099. Stabalised 0.22-r1 on amd64. Re-added 0.04 for + apache1 users. + + 30 Sep 2006; Luca Longinotti + -files/mod_limitipconn-0.04-local_ip.patch, + -files/mod_limitipconn-0.04-vhost.patch, metadata.xml, + -mod_limitipconn-0.04.ebuild, mod_limitipconn-0.22-r1.ebuild: + Fix bug #148099, add amd64 keyword, remove old version. + + 04 Jun 2006; Michael Stewart + -files/digest-mod_limitipconn-0.22: + Remove old-style ebuilds + + 01 Nov 2005; Tobias Scherbaum + mod_limitipconn-0.22-r1.ebuild: + Marked ppc stable, bug #106435 + + 18 Sep 2005; Michael Stewart + mod_limitipconn-0.22-r1.ebuild: + Stable on x86 + + 13 Feb 2005; Benedikt Boehm + files/27_mod_limitipconn.conf, mod_limitipconn-0.04.ebuild, + mod_limitipconn-0.22-r1.ebuild: + changed IPLIMIT to LIMITIPCONN + fixed module config + +*mod_limitipconn-0.04 (09 Feb 2005) + + 09 Feb 2005; Benedikt Boehm + +files/mod_limitipconn-0.04-local_ip.patch, + +files/mod_limitipconn-0.04-vhost.patch, +mod_limitipconn-0.04.ebuild, + mod_limitipconn-0.22-r1.ebuild: + fixed 0.22-r1 and added 0.04. closes #55137 + +*mod_limitipconn-0.22-r1 (09 Jan 2005) + + 09 Jan 2005; Benedikt Boehm metadata.xml, + +files/27_mod_limitipconn.conf, +mod_limitipconn-0.22-r1.ebuild: + Apache herd package refresh + + 04 Sep 2004; Pieter Van den Abeele + mod_limitipconn-0.22.ebuild: + Masked mod_limitipconn-0.22.ebuild stable for ppc + + 01 Jul 2004; Jeremy Huddleston + mod_limitipconn-0.22.ebuild: + virtual/glibc -> virtual/libc + + 24 May 2004; Chuck Short mod_limitipconn-0.22.ebuild: + Marked stable for x86. + + 26 Apr 2004; David Holm mod_limitipconn-0.22.ebuild: + Added to ~ppc. + +*mod_limitipconn-0.22 (03 Apr 2004) + + 03 Apr 2004; Chuck Short mod_limitipconn-0.22.ebuild: + Initial verison, ebuild written by me. Closes #31306. + diff --git a/www-apache/mod_limitipconn/Manifest b/www-apache/mod_limitipconn/Manifest new file mode 100644 index 000000000000..5ecebb670b91 --- /dev/null +++ b/www-apache/mod_limitipconn/Manifest @@ -0,0 +1,20 @@ +AUX 27_mod_limitipconn.conf 635 RMD160 2ced447e4048e2bc762936b611b022fd6337f9f8 SHA1 5b98a770cfcf5f209e431baa78a1df02d18028c7 SHA256 fa6dd0d740877f2fb1956d65e683366a4a923eeb842fe943016c50d3e1ebe686 +MD5 0cd0983e7d8ffe717947d00500245ece files/27_mod_limitipconn.conf 635 +RMD160 2ced447e4048e2bc762936b611b022fd6337f9f8 files/27_mod_limitipconn.conf 635 +SHA256 fa6dd0d740877f2fb1956d65e683366a4a923eeb842fe943016c50d3e1ebe686 files/27_mod_limitipconn.conf 635 +DIST mod_limitipconn-0.22.tar.gz 6333 RMD160 7e62fd51bf837a02a1d42d2b807e03191682ce48 SHA1 b8477f92f1dd63af3153617b924f94ac8e604a7f SHA256 c11e308316f8fe2fb46e365f6b2d4aa389aa220094f7ed8e555853c2734f70b1 +EBUILD mod_limitipconn-0.22-r1.ebuild 666 RMD160 4005e26885b3f66db4417cfc192d09970a8294cb SHA1 f334eedefe44bb4311c32ef6277e9596aee8ac77 SHA256 aa3c4bb634b122086a824bac4fcd6c6677770e2bd0f4895ff0dbb342e30f07e5 +MD5 08a23dd63a4c829a9de37500f3055fc8 mod_limitipconn-0.22-r1.ebuild 666 +RMD160 4005e26885b3f66db4417cfc192d09970a8294cb mod_limitipconn-0.22-r1.ebuild 666 +SHA256 aa3c4bb634b122086a824bac4fcd6c6677770e2bd0f4895ff0dbb342e30f07e5 mod_limitipconn-0.22-r1.ebuild 666 +MISC ChangeLog 2986 RMD160 2378d44d7024066abdb83ada7a45703f45bae9ca SHA1 e4e9a1d20dbb869d99ac42fbd95604064359c7a2 SHA256 645a65da49117f4df3b64c96d0adcbd52514e060931b53a9fc2bea82a40fae30 +MD5 39c702aa24efbfbf302512628a2904ac ChangeLog 2986 +RMD160 2378d44d7024066abdb83ada7a45703f45bae9ca ChangeLog 2986 +SHA256 645a65da49117f4df3b64c96d0adcbd52514e060931b53a9fc2bea82a40fae30 ChangeLog 2986 +MISC metadata.xml 442 RMD160 500a512e83e389abed161e96f6319ab2597cadcc SHA1 8a8ac224d5def9cf41a753ebb1a7d44694935297 SHA256 48e1087d432356290f329bc1b4ed471643e840b23ef83dd2e97af7db40c6a343 +MD5 e0e0cf8c6b257c2088e6861f4f297396 metadata.xml 442 +RMD160 500a512e83e389abed161e96f6319ab2597cadcc metadata.xml 442 +SHA256 48e1087d432356290f329bc1b4ed471643e840b23ef83dd2e97af7db40c6a343 metadata.xml 442 +MD5 77709f6bd89513a3a53e26946c8c37a8 files/digest-mod_limitipconn-0.22-r1 256 +RMD160 8baca16bff0d8932a64979284d70ef989addf7f2 files/digest-mod_limitipconn-0.22-r1 256 +SHA256 bbc66c211a4d2a512550cadbdaf7706c94e8dbe3d213e995f6d18f54e2b89320 files/digest-mod_limitipconn-0.22-r1 256 diff --git a/www-apache/mod_limitipconn/files/27_mod_limitipconn.conf b/www-apache/mod_limitipconn/files/27_mod_limitipconn.conf new file mode 100644 index 000000000000..049dc7e48ebd --- /dev/null +++ b/www-apache/mod_limitipconn/files/27_mod_limitipconn.conf @@ -0,0 +1,22 @@ + + + LoadModule limitipconn_module modules/mod_limitipconn.so + + + + + + MaxConnPerIP 3 + # exempting images from the connection limit is often a good + # idea if your web page has lots of inline images, since these + # pages often generate a flurry of concurrent image requests + NoIPLimit image/* + + + + MaxConnPerIP 1 + # In this case, all MIME types other than audio/mpeg and video* + # are exempt from the limit check + OnlyIPLimit audio/mpeg video + + diff --git a/www-apache/mod_limitipconn/files/digest-mod_limitipconn-0.22-r1 b/www-apache/mod_limitipconn/files/digest-mod_limitipconn-0.22-r1 new file mode 100644 index 000000000000..d683936792d2 --- /dev/null +++ b/www-apache/mod_limitipconn/files/digest-mod_limitipconn-0.22-r1 @@ -0,0 +1,3 @@ +MD5 0f4beb9eb4e7b815ca472ccfe11451b3 mod_limitipconn-0.22.tar.gz 6333 +RMD160 7e62fd51bf837a02a1d42d2b807e03191682ce48 mod_limitipconn-0.22.tar.gz 6333 +SHA256 c11e308316f8fe2fb46e365f6b2d4aa389aa220094f7ed8e555853c2734f70b1 mod_limitipconn-0.22.tar.gz 6333 diff --git a/www-apache/mod_limitipconn/metadata.xml b/www-apache/mod_limitipconn/metadata.xml new file mode 100644 index 000000000000..3423d6587289 --- /dev/null +++ b/www-apache/mod_limitipconn/metadata.xml @@ -0,0 +1,14 @@ + + + + apache + + tomk@gentoo.org + Tom Knight + + + Apache module to limit the maximum number of simultaneous + connections per IP address. Allows inclusion and exclusion of files + based on MIME type. + + diff --git a/www-apache/mod_limitipconn/mod_limitipconn-0.22-r1.ebuild b/www-apache/mod_limitipconn/mod_limitipconn-0.22-r1.ebuild new file mode 100644 index 000000000000..c03d52d23678 --- /dev/null +++ b/www-apache/mod_limitipconn/mod_limitipconn-0.22-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_limitipconn/mod_limitipconn-0.22-r1.ebuild,v 1.1 2007/07/29 14:57:18 phreak Exp $ + +inherit apache-module + +KEYWORDS="amd64 ppc x86" + +DESCRIPTION="Allows administrators to limit the number of simultaneous downloads permitted." +HOMEPAGE="http://dominia.org/djao/limitipconn2.html" +SRC_URI="http://dominia.org/djao/limit/${P}.tar.gz" +LICENSE="as-is" +SLOT="2" +IUSE="" + +DEPEND="" +RDEPEND="" + +RESTRICT="test" + +APACHE2_MOD_CONF="27_${PN}" +APACHE2_MOD_DEFINE="LIMITIPCONN INFO" + +DOCFILES="ChangeLog README" + +need_apache2 -- cgit v1.2.3-65-gdbad