fix #129578
authorBenedikt Boehm <hollow@gentoo.org>
Tue, 6 Jun 2006 09:56:00 +0000 (09:56 +0000)
committerBenedikt Boehm <hollow@gentoo.org>
Tue, 6 Jun 2006 09:56:00 +0000 (09:56 +0000)
Package-Manager: portage-2.1_rc3-r1

net-www/mod_watch/ChangeLog
net-www/mod_watch/files/digest-mod_watch-3.18-r1
net-www/mod_watch/files/digest-mod_watch-3.18-r2 [new file with mode: 0644]
net-www/mod_watch/files/digest-mod_watch-4.03-r1
net-www/mod_watch/files/digest-mod_watch-4.03-r2 [new file with mode: 0644]
net-www/mod_watch/mod_watch-3.18-r2.ebuild [new file with mode: 0644]
net-www/mod_watch/mod_watch-4.03-r1.ebuild
net-www/mod_watch/mod_watch-4.03-r2.ebuild [new file with mode: 0644]

index deb7199553579f51870c0369037bb6ad2f93707d..f36f90f9ab1cab560b9caa298a18d1410711e422 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for net-www/mod_watch
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_watch/ChangeLog,v 1.14 2006/06/05 02:38:42 vericgar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_watch/ChangeLog,v 1.15 2006/06/06 09:56:00 hollow Exp $
+
+*mod_watch-4.03-r2 (06 Jun 2006)
+*mod_watch-3.18-r2 (06 Jun 2006)
+
+  06 Jun 2006; Benedikt Böhm <hollow@gentoo.org> -files/mod_watch.conf,
+  +mod_watch-3.18-r2.ebuild, mod_watch-4.03-r1.ebuild,
+  +mod_watch-4.03-r2.ebuild:
+  fix #129578
 
   05 Jun 2006; Michael Stewart <vericgar@gentoo.org> -mod_watch-3.18.ebuild,
   -mod_watch-4.03.ebuild:
index 16e42eb12c72baea0fc4981b57900140e9278cec..f5f4eff6c9ea57a6812249f59695de800e374ab5 100644 (file)
@@ -1 +1,3 @@
 MD5 1409df800f24214bed16ca753b9967ff mod_watch318.tgz 94668
+RMD160 a30c07e18543a812b00fbfbc9230a91faef236b2 mod_watch318.tgz 94668
+SHA256 8eb266af5ed49546b12cc2c679945e94ad95b4f232dca66cea2a94ed3df5ac6f mod_watch318.tgz 94668
diff --git a/net-www/mod_watch/files/digest-mod_watch-3.18-r2 b/net-www/mod_watch/files/digest-mod_watch-3.18-r2
new file mode 100644 (file)
index 0000000..f5f4eff
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 1409df800f24214bed16ca753b9967ff mod_watch318.tgz 94668
+RMD160 a30c07e18543a812b00fbfbc9230a91faef236b2 mod_watch318.tgz 94668
+SHA256 8eb266af5ed49546b12cc2c679945e94ad95b4f232dca66cea2a94ed3df5ac6f mod_watch318.tgz 94668
index ef8f18379da0fe7a657c429387f29a30ae2221c6..cd02ba95b682787f38e3ddf961411e0081434e2a 100644 (file)
@@ -1 +1,3 @@
 MD5 06d57713adb935f16596d22256bca913 mod_watch403.tgz 99583
+RMD160 016bfdf8c98aa4a9275080a564f842f29f48bd94 mod_watch403.tgz 99583
+SHA256 65c62c6fa0a94bbde5c3453f9827b80ed922f8450527d2e75417a78094aedc40 mod_watch403.tgz 99583
diff --git a/net-www/mod_watch/files/digest-mod_watch-4.03-r2 b/net-www/mod_watch/files/digest-mod_watch-4.03-r2
new file mode 100644 (file)
index 0000000..cd02ba9
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 06d57713adb935f16596d22256bca913 mod_watch403.tgz 99583
+RMD160 016bfdf8c98aa4a9275080a564f842f29f48bd94 mod_watch403.tgz 99583
+SHA256 65c62c6fa0a94bbde5c3453f9827b80ed922f8450527d2e75417a78094aedc40 mod_watch403.tgz 99583
diff --git a/net-www/mod_watch/mod_watch-3.18-r2.ebuild b/net-www/mod_watch/mod_watch-3.18-r2.ebuild
new file mode 100644 (file)
index 0000000..8e985ef
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_watch/mod_watch-3.18-r2.ebuild,v 1.1 2006/06/06 09:56:00 hollow Exp $
+
+inherit apache-module
+
+DESCRIPTION="Bandwidth graphing for Apache with MRTG"
+HOMEPAGE="http://www.snert.com/Software/mod_watch/"
+KEYWORDS="~x86"
+
+MY_V=${PV/./}
+SRC_URI="http://www.snert.com/Software/download/${PN}${MY_V}.tgz"
+
+IUSE=""
+LICENSE="as-is"
+SLOT="1"
+
+APACHE1_MOD_CONF="77_mod_watch"
+APACHE1_MOD_DEFINE="WATCH"
+APXS1_ARGS="-c mod_watch.c Memory.c Mutex.c Shared.c SharedHash.c NetworkTable.c"
+
+DOCFILES="CHANGES.TXT LICENSE.TXT"
+
+need_apache1
+
+src_compile() {
+       sed -i -e "s:/usr/local/sbin:/usr/sbin:" \
+               apache2mrtg.pl || die "Path fixing failed."
+
+       apache1_src_compile
+}
+
+src_install() {
+       apache1_src_install
+       dosbin apache2mrtg.pl mod_watch.pl
+}
index f1128e91b3ef82456eeb550260aec338f9339220..0bbc9a515bf3468d91f6c097aa670e005a836ba5 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_watch/mod_watch-4.03-r1.ebuild,v 1.5 2005/11/01 18:16:56 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_watch/mod_watch-4.03-r1.ebuild,v 1.6 2006/06/06 09:56:00 hollow Exp $
 
 inherit eutils apache-module
 
@@ -31,6 +31,9 @@ src_compile() {
                -e "s:APACHECTL=\\(.*\\):APACHECTL=${APACHECTL2} # \\1:" \
                Makefile.dso || die "Path fixing failed."
 
+       sed -i -e "s:/usr/local/sbin:/usr/sbin:" \
+               apache2mrtg.pl || die "Path fixing failed."
+
        emake -f Makefile.dso build || die "Make failed."
 }
 
diff --git a/net-www/mod_watch/mod_watch-4.03-r2.ebuild b/net-www/mod_watch/mod_watch-4.03-r2.ebuild
new file mode 100644 (file)
index 0000000..c0577ea
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_watch/mod_watch-4.03-r2.ebuild,v 1.1 2006/06/06 09:56:00 hollow Exp $
+
+inherit eutils apache-module
+
+MY_V=${PV/./}
+
+DESCRIPTION="Bandwidth graphing for Apache with MRTG"
+HOMEPAGE="http://www.snert.com/Software/mod_watch/"
+SRC_URI="http://www.snert.com/Software/download/${PN}${MY_V}.tgz"
+
+KEYWORDS="~ppc ~x86"
+DEPEND=""
+LICENSE="as-is"
+SLOT="0"
+IUSE=""
+
+S="${WORKDIR}/${PN}-4.3"
+
+APACHE2_MOD_CONF="77_mod_watch"
+APACHE2_MOD_DEFINE="WATCH"
+
+DOCFILES="*.shtml CHANGES.TXT LICENSE.TXT Contrib/*.txt"
+
+need_apache2
+
+src_compile() {
+       sed -i \
+               -e "s:APXS=\\(.*\\):APXS=${APXS2} # \\1:" \
+               -e "s:APACHECTL=\\(.*\\):APACHECTL=${APACHECTL2} # \\1:" \
+               Makefile.dso || die "Path fixing failed."
+
+       sed -i -e "s:/usr/local/sbin:/usr/sbin:" \
+               apache2mrtg.pl || die "Path fixing failed."
+
+       emake -f Makefile.dso build || die "Make failed."
+}
+
+src_install() {
+       apache2_src_install
+       dosbin apache2mrtg.pl mod_watch.pl Contrib/mod_watch_list.pl
+       keepdir /var/lib/mod_watch
+}