diff options
Diffstat (limited to 'www-apache/mod_qos')
-rw-r--r-- | www-apache/mod_qos/Manifest | 6 | ||||
-rw-r--r-- | www-apache/mod_qos/files/10_mod_qos.conf | 5 | ||||
-rw-r--r-- | www-apache/mod_qos/metadata.xml | 8 | ||||
-rw-r--r-- | www-apache/mod_qos/mod_qos-11.12.ebuild | 54 |
4 files changed, 73 insertions, 0 deletions
diff --git a/www-apache/mod_qos/Manifest b/www-apache/mod_qos/Manifest new file mode 100644 index 000000000000..ba611bb4f4f1 --- /dev/null +++ b/www-apache/mod_qos/Manifest @@ -0,0 +1,6 @@ +AUX 10_mod_qos.conf 97 SHA256 2fbbf5fc8da1fb4929c88f2a63db178a92057b0664c3e7d58b8b06189f5de781 SHA512 eafdbc3ae2f33a7e2bb55e59c311e79688c3ecabdd12247a5f68a9c00c46b84c709139f124cdccc5fd7b3d792b23a94ce37a8d27835d70c521ad6212d4e761c2 WHIRLPOOL fe183ff587f0c00e199772b51b5e042322abf7d552bef579cd59168c0c3af57340652ea3bb8c65db2648e8d557eee9d4244c51cce0e605875295029b9e4134fa +DIST mod_qos-11.12.tar.gz 509530 SHA256 decbf82bb48568bd2fc5ca96792d294c3fbf5b950b338df8670237cc2144c6d5 SHA512 a9597a1b7ec38ec9ad492c79b797a807e180feb11a42cf7e206ca3cecf9c986eecc9979659a65fcc9ec0454ef8574dbdfc2c5abd862d8b3bc1065a93fbe0ccb7 WHIRLPOOL fabbe758c5fb6f069a4e510889f7fddf5eff23a0395e1976336c1a6d4fe411fe1c83f175dc65a0e6e9e47bd119eb1f195885f131229060fe32dc025ab0c0d256 +EBUILD mod_qos-11.12.ebuild 1015 SHA256 011729a429aa36ebf73a40450fe3f84382b52fbef62f7d3dda23b5486b6d8ef8 SHA512 b7b178f6d90ff4b2fa2bf705d2357cdf66985deccfa8da00b33f48c2b0d422483219798169b7b8027d74848ffe986fe1091dd30d8ab468f0eab00e773d723f98 WHIRLPOOL 9b5f9e669d2a7f4aa363cfbd95ac6e88f98954ba71842e0037b1ad7a23b884ae26f93536f5eac55917fef71814940c988e4ea1064d5366b97e7f5a76e57a3752 +MISC ChangeLog 2548 SHA256 aa86c63eb09e403c87b4858a5e08e143677694c5fc5aad279d847d04f9618ab0 SHA512 25438a360d9026049b1d94b61dfb9b69bbd8f8293b2fb6fb4e275ddc5686476830f8aeab1ed1ba715191b594daba0fa0be09da4a003a66f53fd474de89a69c00 WHIRLPOOL 9abed62cf6ec2ff498d37dfe5850a8ce93fa5ef466f83ce219bdd30ed7de519e1d5bc3b8c8fe8ec366d8d220e37a13abbbc4190c50101627bfba2aaf9f51f396 +MISC ChangeLog-2015 966 SHA256 fa76511a9e9daae3f83840fe2b97cf8cc8ccaf196170cb3720f40afd5b1a37a4 SHA512 48366b0d30475f14acdc0fbbaaab650b68e51bde51d87e82d38951b86d45d0312e7da29679f1c8c7dea7b34c59ae0bb1bdac4a2d90d2c260e84ba2dcf76dedec WHIRLPOOL 002b842d83686cf44151b6a46a2f283d9b8d74fdb80d22c5014d238c0f708f9d5748c194af960da3767c537f24a0285ac73d7f5a9a30e87c68b3acf5c7b79c03 +MISC metadata.xml 244 SHA256 9022021c900fe98298236a118e9973fb11b4af0f2be9de3a3add58780ac7fcbf SHA512 8757fe5e361f5e4214eaf304d5d9d57bc542f1eba248fe4dfc44310d95af160e8c04ad72723b3bf7afd3075ed2f6d58e4bd28643fff37fcd8d6e0134dc147dc7 WHIRLPOOL fea5bc2a47cace2c66637c9bc5525ad82c0746514e46d790122d875cae5452e41ccb214be1133932ee8062dcb3080e149ed6ccc1988d21c87ccd366cdb3b1fd3 diff --git a/www-apache/mod_qos/files/10_mod_qos.conf b/www-apache/mod_qos/files/10_mod_qos.conf new file mode 100644 index 000000000000..4a8eeca1b6ee --- /dev/null +++ b/www-apache/mod_qos/files/10_mod_qos.conf @@ -0,0 +1,5 @@ +<IfDefine QOS> +LoadModule qos_module modules/mod_qos.so +</IfDefine> + +# vim: ts=4 filetype=apache diff --git a/www-apache/mod_qos/metadata.xml b/www-apache/mod_qos/metadata.xml new file mode 100644 index 000000000000..232c098fae32 --- /dev/null +++ b/www-apache/mod_qos/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">mod-qos</remote-id> + </upstream> +</pkgmetadata> diff --git a/www-apache/mod_qos/mod_qos-11.12.ebuild b/www-apache/mod_qos/mod_qos-11.12.ebuild new file mode 100644 index 000000000000..a813fc282317 --- /dev/null +++ b/www-apache/mod_qos/mod_qos-11.12.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +inherit autotools apache-module + +DESCRIPTION="A QOS module for the apache webserver" +HOMEPAGE="http://mod-qos.sourceforge.net/" +SRC_URI="mirror://sourceforge/mod-qos/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/libpcre + dev-libs/openssl:0 + media-libs/libpng:0= + sys-libs/zlib +" +DEPEND="${DEPEND}" + +APXS2_S="${S}/apache2" +APACHE2_MOD_CONF="10_${PN}" +APACHE2_MOD_DEFINE="QOS" +DOCFILES="${S}/doc/*.txt ${S}/README.TXT" + +need_apache2 + +src_prepare() { + cd "${S}/tools" && eautoreconf +} + +src_configure() { + cd "${S}/tools" && econf +} + +src_compile() { + apache-module_src_compile + emake -C "${S}/tools" +} + +src_install() { + einfo "Installing Apache module ..." + cd "${S}/tools" + apache-module_src_install + + einfo "Installing module utilities ..." + emake -C "${S}/tools" install DESTDIR="${D}" + + # installing html documentation + dohtml -r -x *.txt "${S}/doc/" +} |