Re: [CVS] OpenPKG: openpkg-src/cacti/ cacti.spec

2007-06-26 Thread Ralf S. Engelschall
On Mon, Jun 25, 2007, Christoph Schug wrote:

 On Mon, Jun 25, 2007, Ralf S. Engelschall wrote:

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:   25-Jun-2007 22:50:28
Branch: HEAD Handle: 2007062521502800
 
Modified files:
  openpkg-src/cacti   cacti.spec
 
Log:
  fix dependencies

 If I'm not wrong it's not just fixing deps to make this package Apache
 2.2 compliant. The configuration file needs adjustments as well. For
 example, s/IfModule mod_ssl.c/IfModule ssl_module/g .

Ah, good catch. But a diff between cacti-apacher.conf and
joomla-apache.conf (which I packaged and tested yesterday) shows just
this as the difference. So I guess adjusting the IfModule stuff should
finally fix it.
   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
Developer Communication List   openpkg-dev@openpkg.org


[CVS] OpenPKG: openpkg-src/cacti/ cacti.spec

2004-04-01 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   01-Apr-2004 20:15:22
  Branch: HEAD Handle: 2004040119152100

  Modified files:
openpkg-src/cacti   cacti.spec

  Log:
upgrading package: cacti 0.8.5 - 0.8.5a

  Summary:
RevisionChanges Path
1.13+2  -2  openpkg-src/cacti/cacti.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/cacti/cacti.spec
  
  $ cvs diff -u -r1.12 -r1.13 cacti.spec
  --- openpkg-src/cacti/cacti.spec  5 Feb 2004 21:25:05 -   1.12
  +++ openpkg-src/cacti/cacti.spec  1 Apr 2004 18:15:21 -   1.13
  @@ -33,8 +33,8 @@
   Class:PLUS
   Group:Database
   License:  GPL
  -Version:  0.8.5
  -Release:  20040205
  +Version:  0.8.5a
  +Release:  20040401
   
   #   list of sources
   Source0:  http://www.raxnet.net/downloads/cacti/cacti-%{version}.tar.gz
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/cacti/ cacti.spec openpkg-web/ news.txt

2004-02-05 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   05-Feb-2004 22:25:06
  Branch: HEAD Handle: 2004020521250302

  Modified files:
openpkg-src/cacti   cacti.spec
openpkg-web news.txt

  Log:
upgrading package: cacti 0.8.4 - 0.8.5

  Summary:
RevisionChanges Path
1.12+5  -4  openpkg-src/cacti/cacti.spec
1.8438  +1  -0  openpkg-web/news.txt
  

  patch -p0 '@@ .'
  Index: openpkg-src/cacti/cacti.spec
  
  $ cvs diff -u -r1.11 -r1.12 cacti.spec
  --- openpkg-src/cacti/cacti.spec  3 Feb 2004 19:59:53 -   1.11
  +++ openpkg-src/cacti/cacti.spec  5 Feb 2004 21:25:05 -   1.12
  @@ -33,11 +33,11 @@
   Class:PLUS
   Group:Database
   License:  GPL
  -Version:  0.8.4
  -Release:  20040203
  +Version:  0.8.5
  +Release:  20040205
   
   #   list of sources
  -Source0:  http://www.raxnet.net/downloads/cacti-%{version}.tar.gz
  +Source0:  http://www.raxnet.net/downloads/cacti/cacti-%{version}.tar.gz
   Source1:  cacti-setup.sh
   Source2:  cacti-cron.sh
   Source3:  cacti-apache.conf
  @@ -52,6 +52,7 @@
   PreReq:   apache
   PreReq:   apache::with_mod_php = yes
   PreReq:   apache::with_mod_php_mysql = yes
  +PreReq:   apache::with_mod_php_xml = yes
   AutoReq:  no
   AutoReqProv:  no
   
  @@ -65,7 +66,7 @@
   
   %track
   prog cacti = {
  -version   = 0.8.4
  +version   = %{version}
   url   = http://www.raxnet.net/products/cacti/download_cacti.php
   regex = cacti-(__VER__)\.tar\.gz
   }
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-web/news.txt
  
  $ cvs diff -u -r1.8437 -r1.8438 news.txt
  --- openpkg-web/news.txt  5 Feb 2004 20:54:16 -   1.8437
  +++ openpkg-web/news.txt  5 Feb 2004 21:25:03 -   1.8438
  @@ -1,3 +1,4 @@
  +05-Feb-2004: Upgraded package: Pcacti-0.8.5-20040205
   05-Feb-2004: Upgraded package: Papache-1.3.29-20040205
   05-Feb-2004: Upgraded package: Plynx-2.8.5-20040205
   05-Feb-2004: Upgraded package: Pimagemagick-5.5.7.16-20040205
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/cacti/ cacti.spec openpkg-web/ news.txt

2004-01-26 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   26-Jan-2004 16:29:22
  Branch: HEAD Handle: 2004012615292002

  Modified files:
openpkg-src/cacti   cacti.spec
openpkg-web news.txt

  Log:
bless for PLUS class

  Summary:
RevisionChanges Path
1.10+2  -2  openpkg-src/cacti/cacti.spec
1.8262  +1  -0  openpkg-web/news.txt
  

  patch -p0 '@@ .'
  Index: openpkg-src/cacti/cacti.spec
  
  $ cvs diff -u -r1.9 -r1.10 cacti.spec
  --- openpkg-src/cacti/cacti.spec  23 Jan 2004 13:07:51 -  1.9
  +++ openpkg-src/cacti/cacti.spec  26 Jan 2004 15:29:22 -  1.10
  @@ -29,11 +29,11 @@
   URL:  http://www.raxnet.net/products/cacti/
   Vendor:   raXnet
   Packager: The OpenPKG Project
  -Distribution: OpenPKG [EVAL]
  +Distribution: OpenPKG [PLUS]
   Group:Database
   License:  GPL
   Version:  0.8.4
  -Release:  20031208
  +Release:  20040126
   
   #   list of sources
   Source0:  http://www.raxnet.net/downloads/cacti-%{version}.tar.gz
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-web/news.txt
  
  $ cvs diff -u -r1.8261 -r1.8262 news.txt
  --- openpkg-web/news.txt  26 Jan 2004 15:28:37 -  1.8261
  +++ openpkg-web/news.txt  26 Jan 2004 15:29:20 -  1.8262
  @@ -1,3 +1,4 @@
  +26-Jan-2004: Upgraded package: Pcacti-0.8.4-20040126
   26-Jan-2004: Upgraded package: Pbsdiff-4.1-20040126
   26-Jan-2004: Upgraded package: Pautogen-5.5.7-20040126
   26-Jan-2004: Upgraded package: Pascii-3.6-20040126
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/cacti/ cacti.spec

2003-12-08 Thread Michael Schloh
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Michael Schloh
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   08-Dec-2003 10:31:16
  Branch: HEAD Handle: 2003120809311600

  Modified files:
openpkg-src/cacti   cacti.spec

  Log:
add missing pre/post install run command logic

  Summary:
RevisionChanges Path
1.8 +11 -3  openpkg-src/cacti/cacti.spec
  

  patch -p0 '@@ .'
  Index: openpkg-src/cacti/cacti.spec
  
  $ cvs diff -u -r1.7 -r1.8 cacti.spec
  --- openpkg-src/cacti/cacti.spec  5 Dec 2003 15:32:23 -   1.7
  +++ openpkg-src/cacti/cacti.spec  8 Dec 2003 09:31:16 -   1.8
  @@ -33,7 +33,7 @@
   Group:Database
   License:  GPL
   Version:  0.8.4
  -Release:  20031205
  +Release:  20031208
   
   #   list of sources
   Source0:  http://www.raxnet.net/downloads/cacti-%{version}.tar.gz
  @@ -191,10 +191,18 @@
 echopassword to a custom one.
   ) | %{l_rpmtool} msg -b -t notice
   fi
  +if [ $1 -eq 2 ]; then
  +#   after upgrade, restart service
  +eval `%{l_rc} cacti status 2/dev/null`
  +[ .$cacti_active = .yes ]  %{l_rc} cacti restart
  +fi
  +exit 0
   
   %preun
   if [ $1 -eq 0 ]; then
  -#   remove generated logfiles
  -rm -f $RPM_INSTALL_PREFIX/var/cacti/log/*
  +#   before erase, stop service and remove log files
  +%{l_rc} cacti stop 2/dev/null
  +rm -f $RPM_INSTALL_PREFIX/var/cacti/log/* /dev/null 21 || true
   fi
  +exit 0
   
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/cacti/ cacti.spec openpkg-web/ news.txt

2003-12-05 Thread Michael Schloh
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Michael Schloh
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   05-Dec-2003 16:32:23
  Branch: HEAD Handle: 2003120515322102

  Modified files:
openpkg-src/cacti   cacti.spec
openpkg-web news.txt

  Log:
just english text corrections

  Summary:
RevisionChanges Path
1.7 +21 -23 openpkg-src/cacti/cacti.spec
1.7677  +1  -0  openpkg-web/news.txt
  

  patch -p0 '@@ .'
  Index: openpkg-src/cacti/cacti.spec
  
  $ cvs diff -u -r1.6 -r1.7 cacti.spec
  --- openpkg-src/cacti/cacti.spec  17 Nov 2003 08:19:31 -  1.6
  +++ openpkg-src/cacti/cacti.spec  5 Dec 2003 15:32:23 -   1.7
  @@ -33,7 +33,7 @@
   Group:Database
   License:  GPL
   Version:  0.8.4
  -Release:  20031117
  +Release:  20031205
   
   #   list of sources
   Source0:  http://www.raxnet.net/downloads/cacti-%{version}.tar.gz
  @@ -55,13 +55,12 @@
   AutoReqProv:  no
   
   %description
  -Cacti is a complete frontend to RRDTool, it stores all of the
  -necessary information to create graphs and populate them with data
  -in a MySQL database. The frontend is completely PHP driven. Along
  -with being able to maintain Graphs, Data Sources, and Round Robin
  -Archives in a database, Cacti handles the data gathering. There is
  -also SNMP support for those used to creating traffic graphs with
  -MRTG.
  +Cacti is a complete PHP-driven frontend to RRDTool. It stores all
  +of the necessary information to create graphs and populate them
  +with data in a MySQL database. Along with being able to maintain
  +Graphs, Data Sources, and Round Robin Archives in a database,
  +Cacti handles the data gathering as well. There is also SNMP
  +support for those used to creating traffic graphs with MRTG.
   
   %prep
   %setup -q
  @@ -164,32 +163,31 @@
   %post
   if [ $1 -eq 1 ]; then
   #   display final hints on initial installation
  -( echo 1. To complete installation of the Cacti package please you have
  -  echostart MySQL and setup the initial Cacti database. For this run
  -  echothe following commands:
  +( echo 1. To complete this installation of Cacti please start MySQL and
  +  echoinitialize the Cacti database like this:
 echo  \$ $RPM_INSTALL_PREFIX/etc/rc mysql start
 echo  \$ $RPM_INSTALL_PREFIX/sbin/cacti-setup
 echo 
  -  echo 2. Cacti by default is run by the OpenPKG cron jobs every 15
  -  echominutes only. Usually Cacti wants to run every 5 minutes for
  -  echomore granular data gathering. For this set:
  +  echo 2. By default, Cacti is run by the OpenPKG cron jobs only every
  +  echo15 minutes. To run Cacti every 5 minutes for more granular
  +  echodata gathering, set this variable:
 echo  # $RPM_INSTALL_PREFIX/etc/rc.conf:
 echo  cacti_cron=\no\
  -  echoand setup a cronjob for user %{l_rusr}
  +  echoand insert a new cronjob for user %{l_rusr}
 echo  # system crontab:
 echo  */5 * * * * %{l_rusr} $RPM_INSTALL_PREFIX/sbin/cacti-cron
 echo 
  -  echo 3. Cacti by default is running with an own Apache server on
  -  echoIPv4 address 127.0.0.1, TCP port 8080. Please change this
  -  echoby editing the \Port 8080\ and \Listen 127.0.0.1:8080\
  -  echodirectives in $RPM_INSTALL_PREFIX/etc/cacti/cacti-apache.conf
  +  echo 3. By default, Cacti runs its own Apache server on IPv4 address
  +  echo127.0.0.1, TCP port 8080. Please change this by editing the
  +  echo\Port 8080\ and \Listen 127.0.0.1:8080\ directives in
  +  echo$RPM_INSTALL_PREFIX/etc/cacti/cacti-apache.conf
 echo 
  -  echo 4. After this post-installation steps, startup Cacti by running
  +  echo 4. After this postinstallation, start Cacti by running
 echo  \$ $RPM_INSTALL_PREFIX/etc/rc cacti start
  -  echoand connecting with your browser to:
  +  echoand connect with a browser to:
 echo  http://127.0.0.1:8080/;
  -  echoThen proceed Cacti's initial configuration dialog. Then login
  -  echoas 'admin' (with initial password 'admin') and change the
  +  echoFollow Cacti's initial configuration dialogs, and then login

[CVS] OpenPKG: openpkg-src/cacti/ cacti.spec openpkg-web/ news.txt

2003-08-26 Thread Michael Schloh
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Michael Schloh
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   26-Aug-2003 12:04:27
  Branch: HEAD Handle: 2003082611042502

  Modified files:
openpkg-src/cacti   cacti.spec
openpkg-web news.txt

  Log:
Correct run command file mode

  Summary:
RevisionChanges Path
1.3 +2  -2  openpkg-src/cacti/cacti.spec
1.6296  +1  -0  openpkg-web/news.txt
  

  patch -p0 '@@ .'
  Index: openpkg-src/cacti/cacti.spec
  
  $ cvs diff -u -r1.2 -r1.3 cacti.spec
  --- openpkg-src/cacti/cacti.spec  19 Aug 2003 15:18:30 -  1.2
  +++ openpkg-src/cacti/cacti.spec  26 Aug 2003 10:04:27 -  1.3
  @@ -33,7 +33,7 @@
   Group:Database
   License:  GPL
   Version:  0.8.2a
  -Release:  20030819
  +Release:  20030826
   
   #   list of sources
   Source0:  http://www.raxnet.net/downloads/cacti-%{version}.tar.gz
  @@ -135,7 +135,7 @@
   ) || exit $?
   
   #   install run-command script
  -%{l_shtool} install -c -m 644 %{l_value -s -a} \
  +%{l_shtool} install -c -m 755 %{l_value -s -a} \
   %{SOURCE rc.cacti} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
   
   #   install MySQL database setup script
  @@ .
  patch -p0 '@@ .'
  Index: openpkg-web/news.txt
  
  $ cvs diff -u -r1.6295 -r1.6296 news.txt
  --- openpkg-web/news.txt  26 Aug 2003 10:01:19 -  1.6295
  +++ openpkg-web/news.txt  26 Aug 2003 10:04:25 -  1.6296
  @@ -1,3 +1,4 @@
  +26-Aug-2003: Upgraded package: Pcacti-0.8.2a-20030826
   26-Aug-2003: Upgraded package: Pperl-xml-20030826-20030826
   26-Aug-2003: Upgraded package: Pperl-sys-20030826-20030826
   26-Aug-2003: Upgraded package: Pperl-tk-20030826-20030826
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]