diff options
author | Sebastian Pipping <sping@gentoo.org> | 2010-03-10 16:13:36 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2010-03-10 16:13:36 +0000 |
commit | 486c8151a928df8b435044f74252b14b006c2769 (patch) | |
tree | 8fd78ef331df568c36318c51ba62cd2cbdbe816a /app-admin/geolizer/files | |
parent | Automated update of use.local.desc (diff) | |
download | historical-486c8151a928df8b435044f74252b14b006c2769.tar.gz historical-486c8151a928df8b435044f74252b14b006c2769.tar.bz2 historical-486c8151a928df8b435044f74252b14b006c2769.zip |
app-admin/geolizer: New package split off from webalizer
Package-Manager: portage-2.2_rc66/cvs/Linux i686
Diffstat (limited to 'app-admin/geolizer/files')
3 files changed, 226 insertions, 0 deletions
diff --git a/app-admin/geolizer/files/apache.geolizer b/app-admin/geolizer/files/apache.geolizer new file mode 100644 index 000000000000..e4e457c274e6 --- /dev/null +++ b/app-admin/geolizer/files/apache.geolizer @@ -0,0 +1,9 @@ +# This is the config snippet for Geolizer +<Directory "/var/www/localhost/htdocs/geolizer"> + Options None + AllowOverride None + Order allow,deny + Allow from all +</Directory> + +# vim: ts=4 filetype=apache diff --git a/app-admin/geolizer/files/geolizer-2.01.10_p20070115-etc-geolizer-conf.patch b/app-admin/geolizer/files/geolizer-2.01.10_p20070115-etc-geolizer-conf.patch new file mode 100644 index 000000000000..e515a9aee5a3 --- /dev/null +++ b/app-admin/geolizer/files/geolizer-2.01.10_p20070115-etc-geolizer-conf.patch @@ -0,0 +1,81 @@ +From 64325c4fed853418f75357e0bb78668f999478ab Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Wed, 10 Mar 2010 16:55:28 +0100 +Subject: [PATCH] etc-eolizer-conf + +--- + sample.conf | 4 ++-- + webalizer.1 | 6 +++--- + webalizer.c | 8 ++++---- + 3 files changed, 9 insertions(+), 9 deletions(-) + +diff --git a/sample.conf b/sample.conf +index 9eaef68..1d0b048 100644 +--- a/sample.conf ++++ b/sample.conf +@@ -16,8 +16,8 @@ + # 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". ++# file named "geolizer.conf" in the current directory, and if not found ++# there, will look for "/etc/geolizer.conf". + + + # LogFile defines the web server log file to use. If not specified +diff --git a/webalizer.1 b/webalizer.1 +index b810c1f..fe0a589 100644 +--- a/webalizer.1 ++++ b/webalizer.1 +@@ -43,9 +43,9 @@ as a \fBcrond(8)\fP job. Once executed, the general flow of the program is: + .TP 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 ++\fIgeolizer.conf\fP is searched for in the current directory, and if + found, it's configuration data is parsed. If the file is not +-present in the current directory, the file \fI/etc/webalizer.conf\fP ++present in the current directory, the file \fI/etc/geolizer.conf\fP + is searched for and, if found, is used instead. + .TP 8 + .B o +@@ -688,7 +688,7 @@ Specifies GeoIP database file. Defaults to libGeoIP precompiled one + (normally \fI/usr/local/share/GeoIP/GeoIP.dat\fP). + .SH FILES + .TP 20 +-.I webalizer.conf ++.I geolizer.conf + Default configuration file. Is searched for in the current directory + and if not found, in the \fI/etc/\fP directory. + .TP 20 +diff --git a/webalizer.c b/webalizer.c +index 2daad89..db7adb2 100644 +--- a/webalizer.c ++++ b/webalizer.c +@@ -278,9 +278,9 @@ int main(int argc, char *argv[]) + len = GetModuleFileName(GetModuleHandle(NULL), tmp_buf, sizeof(tmp_buf) - 1); + for (p = tmp_buf + len; (p > tmp_buf) && (*p != '\\'); p--); + *p = '\0'; +- strncat(tmp_buf, "\\webalizer.conf", sizeof(tmp_buf) - 1); ++ strncat(tmp_buf, "\\geolizer.conf", sizeof(tmp_buf) - 1); + #else +- sprintf(tmp_buf,"%s/webalizer.conf",ETCDIR); ++ sprintf(tmp_buf,"%s/geolizer.conf",ETCDIR); + #endif /* WIN32 */ + + /* initalize epoch */ +@@ -290,8 +290,8 @@ int main(int argc, char *argv[]) + add_nlist("index.",&index_alias); + + /* check for default config file */ +- if (!access("webalizer.conf",F_OK)) +- get_config("webalizer.conf"); ++ if (!access("geolizer.conf",F_OK)) ++ get_config("geolizer.conf"); + else if (!access(tmp_buf,F_OK)) + get_config(tmp_buf); + +-- +1.7.0.1.61.gdc05d.dirty + diff --git a/app-admin/geolizer/files/geolizer-language-list.txt b/app-admin/geolizer/files/geolizer-language-list.txt new file mode 100644 index 000000000000..ed9e3232417b --- /dev/null +++ b/app-admin/geolizer/files/geolizer-language-list.txt @@ -0,0 +1,136 @@ +aa afar +ab abkhazian +af afrikaans +am amharic +ar arabic +as assamese +ay aymara +az azerbaijani +ba bashkir +be byelorussian +bg bulgarian +bh bihari +bi bislama +bn bengali +bo tibetan +br breton +ca catalan +co corsican +cs czech +cy welsh +da danish +de german +dz bhutani +el greek +en english +eo esperanto +es spanish +et estonian +eu basque +fa persian +fi finnish +fj fiji +fo faeroese +fr french +fy frisian +ga irish +gd gaelic +gl galician +gn guarani +gu gujarati +ha hausa +hi hindi +hr croatian +hu hungarian +hy armenian +ia interlingua +ie interlingue +ik inupiak +in indonesian +is icelandic +it italian +iw hebrew +ja japanese +ji yiddish +jw javanese +ka georgian +kk kazakh +kl greenlandic +km cambodian +kn kannada +ko korean +ks kashmiri +ku kurdish +ky kirghiz +la latin +ln lingala +lo laothian +lt lithuanian +lv latvian +mg malagasy +mi maori +mk macedonian +ml malayalam +mn mongolian +mo moldavian +mr marathi +ms malay +mt maltese +my burmese +na nauru +ne nepali +nl dutch +no norwegian +oc occitan +om oromo afan +or oriya +pa punjabi +pl polish +ps pashto +pt portuguese +qu quechua +rm rhaeto-romance +rn kirundi +ro romanian +ru russian +rw kinyarwanda +sa sanskrit +sd sindhi +sg sangro +sh serbo-croatian +si singhalese +sk slovak +sl slovenian +sm samoan +sn shona +so somali +sq albanian +sr serbian +ss siswati +st sesotho +su sudanese +sv swedish +sw swahili +ta tamil +te tegulu +tg tajik +th thai +ti tigrinya +tk turkmen +tl tagalog +tn setswana +to tonga +tr turkish +ts tsonga +tt tatar +tw twi +uk ukrainian +ur urdu +uz uzbek +vi vietnamese +vo volapuk +wo wolof +xh xhosa +yo yoruba +zh chinese +zu zulu |