summaryrefslogtreecommitdiff
path: root/cacti/Pkgfile
blob: a090b83f2ec07bc124d7274c6af874bb728f3d48 (plain)
    1 # Description: An opensources graphing system
    2 # URL: http://cacti.net/index.php
    3 # Packager: Manuel Ruiz, manuel dot tienza at gmail dot com
    4 # Maintainer: Thomas Penteker, tek at serverop dot de
    5 # Depends on: rrdtool mod_php net-snmp php-mysql php php-sockets
    6 
    7 name=cacti
    8 version=0.8.8a
    9 release=1
   10 source=(http://www.$name.net/downloads/$name-$version.tar.gz) 
   11 
   12 build () {
   13   #cd $name-$version
   14   #patch -p1 -i ../cacti_official_patches.diff
   15   #cd ..
   16 
   17   mkdir -p $PKG/var/www/htdocs    
   18   mv $name-$version $PKG/var/www/htdocs/$name
   19   chown -R cactiuser  $PKG/var/www/htdocs/$name/{rra,log}
   20   sed -i -e "s|\$config\['url_path'] = '/'|\$config\['url_path'] = '/cacti/'|g" \
   21     $PKG/var/www/htdocs/$name/include/global.php
   22   rm $PKG/var/www/htdocs/cacti/{README,LICENSE}
   23   rm -r $PKG/var/www/htdocs/cacti/docs
   24 }

Generated by cgit