summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2004-05-17 13:51:36 +0000
committerChuck Short <zul@gentoo.org>2004-05-17 13:51:36 +0000
commite0779bba61d56d4998800f1f78fb611d55b78e24 (patch)
tree9014f634714c7faed2185bdd7d5f15e9613476fc /net-www/mod_bandwidth
parentAdded ~sparc keyword. (Manifest recommit) (diff)
downloadgentoo-2-e0779bba61d56d4998800f1f78fb611d55b78e24.tar.gz
gentoo-2-e0779bba61d56d4998800f1f78fb611d55b78e24.tar.bz2
gentoo-2-e0779bba61d56d4998800f1f78fb611d55b78e24.zip
Version bump, closes #51275.
Diffstat (limited to 'net-www/mod_bandwidth')
-rw-r--r--net-www/mod_bandwidth/ChangeLog7
-rw-r--r--net-www/mod_bandwidth/Manifest8
-rw-r--r--net-www/mod_bandwidth/files/digest-mod_bandwidth-2.0.51
-rw-r--r--net-www/mod_bandwidth/mod_bandwidth-2.0.5.ebuild58
4 files changed, 70 insertions, 4 deletions
diff --git a/net-www/mod_bandwidth/ChangeLog b/net-www/mod_bandwidth/ChangeLog
index 0c7406ce0c64..0e43d4aa9766 100644
--- a/net-www/mod_bandwidth/ChangeLog
+++ b/net-www/mod_bandwidth/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-www/mod_bandwidth
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_bandwidth/ChangeLog,v 1.3 2004/04/16 14:26:27 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_bandwidth/ChangeLog,v 1.4 2004/05/17 13:51:36 zul Exp $
+
+*mod_bandwidth-2.0.5 (18 May 2004)
+
+ 18 May 2004; Chuck Short <zul@gentoo.org> mod_bandwidth-2.0.5.ebuild:
+ Version bump, closes #51275.
16 Apr 2004; Jason Wever <weeve@gentoo.org> mod_bandwidth-2.0.4.ebuild:
Added ~sparc keyword.
diff --git a/net-www/mod_bandwidth/Manifest b/net-www/mod_bandwidth/Manifest
index e07568aaf04b..6823c12b1109 100644
--- a/net-www/mod_bandwidth/Manifest
+++ b/net-www/mod_bandwidth/Manifest
@@ -1,6 +1,8 @@
+MD5 2d9d519c39c2d7662afdec243d1d45ac mod_bandwidth-2.0.5.ebuild 1719
MD5 68dc68adbf24bc0d6615e163cdb4290d ChangeLog 846
-MD5 2d9d519c39c2d7662afdec243d1d45ac mod_bandwidth-2.0.4.ebuild 1719
MD5 d2da0e45d7e39184d1cb7abbe3879086 metadata.xml 159
-MD5 b1f6d1637699dda2b89daf03a5991078 files/digest-mod_bandwidth-2.0.4 59
-MD5 7fdb7dc609577ce39c00d5c998411c56 files/mod_bandwidth-2.0.4-register.patch 658
+MD5 2d9d519c39c2d7662afdec243d1d45ac mod_bandwidth-2.0.4.ebuild 1719
MD5 cb75940c95ae90a42fc84bd3baac4f4f files/mod_bandwidth.conf 519
+MD5 7fdb7dc609577ce39c00d5c998411c56 files/mod_bandwidth-2.0.4-register.patch 658
+MD5 b1f6d1637699dda2b89daf03a5991078 files/digest-mod_bandwidth-2.0.4 59
+MD5 b1f6d1637699dda2b89daf03a5991078 files/digest-mod_bandwidth-2.0.5 59
diff --git a/net-www/mod_bandwidth/files/digest-mod_bandwidth-2.0.5 b/net-www/mod_bandwidth/files/digest-mod_bandwidth-2.0.5
new file mode 100644
index 000000000000..318a048630c9
--- /dev/null
+++ b/net-www/mod_bandwidth/files/digest-mod_bandwidth-2.0.5
@@ -0,0 +1 @@
+MD5 00f0905d777f79485beb428b53191ecf mod_bandwidth.c 43630
diff --git a/net-www/mod_bandwidth/mod_bandwidth-2.0.5.ebuild b/net-www/mod_bandwidth/mod_bandwidth-2.0.5.ebuild
new file mode 100644
index 000000000000..f4bf6c7015c9
--- /dev/null
+++ b/net-www/mod_bandwidth/mod_bandwidth-2.0.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_bandwidth/mod_bandwidth-2.0.5.ebuild,v 1.1 2004/05/17 13:51:36 zul Exp $
+
+DESCRIPTION="Bandwidth Management Module for Apache"
+HOMEPAGE="http://www.cohprog.com/v3/bandwidth/intro-en.html"
+SRC_URI="ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~sparc"
+IUSE=""
+DEPEND="=net-www/apache-1*"
+
+src_unpack() {
+ mkdir -p ${S} && cp ${DISTDIR}/${A} ${S} || die
+ cd ${S} || die
+ patch <${FILESDIR}/mod_bandwidth-2.0.4-register.patch || die
+}
+
+src_compile() {
+ apxs -c ${S}/mod_bandwidth.c -o ${S}/mod_bandwidth.so
+}
+
+src_install() {
+ exeinto /usr/lib/apache-extramodules
+ doexe ${PN}.so
+
+ insinto /etc/apache/conf/addon-modules
+ doins ${FILESDIR}/${PN}.conf
+
+ dodoc ${PN}.c
+}
+
+pkg_postinst() {
+ # empty dirs..
+ install -m0755 -o apache -g apache -d \
+ ${ROOT}/var/cache/mod_bandwidth/{link,master}
+
+ einfo
+ einfo "Execute \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\""
+ einfo "to have your apache.conf auto-updated for use with this module."
+ einfo "You should then edit your /etc/conf.d/apache file to suit."
+ einfo
+ einfo "For configuration documentation, look at"
+ einfo "http://www.cohprog.com/v3/bandwidth/doc-en.html"
+ einfo
+ einfo "Be sure to add -D BANDWIDTH to your /etc/conf.d/apache in order for"
+ einfo "the module to be actually loaded."
+ einfo
+}
+
+pkg_config() {
+ ${ROOT}/usr/sbin/apacheaddmod \
+ ${ROOT}/etc/apache/conf/apache.conf \
+ extramodules/mod_bandwidth.so mod_bandwidth.c bandwidth_module \
+ define=BANDWIDTH addconf=conf/addon-modules/mod_bandwidth.conf
+ :;
+}