OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 16-Dec-2007 20:55:43
Branch: HEAD Handle: 2007121619554200
Modified files:
openpkg-src/flow2rrd flow2rrd.spec
Log:
required RRD.pm from rrdtool and fix Apache config
Summary:
Revision Changes Path
1.17 +6 -2 openpkg-src/flow2rrd/flow2rrd.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/flow2rrd/flow2rrd.spec
============================================================================
$ cvs diff -u -r1.16 -r1.17 flow2rrd.spec
--- openpkg-src/flow2rrd/flow2rrd.spec 1 Jan 2007 17:37:52 -0000
1.16
+++ openpkg-src/flow2rrd/flow2rrd.spec 16 Dec 2007 19:55:42 -0000
1.17
@@ -33,7 +33,7 @@
Group: Auditing
License: GPL
Version: 0.9.1
-Release: 20061013
+Release: 20071216
# list of sources
Source0: ftp://ftp.ossp.org/pkg/tool/flow2rrd/flow2rrd-%{version}.tar.gz
@@ -47,7 +47,7 @@
PreReq: perl, perl-time, perl-text, perl-net >= 5.8.6-20041217,
perl-www
PreReq: cfg, cfg::with_perl = yes
PreReq: flowtools, flowtools::with_perl = yes
-PreReq: rrdtool, apache
+PreReq: rrdtool, rrdtool::with_perl = yes, apache
AutoReq: no
AutoReqProv: no
@@ -113,6 +113,10 @@
apacheconf="$RPM_INSTALL_PREFIX/etc/apache/apache.conf"
if [ -f $apacheconf ]; then
( echo "ScriptAlias /flow2rrd $RPM_INSTALL_PREFIX/bin/flow2rrd"
+ echo "<Location /flow2rrd>"
+ echo " Order allow,deny"
+ echo " Allow from all"
+ echo "</Location>"
) | $RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
-a -i "$RPM_INSTALL_PREFIX:flow2rrd" $apacheconf
fi
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]