slitaz-forge rev 13

Added tank/files folder. Removed alot in teh awstats conf files. Moved all optional to awstats.optional.conf. Added line to include that file.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Feb 23 23:38:49 2011 +0000 (2011-02-23)
parents 33479b294b31
children 5c6b1e00206f
files tank/files/etc/awstats/awstats.bb.slitaz.org.conf tank/files/etc/awstats/awstats.boot.slitaz.org.conf tank/files/etc/awstats/awstats.doc.slitaz.org.conf tank/files/etc/awstats/awstats.optional.conf tank/files/etc/awstats/awstats.people.slitaz.org.conf tank/files/etc/awstats/awstats.pkgs.slitaz.org.conf tank/files/etc/awstats/awstats.pro.slitaz.org.conf tank/files/etc/awstats/awstats.scn.slitaz.org.conf tank/files/etc/awstats/awstats.store.slitaz.org.conf tank/files/etc/awstats/awstats.www.slitaz.org.conf tank/files/etc/init.d/local.sh tank/files/etc/mercurial/hgweb.config tank/files/usr/bin/tank-bot tank/files/var/spool/cron/crontabs/root
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tank/files/etc/awstats/awstats.bb.slitaz.org.conf	Wed Feb 23 23:38:49 2011 +0000
     1.3 @@ -0,0 +1,14 @@
     1.4 +LogFile="/var/log/lighttpd/bb.slitaz.org-access.log"
     1.5 +LogFormat=1
     1.6 +LogSeparator=" "
     1.7 +SiteDomain="bb.slitaz.org"
     1.8 +HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
     1.9 +DNSLookup=2
    1.10 +DirData="/var/lib/awstats/bb.slitaz.org"
    1.11 +DirCgi="/cgi-bin"
    1.12 +DirIcons="/icon"
    1.13 +AllowToUpdateStatsFromBrowser=0
    1.14 +AllowFullYearView=3
    1.15 +Logo="logo-white-bg.png"
    1.16 +LogoLink="http://bb.slitaz.org"
    1.17 +Include "/etc/awstats/awstats.optional.conf"
    1.18 \ No newline at end of file
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/tank/files/etc/awstats/awstats.boot.slitaz.org.conf	Wed Feb 23 23:38:49 2011 +0000
     2.3 @@ -0,0 +1,14 @@
     2.4 +LogFile="/var/log/lighttpd/boot.slitaz.org-access.log"
     2.5 +LogFormat=1
     2.6 +LogSeparator=" "
     2.7 +SiteDomain="boot.slitaz.org"
     2.8 +HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
     2.9 +DNSLookup=2
    2.10 +DirData="/var/lib/awstats/boot.slitaz.org"
    2.11 +DirCgi="/cgi-bin"
    2.12 +DirIcons="/icon"
    2.13 +AllowToUpdateStatsFromBrowser=0
    2.14 +AllowFullYearView=3
    2.15 +Logo="logo-white-bg.png"
    2.16 +LogoLink="http://boot.slitaz.org"
    2.17 +Include "/etc/awstats/awstats.optional.conf"
    2.18 \ No newline at end of file
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/tank/files/etc/awstats/awstats.doc.slitaz.org.conf	Wed Feb 23 23:38:49 2011 +0000
     3.3 @@ -0,0 +1,14 @@
     3.4 +LogFile="/var/log/lighttpd/doc.slitaz.org-access.log"
     3.5 +LogFormat=1
     3.6 +LogSeparator=" "
     3.7 +SiteDomain="doc.slitaz.org"
     3.8 +HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
     3.9 +DNSLookup=2
    3.10 +DirData="/var/lib/awstats/doc.slitaz.org"
    3.11 +DirCgi="/cgi-bin"
    3.12 +DirIcons="/icon"
    3.13 +AllowToUpdateStatsFromBrowser=0
    3.14 +AllowFullYearView=3
    3.15 +Logo="logo-white-bg.png"
    3.16 +LogoLink="http://doc.slitaz.org"
    3.17 +Include "/etc/awstats/awstats.optional.conf"
    3.18 \ No newline at end of file
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/tank/files/etc/awstats/awstats.optional.conf	Wed Feb 23 23:38:49 2011 +0000
     4.3 @@ -0,0 +1,113 @@
     4.4 +UseFramesWhenCGI=1
     4.5 +DetailedReportsOnNewWindows=1
     4.6 +Expires=0
     4.7 +MaxRowsInHTMLOutput=1000
     4.8 +Lang="auto"
     4.9 +DirLang="./lang"
    4.10 +ShowMenu=1
    4.11 +ShowSummary=UVPHB
    4.12 +ShowMonthStats=UVPHB
    4.13 +ShowDaysOfMonthStats=VPHB
    4.14 +ShowDaysOfWeekStats=PHB
    4.15 +ShowHoursStats=PHB
    4.16 +ShowDomainsStats=PHB
    4.17 +ShowHostsStats=PHBL
    4.18 +ShowAuthenticatedUsers=0
    4.19 +ShowRobotsStats=HBL
    4.20 +ShowWormsStats=0
    4.21 +ShowEMailSenders=0
    4.22 +ShowEMailReceivers=0
    4.23 +ShowSessionsStats=1
    4.24 +ShowPagesStats=PBEX
    4.25 +ShowFileTypesStats=HB
    4.26 +ShowFileSizesStats=0
    4.27 +ShowOSStats=1
    4.28 +ShowBrowsersStats=1
    4.29 +ShowScreenSizeStats=0
    4.30 +ShowOriginStats=PH
    4.31 +ShowKeyphrasesStats=1
    4.32 +ShowKeywordsStats=1
    4.33 +ShowMiscStats=a
    4.34 +ShowHTTPErrorsStats=1
    4.35 +ShowSMTPErrorsStats=0
    4.36 +ShowClusterStats=0
    4.37 +# Data array values for the ShowMonthStats report
    4.38 +AddDataArrayMonthStats=1
    4.39 +# Data array values for the ShowDaysOfMonthStats report
    4.40 +AddDataArrayShowDaysOfMonthStats=1
    4.41 +# Data array values for the ShowDaysOfWeekStats report
    4.42 +AddDataArrayShowDaysOfWeekStats=1
    4.43 +# Data array values for the ShowHoursStats report
    4.44 +AddDataArrayShowHoursStats=1
    4.45 +IncludeInternalLinksInOriginSection=0
    4.46 +# Stats by countries/domains
    4.47 +MaxNbOfDomain = 10
    4.48 +MinHitDomain  = 1
    4.49 +# Stats by hosts
    4.50 +MaxNbOfHostsShown = 10
    4.51 +MinHitHost    = 1
    4.52 +# Stats by authenticated users
    4.53 +MaxNbOfLoginShown = 10
    4.54 +MinHitLogin   = 1
    4.55 +# Stats by robots
    4.56 +MaxNbOfRobotShown = 10
    4.57 +MinHitRobot   = 1
    4.58 +# Stats by pages
    4.59 +MaxNbOfPageShown = 10
    4.60 +MinHitFile    = 1
    4.61 +# Stats by OS
    4.62 +MaxNbOfOsShown = 10
    4.63 +MinHitOs      = 1
    4.64 +# Stats by browsers
    4.65 +MaxNbOfBrowsersShown = 10
    4.66 +MinHitBrowser = 1
    4.67 +# Stats by screen size
    4.68 +MaxNbOfScreenSizesShown = 5
    4.69 +MinHitScreenSize = 1
    4.70 +# Stats by window size (following 2 parameters are not yet used)
    4.71 +MaxNbOfWindowSizesShown = 5
    4.72 +MinHitWindowSize = 1
    4.73 +# Stats by referers
    4.74 +MaxNbOfRefererShown = 10
    4.75 +MinHitRefer   = 1
    4.76 +# Stats for keyphrases
    4.77 +MaxNbOfKeyphrasesShown = 10
    4.78 +MinHitKeyphrase = 1
    4.79 +# Stats for keywords
    4.80 +MaxNbOfKeywordsShown = 10
    4.81 +MinHitKeyword = 1
    4.82 +# Stats for sender or receiver emails
    4.83 +MaxNbOfEMailsShown = 20
    4.84 +MinHitEMail   = 1
    4.85 +FirstDayOfWeek=1
    4.86 +ShowFlagLinks=""
    4.87 +ShowLinksOnUrl=1
    4.88 +UseHTTPSLinkForUrl=""
    4.89 +MaxLengthOfShownURL=64
    4.90 +HTMLHeadSection=""
    4.91 +HTMLEndSection=""
    4.92 +BarWidth   = 260
    4.93 +BarHeight  = 90
    4.94 +StyleSheet=""
    4.95 +color_Background="FFFFFF"		# Background color for main page (Default = "FFFFFF")
    4.96 +color_TableBGTitle="CCCCDD"		# Background color for table title (Default = "CCCCDD")
    4.97 +color_TableTitle="000000"		# Table title font color (Default = "000000")
    4.98 +color_TableBG="CCCCDD"			# Background color for table (Default = "CCCCDD")
    4.99 +color_TableRowTitle="FFFFFF"	# Table row title font color (Default = "FFFFFF")
   4.100 +color_TableBGRowTitle="ECECEC"	# Background color for row title (Default = "ECECEC")
   4.101 +color_TableBorder="ECECEC"		# Table border color (Default = "ECECEC")
   4.102 +color_text="000000"				# Color of text (Default = "000000")
   4.103 +color_textpercent="606060"		# Color of text for percent values (Default = "606060")
   4.104 +color_titletext="000000"		# Color of text title within colored Title Rows (Default = "000000")
   4.105 +color_weekend="EAEAEA"			# Color for week-end days (Default = "EAEAEA")
   4.106 +color_link="0011BB"				# Color of HTML links (Default = "0011BB")
   4.107 +color_hover="605040"			# Color of HTML on-mouseover links (Default = "605040") 
   4.108 +color_u="FFAA66"				# Background color for number of unique visitors (Default = "FFAA66")
   4.109 +color_v="F4F090"				# Background color for number of visites (Default = "F4F090")
   4.110 +color_p="4477DD"				# Background color for number of pages (Default = "4477DD")
   4.111 +color_h="66DDEE"				# Background color for number of hits (Default = "66DDEE")
   4.112 +color_k="2EA495"				# Background color for number of bytes (Default = "2EA495")
   4.113 +color_s="8888DD"				# Background color for number of search (Default = "8888DD")
   4.114 +color_e="CEC2E8"				# Background color for number of entry pages (Default = "CEC2E8")
   4.115 +color_x="C1B2E2"				# Background color for number of exit pages (Default = "C1B2E2")
   4.116 +ExtraTrackedRowsLimit=500
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/tank/files/etc/awstats/awstats.people.slitaz.org.conf	Wed Feb 23 23:38:49 2011 +0000
     5.3 @@ -0,0 +1,14 @@
     5.4 +LogFile="/var/log/lighttpd/people.slitaz.org-access.log"
     5.5 +LogFormat=1
     5.6 +LogSeparator=" "
     5.7 +SiteDomain="people.slitaz.org"
     5.8 +HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
     5.9 +DNSLookup=2
    5.10 +DirData="/var/lib/awstats/people.slitaz.org"
    5.11 +DirCgi="/cgi-bin"
    5.12 +DirIcons="/icon"
    5.13 +AllowToUpdateStatsFromBrowser=0
    5.14 +AllowFullYearView=3
    5.15 +Logo="logo-white-bg.png"
    5.16 +LogoLink="http://people.slitaz.org"
    5.17 +Include "/etc/awstats/awstats.optional.conf"
    5.18 \ No newline at end of file
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/tank/files/etc/awstats/awstats.pkgs.slitaz.org.conf	Wed Feb 23 23:38:49 2011 +0000
     6.3 @@ -0,0 +1,14 @@
     6.4 +LogFile="/var/log/lighttpd/pkgs.slitaz.org-access.log"
     6.5 +LogFormat=1
     6.6 +LogSeparator=" "
     6.7 +SiteDomain="pkgs.slitaz.org"
     6.8 +HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
     6.9 +DNSLookup=2
    6.10 +DirData="/var/lib/awstats/pkgs.slitaz.org"
    6.11 +DirCgi="/cgi-bin"
    6.12 +DirIcons="/icon"
    6.13 +AllowToUpdateStatsFromBrowser=0
    6.14 +AllowFullYearView=3
    6.15 +Logo="logo-white-bg.png"
    6.16 +LogoLink="http://pkgs.slitaz.org"
    6.17 +Include "/etc/awstats/awstats.optional.conf"
    6.18 \ No newline at end of file
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/tank/files/etc/awstats/awstats.pro.slitaz.org.conf	Wed Feb 23 23:38:49 2011 +0000
     7.3 @@ -0,0 +1,14 @@
     7.4 +LogFile="/var/log/lighttpd/pro.slitaz.org-access.log"
     7.5 +LogFormat=1
     7.6 +LogSeparator=" "
     7.7 +SiteDomain="pro.slitaz.org"
     7.8 +HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
     7.9 +DNSLookup=2
    7.10 +DirData="/var/lib/awstats/pro.slitaz.org"
    7.11 +DirCgi="/cgi-bin"
    7.12 +DirIcons="/icon"
    7.13 +AllowToUpdateStatsFromBrowser=0
    7.14 +AllowFullYearView=3
    7.15 +Logo="logo-white-bg.png"
    7.16 +LogoLink="http://pro.slitaz.org"
    7.17 +Include "/etc/awstats/awstats.optional.conf"
    7.18 \ No newline at end of file
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/tank/files/etc/awstats/awstats.scn.slitaz.org.conf	Wed Feb 23 23:38:49 2011 +0000
     8.3 @@ -0,0 +1,14 @@
     8.4 +LogFile="/var/log/lighttpd/scn.slitaz.org-access.log"
     8.5 +LogFormat=1
     8.6 +LogSeparator=" "
     8.7 +SiteDomain="scn.slitaz.org"
     8.8 +HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
     8.9 +DNSLookup=2
    8.10 +DirData="/var/lib/awstats/scn.slitaz.org"
    8.11 +DirCgi="/cgi-bin"
    8.12 +DirIcons="/icon"
    8.13 +AllowToUpdateStatsFromBrowser=0
    8.14 +AllowFullYearView=3
    8.15 +Logo="logo-white-bg.png"
    8.16 +LogoLink="http://scn.slitaz.org"
    8.17 +Include "/etc/awstats/awstats.optional.conf"
    8.18 \ No newline at end of file
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/tank/files/etc/awstats/awstats.store.slitaz.org.conf	Wed Feb 23 23:38:49 2011 +0000
     9.3 @@ -0,0 +1,14 @@
     9.4 +LogFile="/var/log/lighttpd/store.slitaz.org-access.log"
     9.5 +LogFormat=1
     9.6 +LogSeparator=" "
     9.7 +SiteDomain="store.slitaz.org"
     9.8 +HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
     9.9 +DNSLookup=2
    9.10 +DirData="/var/lib/awstats/store.slitaz.org"
    9.11 +DirCgi="/cgi-bin"
    9.12 +DirIcons="/icon"
    9.13 +AllowToUpdateStatsFromBrowser=0
    9.14 +AllowFullYearView=3
    9.15 +Logo="logo-white-bg.png"
    9.16 +LogoLink="http://store.slitaz.org"
    9.17 +Include "/etc/awstats/awstats.optional.conf"
    9.18 \ No newline at end of file
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/tank/files/etc/awstats/awstats.www.slitaz.org.conf	Wed Feb 23 23:38:49 2011 +0000
    10.3 @@ -0,0 +1,14 @@
    10.4 +LogFile="/var/log/lighttpd/slitaz.org-access.log"
    10.5 +LogFormat=1
    10.6 +LogSeparator=" "
    10.7 +SiteDomain="www.slitaz.org"
    10.8 +HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"
    10.9 +DNSLookup=2
   10.10 +DirData="/var/lib/awstats/slitaz.org"
   10.11 +DirCgi="/cgi-bin"
   10.12 +DirIcons="/icon"
   10.13 +AllowToUpdateStatsFromBrowser=0
   10.14 +AllowFullYearView=3
   10.15 +Logo="logo-white-bg.png"
   10.16 +LogoLink="http://www.slitaz.org"
   10.17 +Include "/etc/awstats/awstats.optional.conf"
   10.18 \ No newline at end of file
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/tank/files/etc/init.d/local.sh	Wed Feb 23 23:38:49 2011 +0000
    11.3 @@ -0,0 +1,12 @@
    11.4 +#!/bin/sh
    11.5 +# /etc/init.d/local.sh - Local startup commands.
    11.6 +# All commands here will be executed at boot time.
    11.7 +#
    11.8 +. /etc/init.d/rc.functions
    11.9 +
   11.10 +echo "Starting local startup commands... "
   11.11 +rdate -s tick.greyware.com
   11.12 +for i in /home/slitaz/*/chroot ; do
   11.13 +	[ -s $i/var/lock/tazbb.lock ] && rm -f $i/var/lock/tazbb.lock
   11.14 +	chroot $i /etc/init.d/crond start
   11.15 +done
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/tank/files/etc/mercurial/hgweb.config	Wed Feb 23 23:38:49 2011 +0000
    12.3 @@ -0,0 +1,13 @@
    12.4 +# /etc/mercurial/hgweb.config - System-wide mercurial configuration file
    12.5 +#
    12.6 +
    12.7 +[collections]
    12.8 +/home/slitaz/repos = /home/slitaz/repos
    12.9 +
   12.10 +#[paths]
   12.11 +#virtual/path = /real/path
   12.12 +
   12.13 +[web]
   12.14 +style = slitaz
   12.15 +allow_archive = gz bz2
   12.16 +baseurl = /
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/tank/files/usr/bin/tank-bot	Wed Feb 23 23:38:49 2011 +0000
    13.3 @@ -0,0 +1,17 @@
    13.4 +#!/bin/sh
    13.5 +
    13.6 +sandbox=/home/slitaz/cooking/sandbox
    13.7 +
    13.8 +[ -d "$sandbox/proc/1" ] && exit
    13.9 +
   13.10 +mount -t proc proc $sandbox/proc
   13.11 +mount -t sysfs sysfs $sandbox/sys
   13.12 +mount -t devpts devpts $sandbox/dev/pts
   13.13 +mount -t tmpfs shm $sandbox/dev/shm
   13.14 +
   13.15 +chroot $sandbox tank-bot
   13.16 +
   13.17 +umount $sandbox/dev/shm
   13.18 +umount $sandbox/dev/pts
   13.19 +umount $sandbox/sys
   13.20 +umount $sandbox/proc
   13.21 \ No newline at end of file
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/tank/files/var/spool/cron/crontabs/root	Wed Feb 23 23:38:49 2011 +0000
    14.3 @@ -0,0 +1,26 @@
    14.4 +# Update Web stats
    14.5 +0 0 * * * /usr/sbin/awsupdate_all
    14.6 +
    14.7 +# Backup MySQL databases
    14.8 +0 30 * * * /usr/bin/mybackup.sh
    14.9 +
   14.10 +# rotate logs daily
   14.11 +0 1 * * *  /usr/sbin/logrotate /etc/logrotate.conf
   14.12 +
   14.13 +# Update SliTaz stuffs
   14.14 +15 02 * * * /usr/bin/tazdev update-www
   14.15 +20 02 * * * /usr/bin/tazpkg-web cooking
   14.16 +30 02 * * * /usr/bin/tazpkg-web stable
   14.17 +
   14.18 +# Update RSS channels
   14.19 +40 02 * * * /usr/bin/tazrss cooking
   14.20 +40 02 * * * /usr/bin/tazrss stable
   14.21 +
   14.22 +# Update systam load graphics
   14.23 +*/5 * * * * /home/slitaz/www/tank/bin/makegraphs >/dev/null
   14.24 +
   14.25 +# Backup (will be sync'ed by mirror)
   14.26 +0 3 * * *  /home/backups/tank/backup.sh
   14.27 +
   14.28 +# Send all sources to mirror
   14.29 +0 23 * * *  /home/slitaz/sources/update.sh update >/dev/null 2>&1