diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..666dc76 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +webalizer-2.01-10-src.tar.bz2 +clog +*.src.rpm +x86_64 +webalizer-2.20-01-src.tgz +webalizer-2.21-02-src.tar.bz2 +/webalizer-2.23-05-src.tgz +/webalizer-2.23-08-src.tgz diff --git a/02_fix_a_spelling_error.diff b/02_fix_a_spelling_error.diff new file mode 100644 index 0000000..5346799 --- /dev/null +++ b/02_fix_a_spelling_error.diff @@ -0,0 +1,28 @@ +From: Julien Viard de Galbert +Date: Wed, 24 Nov 2010 00:16:20 +0100 +Subject: Fix a spelling error + +Thank you lintian ;) + +Index: webalizer/wcmgr.c +=================================================================== +--- webalizer.orig/wcmgr.c 2013-10-06 14:34:50.000000000 +0200 ++++ webalizer/wcmgr.c 2013-10-06 14:45:59.000000000 +0200 +@@ -692,7 +692,7 @@ + } + dns_db->close(dns_db, 0); + if (verbose) +- printf("%s sucessfully deleted from cache file\n",addr); ++ printf("%s successfully deleted from cache file\n",addr); + } + + /*********************************************/ +@@ -770,7 +770,7 @@ + if (db_put(addr, name, (strcmp(name,addr))?0:1, runtime)==0) + dns_db->close(dns_db,0); + if (verbose) +- printf("%s sucessfully added to cache file\n",addr); ++ printf("%s successfully added to cache file\n",addr); + } + } + } diff --git a/04_Fix_cast_warnings_in_output.c.diff b/04_Fix_cast_warnings_in_output.c.diff new file mode 100644 index 0000000..f7d7277 --- /dev/null +++ b/04_Fix_cast_warnings_in_output.c.diff @@ -0,0 +1,67 @@ +From: Julien Viard de Galbert +Date: Tue, 7 Oct 2014 23:45:04 +0200 +Subject: Fix cast warnings when building output.c + +Casts were used to cast to the same type, so discarded them. +--- + output.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/output.c b/output.c +index 838d383..81e869c 100644 +--- a/output.c ++++ b/output.c +@@ -949,7 +949,7 @@ void top_sites_table(int flag) + while(cnt--) + { + /* calculate totals */ +- switch ( (int)((HNODEPTR)(*pointer)->flag) ) ++ switch ( (*pointer)->flag ) + { + case OBJ_REG: h_reg++; break; + case OBJ_GRP: h_grp++; break; +@@ -1182,7 +1182,7 @@ void top_urls_table(int flag) + while (cnt--) + { + /* calculate totals */ +- switch ( (int)((UNODEPTR)(*pointer)->flag) ) ++ switch ( (*pointer)->flag ) + { + case OBJ_REG: u_reg++; break; + case OBJ_GRP: u_grp++; break; +@@ -1436,7 +1436,7 @@ void top_entry_table(int flag) + cnt=a_ctr; pointer=u_array; + while (cnt--) + { +- if ( (int)((UNODEPTR)(*pointer)->flag) == OBJ_REG ) ++ if ( (*pointer)->flag == OBJ_REG ) + { + if ( (u_int64_t)(((UNODEPTR)(*pointer))->entry) ) + { u_entry++; t_entry+=(u_int64_t)(((UNODEPTR)(*pointer))->entry); } +@@ -1540,7 +1540,7 @@ void top_refs_table() + while(cnt--) + { + /* calculate totals */ +- switch ( (int)((RNODEPTR)(*pointer)->flag) ) ++ switch ( (*pointer)->flag ) + { + case OBJ_REG: r_reg++; break; + case OBJ_HIDE: r_hid++; break; +@@ -1705,7 +1705,7 @@ void top_agents_table() + while(cnt--) + { + /* calculate totals */ +- switch ( (int)((ANODEPTR)(*pointer)->flag) ) ++ switch ( (*pointer)->flag ) + { + case OBJ_REG: a_reg++; break; + case OBJ_GRP: a_grp++; break; +@@ -1972,7 +1972,7 @@ void top_users_table() + while(cnt--) + { + /* calculate totals */ +- switch ( (int)((INODEPTR)(*pointer)->flag) ) ++ switch ( (*pointer)->flag ) + { + case OBJ_REG: i_reg++; break; + case OBJ_GRP: i_grp++; break; diff --git a/14_add_search_engines.diff b/14_add_search_engines.diff new file mode 100644 index 0000000..06535a4 --- /dev/null +++ b/14_add_search_engines.diff @@ -0,0 +1,60 @@ +From: Julien Viard de Galbert +Subject: enable and add more SearchEngines in .conf file + +Based on patch +14_add_search_engines.dpatch by Jose Carlos Medeiros +Also uncomment all SearchEngines directives. + +################################# +# SearchEngine field for the sensis.com.au search engine +# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=327496 +# From: Gavin Rogers + +################################ +# Support for French versions of Google keywords +# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=253830 +# From: Cyril Bouthors +No longer needed, the sample configuration matches the ".google." string. + +Index: webalizer/sample.conf +=================================================================== +--- webalizer.orig/sample.conf 2013-10-06 14:58:08.000000000 +0200 ++++ webalizer/sample.conf 2013-10-06 14:58:08.000000000 +0200 +@@ -710,21 +710,22 @@ + # engine, and the second is the URL variable used by that search engine + # to define its search terms. + +-#SearchEngine .google. q= +-#SearchEngine yahoo.com p= +-#SearchEngine altavista.com q= +-#SearchEngine aolsearch. query= +-#SearchEngine ask.co q= +-#SearchEngine eureka.com q= +-#SearchEngine lycos.com query= +-#SearchEngine hotbot.com MT= +-#SearchEngine msn.com q= +-#SearchEngine infoseek.com qt= +-#SearchEngine excite search= +-#SearchEngine netscape.com query= +-#SearchEngine mamma.com query= +-#SearchEngine alltheweb.com q= +-#SearchEngine northernlight.com qr= ++SearchEngine .google. q= ++SearchEngine yahoo.com p= ++SearchEngine altavista.com q= ++SearchEngine aolsearch. query= ++SearchEngine ask.co q= ++SearchEngine eureka.com q= ++SearchEngine lycos.com query= ++SearchEngine hotbot.com MT= ++SearchEngine msn.com q= ++SearchEngine infoseek.com qt= ++SearchEngine excite search= ++SearchEngine netscape.com query= ++SearchEngine mamma.com query= ++SearchEngine alltheweb.com q= ++SearchEngine northernlight.com qr= ++SearchEngine sensis.com.au find= + + # Normally, search strings are converted to lower case in order to + # increase accuracy. The SearchCaseI option allows them to maintain diff --git a/17_fix_typo_supress_suppress_in_sample.conf.diff b/17_fix_typo_supress_suppress_in_sample.conf.diff new file mode 100644 index 0000000..d7f2764 --- /dev/null +++ b/17_fix_typo_supress_suppress_in_sample.conf.diff @@ -0,0 +1,21 @@ +From: Julien Viard de Galbert +Date: Wed, 12 Jul 2017 23:59:31 +0200 +Subject: Fix typo supress -> suppress in sample.conf + +--- + sample.conf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/sample.conf b/sample.conf +index 925f509..fc91d0c 100644 +--- a/sample.conf ++++ b/sample.conf +@@ -289,7 +289,7 @@ PageType cgi + + #Quiet no + +-# ReallyQuiet will supress all messages including errors and ++# ReallyQuiet will suppress all messages including errors and + # warnings. Values can be 'yes' or 'no' with 'no' being the + # default. If 'yes' is used here, it cannot be overriden from + # the command line, so use with caution. A value of 'no' has diff --git a/27_fix_compilation_with_gcc-10.diff b/27_fix_compilation_with_gcc-10.diff new file mode 100644 index 0000000..e42bdca --- /dev/null +++ b/27_fix_compilation_with_gcc-10.diff @@ -0,0 +1,25 @@ +Description: Fix compilation with GCC 10. +Author: Logan Rosen +Bug-Debian: https://bugs.debian.org/957923 +Forwarded: no +Reviewed-By: Francisco Vilmar Cardoso Ruviaro +Last-Update: 2021-02-12 + +--- a/dns_resolv.c ++++ b/dns_resolv.c +@@ -78,11 +78,11 @@ + + struct dns_child child[MAXCHILD]; /* DNS child pipe data */ + +-DNODEPTR host_table[MAXHASH]; /* hostname/ip hash table */ ++extern DNODEPTR host_table[MAXHASH]; /* hostname/ip hash table */ + +-char buffer[BUFSIZE]; /* log file record buffer */ +-char tmp_buf[BUFSIZE]; /* used to temp save above */ +-struct utsname system_info; /* system info structure */ ++extern char buffer[BUFSIZE]; /* log file record buffer */ ++extern char tmp_buf[BUFSIZE]; /* used to temp save above */ ++extern struct utsname system_info; /* system info structure */ + + int raiseSigChild = 1; + diff --git a/dead.package b/dead.package deleted file mode 100644 index a72aec0..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -epel8-playground decommissioned : https://pagure.io/epel/issue/136 diff --git a/sources b/sources new file mode 100644 index 0000000..747c8fd --- /dev/null +++ b/sources @@ -0,0 +1 @@ +00f1f18bd5ed462ea43bf98d867e7966 webalizer-2.23-08-src.tgz diff --git a/webalizer-2.21-02-underrun.patch b/webalizer-2.21-02-underrun.patch new file mode 100644 index 0000000..1940a49 --- /dev/null +++ b/webalizer-2.21-02-underrun.patch @@ -0,0 +1,21 @@ +--- webalizer-2.21-02/webalizer.c 2009-01-13 06:35:54.000000000 +0100 ++++ webalizer-2.21-02/webalizer.c.underrun 2009-03-29 14:16:21.000000000 +0200 +@@ -737,10 +737,16 @@ + rec_sec =atoi(&log_rec.datetime[19]); /* get second number */ + + /* Kludge for Netscape server time (0-24?) error */ +- if (rec_hour>23) rec_hour=0; ++ if (rec_hour > 23) ++ rec_hour=0; ++ /* Handle leap seconds (AC 2004) */ ++ if (rec_sec > 59 && rec_sec < 62) /* 23:59:60/61 exist */ ++ rec_sec = 59; + + /* minimal sanity check on date */ +- if ((i>=12)||(rec_min>59)||(rec_sec>60)||(rec_year<1990)) ++ if ( i >= 12 || rec_min < 0 || rec_min > 59 || ++ rec_sec < 0 || rec_sec > 59 || rec_year<1990 || ++ rec_day < 0) + { + total_bad++; /* if a bad date, bump counter */ + if (verbose) diff --git a/webalizer-2.23-05-confuser.patch b/webalizer-2.23-05-confuser.patch new file mode 100644 index 0000000..d8981e0 --- /dev/null +++ b/webalizer-2.23-05-confuser.patch @@ -0,0 +1,37 @@ + +https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=158174 + +--- webalizer-2.01-10/webalizer.c.confuser 2005-09-21 13:32:40.000000000 +0100 ++++ webalizer-2.01-10/webalizer.c 2005-09-21 13:33:43.000000000 +0100 +@@ -252,6 +254,8 @@ + + int max_ctry; /* max countries defined */ + ++ struct stat st; ++ + /* month names used for parsing logfile (shouldn't be lang specific) */ + char *log_month[12]={ "jan", "feb", "mar", + "apr", "may", "jun", +@@ -266,8 +270,8 @@ + + sprintf(tmp_buf,"%s/webalizer.conf",ETCDIR); + /* check for default config file */ +- if (!access("webalizer.conf",F_OK)) +- get_config("webalizer.conf"); ++ if (stat("webalizer.conf", &st) == 0 && st.st_uid == getuid()) ++ get_config("webalizer.conf"); + else if (!access(tmp_buf,F_OK)) + get_config(tmp_buf); + +--- webalizer-2.01-10/webalizer.1.confuser 2001-10-23 07:05:50.000000000 +0100 ++++ webalizer-2.01-10/webalizer.1 2005-09-21 13:32:40.000000000 +0100 +@@ -44,7 +44,8 @@ + .B o + A default configuration file is scanned for. A file named + \fIwebalizer.conf\fP is searched for in the current directory, and if +-found, it's configuration data is parsed. If the file is not ++found, and is owned by the invoking user, then its configuration data is parsed. ++If the file is not + present in the current directory, the file \fI/etc/webalizer.conf\fP + is searched for and, if found, is used instead. + .TP 8 diff --git a/webalizer-2.23-05-groupvisit.patch b/webalizer-2.23-05-groupvisit.patch new file mode 100644 index 0000000..5895311 --- /dev/null +++ b/webalizer-2.23-05-groupvisit.patch @@ -0,0 +1,100 @@ +diff -uap webalizer-2.23-05/hashtab.c.groupvisit webalizer-2.23-05/hashtab.c +--- webalizer-2.23-05/hashtab.c.groupvisit 2011-01-10 01:47:49.000000000 +0000 ++++ webalizer-2.23-05/hashtab.c 2011-07-14 09:26:11.645377843 +0100 +@@ -88,6 +88,8 @@ INODEPTR im_htab[MAXHASH]; + DNODEPTR host_table[MAXHASH]; /* DNS hash table */ + #endif /* USE_DNS */ + ++u_long pre_tstamp = 0; /* prev. real record tstamp */ ++ + /*********************************************/ + /* DEL_HTABS - clear out our hash tables */ + /*********************************************/ +@@ -186,6 +188,7 @@ int put_hnode( char *str, /* Hostn + nptr->visit=(visit-1); + nptr->lasturl=find_url(lasturl); + nptr->tstamp=tstamp; ++ if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp; + return 0; + } + else +@@ -195,6 +198,7 @@ int put_hnode( char *str, /* Hostn + if (htab==sm_htab) update_entry(log_rec.url); + nptr->lasturl=find_url(log_rec.url); + nptr->tstamp=tstamp; ++ if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp; + nptr->visit=1; + } + } +@@ -225,7 +229,8 @@ int put_hnode( char *str, /* Hostn + + if (ispage(log_rec.url)) + { +- if ((tstamp-cptr->tstamp)>=visit_timeout) ++ if ((type!=OBJ_GRP)&&(cptr->flag!=OBJ_GRP)) pre_tstamp=cptr->tstamp; ++ if ((tstamp-pre_tstamp)>=visit_timeout) + { + cptr->visit++; + if (htab==sm_htab) +@@ -262,6 +267,7 @@ int put_hnode( char *str, /* Hostn + nptr->visit = (visit-1); + nptr->lasturl=find_url(lasturl); + nptr->tstamp= tstamp; ++ if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp; + return 0; + } + else +@@ -271,6 +277,7 @@ int put_hnode( char *str, /* Hostn + if (htab==sm_htab) update_entry(log_rec.url); + nptr->lasturl=find_url(log_rec.url); + nptr->tstamp= tstamp; ++ if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp; + nptr->visit=1; + } + } +@@ -875,11 +882,16 @@ int put_inode( char *str, /* ident + { + nptr->visit=(visit-1); + nptr->tstamp=tstamp; ++ if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp; + return 0; + } + else + { +- if (ispage(log_rec.url)) nptr->tstamp=tstamp; ++ if (ispage(log_rec.url)) ++ { ++ nptr->tstamp=tstamp; ++ if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp; ++ } + } + } + } +@@ -899,7 +911,8 @@ int put_inode( char *str, /* ident + + if (ispage(log_rec.url)) + { +- if ((tstamp-cptr->tstamp)>=visit_timeout) ++ if ((type!=OBJ_GRP)&&(cptr->flag!=OBJ_GRP)) pre_tstamp=cptr->tstamp; ++ if ((tstamp-pre_tstamp)>=visit_timeout) + cptr->visit++; + cptr->tstamp=tstamp; + } +@@ -923,11 +936,16 @@ int put_inode( char *str, /* ident + { + nptr->visit = (visit-1); + nptr->tstamp= tstamp; ++ if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp; + return 0; + } + else + { +- if (ispage(log_rec.url)) nptr->tstamp= tstamp; ++ if (ispage(log_rec.url)) ++ { ++ nptr->tstamp= tstamp; ++ if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp; ++ } + } + } + } diff --git a/webalizer-2.23-08-memmove.patch b/webalizer-2.23-08-memmove.patch new file mode 100644 index 0000000..44769da --- /dev/null +++ b/webalizer-2.23-08-memmove.patch @@ -0,0 +1,33 @@ +diff -u new/dns_resolv.c new.1/dns_resolv.c +--- new/dns_resolv.c 2013-02-26 05:37:27.000000000 +0000 ++++ new.1/dns_resolv.c 2016-04-05 06:57:30.827715718 +0000 +@@ -886,7 +886,7 @@ + /* kludge for IPv6 6to4 (RFC3056) */ + if (addr[0]==0x20 && addr[1]==0x02) + { +- memcpy(&addr[12],&addr[2],4); ++ memmove(&addr[12],&addr[2],4); + memset(&addr,0,12); + } + +diff -u new/preserve.c new.1/preserve.c +--- new/preserve.c 2013-02-26 05:37:27.000000000 +0000 ++++ new.1/preserve.c 2016-04-05 06:56:39.023080706 +0000 +@@ -109,7 +109,7 @@ + yr = hist[i].year; + mth= hist[i].month+1; + if (mth>12) { mth=1; yr++; } +- memcpy(&hist[0], &hist[1], sizeof(hist[0])*i); ++ memmove(&hist[0], &hist[1], sizeof(hist[0])*i); + memset(&hist[i], 0, sizeof(struct hist_rec)); + hist[i].year=yr; hist[i].month=mth; n--; + } +@@ -277,7 +277,7 @@ + yr = hist[i].year; + mth= hist[i].month+1; + if (mth>12) { mth=1; yr++; } +- memcpy(&hist[0],&hist[1],sizeof(hist[0])*i); ++ memmove(&hist[0],&hist[1],sizeof(hist[0])*i); + memset(&hist[i], 0, sizeof(struct hist_rec)); + hist[i].year=yr; hist[i].month=mth; n--; + } diff --git a/webalizer-httpd.conf b/webalizer-httpd.conf new file mode 100644 index 0000000..6a352b2 --- /dev/null +++ b/webalizer-httpd.conf @@ -0,0 +1,11 @@ +# +# This configuration file maps the webalizer log analysis +# results (generated daily) into the URL space. By default +# these results are only accessible from the local host. +# +Alias /usage /var/www/usage + + + # Alternative e.g. "Require ip 192.168.10" + Require local + diff --git a/webalizer.conf b/webalizer.conf new file mode 100644 index 0000000..a485257 --- /dev/null +++ b/webalizer.conf @@ -0,0 +1,569 @@ +# +# Sample Webalizer configuration file +# Copyright 1997-2000 by Bradford L. Barrett (brad@mrunix.net) +# +# Distributed under the GNU General Public License. See the +# files "Copyright" and "COPYING" provided with the webalizer +# distribution for additional information. +# +# This is a sample configuration file for the Webalizer (ver 2.01) +# Lines starting with pound signs '#' are comment lines and are +# ignored. Blank lines are skipped as well. Other lines are considered +# as configuration lines, and have the form "ConfigOption Value" where +# ConfigOption is a valid configuration keyword, and Value is the value +# to assign that configuration option. Invalid keyword/values are +# ignored, with appropriate warnings being displayed. There must be +# at least one space or tab between the keyword and its value. +# +# As of version 0.98, The Webalizer will look for a 'default' configuration +# file named "webalizer.conf" in the current directory, and if not found +# there, will look for "/etc/webalizer.conf". + + +# LogFile defines the web server log file to use. If not specified +# here or on on the command line, input will default to STDIN. If +# the log filename ends in '.gz' (ie: a gzip compressed file), it will +# be decompressed on the fly as it is being read. + +LogFile /var/log/httpd/access_log + +# LogType defines the log type being processed. Normally, the Webalizer +# expects a CLF or Combined web server log as input. Using this option, +# you can process ftp logs as well (xferlog as produced by wu-ftp and +# others), or Squid native logs. Values can be 'clf', 'ftp' or 'squid', +# with 'clf' the default. + +#LogType clf + +# OutputDir is where you want to put the output files. This should +# should be a full path name, however relative ones might work as well. +# If no output directory is specified, the current directory will be used. + +OutputDir /var/www/usage + +# HistoryName allows you to specify the name of the history file produced +# by the Webalizer. The history file keeps the data for up to 12 months +# worth of logs, used for generating the main HTML page (index.html). +# The default is a file named "webalizer.hist", stored in the specified +# output directory. If you specify just the filename (without a path), +# it will be kept in the specified output directory. Otherwise, the path +# is relative to the output directory, unless absolute (leading /). + +HistoryName /var/lib/webalizer/webalizer.hist + +# Incremental processing allows multiple partial log files to be used +# instead of one huge one. Useful for large sites that have to rotate +# their log files more than once a month. The Webalizer will save its +# internal state before exiting, and restore it the next time run, in +# order to continue processing where it left off. This mode also causes +# The Webalizer to scan for and ignore duplicate records (records already +# processed by a previous run). See the README file for additional +# information. The value may be 'yes' or 'no', with a default of 'no'. +# The file 'webalizer.current' is used to store the current state data, +# and is located in the output directory of the program (unless changed +# with the IncrementalName option below). Please read at least the section +# on Incremental processing in the README file before you enable this option. + +Incremental yes + +# IncrementalName allows you to specify the filename for saving the +# incremental data in. It is similar to the HistoryName option where the +# name is relative to the specified output directory, unless an absolute +# filename is specified. The default is a file named "webalizer.current" +# kept in the normal output directory. If you don't specify "Incremental" +# as 'yes' then this option has no meaning. + +IncrementalName /var/lib/webalizer/webalizer.current + +# ReportTitle is the text to display as the title. The hostname +# (unless blank) is appended to the end of this string (seperated with +# a space) to generate the final full title string. +# Default is (for english) "Usage Statistics for". + +#ReportTitle Usage Statistics for + +# HostName defines the hostname for the report. This is used in +# the title, and is prepended to the URL table items. This allows +# clicking on URL's in the report to go to the proper location in +# the event you are running the report on a 'virtual' web server, +# or for a server different than the one the report resides on. +# If not specified here, or on the command line, webalizer will +# try to get the hostname via a uname system call. If that fails, +# it will default to "localhost". + +#HostName localhost + +# HTMLExtension allows you to specify the filename extension to use +# for generated HTML pages. Normally, this defaults to "html", but +# can be changed for sites who need it (like for PHP embeded pages). + +#HTMLExtension html + +# PageType lets you tell the Webalizer what types of URL's you +# consider a 'page'. Most people consider html and cgi documents +# as pages, while not images and audio files. If no types are +# specified, defaults will be used ('htm*', 'cgi' and HTMLExtension +# if different for web logs, 'txt' for ftp logs). + +PageType htm* +PageType cgi +PageType php +PageType shtml +#PageType phtml +#PageType php3 +#PageType pl + +# UseHTTPS should be used if the analysis is being run on a +# secure server, and links to urls should use 'https://' instead +# of the default 'http://'. If you need this, set it to 'yes'. +# Default is 'no'. This only changes the behaviour of the 'Top +# URL's' table. + +#UseHTTPS no + +# DNSCache specifies the DNS cache filename to use for reverse DNS lookups. +# This file must be specified if you wish to perform name lookups on any IP +# addresses found in the log file. If an absolute path is not given as +# part of the filename (ie: starts with a leading '/'), then the name is +# relative to the default output directory. See the DNS.README file for +# additional information. + +DNSCache /var/lib/webalizer/dns_cache.db + +# DNSChildren allows you to specify how many "children" processes are +# run to perform DNS lookups to create or update the DNS cache file. +# If a number is specified, the DNS cache file will be created/updated +# each time the Webalizer is run, immediately prior to normal processing, +# by running the specified number of "children" processes to perform +# DNS lookups. If used, the DNS cache filename MUST be specified as +# well. The default value is zero (0), which disables DNS cache file +# creation/updates at run time. The number of children processes to +# run may be anywhere from 1 to 100, however a large number may effect +# normal system operations. Reasonable values should be between 5 and +# 20. See the DNS.README file for additional information. + +DNSChildren 10 + +# HTMLPre defines HTML code to insert at the very beginning of the +# file. Default is the DOCTYPE line shown below. Max line length +# is 80 characters, so use multiple HTMLPre lines if you need more. + +#HTMLPre + +# HTMLHead defines HTML code to insert within the +# block, immediately after the line. Maximum line length +# is 80 characters, so use multiple lines if needed. + +#HTMLHead <META NAME="author" CONTENT="The Webalizer"> + +# HTMLBody defined the HTML code to be inserted, starting with the +# <BODY> tag. If not specified, the default is shown below. If +# used, you MUST include your own <BODY> tag as the first line. +# Maximum line length is 80 char, use multiple lines if needed. + +#HTMLBody <BODY BGCOLOR="#E8E8E8" TEXT="#000000" LINK="#0000FF" VLINK="#FF0000"> + +# HTMLPost defines the HTML code to insert immediately before the +# first <HR> on the document, which is just after the title and +# "summary period"-"Generated on:" lines. If anything, this should +# be used to clean up in case an image was inserted with HTMLBody. +# As with HTMLHead, you can define as many of these as you want and +# they will be inserted in the output stream in order of apperance. +# Max string size is 80 characters. Use multiple lines if you need to. + +#HTMLPost <BR CLEAR="all"> + +# HTMLTail defines the HTML code to insert at the bottom of each +# HTML document, usually to include a link back to your home +# page or insert a small graphic. It is inserted as a table +# data element (ie: <TD> your code here </TD>) and is right +# alligned with the page. Max string size is 80 characters. + +#HTMLTail <IMG SRC="msfree.png" ALT="100% Micro$oft free!"> + +# HTMLEnd defines the HTML code to add at the very end of the +# generated files. It defaults to what is shown below. If +# used, you MUST specify the </BODY> and </HTML> closing tags +# as the last lines. Max string length is 80 characters. + +#HTMLEnd </BODY></HTML> + +# The Quiet option suppresses output messages... Useful when run +# as a cron job to prevent bogus e-mails. Values can be either +# "yes" or "no". Default is "no". Note: this does not suppress +# warnings and errors (which are printed to stderr). + +Quiet yes + +# ReallyQuiet will supress all messages including errors and +# warnings. Values can be 'yes' or 'no' with 'no' being the +# default. If 'yes' is used here, it cannot be overriden from +# the command line, so use with caution. A value of 'no' has +# no effect. + +#ReallyQuiet no + +# TimeMe allows you to force the display of timing information +# at the end of processing. A value of 'yes' will force the +# timing information to be displayed. A value of 'no' has no +# effect. + +#TimeMe no + +# GMTTime allows reports to show GMT (UTC) time instead of local +# time. Default is to display the time the report was generated +# in the timezone of the local machine, such as EDT or PST. This +# keyword allows you to have times displayed in UTC instead. Use +# only if you really have a good reason, since it will probably +# screw up the reporting periods by however many hours your local +# time zone is off of GMT. + +#GMTTime no + +# Debug prints additional information for error messages. This +# will cause webalizer to dump bad records/fields instead of just +# telling you it found a bad one. As usual, the value can be +# either "yes" or "no". The default is "no". It shouldn't be +# needed unless you start getting a lot of Warning or Error +# messages and want to see why. (Note: warning and error messages +# are printed to stderr, not stdout like normal messages). + +#Debug no + +# FoldSeqErr forces the Webalizer to ignore sequence errors. +# The Apache HTTP server may generate out-of-sequence log entries +# so this option is enabled. + +FoldSeqErr yes + +# VisitTimeout allows you to set the default timeout for a visit +# (sometimes called a 'session'). The default is 30 minutes, +# which should be fine for most sites. +# Visits are determined by looking at the time of the current +# request, and the time of the last request from the site. If +# the time difference is greater than the VisitTimeout value, it +# is considered a new visit, and visit totals are incremented. +# Value is the number of seconds to timeout (default=1800=30min) + +#VisitTimeout 1800 + +# IgnoreHist shouldn't be used in a config file, but it is here +# just because it might be usefull in certain situations. If the +# history file is ignored, the main "index.html" file will only +# report on the current log files contents. Usefull only when you +# want to reproduce the reports from scratch. USE WITH CAUTION! +# Valid values are "yes" or "no". Default is "no". + +#IgnoreHist no + +# Country Graph allows the usage by country graph to be disabled. +# Values can be 'yes' or 'no', default is 'yes'. + +#CountryGraph yes + +# DailyGraph and DailyStats allows the daily statistics graph +# and statistics table to be disabled (not displayed). Values +# may be "yes" or "no". Default is "yes". + +#DailyGraph yes +#DailyStats yes + +# HourlyGraph and HourlyStats allows the hourly statistics graph +# and statistics table to be disabled (not displayed). Values +# may be "yes" or "no". Default is "yes". + +#HourlyGraph yes +#HourlyStats yes + +# GraphLegend allows the color coded legends to be turned on or off +# in the graphs. The default is for them to be displayed. This only +# toggles the color coded legends, the other legends are not changed. +# If you think they are hideous and ugly, say 'no' here :) + +#GraphLegend yes + +# GraphLines allows you to have index lines drawn behind the graphs. +# I personally am not crazy about them, but a lot of people requested +# them and they weren't a big deal to add. The number represents the +# number of lines you want displayed. Default is 2, you can disable +# the lines by using a value of zero ('0'). [max is 20] +# Note, due to rounding errors, some values don't work quite right. +# The lower the better, with 1,2,3,4,6 and 10 producing nice results. + +#GraphLines 2 + +# The "Top" options below define the number of entries for each table. +# Defaults are Sites=30, URL's=30, Referrers=30 and Agents=15, and +# Countries=30. TopKSites and TopKURLs (by KByte tables) both default +# to 10, as do the top entry/exit tables (TopEntry/TopExit). The top +# search strings and usernames default to 20. Tables may be disabled +# by using zero (0) for the value. + +#TopSites 30 +#TopKSites 10 +#TopURLs 30 +#TopKURLs 10 +#TopReferrers 30 +#TopAgents 15 +#TopCountries 30 +#TopEntry 10 +#TopExit 10 +#TopSearch 20 +#TopUsers 20 + +# The All* keywords allow the display of all URL's, Sites, Referrers +# User Agents, Search Strings and Usernames. If enabled, a seperate +# HTML page will be created, and a link will be added to the bottom +# of the appropriate "Top" table. There are a couple of conditions +# for this to occur.. First, there must be more items than will fit +# in the "Top" table (otherwise it would just be duplicating what is +# already displayed). Second, the listing will only show those items +# that are normally visable, which means it will not show any hidden +# items. Grouped entries will be listed first, followed by individual +# items. The value for these keywords can be either 'yes' or 'no', +# with the default being 'no'. Please be aware that these pages can +# be quite large in size, particularly the sites page, and seperate +# pages are generated for each month, which can consume quite a lot +# of disk space depending on the traffic to your site. + +#AllSites no +#AllURLs no +#AllReferrers no +#AllAgents no +#AllSearchStr no +#AllUsers no + +# The Webalizer normally strips the string 'index.' off the end of +# URL's in order to consolidate URL totals. For example, the URL +# /somedir/index.html is turned into /somedir/ which is really the +# same URL. This option allows you to specify additional strings +# to treat in the same way. You don't need to specify 'index.' as +# it is always scanned for by The Webalizer, this option is just to +# specify _additional_ strings if needed. If you don't need any, +# don't specify any as each string will be scanned for in EVERY +# log record... A bunch of them will degrade performance. Also, +# the string is scanned for anywhere in the URL, so a string of +# 'home' would turn the URL /somedir/homepages/brad/home.html into +# just /somedir/ which is probably not what was intended. + +#IndexAlias home.htm +#IndexAlias homepage.htm + +# The Hide*, Group* and Ignore* and Include* keywords allow you to +# change the way Sites, URL's, Referrers, User Agents and Usernames +# are manipulated. The Ignore* keywords will cause The Webalizer to +# completely ignore records as if they didn't exist (and thus not +# counted in the main site totals). The Hide* keywords will prevent +# things from being displayed in the 'Top' tables, but will still be +# counted in the main totals. The Group* keywords allow grouping +# similar objects as if they were one. Grouped records are displayed +# in the 'Top' tables and can optionally be displayed in BOLD and/or +# shaded. Groups cannot be hidden, and are not counted in the main +# totals. The Group* options do not, by default, hide all the items +# that it matches. If you want to hide the records that match (so just +# the grouping record is displayed), follow with an identical Hide* +# keyword with the same value. (see example below) In addition, +# Group* keywords may have an optional label which will be displayed +# instead of the keywords value. The label should be seperated from +# the value by at least one 'white-space' character, such as a space +# or tab. +# +# The value can have either a leading or trailing '*' wildcard +# character. If no wildcard is found, a match can occur anywhere +# in the string. Given a string "www.yourmama.com", the values "your", +# "*mama.com" and "www.your*" will all match. + +# Your own site should be hidden +#HideSite *mrunix.net +#HideSite localhost + +# Your own site gives most referrals +#HideReferrer mrunix.net/ + +# This one hides non-referrers ("-" Direct requests) +#HideReferrer Direct Request + +# Usually you want to hide these +HideURL *.gif +HideURL *.GIF +HideURL *.jpg +HideURL *.JPG +HideURL *.png +HideURL *.PNG +HideURL *.ra + +# Hiding agents is kind of futile +#HideAgent RealPlayer + +# You can also hide based on authenticated username +#HideUser root +#HideUser admin + +# Grouping options +#GroupURL /cgi-bin/* CGI Scripts +#GroupURL /images/* Images + +#GroupSite *.aol.com +#GroupSite *.compuserve.com + +#GroupReferrer yahoo.com/ Yahoo! +#GroupReferrer excite.com/ Excite +#GroupReferrer infoseek.com/ InfoSeek +#GroupReferrer webcrawler.com/ WebCrawler + +#GroupUser root Admin users +#GroupUser admin Admin users +#GroupUser wheel Admin users + +# The following is a great way to get an overall total +# for browsers, and not display all the detail records. +# (You should use MangleAgent to refine further...) + +#GroupAgent MSIE Micro$oft Internet Exploder +#HideAgent MSIE +#GroupAgent Mozilla Netscape +#HideAgent Mozilla +#GroupAgent Lynx* Lynx +#HideAgent Lynx* + +# HideAllSites allows forcing individual sites to be hidden in the +# report. This is particularly useful when used in conjunction +# with the "GroupDomain" feature, but could be useful in other +# situations as well, such as when you only want to display grouped +# sites (with the GroupSite keywords...). The value for this +# keyword can be either 'yes' or 'no', with 'no' the default, +# allowing individual sites to be displayed. + +#HideAllSites no + +# The GroupDomains keyword allows you to group individual hostnames +# into their respective domains. The value specifies the level of +# grouping to perform, and can be thought of as 'the number of dots' +# that will be displayed. For example, if a visiting host is named +# cust1.tnt.mia.uu.net, a domain grouping of 1 will result in just +# "uu.net" being displayed, while a 2 will result in "mia.uu.net". +# The default value of zero disable this feature. Domains will only +# be grouped if they do not match any existing "GroupSite" records, +# which allows overriding this feature with your own if desired. + +#GroupDomains 0 + +# The GroupShading allows grouped rows to be shaded in the report. +# Useful if you have lots of groups and individual records that +# intermingle in the report, and you want to diferentiate the group +# records a little more. Value can be 'yes' or 'no', with 'yes' +# being the default. + +#GroupShading yes + +# GroupHighlight allows the group record to be displayed in BOLD. +# Can be either 'yes' or 'no' with the default 'yes'. + +#GroupHighlight yes + +# The Ignore* keywords allow you to completely ignore log records based +# on hostname, URL, user agent, referrer or username. I hessitated in +# adding these, since the Webalizer was designed to generate _accurate_ +# statistics about a web servers performance. By choosing to ignore +# records, the accuracy of reports become skewed, negating why I wrote +# this program in the first place. However, due to popular demand, here +# they are. Use the same as the Hide* keywords, where the value can have +# a leading or trailing wildcard '*'. Use at your own risk ;) + +#IgnoreSite bad.site.net +#IgnoreURL /test* +#IgnoreReferrer file:/* +#IgnoreAgent RealPlayer +#IgnoreUser root + +# The Include* keywords allow you to force the inclusion of log records +# based on hostname, URL, user agent, referrer or username. They take +# precidence over the Ignore* keywords. Note: Using Ignore/Include +# combinations to selectivly process parts of a web site is _extremely +# inefficent_!!! Avoid doing so if possible (ie: grep the records to a +# seperate file if you really want that kind of report). + +# Example: Only show stats on Joe User's pages... +#IgnoreURL * +#IncludeURL ~joeuser* + +# Or based on an authenticated username +#IgnoreUser * +#IncludeUser someuser + +# The MangleAgents allows you to specify how much, if any, The Webalizer +# should mangle user agent names. This allows several levels of detail +# to be produced when reporting user agent statistics. There are six +# levels that can be specified, which define different levels of detail +# supression. Level 5 shows only the browser name (MSIE or Mozilla) +# and the major version number. Level 4 adds the minor version number +# (single decimal place). Level 3 displays the minor version to two +# decimal places. Level 2 will add any sub-level designation (such +# as Mozilla/3.01Gold or MSIE 3.0b). Level 1 will attempt to also add +# the system type if it is specified. The default Level 0 displays the +# full user agent field without modification and produces the greatest +# amount of detail. User agent names that can't be mangled will be +# left unmodified. + +#MangleAgents 0 + +# The SearchEngine keywords allow specification of search engines and +# their query strings on the URL. These are used to locate and report +# what search strings are used to find your site. The first word is +# a substring to match in the referrer field that identifies the search +# engine, and the second is the URL variable used by that search engine +# to define it's search terms. + +SearchEngine yahoo.com p= +SearchEngine altavista.com q= +SearchEngine google.com q= +SearchEngine eureka.com q= +SearchEngine lycos.com query= +SearchEngine hotbot.com MT= +SearchEngine msn.com MT= +SearchEngine infoseek.com qt= +SearchEngine webcrawler searchText= +SearchEngine excite search= +SearchEngine netscape.com search= +SearchEngine mamma.com query= +SearchEngine alltheweb.com query= +SearchEngine northernlight.com qr= + +# The Dump* keywords allow the dumping of Sites, URL's, Referrers +# User Agents, Usernames and Search strings to seperate tab delimited +# text files, suitable for import into most database or spreadsheet +# programs. + +# DumpPath specifies the path to dump the files. If not specified, +# it will default to the current output directory. Do not use a +# trailing slash ('/'). + +#DumpPath /var/log/httpd + +# The DumpHeader keyword specifies if a header record should be +# written to the file. A header record is the first record of the +# file, and contains the labels for each field written. Normally, +# files that are intended to be imported into a database system +# will not need a header record, while spreadsheets usually do. +# Value can be either 'yes' or 'no', with 'no' being the default. + +#DumpHeader no + +# DumpExtension allow you to specify the dump filename extension +# to use. The default is "tab", but some programs are pickey about +# the filenames they use, so you may change it here (for example, +# some people may prefer to use "csv"). + +#DumpExtension tab + +# These control the dumping of each individual table. The value +# can be either 'yes' or 'no'.. the default is 'no'. + +#DumpSites no +#DumpURLs no +#DumpReferrers no +#DumpAgents no +#DumpUsers no +#DumpSearchStr no + +# End of configuration file... Have a nice day! diff --git a/webalizer.cron b/webalizer.cron new file mode 100644 index 0000000..063fe51 --- /dev/null +++ b/webalizer.cron @@ -0,0 +1,11 @@ +#!/bin/bash +# update access statistics for the web site + +NAME=webalizer + +[ -f /etc/sysconfig/$NAME ] || exit 0 +source /etc/sysconfig/$NAME + +[ "z$WEBALIZER_CRON" != "zyes" ] && exit 0 + +exec /usr/bin/webalizer -Q diff --git a/webalizer.spec b/webalizer.spec new file mode 100644 index 0000000..82a2613 --- /dev/null +++ b/webalizer.spec @@ -0,0 +1,478 @@ +%define ver 2.23 +%define patchlevel 08 + +%if 0%{?fedora} < 18 && 0%{?rhel} < 7 +%global db_devel db4-devel +%else +%global db_devel libdb-devel +%endif + +Name: webalizer +Summary: A flexible Web server log file analysis program +Version: 2.23_08 +Release: 29%{?dist} +URL: http://www.mrunix.net/webalizer/ +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later +Source0: ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlevel}-src.tgz +Source1: webalizer.conf +Source2: webalizer.cron +Source3: webalizer-httpd.conf +Source4: webalizer.sysconfig +Patch4: webalizer-2.21-02-underrun.patch +Patch6: webalizer-2.23-05-confuser.patch +Patch9: webalizer-2.23-05-groupvisit.patch +Patch10: webalizer-2.23-08-memmove.patch +# From Debian +Patch21: 02_fix_a_spelling_error.diff +Patch22: 04_Fix_cast_warnings_in_output.c.diff +Patch23: 14_add_search_engines.diff +Patch24: 17_fix_typo_supress_suppress_in_sample.conf.diff +Patch25: 27_fix_compilation_with_gcc-10.diff +BuildRequires: make +BuildRequires: gcc +BuildRequires: gd-devel, %{db_devel}, bzip2-devel +BuildRequires: GeoIP-devel +Requires: httpd, crontabs + +%description +The Webalizer is a Web server log analysis program. It is designed to +scan Web server log files in various formats and produce usage +statistics in HTML format for viewing through a browser. It produces +professional looking graphs which make analyzing when and where your +Web traffic is coming from easy. + +%prep +%setup -q -n %{name}-%{ver}-%{patchlevel} +%patch -P4 -p1 -b .underrun +%patch -P6 -p1 -b .confuser +%patch -P9 -p1 -b .groupvisit +%patch -P10 -p1 -b .memmove +%patch -P21 -p1 -b .spelling_error +%patch -P22 -p1 -b .cast_warnings +%patch -P23 -p1 -b .sample_add_search_engines +%patch -P24 -p1 -b .sample_typo +%patch -P25 -p1 -b .gcc10_common_support + +# Create a sysusers.d config file +cat >webalizer.sysusers.conf <<EOF +u webalizer - 'Webalizer' %{_localstatedir}/www/usage - +EOF + +%build +#CPPFLAGS="-I%{_includedir}/db4" ; export CPPFLAGS +#CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS -D_GNU_SOURCE" ; export CFLAGS +%configure --enable-dns --enable-bz2 --enable-geoip + +%make_build + +%install +mkdir -p %{buildroot}%{_localstatedir}/www/usage \ + %{buildroot}%{_sysconfdir}/cron.daily + +mkdir -p %{buildroot}%{_localstatedir}/lib/webalizer + +%make_install + +install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir} +install -p -m 644 *.png %{buildroot}%{_localstatedir}/www/usage +install -p -m 755 %{SOURCE2} \ + %{buildroot}%{_sysconfdir}/cron.daily/00webalizer +mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d +install -p -m 644 %{SOURCE3} \ + %{buildroot}%{_sysconfdir}/httpd/conf.d/webalizer.conf +mkdir -p %{buildroot}%{_sysconfdir}/sysconfig +install -p -m 644 %{SOURCE4} \ + %{buildroot}%{_sysconfdir}/sysconfig/webalizer + +rm -f %{buildroot}%{_sysconfdir}/webalizer.conf.sample + +install -m0644 -D webalizer.sysusers.conf %{buildroot}%{_sysusersdir}/webalizer.conf + + +%files +%doc README +%{_mandir}/man1/*.1* +%{_bindir}/* +%config(noreplace) %{_sysconfdir}/webalizer.conf +%{_sysconfdir}/cron.daily/00webalizer +%config(noreplace) %{_sysconfdir}/httpd/conf.d/webalizer.conf +%config(noreplace) %{_sysconfdir}/sysconfig/webalizer +%attr(-, webalizer, root) %dir %{_localstatedir}/www/usage +%attr(-, webalizer, root) %dir %{_localstatedir}/lib/webalizer +%attr(-, webalizer, root) %{_localstatedir}/www/usage/*.png +%{_sysusersdir}/webalizer.conf + +%changelog +* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.23_08-28 +- Add sysusers.d config file to allow rpm to create users/groups automatically + +* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 2.23_08-26 +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sat Jan 15 2022 Sérgio Basto <sergio@serjux.com> - 2.23_08-19 +- Add some patches from Debian, fix gcc10 common support + +* Sat Jan 15 2022 Sérgio Basto <sergio@serjux.com> - 2.23_08-18 +- Fix warning message (#2040985) + +* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jan 11 2017 Sérgio Basto <sergio@serjux.com> - 2.23_08-6 +- Add patch to fix some undefined behaviour by switching to memmove() (#1409349) + +* Tue Dec 20 2016 Robert Scheck <robert@fedoraproject.org> - 2.23_08-5 +- Build on EPEL >= 7 against libdb-devel to enable DNS/GeoDB code + +* Thu Dec 01 2016 Sérgio Basto <sergio@serjux.com> - 2.23_08-4 +- Package review (#226536) +- Fix bogus date in changelog +- Enable-geoip +- Clean-up spec + +* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.23_08-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.23_08-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Aug 21 2014 Jan Kaluza <jkaluza@redhat.com> - 2.23_08-1 +- update to new version 2.23-08 (#1119536) + +* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.23_05-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.23_05-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.23_05-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 2.23_05-8 +- rebuild for new GD 2.1.0 + +* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.23_05-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jan 4 2013 Joe Orton <jorton@redhat.com> - 2.23_05-6 +- fix config for 2.4 (#871494) + +* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.23_05-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Apr 25 2012 Joe Orton <jorton@redhat.com> - 2.23_05-4 +- build (conditionally) against libdb-devel + +* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.23_05-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 2.23_05-2 +- Rebuild for new libpng + +* Thu Jul 14 2011 Joe Orton <jorton@redhat.com> - 2.23_05-1 +- update to 2.23_05 + +* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.21_02-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Oct 17 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.21_02-4 +- Don't run cronjob unless configured in /etc/sysconfig/webalizer (merge review #298203) + +* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.21_02-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Apr 14 2009 Joe Orton <jorton@redhat.com> 2.21_02-2 +- update to 2.21-02 (thanks to Robert Scheck) + +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20_01-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Sep 5 2008 Joe Orton <jorton@redhat.com> 2.20_01-1 +- update to 2.20_01 + +* Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 2.01_10-37 +- rebuild for new BDB + +* Thu Feb 7 2008 Joe Orton <jorton@redhat.com> 2.01_10-36 +- fix build with new glibc, use _GNU_SOURCE + +* Thu Feb 7 2008 Joe Orton <jorton@redhat.com> 2.01_10-35 +- use %%{_localestatedir}, remove tabs, require httpd not + webserver, mark webalizer.conf config(noreplace) (#226536) + +* Thu Aug 30 2007 Joe Orton <jorton@redhat.com> 2.01_10-34 +- clarify License tag + +* Wed Aug 22 2007 Joe Orton <jorton@redhat.com> 2.01_10-33 +- rebuild + +* Mon Mar 19 2007 Joe Orton <jorton@redhat.com> 2.01_10-32 +- spec file cleanups (#226536): + * convert to UTF-8 + * fix BuildRoot, Summary + * add Requires(pre) for shadow-utils, remove Prereqs + * trim BuildRequires to png-devel, db4-devel + * use smp_mflags in make + * use sysconfdir macro throughout + * preserve file timestamps on installation + +* Mon Jan 29 2007 Joe Orton <jorton@redhat.com> 2.01_10-31 +- rebuild to pick up new db4 soname + +* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.01_10-30.1 +- rebuild + +* Fri Jun 16 2006 Joe Orton <jorton@redhat.com> 2.01_10-30 +- add patch set from Jarkko Ala-Louvesniemi (#187344, #187726, #188248) + +* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.01_10-29.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.01_10-29.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> +- rebuilt + +* Wed Sep 21 2005 Joe Orton <jorton@redhat.com> 2.01_10-29 +- run with -Q from cron (#120913) +- remove ancient trigger and post scriptlets +- only read webalizer.conf from $PWD if owner matches user (#158174) + +* Fri Mar 4 2005 Joe Orton <jorton@redhat.com> 2.01_10-28 +- rebuild + +* Mon Jan 24 2005 Joe Orton <jorton@redhat.com> 2.01_10-27 +- don't package /etc/webalizer.conf.sample (#145980) + +* Fri Nov 19 2004 Joe Orton <jorton@redhat.com> 2.01_10-26 +- rebuild + +* Wed Aug 18 2004 Joe Orton <jorton@redhat.com> 2.01_10-25 +- rebuild + +* Fri Jun 18 2004 Alan Cox <alan@redhat.com> +- Added IPv6 patch from PLD c/o Robert Scheck +- Added tests to trap bogus logfiles with negative times/dates +- Fixed leap seconds + +* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Sat Mar 27 2004 Joe Orton <jorton@redhat.com> 2.0_10-22 +- allow access to /usage from ::1 and 127.0.0.1 by default +- require crontabs + +* Sun Mar 21 2004 Florian La Roche <Florian.LaRoche@redhat.de> +- keep apps owned by root:root + +* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Mon Jan 12 2004 Florian La Roche <Florian.LaRoche@redhat.de> 2.0_10-19 +- add an "exit 0" to post script + +* Thu Jan 8 2004 Joe Orton <jorton@redhat.com> 2.01_10-18 +- update default config + +* Thu Jan 8 2004 Joe Orton <jorton@redhat.com> 2.01_10-17 +- add fix for #111433 + +* Fri Nov 28 2003 Joe Orton <jorton@redhat.com> 2.01_10-16 +- merge from Taroon + +* Tue Oct 21 2003 Florian La Roche <Florian.LaRoche@redhat.de> +- add %%clean specfile target + +* Fri Aug 1 2003 Joe Orton <jorton@redhat.com> 2.01_10-15.ent +- support large (>2gb) log files on 32-bit platforms +- move default output directory to /var/www/usage +- add conf.d/webalizer.conf to add alias for /usage +- only allow access to usage stats from localhost by default +- change default config: don't ignore out-of-sequence log entries, + count .php and .shtml as "page" extensions. + +* Thu Jul 3 2003 Joe Orton <jorton@redhat.com> +- rebuilt + +* Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Thu Jun 05 2003 Florian La Roche <Florian.LaRoche@redhat.de> +- fix owner in /var/www/html/usage for "rpm -Va" + +* Tue May 06 2003 Phil Knirsch <pknirsch@redhat.com> 2.01_10-12 +- Bumped release and rebuilt due to new gd version. + +* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 2.01_10-11 +- rebuilt + +* Thu Nov 7 2002 Than Ngo <than@redhat.com> 2.01_10-10 +- requires webserver (bug #74006) +- unpackaged file issue + +* Tue Jul 02 2002 Than Ngo <than@redhat.com> 2.01_10-9 +- fix a bug in post + +* Mon Jul 01 2002 Than Ngo <than@redhat.com> 2.01_10-8 +- fix a bug in pre (bug #67634) + +* Thu Jun 27 2002 Than Ngo <than@redhat.com> 2.01_10-7 +- add shadow-utils in prereq + +* Fri Jun 21 2002 Tim Powers <timp@redhat.com> +- automated rebuild + +* Fri Jun 21 2002 Than Ngo <than@redhat.com> 2.01_10-5 +- fixed bug #62062, #64392, #63685 + +* Thu May 30 2002 Nalin Dahyabhai <nalin@redhat.com> 2.01_10-4 +- fixup some linkage problems (was getting db2, which shouldn't happen) + +* Sun May 26 2002 Tim Powers <timp@redhat.com> +- automated rebuild + +* Thu May 23 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.01_10-2 +- Use db4 + +* Wed Apr 17 2002 Than Ngo <than@redhat.com> 2.01_10-1 +- 2.01_10 fixes a posible buffer overflow bug in DNS resolver code + +* Thu Mar 21 2002 Preston Brown <pbrown@redhat.com> +- put transient files in /var/lib/webalizer +- removed sysconfig runtime option. Remove the package or cron script if + you do not want it to run (#59752) +- make default quiet operation + +* Mon Feb 25 2002 Than Ngo <than@redhat.com> 2.01_09-5 +- allows multiple partial log files to be used instead of one huge one.(bug #60295) + +* Thu Feb 21 2002 Than Ngo <than@redhat.com> 2.01_09-4 +- add function to enable/disable webalizer (bug #59752) + +* Wed Jan 09 2002 Tim Powers <timp@redhat.com> +- automated rebuild + +* Wed Nov 14 2001 Than Ngo <than@redhat.com> 2.01_09-2 +- make cron jobs quiet (bug #56249) + +* Wed Oct 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.01_09-1 +- Update to 2.01-09, fixing security bugs + +* Thu Sep 20 2001 Than Ngo <than@redhat.com> 2.01_06-13 +- update config file (bug #53881) + +* Sun Sep 16 2001 Than Ngo <than@redhat.com> 2.01_06-12 +- add patch from author to fix Webalizer dumps core when MangleAgents is set to 1 + +* Mon Jul 16 2001 Trond Eivind Glomsrød <teg@redhat.com> +- Remove empty post +- Mark the crontab file as config(noreplace) + +* Fri Jul 13 2001 Than Ngo <than@redhat.com> 2.01_06-10 +- fix build dependencies (bug #48939) +- Copyright->License + +* Fri Jun 15 2001 Than Ngo <than@redhat.com> +- add missing icons (bug #43220) + +* Mon May 21 2001 Tim Powers <timp@redhat.com> +- rebuilt for the distro + +* Fri May 18 2001 Than Ngo <than@redhat.com> +- don't run webalizer when access log file is empty (Bug #41322) + +* Wed Feb 14 2001 Tim Powers <timp@redhat.com> +- enable dns-lookups (patched to use correct db header) (bug #27612) + +* Thu Feb 1 2001 Tim Powers <timp@redhat.com> +- make the cronjob called 00webalizer, so that it runs before everything else + +* Wed Jan 31 2001 Tim Powers <timp@redhat.com> +- fixed bug 25351, where webalizer was being run after apache is + logrotated. + +* Tue Oct 17 2000 Than Ngo <than@redhat.com> +- update to 2.01-06 + +* Tue Oct 17 2000 Than Ngo <than@redhat.com> +- fixed wrong OutputDir (bug #19180) + +* Thu Aug 3 2000 Tim Powers <timp@redhat.com> +- rebuilt against libpng-1.0.8 + +* Mon Jul 24 2000 Prospector <prospector@redhat.com> +- rebuilt + +* Wed Jul 12 2000 Than Ngo <than@redhat.de> +- rebuilt + +* Mon Jun 19 2000 Karsten Hopp <karsten@redhat.de> +- rebuild for 7.0 +- changed mandir +- changed graph output to png instead of gif +- changed path to apache root (/var/www) + +* Mon Nov 08 1999 Bernhard Rosenkränzer <bero@redhat.com> +- handle RPM_OPT_FLAGS + +* Tue Sep 28 1999 Preston Brown <pbrown@redhat.com> +- updated for Secure Web Server 3.1 + +* Mon May 03 1999 Preston Brown <pbrown@redhat.com> +- initial build for Secure Web Server 3.0 diff --git a/webalizer.sysconfig b/webalizer.sysconfig new file mode 100644 index 0000000..f436132 --- /dev/null +++ b/webalizer.sysconfig @@ -0,0 +1,5 @@ +# uncomment if you want webalizer to be run each day by +# /etc/cron.daily/00webalizer + +#WEBALIZER_CRON=yes +