summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2007-09-08 18:04:59 +0000
committerBenedikt Boehm <hollow@gentoo.org>2007-09-08 18:04:59 +0000
commit93f43d3c3956bcfecc827f524dc504178b6ea081 (patch)
tree02f3161d724123e6bc1a2e02f8571e44c9a5cb34 /www-apache/mod_loadavg
parentversion bump, #187739 (diff)
downloadgentoo-2-93f43d3c3956bcfecc827f524dc504178b6ea081.tar.gz
gentoo-2-93f43d3c3956bcfecc827f524dc504178b6ea081.tar.bz2
gentoo-2-93f43d3c3956bcfecc827f524dc504178b6ea081.zip
initial version; #108678
(Portage version: 2.1.3.7)
Diffstat (limited to 'www-apache/mod_loadavg')
-rw-r--r--www-apache/mod_loadavg/ChangeLog10
-rw-r--r--www-apache/mod_loadavg/Manifest20
-rw-r--r--www-apache/mod_loadavg/files/10_mod_loadavg.conf20
-rw-r--r--www-apache/mod_loadavg/files/digest-mod_loadavg-0.0.13
-rw-r--r--www-apache/mod_loadavg/metadata.xml9
-rw-r--r--www-apache/mod_loadavg/mod_loadavg-0.0.1.ebuild27
6 files changed, 89 insertions, 0 deletions
diff --git a/www-apache/mod_loadavg/ChangeLog b/www-apache/mod_loadavg/ChangeLog
new file mode 100644
index 000000000000..c9033dd678cd
--- /dev/null
+++ b/www-apache/mod_loadavg/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apache/mod_loadavg
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_loadavg/ChangeLog,v 1.1 2007/09/08 18:04:58 hollow Exp $
+
+*mod_loadavg-0.0.1 (08 Sep 2007)
+
+ 08 Sep 2007; Benedikt Böhm <hollow@gentoo.org>
+ +files/10_mod_loadavg.conf, +metadata.xml, +mod_loadavg-0.0.1.ebuild:
+ initial version; #108678
+
diff --git a/www-apache/mod_loadavg/Manifest b/www-apache/mod_loadavg/Manifest
new file mode 100644
index 000000000000..acbb6fc39b4f
--- /dev/null
+++ b/www-apache/mod_loadavg/Manifest
@@ -0,0 +1,20 @@
+AUX 10_mod_loadavg.conf 466 RMD160 c00debd0585a6e95bd115fea508afd32ce74524b SHA1 8e8cdccebd97a84f8a90d4e48d52bdec449f1cec SHA256 3167284bd341ea14fd7621cc8567f5b758ac938cb03d82543208abf3ef35e5cc
+MD5 e12650490b5eaac9b3a7259f2009ed34 files/10_mod_loadavg.conf 466
+RMD160 c00debd0585a6e95bd115fea508afd32ce74524b files/10_mod_loadavg.conf 466
+SHA256 3167284bd341ea14fd7621cc8567f5b758ac938cb03d82543208abf3ef35e5cc files/10_mod_loadavg.conf 466
+DIST mod_loadavg-0.0.1.c 10516 RMD160 deeed5110f30a90f7cd506195ac6ec10a1541cb7 SHA1 0d7eb8b9e698f66183761567833900c380677cf5 SHA256 025df5362b49998577575b384fd20444239d9ec72843e54a918da9d6b37aba3b
+EBUILD mod_loadavg-0.0.1.ebuild 692 RMD160 14f440c8e414ddba8e969a7ea4dbfbc3b80e57d3 SHA1 c3d12f7f7a2d3db5e912034651aaf70f82f4df42 SHA256 3829178aced2320908f9f302083c71d27392c24e055590b651148c94d0d06397
+MD5 07332b48e143ae5396325b51d2295b16 mod_loadavg-0.0.1.ebuild 692
+RMD160 14f440c8e414ddba8e969a7ea4dbfbc3b80e57d3 mod_loadavg-0.0.1.ebuild 692
+SHA256 3829178aced2320908f9f302083c71d27392c24e055590b651148c94d0d06397 mod_loadavg-0.0.1.ebuild 692
+MISC ChangeLog 307 RMD160 95bd1cd35f792da7d6d85374c264e003d7c3d2cb SHA1 f07db2f06cad338d3c6f54a99b8cce83d23b6fd4 SHA256 cdf3cfb4d6218147793fb2835b18ed0248ec8ec71b83aaf14d3a155e3daa8d40
+MD5 e5a58e01bbb38623cef52df8e06d8c30 ChangeLog 307
+RMD160 95bd1cd35f792da7d6d85374c264e003d7c3d2cb ChangeLog 307
+SHA256 cdf3cfb4d6218147793fb2835b18ed0248ec8ec71b83aaf14d3a155e3daa8d40 ChangeLog 307
+MISC metadata.xml 257 RMD160 b84262cb1e4601964a688fde5eb9a214e06d012d SHA1 15f02a2302d1fe9c5c9791eaa9c68b45bc6bff26 SHA256 87d1b2e598ff49f389c78af65378c9f93a5bf0a8af585469149c037b5ca4d0f9
+MD5 5aa0c67787317fc85b300667aa76d361 metadata.xml 257
+RMD160 b84262cb1e4601964a688fde5eb9a214e06d012d metadata.xml 257
+SHA256 87d1b2e598ff49f389c78af65378c9f93a5bf0a8af585469149c037b5ca4d0f9 metadata.xml 257
+MD5 f63b8377749db612299c20732e32f028 files/digest-mod_loadavg-0.0.1 235
+RMD160 62eb87b2cad1d8c9cda60a5e8247bedea447755a files/digest-mod_loadavg-0.0.1 235
+SHA256 dc28b093cb5f1cde08ebd3f451c7f85a4751cef70c663e0d2399c91f29d205e9 files/digest-mod_loadavg-0.0.1 235
diff --git a/www-apache/mod_loadavg/files/10_mod_loadavg.conf b/www-apache/mod_loadavg/files/10_mod_loadavg.conf
new file mode 100644
index 000000000000..6b15893533cb
--- /dev/null
+++ b/www-apache/mod_loadavg/files/10_mod_loadavg.conf
@@ -0,0 +1,20 @@
+<IfDefine LOADAVG>
+ <IfModule !mod_loadavg.c>
+ LoadModule loadavg_module modules/mod_loadavg.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_loadavg.c>
+ # Set mod_loadavg on
+ #ModLoadavg On
+
+ # Set maximum value for the load average of the last minute
+ # Default: 4.0
+ #Loadavg1 4.0
+
+ # Set maximum value for the load average of the last 5 minutes
+ #Loadavg5 4.0
+
+ # Set maximum value for the load average of the last 15 minutes
+ #Loadavg15 4.0
+</IfModule>
diff --git a/www-apache/mod_loadavg/files/digest-mod_loadavg-0.0.1 b/www-apache/mod_loadavg/files/digest-mod_loadavg-0.0.1
new file mode 100644
index 000000000000..fb7598cd99a1
--- /dev/null
+++ b/www-apache/mod_loadavg/files/digest-mod_loadavg-0.0.1
@@ -0,0 +1,3 @@
+MD5 b0728bc1ed084ee94ca1e3b03f8d194c mod_loadavg-0.0.1.c 10516
+RMD160 deeed5110f30a90f7cd506195ac6ec10a1541cb7 mod_loadavg-0.0.1.c 10516
+SHA256 025df5362b49998577575b384fd20444239d9ec72843e54a918da9d6b37aba3b mod_loadavg-0.0.1.c 10516
diff --git a/www-apache/mod_loadavg/metadata.xml b/www-apache/mod_loadavg/metadata.xml
new file mode 100644
index 000000000000..e0a223ffbfa7
--- /dev/null
+++ b/www-apache/mod_loadavg/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>apache</herd>
+ <herd>common-lisp</herd>
+ <maintainer>
+ <email>apache-bugs@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apache/mod_loadavg/mod_loadavg-0.0.1.ebuild b/www-apache/mod_loadavg/mod_loadavg-0.0.1.ebuild
new file mode 100644
index 000000000000..713041966d56
--- /dev/null
+++ b/www-apache/mod_loadavg/mod_loadavg-0.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_loadavg/mod_loadavg-0.0.1.ebuild,v 1.1 2007/09/08 18:04:58 hollow Exp $
+
+inherit apache-module eutils
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Apache module executing CGI-Requests depending on the load of the server"
+HOMEPAGE="http://defunced.de/"
+SRC_URI="mirror://gentoo/${P}.c"
+LICENSE="Apache-1.1"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+APACHE2_MOD_CONF="10_${PN}"
+APACHE2_MOD_DEFINE="LOADAVG"
+
+need_apache2
+
+src_unpack() {
+ mkdir -p "${S}" || die "mkdir S failed"
+ cp -f "${DISTDIR}/${P}.c" "${S}/${PN}.c" || die "source copy failed"
+}