diff options
Diffstat (limited to 'network/awstats')
-rw-r--r-- | network/awstats/README | 27 | ||||
-rw-r--r-- | network/awstats/awstats.SlackBuild | 10 | ||||
-rw-r--r-- | network/awstats/awstats.info | 6 | ||||
-rw-r--r-- | network/awstats/slack-desc | 2 |
4 files changed, 22 insertions, 23 deletions
diff --git a/network/awstats/README b/network/awstats/README index 68693856c0..dd0bf6d1ae 100644 --- a/network/awstats/README +++ b/network/awstats/README @@ -1,14 +1,15 @@ -AWStats is a free, powerful and featureful tool that generates advanced web -streaming, ftp or mail server statistics, graphically. AWStats works as a -CGI or from command line and shows you all possible information your log -contains, in few graphical web pages. It can analyze log files from all -major server tools like Apache log files and a lot of other web, proxy, -wap, streaming servers, mail servers and some ftp servers. +AWStats is a free, powerful and featureful tool that generates +advanced web streaming, ftp or mail server statistics, graphically. +AWStats works as a CGI or from command line and shows you all possible +information your log contains, in few graphical web pages. It can +analyze log files from all major server tools like Apache log files +and a lot of other web, proxy, wap, streaming servers, mail servers +and some ftp servers. -There's an automated script (awstats_configure.pl) to prepare the httpd -config file located in DOCROOT/awstats/ - however, you should not -need/want to run it; instead, everything should work well if you make the -changes listed below. +There's an automated script (awstats_configure.pl) to prepare the +httpd config file located in DOCROOT/awstats/ - however, you should +not need/want to run it; instead, everything should work well if you +make the changes listed below. Edit /etc/httpd/httpd.conf (this is a required change to use AWStats): Comment this out: CustomLog "/var/log/httpd/access_log" common @@ -22,9 +23,9 @@ You need to load mod_cgid.so and mod_cgi.so modules Then restart httpd: "/etc/rc.d/rc.httpd restart" -A sample config file will be placed in /etc/awstats; Make some necessary changes -and please read the necessary steps to start awstats from online page -starting from step 4: +A sample config file will be placed in /etc/awstats; Make some +necessary changes and please read the necessary steps to start awstats +from online page starting from step 4: http://www.awstats.org/docs/awstats_setup.html If you wish to update the process automatically, please refer to: diff --git a/network/awstats/awstats.SlackBuild b/network/awstats/awstats.SlackBuild index fb571b1bfb..84f80b5965 100644 --- a/network/awstats/awstats.SlackBuild +++ b/network/awstats/awstats.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="awstats" -VERSION=${VERSION:-7.8} +VERSION=${VERSION:-7.9} # hardcode ARCH ARCH=noarch BUILD=${BUILD:-1} @@ -42,9 +42,6 @@ DOCROOT=${DOCROOT:-/var/www/htdocs} AWUSER=${AWUSER:-root} AWGROUP=${AWGROUP:-apache} -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -65,9 +62,9 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ # Patch httpd_conf file supplied by awstats to correct paths sed s:@DOCROOT@:$DOCROOT: $CWD/patches/httpd-awstats.conf.patch | patch -p0 @@ -77,6 +74,7 @@ sed s:@DOCROOT@:$DOCROOT: $CWD/patches/awstats_configure.pl.patch | patch -p0 sed s:@DOCROOT@:$DOCROOT: $CWD/patches/awstats.pl.patch | patch -p0 mkdir -p $PKG/$DOCROOT/awstats $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/etc/awstats $PKG/etc/httpd/extra mkdir -m 0770 -p $PKG/var/lib/awstats diff --git a/network/awstats/awstats.info b/network/awstats/awstats.info index d6c3919c6c..57ffe6df4a 100644 --- a/network/awstats/awstats.info +++ b/network/awstats/awstats.info @@ -1,8 +1,8 @@ PRGNAM="awstats" -VERSION="7.8" +VERSION="7.9" HOMEPAGE="http://awstats.sourceforge.net/" -DOWNLOAD="https://prdownloads.sourceforge.net/awstats/awstats-7.8.tar.gz" -MD5SUM="46986723e04b1980389193153915e760" +DOWNLOAD="https://prdownloads.sourceforge.net/awstats/awstats-7.9.tar.gz" +MD5SUM="c283e0170700461596f9c9e121ea2896" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/network/awstats/slack-desc b/network/awstats/slack-desc index 9dfeb4ef20..fc78a114f7 100644 --- a/network/awstats/slack-desc +++ b/network/awstats/slack-desc @@ -16,4 +16,4 @@ awstats: It can analyze log files from all major server tools like Apache awstats: log files and a lot of other web, proxy, wap, streaming servers, awstats: mail servers, and some ftp servers. awstats: -awstats: Home Page: http://awstats.sourceforge.net/ +awstats: Home Page: https://awstats.sourceforge.net/ |