# 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:
MD5 1409df800f24214bed16ca753b9967ff mod_watch318.tgz 94668
+RMD160 a30c07e18543a812b00fbfbc9230a91faef236b2 mod_watch318.tgz 94668
+SHA256 8eb266af5ed49546b12cc2c679945e94ad95b4f232dca66cea2a94ed3df5ac6f mod_watch318.tgz 94668
--- /dev/null
+MD5 1409df800f24214bed16ca753b9967ff mod_watch318.tgz 94668
+RMD160 a30c07e18543a812b00fbfbc9230a91faef236b2 mod_watch318.tgz 94668
+SHA256 8eb266af5ed49546b12cc2c679945e94ad95b4f232dca66cea2a94ed3df5ac6f mod_watch318.tgz 94668
MD5 06d57713adb935f16596d22256bca913 mod_watch403.tgz 99583
+RMD160 016bfdf8c98aa4a9275080a564f842f29f48bd94 mod_watch403.tgz 99583
+SHA256 65c62c6fa0a94bbde5c3453f9827b80ed922f8450527d2e75417a78094aedc40 mod_watch403.tgz 99583
--- /dev/null
+MD5 06d57713adb935f16596d22256bca913 mod_watch403.tgz 99583
+RMD160 016bfdf8c98aa4a9275080a564f842f29f48bd94 mod_watch403.tgz 99583
+SHA256 65c62c6fa0a94bbde5c3453f9827b80ed922f8450527d2e75417a78094aedc40 mod_watch403.tgz 99583
--- /dev/null
+# 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
+}
-# 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
-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."
}
--- /dev/null
+# 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
+}