diff options
author | 2008-02-23 16:52:35 +0000 | |
---|---|---|
committer | 2008-02-23 16:52:35 +0000 | |
commit | 2bb4fe7a0f9ed4bf9f95913db5e6168faab65fe8 (patch) | |
tree | 02c486a863fb0f7a58eccaaba83ae71e8fc1b273 /app-admin/webalizer | |
parent | Made sip respect our LDFLAGS (bug #209738). Dropped old & unused versions. (diff) | |
download | historical-2bb4fe7a0f9ed4bf9f95913db5e6168faab65fe8.tar.gz historical-2bb4fe7a0f9ed4bf9f95913db5e6168faab65fe8.tar.bz2 historical-2bb4fe7a0f9ed4bf9f95913db5e6168faab65fe8.zip |
ebuild cleanup wrt #208584; fixes #156785, #200855 and maybe #184732; bumps geolizer and xtended to current versions
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-admin/webalizer')
-rw-r--r-- | app-admin/webalizer/ChangeLog | 14 | ||||
-rw-r--r-- | app-admin/webalizer/Manifest | 29 | ||||
-rw-r--r-- | app-admin/webalizer/files/apache.webalizer | 14 | ||||
-rw-r--r-- | app-admin/webalizer/files/webalizer-readability.patch | 164 | ||||
-rw-r--r-- | app-admin/webalizer/files/webalizer-storage-size.patch | 15 | ||||
-rw-r--r-- | app-admin/webalizer/metadata.xml | 8 | ||||
-rw-r--r-- | app-admin/webalizer/webalizer-2.01.10-r12.ebuild | 147 | ||||
-rw-r--r-- | app-admin/webalizer/webalizer-2.01.10-r13.ebuild | 150 | ||||
-rw-r--r-- | app-admin/webalizer/webalizer-2.01.10-r15.ebuild | 4 | ||||
-rw-r--r-- | app-admin/webalizer/webalizer-2.01.10-r16.ebuild (renamed from app-admin/webalizer/webalizer-2.01.10-r14.ebuild) | 93 |
10 files changed, 100 insertions, 538 deletions
diff --git a/app-admin/webalizer/ChangeLog b/app-admin/webalizer/ChangeLog index 2fd1853dccc1..9b6709f99d1f 100644 --- a/app-admin/webalizer/ChangeLog +++ b/app-admin/webalizer/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-admin/webalizer -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/ChangeLog,v 1.68 2007/07/10 20:53:03 gustavoz Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/ChangeLog,v 1.69 2008/02/23 16:52:34 hollow Exp $ + +*webalizer-2.01.10-r16 (23 Feb 2008) + + 23 Feb 2008; Benedikt Böhm <hollow@gentoo.org> files/apache.webalizer, + -files/webalizer-readability.patch, +files/webalizer-storage-size.patch, + metadata.xml, -webalizer-2.01.10-r12.ebuild, + -webalizer-2.01.10-r13.ebuild, -webalizer-2.01.10-r14.ebuild, + +webalizer-2.01.10-r16.ebuild: + ebuild cleanup wrt #208584; fixes #156785, #200855 and maybe #184732; bumps + geolizer and xtended to current versions 10 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> webalizer-2.01.10-r15.ebuild: diff --git a/app-admin/webalizer/Manifest b/app-admin/webalizer/Manifest index 4d2cefdd5029..d2fb6da0c4ee 100644 --- a/app-admin/webalizer/Manifest +++ b/app-admin/webalizer/Manifest @@ -1,17 +1,24 @@ -AUX apache.webalizer 298 RMD160 46e6b80f0ab978b07af624cc099db56cf72806bc SHA1 5242a3d716b8f4eb48cbbc72d55186ba10759c99 SHA256 c94d63121e8a1860f4fa8a8499c3678351eaee721bbe24ea50cf2552b176f568 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX apache.webalizer 203 RMD160 2bfd53bfe8f9ec00672ca15f191f30481a2002b0 SHA1 ac0221e785746351871c487f0a5e005dcba243bd SHA256 9cc52c0cd26f7163388d9867f1d518abe9f0954389d64722222bece5d5adb56b AUX webalizer-db4.2.patch 552 RMD160 bf9703f3713b53a97fd04ee372d55d17c17e70c0 SHA1 5255795f599f792c0373e4cc933d42189a6e57bd SHA256 51c12d7469d455842a2f9b223e8c27e1ea99a97e0a0ddb490844a80df44cf309 AUX webalizer-language-list.txt 1520 RMD160 27d981a14e0bab35b036f386c3d2e716d3b29455 SHA1 0563e9b42eb63ca24d6dacf48126f0a9ec1a5a16 SHA256 9b946e766fdecccbbd480f520bd610afad78316aba4e7e0cea237da43039efd4 -AUX webalizer-readability.patch 8345 RMD160 45a75b03752370f9ddb818768ff0730ad829fe64 SHA1 b9515b7ed9585c8bd63d8cd3de02d3045044a975 SHA256 7b89611bccaf9f9b8abf824e270e6ffa4d5447080f1685cfce0ab3a23f2f3314 +AUX webalizer-storage-size.patch 1000 RMD160 477a52c4e294a1fb5d3129efe510ab4a66e32ff0 SHA1 400b4c9302e0a5caeb92733317d1f1b19c4c870f SHA256 efbc8c9297460fff702208303cfcd4b58d272ce8b26a1179f252b318ec30df7c DIST geolizer_2.01-10-patch.20050520.tar.bz2 35836 RMD160 b4abd8498b64c0298e6875ee802cdbeec9086806 SHA1 61adea1082dee6ab683c0ffde48ea73897e540fc SHA256 0914ec2a2401e8f8ae2735984d18714f5331d864c03347ca56ac3c22fb860378 -DIST webalizer-2.01-10-RB07-patch.tar.gz 7778 RMD160 d7a0e672f5817a6a719b13a3dd46999cd6f3b7df SHA1 51dadd3f8f269e95828c393ca8e3c48f3f8113b7 SHA256 b7318aa386a26964aade84b56346d3ffddec8192a03933556c75cbf3a5b1cdc0 -DIST webalizer-2.01-10-RB16-patch.tar.gz 51133 RMD160 0d7be87cf50f83df7d9b4ecfec9192a0c57ebc6a SHA1 1dabbf87672e02db1eaf2b631e22b9ac9646492a SHA256 47a300dd7433e3021c96cc99768860307366f93c3d3219c9f8d639bec9c202bf +DIST geolizer_2.01-10-patch.20070115.tar.gz 76862 RMD160 69cfce9dad0a1d339870d14fba526da36bb11fcf SHA1 96938412c9a276278fc5d77f7157aa02b85f2b56 SHA256 a619f863c9a65a06580080702e770251b8b4dc635e2ebf0fdb56a40b0f7eb1b3 DIST webalizer-2.01-10-RB17-patch.tar.gz 65343 RMD160 d48226e08fc9cf048fb13b8fb1571aa3d1c5cfa8 SHA1 e0a8d379da1ebbe0d22121131bf822d74131092d SHA256 4cca8e09c51963caf0b498bc83d0a741ab097aed0b8c093bb69c31d6fa4f4d73 +DIST webalizer-2.01-10-RB21-patch.tar.gz 585340 RMD160 bfd020cf078342ebc5b660793a6eb5486ff46edb SHA1 6d70e043368e3d459f6f053580f8b9da6a0a82aa SHA256 6ac3bfcba695e0c124ea3bc23581e0d7a14d2cda05caf47beb6b09bdfcf3541d DIST webalizer-2.01-10-src.tar.bz2 252664 RMD160 4605ff9bd8ec1c74680b8fbfe703f2e81ae68e20 SHA1 fbf6ad78fc2b0189d065e661dc02a781e858b31a SHA256 f339e4b8879aeade0f889b7bc7eb85854a7746a16b267c4aa985cd5b8a112262 -DIST webalizer-search.patch.gz 6424 RMD160 1db8210754f7b7f4fe49d99d51f01b5e7fbb3d13 SHA1 fe555842f1b199bc16c3941187b04fdd3c2ebda6 SHA256 0d9bd3adb4c3e571a9231f0f1a6d689851ff53ffdad9c0e6e3e4e495ff709360 DIST webalizer.conf.gz 8986 RMD160 61751fa52c4e4bc29a8c3ba5956daf0a45138ec5 SHA1 557406236b10630fb213b12ef30c810a76eac6e5 SHA256 b7da31865a8c13a66756247d68242d6478900f2c2b9b5698ed35c0c613fb9a71 -EBUILD webalizer-2.01.10-r12.ebuild 4320 RMD160 b3e9e4394747169644681d8661aff4ca99cd5453 SHA1 18c8ab3106c5913c607aa2bc55355b875f5fc03b SHA256 74914d46afca69e2102468c54a0ce5ecc8fa329dd374871628a39067740751c7 -EBUILD webalizer-2.01.10-r13.ebuild 4474 RMD160 2b7e65483c8954bb0a31241122aeb63977aef995 SHA1 2a33bb3fb024709c0c3d73f27988487350d4ac80 SHA256 49deba0decd23b4a8c79a94043c9ffbf920a87ad10fb6f744c288d4e8d1e9553 -EBUILD webalizer-2.01.10-r14.ebuild 4258 RMD160 cd0a3893163affef629896750bb44fc968cc8085 SHA1 35a61f9e289f46648cd2333cfca359ef6c589e23 SHA256 bf270ed4f804a226186d8a2c0b6d3192fae156083cb572ff214852c54148209c -EBUILD webalizer-2.01.10-r15.ebuild 4255 RMD160 e55367ebbbf720427acfbdb4285abc994a95a68d SHA1 3cb3d014f9a79fda6ebbc96e3c2bd3f6b1416252 SHA256 4070329a0d8a9f5f1e22426defb2e392cdadde479193159a98cb02438f7e64c2 -MISC ChangeLog 9737 RMD160 5ba23e942cd64fcd9e171e6dc0b78b6eb565bee9 SHA1 41d15d26ec4209790cdfb8a4a2baab1d9d503729 SHA256 d6558308e6ad12236becb056334883c4571ea5ed14e6e89c0e9757394751d58a -MISC metadata.xml 223 RMD160 5b4cf8ac1f9426b4b01d94c759aad5768f35fe74 SHA1 1b044a209c743679605d2ac885b26ce7fb55773b SHA256 9406913dbd824f7e31267676defffda846fda6a02ac643a45740cb88219b7a79 +EBUILD webalizer-2.01.10-r15.ebuild 4253 RMD160 feb6877a99550f04526a3f55bb35bc07908c14b6 SHA1 f0ca8b8e0da8864d46b1eee5c01bbbb20f595576 SHA256 db07754715b5293ba21c1e5ffed9cea022be691cf027a198a7556f4d8cda4983 +EBUILD webalizer-2.01.10-r16.ebuild 3876 RMD160 a810fccf0ce86f225fec446e34288266cc69e5c5 SHA1 fee1e34e068f106b55d624f280d36428130550ab SHA256 e7c58be5564b4e98110a1b6eab3cdc0916acafdd584a3e6b32bc0ac76a519682 +MISC ChangeLog 10188 RMD160 0a9b1c37b6acc35fc9434ff3b0d3f7bb1689ba3c SHA1 720811939be838fd7ad042bdcc6cad819c0e4ec6 SHA256 585d9bae37986060d03c7feb90401382c3c61a61c2efa02d8ef0e24b4de004f9 +MISC metadata.xml 226 RMD160 cd445d51addb8c8269943213c66bf80e3bf08cb4 SHA1 ffe5243815a78c38083113e4c019893cd5317b30 SHA256 2b99993761e76eb68f9b569d79b0ece9b033a55727ba35c325c8ec1e3184de83 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.8 (GNU/Linux) + +iEYEARECAAYFAkfAT1wACgkQmPFBzbX68WG1mQCeJyZqrmMgRJ7tuD8j3rwnbaC8 +SbYAoIw9bv+1riEfHr7u91ytcqsFyC4s +=vPkO +-----END PGP SIGNATURE----- diff --git a/app-admin/webalizer/files/apache.webalizer b/app-admin/webalizer/files/apache.webalizer index 13e8ce1ff938..0dbab4111a92 100644 --- a/app-admin/webalizer/files/apache.webalizer +++ b/app-admin/webalizer/files/apache.webalizer @@ -1,11 +1,9 @@ -# # This is the config snippet for Webalizer -# -# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/files/apache.webalizer,v 1.5 2006/04/24 15:46:58 rl03 Exp $ - <Directory "/var/www/localhost/htdocs/webalizer"> - Options None - AllowOverride None - Order allow,deny - Allow from all + Options None + AllowOverride None + Order allow,deny + Allow from all </Directory> + +# vim: ts=4 filetype=apache diff --git a/app-admin/webalizer/files/webalizer-readability.patch b/app-admin/webalizer/files/webalizer-readability.patch deleted file mode 100644 index e3ebe3f55d2d..000000000000 --- a/app-admin/webalizer/files/webalizer-readability.patch +++ /dev/null @@ -1,164 +0,0 @@ -This patch makes webalizer print byte counts in human readable format. - Tomas Janousek <tomi@nomi.cz>, Ondrej Novy <onovy@nomi.cz> - ---- output.c.old 2001-06-15 10:34:24.000000000 +0200 -+++ output.c 2004-09-05 21:45:40.000000000 +0200 -@@ -140,6 +140,30 @@ - - FILE *out_fp; - -+ -+/*********************************************/ -+/* FORMAT_NUM - output format of number */ -+/*********************************************/ -+char * format_num(double in) -+{ -+ static char *units[] = { "B", "KB", "MB", "GB", "TB" }; -+ char **unit, *tmp; -+ static char out[50]; -+ -+ /* convert it to X Y, where X is less than 1024 and Y is the unit */ -+ for (unit = units; in > 1024 && unit < units+sizeof(units)/sizeof(*units)-1; -+ in /= 1024, ++unit); -+ snprintf(out, 40, "%.2f", in); -+ -+ /* skip trailing zeros */ -+ for (tmp = out + strlen(out) - 1; tmp > out && *tmp == '0'; *tmp-- = 0); -+ if (*tmp == '.') *tmp = 0; -+ -+ strcat(out, " "); -+ strcat(out, *unit); -+ return out; -+} -+ - /*********************************************/ - /* WRITE_HTML_HEAD - output top of HTML page */ - /*********************************************/ -@@ -544,8 +568,8 @@ - "</FONT></TD></TR>\n",msg_h_total, msg_h_visits, t_visit); - /* Total XFer */ - fprintf(out_fp,"<TR><TD WIDTH=380><FONT SIZE=\"-1\">%s</FONT></TD>\n" \ -- "<TD ALIGN=right COLSPAN=2><FONT SIZE=\"-1\"><B>%.0f</B>" \ -- "</FONT></TD></TR>\n",msg_mtot_tx,t_xfer/1024); -+ "<TD ALIGN=right COLSPAN=2><FONT SIZE=\"-1\"><B>%s</B>" \ -+ "</FONT></TD></TR>\n",msg_mtot_tx,format_num(t_xfer)); - fprintf(out_fp,"<TR><TH HEIGHT=4></TH></TR>\n"); - /**********************************************/ - /* Unique Sites */ -@@ -620,10 +644,11 @@ - /* Max/Avg KBytes per Day */ - fprintf(out_fp,"<TR>" \ - "<TD><FONT SIZE=\"-1\">%s</FONT></TD>\n" \ -- "<TD ALIGN=right WIDTH=65><FONT SIZE=\"-1\"><B>%.0f</B></FONT></TD>\n" \ -- "<TD WIDTH=65 ALIGN=right><FONT SIZE=-1><B>%.0f</B>" \ -- "</FONT></TD></TR>\n",msg_mtot_mkd, -- (t_xfer/1024)/days_in_month,max_xfer/1024); -+ "<TD ALIGN=right WIDTH=65><FONT SIZE=\"-1\"><B>%s</B></FONT></TD>\n", -+ msg_mtot_mkd,format_num(t_xfer/days_in_month)); -+ fprintf(out_fp,"<TD WIDTH=65 ALIGN=right><FONT SIZE=-1><B>%s</B>" \ -+ "</FONT></TD></TR>\n",format_num(max_xfer)); -+ - fprintf(out_fp,"<TR><TH HEIGHT=4></TH></TR>\n"); - /**********************************************/ - /* response code totals */ -@@ -713,9 +738,9 @@ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD>\n", - tm_site[i],PCENT(tm_site[i],t_site)); - fprintf(out_fp,"<TD ALIGN=right>" \ -- "<FONT SIZE=\"-1\"><B>%.0f</B></FONT></TD>\n" \ -+ "<FONT SIZE=\"-1\"><B>%s</B></FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD></TR>\n", -- tm_xfer[i]/1024,PCENT(tm_xfer[i],t_xfer)); -+ format_num(tm_xfer[i]),PCENT(tm_xfer[i],t_xfer)); - } - fprintf(out_fp,"<TR><TH HEIGHT=4></TH></TR>\n"); - fprintf(out_fp,"</TABLE>\n"); -@@ -801,11 +826,13 @@ - th_page[i]/days_in_month,th_page[i], - PCENT(th_page[i],t_page)); - fprintf(out_fp, -- "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%.0f</B></FONT></TD>\n" \ -- "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%.0f</B></FONT></TD>\n" \ -+ "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%s</B></FONT></TD>\n", -+ format_num(th_xfer[i]/days_in_month)); -+ fprintf(out_fp, -+ "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%s</B></FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD></TR>\n", -- (th_xfer[i]/days_in_month)/1024,th_xfer[i]/1024, -- PCENT(th_xfer[i],t_xfer)); -+ format_num(th_xfer[i]), -+ PCENT(th_xfer[i],t_xfer)); - avg_file += th_file[i]/days_in_month; - avg_xfer+= (th_xfer[i]/days_in_month)/1024; - } -@@ -884,14 +911,15 @@ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%lu</B></FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD>\n" \ -- "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%.0f</B></FONT></TD>\n" \ -+ "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%s</B></FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%lu</B></FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD>\n" \ - "<TD ALIGN=left NOWRAP><FONT SIZE=\"-1\">", - i+1,hptr->count, - (t_hit==0)?0:((float)hptr->count/t_hit)*100.0,hptr->files, -- (t_file==0)?0:((float)hptr->files/t_file)*100.0,hptr->xfer/1024, -+ (t_file==0)?0:((float)hptr->files/t_file)*100.0, -+ format_num(hptr->xfer), - (t_xfer==0)?0:((float)hptr->xfer/t_xfer)*100.0,hptr->visit, - (t_visit==0)?0:((float)hptr->visit/t_visit)*100.0); - -@@ -1066,12 +1094,12 @@ - "<TD ALIGN=center><FONT SIZE=\"-1\"><B>%d</B></FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%lu</B></FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD>\n" \ -- "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%.0f</B></FONT></TD>\n"\ -+ "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%s</B></FONT></TD>\n"\ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD>\n" \ - "<TD ALIGN=left NOWRAP><FONT SIZE=\"-1\">", - i+1,uptr->count, - (t_hit==0)?0:((float)uptr->count/t_hit)*100.0, -- uptr->xfer/1024, -+ format_num(uptr->xfer), - (t_xfer==0)?0:((float)uptr->xfer/t_xfer)*100.0); - - if (uptr->flag==OBJ_GRP) -@@ -2036,14 +2064,14 @@ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%lu</B></FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD>\n" \ -- "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%.0f</B></FONT></TD>\n" \ -+ "<TD ALIGN=right><FONT SIZE=\"-1\"><B>%s</B></FONT></TD>\n" \ - "<TD ALIGN=right><FONT SIZE=\"-2\">%3.02f%%</FONT></TD>\n" \ - "<TD ALIGN=left NOWRAP><FONT SIZE=\"-1\">%s</FONT></TD></TR>\n", - i+1,top_ctrys[i]->count, - (t_hit==0)?0:((float)top_ctrys[i]->count/t_hit)*100.0, - top_ctrys[i]->files, - (t_file==0)?0:((float)top_ctrys[i]->files/t_file)*100.0, -- top_ctrys[i]->xfer/1024, -+ format_num(top_ctrys[i]->xfer), - (t_xfer==0)?0:((float)top_ctrys[i]->xfer/t_xfer)*100.0, - top_ctrys[i]->desc); - } -@@ -2402,8 +2430,9 @@ - hist_visit[s_mth]/days_in_month); - fprintf(out_fp,"<TD ALIGN=right><FONT SIZE=\"-1\">%lu</FONT></TD>\n", - hist_site[s_mth]); -- fprintf(out_fp,"<TD ALIGN=right><FONT SIZE=\"-1\">%.0f</FONT></TD>\n", -- hist_xfer[s_mth]); -+ fprintf(out_fp,"<TD ALIGN=right><FONT SIZE=\"-1\">%s</FONT></TD>\n", -+/* hist_xfer[s_mth]);*/ -+ format_num(hist_xfer[s_mth]*1024)); - fprintf(out_fp,"<TD ALIGN=right><FONT SIZE=\"-1\">%lu</FONT></TD>\n", - hist_visit[s_mth]); - fprintf(out_fp,"<TD ALIGN=right><FONT SIZE=\"-1\">%lu</FONT></TD>\n", -@@ -2422,7 +2451,7 @@ - fprintf(out_fp,"<TR><TH BGCOLOR=\"%s\" COLSPAN=6 ALIGN=left>" \ - "<FONT SIZE=\"-1\">%s</FONT></TH>\n",GREY,msg_h_totals); - fprintf(out_fp,"<TH BGCOLOR=\"%s\" ALIGN=right>" \ -- "<FONT SIZE=\"-1\">%.0f</FONT></TH>\n",GREY,gt_xfer); -+ "<FONT SIZE=\"-1\">%s</FONT></TH>\n",GREY,format_num(gt_xfer*1024)); - fprintf(out_fp,"<TH BGCOLOR=\"%s\" ALIGN=right>" \ - "<FONT SIZE=\"-1\">%.0f</FONT></TH>\n",GREY,gt_visits); - fprintf(out_fp,"<TH BGCOLOR=\"%s\" ALIGN=right>" \ diff --git a/app-admin/webalizer/files/webalizer-storage-size.patch b/app-admin/webalizer/files/webalizer-storage-size.patch new file mode 100644 index 000000000000..1d6030a689bd --- /dev/null +++ b/app-admin/webalizer/files/webalizer-storage-size.patch @@ -0,0 +1,15 @@ +--- webalizer.h 2008-02-23 16:34:29.090800118 +0000 ++++ webalizer.h.orig 2008-02-23 16:31:42.626195338 +0000 +@@ -17,10 +17,10 @@ + #define MAXURLH 128 /* Max URL field size in htab */ + #define MAXREF 1024 /* Max referrer field size */ + #define MAXREFH 128 /* Max referrer field size in htab */ +-#define MAXAGENT 128 /* Max user agent field size */ ++#define MAXAGENT 64 /* Max user agent field size */ + #define MAXCTRY 48 /* Max country name size */ + #define MAXSRCH 256 /* Max size of search string buffer */ +-#define MAXSRCHH 128 /* Max size of search str in htab */ ++#define MAXSRCHH 64 /* Max size of search str in htab */ + #define MAXIDENT 64 /* Max size of ident string (user) */ + + #define SLOP_VAL 3600 /* out of sequence slop (seconds) */ diff --git a/app-admin/webalizer/metadata.xml b/app-admin/webalizer/metadata.xml index 34d823eb35ab..12e965865bc5 100644 --- a/app-admin/webalizer/metadata.xml +++ b/app-admin/webalizer/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>web-apps</herd> -<maintainer> - <email>smithj@gentoo.org</email> -</maintainer> + <herd>web-apps</herd> + <maintainer> + <email>smithj@gentoo.org</email> + </maintainer> </pkgmetadata> diff --git a/app-admin/webalizer/webalizer-2.01.10-r12.ebuild b/app-admin/webalizer/webalizer-2.01.10-r12.ebuild deleted file mode 100644 index 5c1b3f75b6c4..000000000000 --- a/app-admin/webalizer/webalizer-2.01.10-r12.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-2.01.10-r12.ebuild,v 1.15 2006/07/09 20:26:47 rl03 Exp $ - -# uses webapp.eclass to create directories with right permissions -# probably slight overkill but works well -inherit eutils webapp - -SLOT="0" -WEBAPP_MANUAL_SLOT="yes" - -MY_PV=${PV/.10/-10} -MY_P=${PN}-${MY_PV} -S=${WORKDIR}/${MY_P} -DESCRIPTION="Webserver log file analyzer" -HOMEPAGE="http://www.mrunix.net/webalizer/" -SRC_URI="ftp://ftp.mrunix.net/pub/webalizer/${MY_P}-src.tar.bz2 - geoip? ( http://sysd.org/proj/geolizer_${MY_PV}-patch.20050520.tar.bz2 ) - xtended? ( http://www.irc.unizh.ch/users/pfrei/webalizer/rb07/${PN}-${MY_PV}-RB07-patch.tar.gz ) - mirror://gentoo/${PN}-search.patch.gz - mirror://gentoo/${PN}.conf.gz -" - -LICENSE="GPL-2" -KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86" -IUSE="apache2 geoip nls search xtended" - -DEPEND="!geoip? ( =sys-libs/db-4.2* ) - >=sys-libs/zlib-1.1.4 - >=media-libs/libpng-1.2 - >=media-libs/gd-1.8.3 - geoip? ( dev-libs/geoip )" - -pkg_setup() { - webapp_pkg_setup - - if use search && ! use geoip; then - elog "Please enable the geoip USE flag if you wish to use search" - fi - - # prevents "undefined reference" errors... see bug #65163 - if ! built_with_use media-libs/gd png; then - ewarn "media-libs/gd must be built with png for this package" - ewarn "to function." - die "recompile gd with USE=\"png\"" - fi - - # USE=nls has no real meaning if LINGUAS isn't set - if use nls && [ -z "${LINGUAS}" ]; then - ewarn "you must set LINGUAS in /etc/make.conf" - ewarn "if you want to USE=nls" - die "please either set LINGUAS or do not use nls" - fi -} - -src_unpack() { - unpack ${A} ; cd ${S} - - if use geoip; then - epatch ${WORKDIR}/geolizer_${MY_PV}-patch/geolizer.patch || die - if use search; then - epatch ${WORKDIR}/${PN}-search.patch || die - fi - use xtended && elog "Xtended doesn't work with geolizer, skipping" - else - epatch ${FILESDIR}/${PN}-db4.2.patch || die - epatch ${FILESDIR}/${PN}-readability.patch || die - if use xtended; then - epatch ${WORKDIR}/${PN}-${MY_PV}-RB07-patch || die - fi - fi -} - -src_compile() { - local myconf=" --enable-dns \ - --with-db=/usr/include/db4.2/ \ - --with-dblib=db-4.2" - use geoip && myconf="${myconf} --enable-geoip" - - # really dirty hack; necessary due to a really gross ./configure - # basically, it just sets the natural language the program uses - # unfortunatly, this program only allows for one lang, so only the first - # entry in LINGUAS is used - if use nls; then - local longlang - longlang="$(grep ^${LINGUAS:0:2} ${FILESDIR}/webalizer-language-list.txt)" - myconf="${myconf} --with-language=${longlang:3}" - else - myconf="${myconf} --with-language=english" - fi - - # stupid broken configuration file - autoconf - - econf ${myconf} || die "econf failed" - - emake || die "make failed" -} - -src_install() { - webapp_src_preinst - - into /usr - dobin webalizer - dosym webalizer /usr/bin/webazolver - doman webalizer.1 - - insinto /etc - doins ${WORKDIR}/${PN}.conf - use apache2 && sed -i -e "s/apache/apache2/g" ${D}/etc/webalizer.conf - - dodoc *README* CHANGES Copyright sample.conf ${FILESDIR}/apache.webalizer - webapp_src_install -} - -pkg_postinst(){ - elog - elog "It is suggested that you restart apache before using webalizer" - elog "You may want to review /etc/webalizer.conf and ensure that" - elog "OutputDir is set correctly" - elog - elog "Then just type webalizer to generate your stats." - elog "You can also use cron to generate them e.g. every day." - elog "They can be accessed via http://localhost/webalizer" - elog - elog "A sample Apache config file has been installed into" - elog "/usr/share/doc/${PF}/apache.webalizer" - elog "Please edit and install it as necessary" - elog - - if [ ${#LINGUAS} -gt 2 ] && use nls; then - ewarn - ewarn "You have more than one language in LINGUAS" - ewarn "Due to the limitations of this packge, it was built" - ewarn "only with ${LINGUAS:0:2} support. If this is not what" - ewarn "you intended, please place the language you desire" - ewarn "_first_ in the list of LINGUAS in /etc/make.conf" - ewarn - fi - - if use xtended; then - elog "Read http://www.irc.unizh.ch/users/pfrei/webalizer/rb07/INSTALL" - elog "if you are switching from stock webalizer to xtended" - fi - - webapp_pkg_postinst -} diff --git a/app-admin/webalizer/webalizer-2.01.10-r13.ebuild b/app-admin/webalizer/webalizer-2.01.10-r13.ebuild deleted file mode 100644 index 5b35513f5479..000000000000 --- a/app-admin/webalizer/webalizer-2.01.10-r13.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-2.01.10-r13.ebuild,v 1.4 2006/07/09 20:26:47 rl03 Exp $ - -# uses webapp.eclass to create directories with right permissions -# probably slight overkill but works well -inherit eutils webapp db-use autotools - -SLOT="0" -WEBAPP_MANUAL_SLOT="yes" - -MY_PV=${PV/.10/-10} -MY_P=${PN}-${MY_PV} -S=${WORKDIR}/${MY_P} -DESCRIPTION="Webserver log file analyzer" -HOMEPAGE="http://www.mrunix.net/webalizer/" -SRC_URI="ftp://ftp.mrunix.net/pub/webalizer/${MY_P}-src.tar.bz2 - geoip? ( http://sysd.org/proj/geolizer_${MY_PV}-patch.20050520.tar.bz2 ) - xtended? ( http://www.irc.unizh.ch/users/pfrei/webalizer/rb07/${PN}-${MY_PV}-RB07-patch.tar.gz ) - mirror://gentoo/${PN}-search.patch.gz - mirror://gentoo/${PN}.conf.gz -" - -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="apache2 geoip nls search xtended" - -DEPEND="!geoip? ( >=sys-libs/db-4.2 ) - >=sys-libs/zlib-1.1.4 - >=media-libs/libpng-1.2 - >=media-libs/gd-1.8.3 - geoip? ( dev-libs/geoip )" - -pkg_setup() { - webapp_pkg_setup - - if use search && ! use geoip; then - elog "Please enable the geoip USE flag if you wish to use search" - fi - - # prevents "undefined reference" errors... see bug #65163 - if ! built_with_use media-libs/gd png; then - ewarn "media-libs/gd must be built with png for this package" - ewarn "to function." - die "recompile gd with USE=\"png\"" - fi - - # USE=nls has no real meaning if LINGUAS isn't set - if use nls && [ -z "${LINGUAS}" ]; then - ewarn "you must set LINGUAS in /etc/make.conf" - ewarn "if you want to USE=nls" - die "please either set LINGUAS or do not use nls" - fi -} - -src_unpack() { - unpack ${A} ; cd ${S} - - if use geoip; then - epatch ${WORKDIR}/geolizer_${MY_PV}-patch/geolizer.patch || die - if use search; then - epatch ${WORKDIR}/${PN}-search.patch || die - fi - use xtended && elog "Xtended doesn't work with geolizer, skipping" - else - epatch ${FILESDIR}/${PN}-db4.2.patch || die - epatch ${FILESDIR}/${PN}-readability.patch || die - if use xtended; then - epatch ${WORKDIR}/${PN}-${MY_PV}-RB07-patch || die - fi - fi - - # bugzy 121816: prevent truncated useragent fields - sed -i -e 's:^#define MAXAGENT 64:#define MAXAGENT 128:' webalizer.h -} - -src_compile() { - local myconf=" --enable-dns \ - --with-db=$(db_includedir) \ - --with-dblib=$(db_libname)" - use geoip && myconf="${myconf} --enable-geoip" - - # really dirty hack; necessary due to a really gross ./configure - # basically, it just sets the natural language the program uses - # unfortunatly, this program only allows for one lang, so only the first - # entry in LINGUAS is used - if use nls; then - local longlang - longlang="$(grep ^${LINGUAS:0:2} ${FILESDIR}/webalizer-language-list.txt)" - myconf="${myconf} --with-language=${longlang:3}" - else - myconf="${myconf} --with-language=english" - fi - - # stupid broken configuration file - eautoreconf - - econf ${myconf} || die "econf failed" - - emake || die "emake failed" -} - -src_install() { - webapp_src_preinst - - into /usr - dobin webalizer - dosym webalizer /usr/bin/webazolver - doman webalizer.1 - - insinto /etc - doins ${WORKDIR}/${PN}.conf - use apache2 && sed -i -e "s/apache/apache2/g" ${D}/etc/webalizer.conf - - dodoc *README* CHANGES Copyright sample.conf ${FILESDIR}/apache.webalizer - webapp_src_install -} - -pkg_postinst(){ - elog - elog "It is suggested that you restart apache before using webalizer" - elog "You may want to review /etc/webalizer.conf and ensure that" - elog "OutputDir is set correctly" - elog - elog "Then just type webalizer to generate your stats." - elog "You can also use cron to generate them e.g. every day." - elog "They can be accessed via http://localhost/webalizer" - elog - elog "A sample Apache config file has been installed into" - elog "/usr/share/doc/${PF}/apache.webalizer" - elog "Please edit and install it as necessary" - elog - - if [ ${#LINGUAS} -gt 2 ] && use nls; then - ewarn - ewarn "You have more than one language in LINGUAS" - ewarn "Due to the limitations of this packge, it was built" - ewarn "only with ${LINGUAS:0:2} support. If this is not what" - ewarn "you intended, please place the language you desire" - ewarn "_first_ in the list of LINGUAS in /etc/make.conf" - ewarn - fi - - if use xtended; then - elog "Read http://www.irc.unizh.ch/users/pfrei/webalizer/rb07/INSTALL" - elog "if you are switching from stock webalizer to xtended" - fi - - webapp_pkg_postinst -} diff --git a/app-admin/webalizer/webalizer-2.01.10-r15.ebuild b/app-admin/webalizer/webalizer-2.01.10-r15.ebuild index 586bea5915e3..2eab0de4b0d7 100644 --- a/app-admin/webalizer/webalizer-2.01.10-r15.ebuild +++ b/app-admin/webalizer/webalizer-2.01.10-r15.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-2.01.10-r15.ebuild,v 1.8 2007/07/10 20:53:03 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-2.01.10-r15.ebuild,v 1.9 2008/02/23 16:52:34 hollow Exp $ # uses webapp.eclass to create directories with right permissions # probably slight overkill but works well diff --git a/app-admin/webalizer/webalizer-2.01.10-r14.ebuild b/app-admin/webalizer/webalizer-2.01.10-r16.ebuild index ae5d427b3f91..8e681a3eb09a 100644 --- a/app-admin/webalizer/webalizer-2.01.10-r14.ebuild +++ b/app-admin/webalizer/webalizer-2.01.10-r16.ebuild @@ -1,31 +1,32 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-2.01.10-r14.ebuild,v 1.2 2006/10/20 02:39:54 rl03 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-2.01.10-r16.ebuild,v 1.1 2008/02/23 16:52:34 hollow Exp $ # uses webapp.eclass to create directories with right permissions # probably slight overkill but works well -inherit eutils webapp db-use autotools +inherit confutils eutils webapp db-use autotools -SLOT="0" WEBAPP_MANUAL_SLOT="yes" MY_PV=${PV/.10/-10} MY_P=${PN}-${MY_PV} -S=${WORKDIR}/${MY_P} -XTENDED_VER="RB16" -XTENDED_URL="rb16" + +XTENDED_VER="RB21" +XTENDED_URL="rb21" +GEOLIZER_VER="20070115" + DESCRIPTION="Webserver log file analyzer" HOMEPAGE="http://www.mrunix.net/webalizer/" SRC_URI="ftp://ftp.mrunix.net/pub/webalizer/${MY_P}-src.tar.bz2 - geoip? ( http://sysd.org/proj/geolizer_${MY_PV}-patch.20050520.tar.bz2 ) - xtended? ( - http://www.irc.unizh.ch/users/pfrei/webalizer/${XTENDED_URL}/${PN}-${MY_PV}-${XTENDED_VER}-patch.tar.gz ) - mirror://gentoo/${PN}.conf.gz -" + geoip? ( + http://sysd.org/stas/files/active/0/geolizer_${MY_PV}-patch.${GEOLIZER_VER}.tar.gz ) + xtended? ( http://patrickfrei.ch/webalizer/${XTENDED_URL}/${PN}-${MY_PV}-${XTENDED_VER}-patch.tar.gz ) + mirror://gentoo/${PN}.conf.gz" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="apache2 geoip nls xtended" +IUSE="geoip nls xtended" +SLOT="0" DEPEND=">=sys-libs/db-4.2 >=sys-libs/zlib-1.1.4 @@ -33,18 +34,14 @@ DEPEND=">=sys-libs/db-4.2 >=media-libs/gd-1.8.3 geoip? ( dev-libs/geoip )" +S="${WORKDIR}"/${MY_P} + pkg_setup() { webapp_pkg_setup - - # prevents "undefined reference" errors... see bug #65163 - if ! built_with_use media-libs/gd png; then - ewarn "media-libs/gd must be built with png for this package" - ewarn "to function." - die "recompile gd with USE=\"png\"" - fi + confutils_require_built_with_all media-libs/gd png # USE=nls has no real meaning if LINGUAS isn't set - if use nls && [ -z "${LINGUAS}" ]; then + if use nls && [[ -z "${LINGUAS}" ]]; then ewarn "you must set LINGUAS in /etc/make.conf" ewarn "if you want to USE=nls" die "please either set LINGUAS or do not use nls" @@ -52,65 +49,61 @@ pkg_setup() { } src_unpack() { - unpack ${A} ; cd ${S} + unpack ${A} + cd "${S}" - if use geoip; then - epatch ${WORKDIR}/geolizer_${MY_PV}-patch/geolizer.patch || die - use xtended && elog "Xtended doesn't work with geolizer, skipping" + if use geoip && ! use xtended; then + epatch "${WORKDIR}"/geolizer_${MY_PV}-patch/geolizer.patch else - epatch ${FILESDIR}/${PN}-db4.2.patch || die + epatch "${FILESDIR}"/${PN}-db4.2.patch if use xtended; then - epatch ${WORKDIR}/${PN}-${MY_PV}-${XTENDED_VER}-patch || die + epatch "${WORKDIR}"/${PN}-${MY_PV}-${XTENDED_VER}-patch + else + epatch "${FILESDIR}"/${PN}-storage-size.patch fi fi - # bug 121816: prevent truncated useragent fields - sed -i -e 's:^#define MAXAGENT 64:#define MAXAGENT 128:' webalizer.h + eautoreconf } src_compile() { - local myconf=" --enable-dns \ - --with-db=$(db_includedir) \ - --with-dblib=$(db_libname)" - use geoip && myconf="${myconf} --enable-geoip" - # really dirty hack; necessary due to a really gross ./configure # basically, it just sets the natural language the program uses # unfortunatly, this program only allows for one lang, so only the first # entry in LINGUAS is used if use nls; then - local longlang - longlang="$(grep ^${LINGUAS:0:2} ${FILESDIR}/webalizer-language-list.txt)" - myconf="${myconf} --with-language=${longlang:3}" + local longlang="$(grep ^${LINGUAS:0:2} "${FILESDIR}"/webalizer-language-list.txt)" + local myconf="${myconf} --with-language=${longlang:3}" else - myconf="${myconf} --with-language=english" + local myconf="${myconf} --with-language=english" fi - # stupid broken configuration file - eautoreconf - - econf ${myconf} || die "econf failed" - + econf --enable-dns \ + --with-db=$(db_includedir) \ + --with-dblib=$(db_libname) \ + $(use_enable geoip) \ + ${myconf} \ + || die "econf failed" emake || die "emake failed" } src_install() { webapp_src_preinst - into /usr dobin webalizer dosym webalizer /usr/bin/webazolver doman webalizer.1 insinto /etc - doins ${WORKDIR}/${PN}.conf - use apache2 && sed -i -e "s/apache/apache2/g" ${D}/etc/webalizer.conf + doins "${WORKDIR}"/${PN}.conf + dosed "s/apache/apache2/g" /etc/webalizer.conf + + dodoc CHANGES *README* INSTALL sample.conf "${FILESDIR}"/apache.webalizer - dodoc *README* CHANGES Copyright sample.conf ${FILESDIR}/apache.webalizer webapp_src_install } -pkg_postinst(){ +pkg_postinst() { elog elog "It is suggested that you restart apache before using webalizer" elog "You may want to review /etc/webalizer.conf and ensure that" @@ -125,7 +118,7 @@ pkg_postinst(){ elog "Please edit and install it as necessary" elog - if [ ${#LINGUAS} -gt 2 ] && use nls; then + if [[ ${#LINGUAS} -gt 2 ]] && use nls; then ewarn ewarn "You have more than one language in LINGUAS" ewarn "Due to the limitations of this packge, it was built" @@ -136,7 +129,7 @@ pkg_postinst(){ fi if use xtended; then - elog "Read http://www.irc.unizh.ch/users/pfrei/webalizer/${XTENDED_URL}/INSTALL" + elog "Read http://patrickfrei.ch/webalizer/${XTENDED_URL}/INSTALL" elog "if you are switching from stock webalizer to xtended" fi |