diff options
author | Chuck Short <zul@gentoo.org> | 2004-05-17 13:51:36 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2004-05-17 13:51:36 +0000 |
commit | 6dee39a89dc7b7c920f8a19aa01243ddaa532988 (patch) | |
tree | 51aa147bf147e2413dfff87e2199957c7e47fb6d /net-www/mod_bandwidth | |
parent | Added ~sparc keyword. (diff) | |
download | historical-6dee39a89dc7b7c920f8a19aa01243ddaa532988.tar.gz historical-6dee39a89dc7b7c920f8a19aa01243ddaa532988.tar.bz2 historical-6dee39a89dc7b7c920f8a19aa01243ddaa532988.zip |
Version bump, closes #51275.
Diffstat (limited to 'net-www/mod_bandwidth')
-rw-r--r-- | net-www/mod_bandwidth/ChangeLog | 7 | ||||
-rw-r--r-- | net-www/mod_bandwidth/Manifest | 10 | ||||
-rw-r--r-- | net-www/mod_bandwidth/files/digest-mod_bandwidth-2.0.5 | 1 | ||||
-rw-r--r-- | net-www/mod_bandwidth/mod_bandwidth-2.0.5.ebuild | 58 |
4 files changed, 71 insertions, 5 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..b635dd8555b9 100644 --- a/net-www/mod_bandwidth/Manifest +++ b/net-www/mod_bandwidth/Manifest @@ -1,6 +1,8 @@ -MD5 68dc68adbf24bc0d6615e163cdb4290d ChangeLog 846 -MD5 2d9d519c39c2d7662afdec243d1d45ac mod_bandwidth-2.0.4.ebuild 1719 +MD5 d4b1ca66c1128583dc96e0b70ca48a43 mod_bandwidth-2.0.5.ebuild 1718 +MD5 727ede2c9f9771e52684d02a15ea009f ChangeLog 984 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 + :; +} |