Changeset 3405

Show
Ignore:
Timestamp:
03/07/10 16:08:30 (5 months ago)
Author:
steve.schnepp
Message:

- Fix permission for CGI graph logging
- Added some perl modules requirements to ease CGI install
- Enable fastcgi for munin-cgi-graph if installed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/debian/experimental/trunk/debian/control

    r3338 r3405  
    7373Package: munin 
    7474Architecture: all 
    75 Depends: ${perl:Depends}, ${misc:Depends}, perl-modules | libparse-recdescent-perl, librrds-perl (>= 1.3), libhtml-template-perl, libdigest-md5-perl, libtime-hires-perl, libstorable-perl, rrdtool, adduser, liblog-log4perl-perl, ttf-dejavu, munin-common (= ${binary:Version}), cron 
    76 Recommends: munin-node, libdate-manip-perl 
     75Depends: ${perl:Depends}, ${misc:Depends}, perl-modules | libparse-recdescent-perl, librrds-perl (>= 1.3), libhtml-template-perl, libdigest-md5-perl, libtime-hires-perl, libstorable-perl, rrdtool, adduser, liblog-log4perl-perl, ttf-dejavu, munin-common (= ${binary:Version}), cron, libdate-manip-perl, libcgi-fast-perl 
     76Recommends: munin-node 
    7777Suggests: www-browser, httpd 
    7878Description: network-wide graphing framework (grapher/gatherer) 
  • branches/debian/experimental/trunk/debian/munin.apache.conf

    r3261 r3405  
    3232 
    3333</Directory>  
     34 
     35# Enables fastcgi for munin-cgi-graph if present 
     36<Location /cgi-bin/munin-cgi-graph> 
     37        <IfModule mod_fastcgi.c> 
     38                SetHandler fastcgi-script 
     39        </IfModule> 
     40</Location> 
     41 
  • branches/debian/experimental/trunk/debian/munin.logrotate

    r2479 r3405  
    3434        create 640 munin adm 
    3535} 
     36 
     37/var/log/munin/munin-cgi-graph.log { 
     38        daily 
     39        missingok 
     40        rotate 7 
     41        compress 
     42        notifempty 
     43        create 640 www-data adm 
     44} 
  • branches/debian/experimental/trunk/debian/munin.postinst

    r3153 r3405  
    2020        dpkg-statoverride --list /var/log/munin >/dev/null || \ 
    2121                dpkg-statoverride --update --add munin adm 0750 /var/log/munin 
     22        dpkg-statoverride --list /var/log/munin/munin-cgi-graph.log >/dev/null || \ 
     23                dpkg-statoverride --update --add www-data adm 0750 /var/log/munin 
    2224        dpkg-statoverride --list /var/cache/munin/www >/dev/null || \ 
    2325                dpkg-statoverride --update --add munin munin 0755 /var/cache/munin/www 
  • branches/debian/experimental/trunk/debian/munin.postrm

    r3153 r3405  
    3131        rm -f /var/log/munin/munin-html.log* 
    3232        rm -f /var/log/munin/munin-limits.log* 
     33        rm -f /var/log/munin/munin-cgi-graph.log* 
    3334 
    3435        dpkg-statoverride --remove /var/cache/munin/www