geoip-database-contrib/0000755000000000000000000000000012226757016012257 5ustar geoip-database-contrib/debian/0000755000000000000000000000000012227175032013472 5ustar geoip-database-contrib/debian/dirs0000644000000000000000000000002012166477025014357 0ustar usr/share/GeoIP geoip-database-contrib/debian/control0000644000000000000000000000256212166477025015113 0ustar Source: geoip-database-contrib Section: contrib/net Priority: optional Maintainer: Ludovico Cavedon Uploaders: Patrick Matthäi Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.4 Homepage: http://www.maxmind.com/app/ip-location Vcs-Git: git://anonscm.debian.org/collab-maint/geoip-database-contrib.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/geoip-database-contrib.git Package: geoip-database-contrib Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: wget, ucf (>= 0.28), ${misc:Depends} Suggests: cron Provides: geoip-database Replaces: geoip-database Conflicts: geoip-database Description: GeoLite binary database (downloader) GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file-based database. . This package contains a script that downloads the latest version of the binary flavor of the four MaxMind GeoLite databases (Country, IPv6 Country, City, and ASN). . These databases simply contain IP blocks as keys, and countries/cities/ASNs as values, which should be more complete and accurate than using reverse DNS lookups. . The MaxMind database itself is made available under a DFSG-compatible license. However, it is distributed directly in binary format and the source code for generating it is not provided. geoip-database-contrib/debian/config0000644000000000000000000000017212011425174014656 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule db_input medium geoip-database-contrib/install-cronjob || true db_go geoip-database-contrib/debian/manpages0000644000000000000000000000004712011425174015205 0ustar debian/geoip-database-contrib_update.8 geoip-database-contrib/debian/changelog0000644000000000000000000001107612227175014015351 0ustar geoip-database-contrib (1.14) unstable; urgency=low * Add quiet option to wget. Closes: #725980 -- Patrick Matthäi Tue, 15 Oct 2013 10:17:13 +0200 geoip-database-contrib (1.13) unstable; urgency=low * Delete GeoIPASNumv6.dat and GeoLiteCityv6.dat on removing the package. Closes: #716857 -- Patrick Matthäi Thu, 18 Jul 2013 14:35:34 +0200 geoip-database-contrib (1.12) unstable; urgency=low * Upload to unstable. * Add GeoLiteCityv6 and GeoIPASNumv6 databases. * Update MaxMind license. * Use canonical Vcs- fields. * Make sure /usr/share/GeoIP is created when installing the package. * Store data files uncompressed (as for versions << 1.9). * Perform database update atomically. * Unify indentation. -- Ludovico Cavedon Sun, 07 Jul 2013 00:16:42 -0700 geoip-database-contrib (1.11) experimental; urgency=low * Only update alternatives, if the file exists. Closes: #666063 -- Patrick Matthäi Mon, 17 Dec 2012 09:35:58 +0100 geoip-database-contrib (1.10) experimental; urgency=low * Set chmod 644 on database files, after they have been moved. -- Patrick Matthäi Sat, 15 Dec 2012 12:50:29 +0100 geoip-database-contrib (1.9) experimental; urgency=low * Bump Standards-Version to 3.9.4 (no changes needed). * Remove example lines from debian/rules. * Do not fail if downloading is not possible. Also add some security and error handling improvements. Closes: #666063 * Switch to xz compression and add a Pre-Depends on dpkg. -- Patrick Matthäi Thu, 13 Dec 2012 10:27:56 +0100 geoip-database-contrib (1.8) unstable; urgency=low * Redirect STDOUT in cronjob to /dev/null. Closes: #684500 * Add Slovak debconf translation. Closes: #685385 -- Patrick Matthäi Mon, 20 Aug 2012 18:05:59 +0200 geoip-database-contrib (1.7) unstable; urgency=low * Bump Standards-Version to 3.9.3 (no changes required). * Wrap all debian/control fields. * Purge /etc/cron.d and /usr/share/GeoIP, if they are empty. Closes: #663615 * Fix lintian warning out-of-date-copyright-format-uri. * Fix debian/copyright field names. -- Patrick Matthäi Fri, 16 Mar 2012 16:43:33 +0100 geoip-database-contrib (1.6) unstable; urgency=low * Really add Dutch debconf translation. Closes: #631501 -- Patrick Matthäi Sun, 05 Feb 2012 14:53:19 +0100 geoip-database-contrib (1.5) unstable; urgency=low * Do not rename GeoLiteCity.dat. * Handle GeoIPCity via update-alternatives (Closes: #624784). * Do not fail postinst of they file cannot be downloaded. * Add debconf Russina translation by Yuri Kozlov (Closes: #635147). -- Ludovico Cavedon Sat, 05 Nov 2011 21:45:02 -0700 geoip-database-contrib (1.4) unstable; urgency=low * Add Dutch debconf translation. Closes: #631501 * Rename GeoLiteCity.dat to GeoIPCity.dat after downloading. Closes: #624784 -- Patrick Matthäi Sun, 26 Jun 2011 17:22:20 +0200 geoip-database-contrib (1.3) unstable; urgency=medium * Fix race in postrm and add missing sanity check. Closes: #630024 -- Patrick Matthäi Sat, 11 Jun 2011 11:49:48 +0200 geoip-database-contrib (1.2) unstable; urgency=low * Readd changes accidentally removed by version 1.1: - Spanish debconf template translations - translations copyright - full changelog for 1.0. -- Ludovico Cavedon Sat, 14 May 2011 19:46:46 -0700 geoip-database-contrib (1.1) unstable; urgency=low * Update debconf translation with debconf-updatepo. * Add Russian debconf translation. Closes: #625934 * Bump Standards-Version to 3.9.2 (no changes needed). * Add Japanese debconf translation. Closes: #626375 -- Patrick Matthäi Sat, 14 May 2011 13:45:42 +0200 geoip-database-contrib (1.0) unstable; urgency=low * Initial Release (Closes: #607488). * Debconf template translations: - Danish by Joe Dalton (Closes: #608418). - Indonesian by Izharul Haq (Closes: #608453). - Czech by Michal Simunek (Closes: #608498). - Portuguese by Américo Monteiro (Closes: #608743, #608631). - Swedish by Martin Bagge (Closes: #608743). - German by Helge Kreutzmann (Closes: #609055). - French by Christian Perrier (Closes: #609250). - Spanish by Francisco Javier Cuadrado (Closes: #609350). - Italian. -- Ludovico Cavedon Mon, 10 Jan 2011 23:22:52 -0800 geoip-database-contrib/debian/templates0000644000000000000000000000102212011425174015402 0ustar Template: geoip-database-contrib/install-cronjob Type: boolean Default: true _Description: Automatically update the database every month? The GeoLite database on the MaxMind website is updated monthly. If you choose to automatically update the local copy of the database, a cron script will be installed to download the new version from the Internet on the tenth of every month. . If you choose not to update the database automatically, you can do it by hand by running the 'geoip-database-contrib_update' command as root. geoip-database-contrib/debian/prerm0000644000000000000000000000061312063554236014547 0ustar #!/bin/sh # prerm script for geoip-database-contrib set -e case "$1" in remove) if [ -f "/usr/share/GeoIP/GeoLiteCity.dat" ] then update-alternatives --remove GeoIPCity.dat /usr/share/GeoIP/GeoLiteCity.dat fi ;; upgrade|deconfigure|failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 geoip-database-contrib/debian/install0000644000000000000000000000004712011425174015060 0ustar geoip-database-contrib_update usr/sbin geoip-database-contrib/debian/postrm0000644000000000000000000000205112171760340014737 0ustar #!/bin/sh # postrm script for geoip-database-contrib set -e case "$1" in purge) rm -f /etc/cron.d/geoip-database-contrib if which ucf > /dev/null then ucf --purge /etc/cron.d/geoip-database-contrib fi if [ -f /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi rmdir /usr/share/GeoIP || true rmdir /etc/cron.d || true ;; remove) if [ -x /usr/bin/killall ]; then killall -9 -q geoip-database-contrib_update || true fi rm -f /usr/share/GeoIP/GeoIP.dat.gz rm -f /usr/share/GeoIP/GeoIPv6.dat.gz rm -f /usr/share/GeoIP/GeoLiteCity.dat.gz rm -f /usr/share/GeoIP/GeoIPASNum.dat.gz rm -f /usr/share/GeoIP/GeoIP.dat rm -f /usr/share/GeoIP/GeoIPv6.dat rm -f /usr/share/GeoIP/GeoLiteCity.dat rm -f /usr/share/GeoIP/GeoIPASNum.dat rm -f /usr/share/GeoIP/GeoIPASNumv6.dat rm -f /usr/share/GeoIP/GeoLiteCityv6.dat ;; esac #DEBHELPER# exit 0 geoip-database-contrib/debian/copyright0000644000000000000000000000474212166477025015445 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: MaxMind GeoLite database downloader Upstream-Contact: Ludovico Cavedon Source: http://git.debian.org/?p=collab-maint/geoip-database-contrib.git Disclaimer: This package does not contain software/data from MaxMind. The GeoLite data created by MaxMind will be downloaded from http://www.maxmind.com upon installation of this package. Such data is distributed under the Creative Commons Attribution-ShareAlike 3.0 Unported License (http://creativecommons.org/licenses/by-sa/3.0/). Files: * Copyright: 2010/2013, Ludovico Cavedon Patrick Matthäi License: GPL-2+ Files: debian/po/* Copyright: 2011, Ludovico Cavedon 2010, Michal Simunek 2011, Helge Kreutzmann 2010, Software in the Public Interest 2010, Debian French l10n team License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . In addition, as a special exception, the author of this program gives permission to link the code of its release with the OpenSSL project's "OpenSSL" library (or with modified versions of it that use the same license as the "OpenSSL" library), and distribute the linked executables. You must obey the GNU General Public License in all respects for all of the code used other than "OpenSSL". If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. geoip-database-contrib/debian/po/0000755000000000000000000000000012014460043014101 5ustar geoip-database-contrib/debian/po/id.po0000644000000000000000000000353712011425174015050 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the geoip-database-contrib package. # Izharul Haq , 2010. msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2010-12-31 07:01+0700\n" "Last-Translator: Izharul Haq \n" "Language-Team: debian-l10n-indonesian@lists.debian.org\n" "Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Virtaal 0.6.1\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "Otomatis memperbarui database setiap bulan?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" "Database GeoLite di situs MaxMind diperbarui setiap bulan. Jika Anda memilih " "untuk secara otomatis memperbarui salinan lokal dari database, script cron " "akan diinstal untuk men-download versi baru dari Internet pada tanggal sepuluh " "setiap bulan." #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" "Jika Anda memilih untuk tidak meng-update database secara otomatis, Anda " "dapat melakukannya secara manual dengan menjalankan perintah 'geoip-" "database-contrib_update' sebagai root." geoip-database-contrib/debian/po/it.po0000644000000000000000000000357512011425174015072 0ustar # Italian translation of geoip-database-contrib debconf messages # Copyright (C) 2011 the geip-database-contrib's copyright holder # This file is distributed under the same license as the geoip-database-contrib package. # Ludovico Cavedon , 2011. # msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib 1.0\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2011-01-03 21:01+0100\n" "Last-Translator: Ludovico Cavedon \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "Aggiornare automaticamente il database ogni mese?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" "Il database GeoLite sul sito di MaxMind è aggiornato mensilmente. Se si " "sceglie di aggiornare automaticamente la copia locale del database, verrà " "installato uno script cron che scaricherà la nuova versione il decimo giorno " "di ogni mese." #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" "Se si sceglie di non aggiornare il database automaticamente, lo si può " "aggiornare a mano eseguendo da utente root il comando 'geoip-database-" "contrib_update'." geoip-database-contrib/debian/po/templates.pot0000644000000000000000000000255112011425174016631 0ustar # LANGUAGE translation of the the geoip-database-contrib debconf template # Copyright (C) YEAR the geoip-database-contrib package's copyright holder # This file is distributed under the same license as the geoip-database-contrib package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib 1.0\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" geoip-database-contrib/debian/po/POTFILES.in0000644000000000000000000000004412011425174015657 0ustar [type: gettext/rfc822deb] templates geoip-database-contrib/debian/po/de.po0000644000000000000000000000354512011425174015043 0ustar # Translation of geoip-database-contrib debconf templates to German # Copyright (C) Helge Kreutzmann , 2011. # This file is distributed under the same license as the # geoip-database-contrib package. # msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib 1.0\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2011-01-03 18:30+0100\n" "Last-Translator: Helge Kreutzmann \n" "Language-Team: de \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "Soll die Datenbank automatisch monatlich aktualisiert werden?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" "Die GeoLite-Datenbank auf der MaxMind-Website wird monatlich aktualisiert. " "Falls Sie sich dazu entscheiden, die lokale Kopie der Datenbank automatisch " "zu aktualisieren, wird ein Cron-Skript installiert, das die neue Version am " "zehnten jedes Monats aus dem Internet herunterlädt." #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" "Falls Sie sich gegen die automatische Aktualisierung der Datenbank " "entscheiden, können Sie diese manuell durch den Aufruf von »geoip-database-" "contrib_update« durchführen." geoip-database-contrib/debian/po/ja.po0000644000000000000000000000363312011425174015043 0ustar # Copyright (C) 2011 Ludovico Cavedon # This file is distributed under the same license as geoip-database-contrib package. # Hideki Yamane , 2011. # msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib 1.0\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2011-04-30 17:26+0900\n" "Last-Translator: Hideki Yamane \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "毎月データベースを自動的に更新しますか?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" "MaxMind のウェブサイトにある GeoLite データベースは月ごとに更新されます。" "データベースのローカルコピーを自動的に更新するようにすると、毎月 10 日にインター" "ネットから新しいバージョンをダウンロードするように cron スクリプトがインストール" "されます。" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" "自動的にはデータベースを更新しないようにした場合は、root として手動で" "「geoip-database-contrib_update」コマンドを実行して更新することができます。" geoip-database-contrib/debian/po/ru.po0000644000000000000000000000454412011425174015101 0ustar # Russian translation of the the geoip-database-contrib debconf template # Copyright (C) YEAR the geoip-database-contrib package's copyright holder # This file is distributed under the same license as the geoip-database-contrib package. # # Yuri Kozlov , 2011. msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib 1.4\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2011-07-23 09:18+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "Обновлять базу данных каждый месяц автоматически?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" "База данных GeoLite на веб-сайте MaxMind обновляется ежемесячно. Если " "вы выберете автоматическое обновление локальной копии базы данных, то " "в задания cron будет добавлен сценарий для скачивания новой версии из " "Интернета каждый месяц десятого числа." #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" "Если вы откажитесь от автоматического обновления базы данных, " "то это можно делать вручную, запуском команды " "geoip-database-contrib_update с правами суперпользователя." geoip-database-contrib/debian/po/nl.po0000644000000000000000000000356112011425174015062 0ustar # Dutch translation of geoip-database-contrib debconf templates. # Copyright (C) 2011 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the geoip-database-contrib package. # Jeroen Schot , 2011. # msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib 1.3\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2011-06-16 10:57+0200\n" "Last-Translator: Jeroen Schot \n" "Language-Team: Debian l10n Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "Elke maand de database automatisch bijwerken?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" "De GeoLite-database op de website van MaxMind wordt maandelijks bijgewerkt. " "Als u ervoor kiest om uw lokale kopie automatisch te laten bijwerken zal er " "een cronscript worden geïnstalleerd dat elke tiende van de maand een nieuwe " "versie van het Internet ophaalt." #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" "Als u er voor kiest om de database niet automatische te laten bijwerken kunt " "u dit zelf handmatig doen door als beheerder het commando 'geoip-database-" "contrib_update' uit te voeren." geoip-database-contrib/debian/po/fr.po0000644000000000000000000000401112011425174015047 0ustar # Translation of geoip-database-contrib debconf template to French. # Copyright (C) 2010 Debian French l10n team # This file is distributed under the same license as the geoip-database-contrib package. # Translators: # Christian Perrier , 2010. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2010-12-31 20:15+0100\n" "Last-Translator: Christian Perrier \n" "Language-Team: French \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "Faut-il mettre à jour la base de données automatiquement chaque mois ?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" "La base de données GeoLite sur le site de MaxMind est mise à jour " "mensuellement. Si vous choisissez de mettre à jour la copie locale " "automatiquement, la nouvelle version sera téléchargée le 10 de chaque mois " "depuis l'Internet, à l'aide d'un script exécuté par « cron »." #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" "Dans le cas contraire, vous pouvez effectuer la mise à jour vous-même avec " "la commande « geoip-database-contrib_update », qui doit être exécutée avec " "les privilèges du superutilisateur." geoip-database-contrib/debian/po/da.po0000644000000000000000000000345012011425174015032 0ustar # Danish translation for geoip-database-contrib. # Copyright (C) 2010 geoip-database-contrib og nedenstående oversættere. # This file is distributed under the same license as the geoip-database-contrib package. # Joe Hansen (joedalton2@yahoo.dk), 2010. # msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2010-12-30 14:52+0000\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "Opdater automatisk databasen hver måned?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" "GeoLite-databasen på MaxMinds hjemmeside opdateres månedligt. Hvis du vælger " "automatisk at opdatere den lokale kopi af databasen, vil et cronskript blive " "installeret for at hente den nye version fra internettet den 10. i hver " "måned." #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" "Hvis du vælger ikke at opdatere databasen automatisk, kan du gøre dette " "manuelt ved at køre kommandoen »geoip-database-contrib_update« som root " "(administrator)." geoip-database-contrib/debian/po/es.po0000644000000000000000000000520112011425174015051 0ustar # geoip-database-contrib po-debconf translation to Spanish # Copyright (C) 2010 Software in the Public Interest # This file is distributed under the same license as the geoip-database-contrib package. # # Changes: # - Initial translation # Francisco Javier Cuadrado , 2010 # # - Updates # TRANSLATOR # # Traductores, si no conocen el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducción al español, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas y normas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib 1.0\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2010-12-30 20:03+0100\n" "Last-Translator: Francisco Javier Cuadrado \n" "Language-Team: Debian l10n Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "¿Desea actualizar automáticamente la base de datos de forma mensual?" #. Type: boolean #. Description #: ../templates:1001 msgid "The GeoLite database on the MaxMind website is updated monthly. If you choose to automatically update the local copy of the database, a cron script will be installed to download the new version from the Internet on the tenth of every month." msgstr "La base de datos GeoLite de la web de MaxMind se actualiza mensualmente. Si escoge actualizar automáticamente la copia local de la base de datos, se instalará un script de cron para descargar la nueva versión desde Internet el día diez de cada mes." #. Type: boolean #. Description #: ../templates:1001 msgid "If you choose not to update the database automatically, you can do it by hand by running the 'geoip-database-contrib_update' command as root." msgstr "Si escoge no actualizar la base de datos automáticamente, puede hacerlo a mano ejecutando la orden «geoip-database-contrib_update» como administrador («root»)." geoip-database-contrib/debian/po/cs.po0000644000000000000000000000353112011425174015053 0ustar # Czech PO debconf template translation of geoip-database-contrib. # Copyright (C) 2010 Michal Simunek # This file is distributed under the same license as the geoip-database-contrib package. # Michal Simunek , 2010. # msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib 1.0\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2010-12-31 14:31+0100\n" "Last-Translator: Michal Simunek \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "Aktualizovat databázi automaticky každý měsíc?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" "Databáze GeoLite je na webu MaxMind každý měsíc aktualizována. Zvolíte-li " "automaticky aktualizovat místní kopii databáze, nainstaluje se skript pro " "cron, který bude každý desátý den v měsíci z Internetu stahovat novou verzi." #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" "Zvolíte-li automaticky neaktualizovat databázi, aktualizace můžete provádět " "ručně spuštěním příkazu 'geoip-database-contrib_update' pod uživatelem root." geoip-database-contrib/debian/po/sk.po0000644000000000000000000000377112014457705015101 0ustar # LANGUAGE translation of the the geoip-database-contrib debconf template # Copyright (C) 2012 the geoip-database-contrib package's copyright holder # This file is distributed under the same license as the geoip-database-contrib package. # Slavko , 2012. # msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib 1.7\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2012-08-20 13:39+0200\n" "Last-Translator: Slavko \n" "Language-Team: slovenčina \n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-POFile-SpellExtra: GeoLite cron geoip-database-contribupdate MaxMind\n" "X-POFile-SpellExtra: root\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "Automaticky aktualizovať databázu každý mesiac?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" "Databáza GeoLite na webovej stránke MaxMind je aktualizovaná mesačne. Ak si " "zvolíte automatickú aktualizáciu lokálnej kópie databázy, bude nainštalovaný " "skript cron, ktorý stiahne novú verziu z internetu, vždy desiateho v mesiaci." #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" "Ak si zvolíte neaktualizovať databázu automaticky, môžete to urobiť manuálne " "spustením príkazu „geoip-database-contrib_update” ako root." geoip-database-contrib/debian/po/pt.po0000644000000000000000000000365612011425174015101 0ustar # Translation of geip-database-contrib debconf messages to Portuguese # Copyright (C) 2011 the geip-database-contrib's copyright holder # This file is distributed under the same license as the geip-database-contrib package. # # Américo Monteiro , 2011. msgid "" msgstr "" "Project-Id-Version: geip-database-contrib 1.0\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2011-01-02 00:27+0000\n" "Last-Translator: Américo Monteiro \n" "Language-Team: Portuguese \n" "Language: Pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "Actualizar automaticamente a base de dados a cada mês?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "The GeoLite database on the MaxMind website is updated monthly. If you " "choose to automatically update the local copy of the database, a cron script " "will be installed to download the new version from the Internet on the tenth " "of every month." msgstr "" "A base de dados GeoLite do website MaxMind é actualizada mensalmente. Se " "você escolher actualizar automaticamente a cópia local da base de dados, " "será " "instalado um script do cron para descarregar a nova versão da Internet ao " "dia 10 de cada mês." #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you choose not to update the database automatically, you can do it by " "hand by running the 'geoip-database-contrib_update' command as root." msgstr "" "Se você escolher não actualizar a base de dados automaticamente, pode " "fazê-lo " "manualmente ao executar o comando 'geoip-database-contrib_update' como root." geoip-database-contrib/debian/po/sv.po0000644000000000000000000000345512011425174015103 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: geoip-database-contrib\n" "Report-Msgid-Bugs-To: geoip-database-contrib@packages.debian.org\n" "POT-Creation-Date: 2010-12-30 19:21+0100\n" "PO-Revision-Date: 2011-01-03 11:10+0100\n" "Last-Translator: Martin Bagge / brother \n" "Language-Team: Swedish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Swedish\n" "X-Poedit-Country: Sweden\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Automatically update the database every month?" msgstr "Ska databasen automatiskt uppdateras en gång per månad?" #. Type: boolean #. Description #: ../templates:1001 msgid "The GeoLite database on the MaxMind website is updated monthly. If you choose to automatically update the local copy of the database, a cron script will be installed to download the new version from the Internet on the tenth of every month." msgstr "GeoLite-databasen på MaxMinds webbplats uppdateras varje månad. Om du väljer att automatiskt uppdatera den lokala kopian av databasen kommer att cron-skript att installeras som hämtar den nya versionen från Internet den tionde varje månad." #. Type: boolean #. Description #: ../templates:1001 msgid "If you choose not to update the database automatically, you can do it by hand by running the 'geoip-database-contrib_update' command as root." msgstr "Om du väljer att inte uppdatera databasen automatiskt så kan du fortfarande göra det manuellt genom att köra kommandot \"geoip-database-contrib_update\" som root." geoip-database-contrib/debian/preinst0000644000000000000000000000267412011425174015106 0ustar #!/bin/sh # preinst script for geoip-database-contrib set -e # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in upgrade) if dpkg --compare-versions "$2" ge "1.4~" && \ dpkg --compare-versions "$2" lt "1.5~"; then # We are upgrading from the version which renamed GeoLiteCity.dat # to GeoIPCity.dat if [ -f /usr/share/GeoIP/GeoIPCity.dat ]; then # We have a GeoIPCity.dat which is a regular file. It is # probably the GeoLiteCity.dat file downloaded from GeoIP. # In any case, rename it so it will accessible via the # update-alternatives symlink created in the postinst script. echo "Renaming /usr/share/GeoIP/GeoIPCity.dat to GeoLiteCity.dat"; mv /usr/share/GeoIP/GeoIPCity.dat \ /usr/share/GeoIP/GeoLiteCity.dat fi fi ;; install|abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 geoip-database-contrib/debian/postinst0000644000000000000000000000265212063554113015304 0ustar #!/bin/sh # postinst script for geoip-database-contrib set -e case "$1" in configure) . /usr/share/debconf/confmodule geoip-database-contrib_update || echo "Failed to download some files. Run geoip-database-contrib_update manually for fix it." db_get geoip-database-contrib/install-cronjob INSTALL_CRONJOB="$RET" tfile=$(mktemp -t geoip-database-contrib_config.XXXXXXXX) || exit 1 if [ "$INSTALL_CRONJOB" = "true" ] then cat > $tfile < /dev/null EOF else cat > $tfile < /dev/null EOF fi mkdir -p /etc/cron.d ucf --debconf-ok $tfile /etc/cron.d/geoip-database-contrib rm $tfile if [ -f "/usr/share/GeoIP/GeoLiteCity.dat" ] then update-alternatives --install /usr/share/GeoIP/GeoIPCity.dat GeoIPCity.dat /usr/share/GeoIP/GeoLiteCity.dat 50 else echo "Could not update alternatives for GeoIPCity.dat: Missing GeoLiteCity.dat" fi ;; esac #DEBHELPER# exit 0 geoip-database-contrib/debian/geoip-database-contrib_update.80000644000000000000000000000160012011425174021421 0ustar .\" Hey, EMACS: -*- nroff -*- .TH GEOIP-DATABASE-CONTRIB_UPDATE 8 "December 19, 2010" .SH NAME geoip-database-contrib_update \- script to download the latest version of the MaxMind GeoIP Lite database .SH SYNOPSIS .B geoip-database-contrib_update .br .SH DESCRIPTION The .B geoip-database-contrib_update commmand downloads the latest version of the MaxMind GeoIP Lite database from MaxMind webiste. .br In particular, the following binary databases are downloaded: .IP \(em GeoLite Country .IP \(em GeoLite Country IPv6 .IP \(em GeoLite City .IP \(em GeoLite ASN .PP and stored in the .I /usr/share/GeoIP directory. .SH SEE ALSO .BR geoipupdate (1), .BR geoiplookup (1). .BR geoiplookup6 (1). .SH AUTHOR geoip-database-contrib_update and this man page were written by Ludovico Cavedon , for the Debian project (and may be used by others). geoip-database-contrib/debian/rules0000755000000000000000000000021212062316656014553 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_builddeb: dh_builddeb -- -Zxz geoip-database-contrib/debian/lintian-overrides0000644000000000000000000000052612166477025017067 0ustar # killall is used to kill a script that might have been started by cron, not a # service managed by init.d scripts # moreover the name of script being killed is long enough to prevent accidental # name collisions geoip-database-contrib: killall-is-dangerous postrm:25 geoip-database-contrib: package-contains-empty-directory usr/share/GeoIP/ geoip-database-contrib/debian/source/0000755000000000000000000000000012011425174014766 5ustar geoip-database-contrib/debian/source/format0000644000000000000000000000001512011425174016175 0ustar 3.0 (native) geoip-database-contrib/debian/compat0000644000000000000000000000000212011425174014664 0ustar 7 geoip-database-contrib/geoip-database-contrib_update0000755000000000000000000000330412226756774020064 0ustar #!/bin/sh GEOIP_URL="http://geolite.maxmind.com/download/geoip/database/" GEOLITE_COUNTRY_PATH="GeoLiteCountry/" GEOLITE_COUNTRY_FILE="GeoIP.dat.gz" GEOLITE_COUNTRY_IPV6_PATH="" GEOLITE_COUNTRY_IPV6_FILE="GeoIPv6.dat.gz" GEOLITE_CITY_PATH="" GEOLITE_CITY_FILE="GeoLiteCity.dat.gz" GEOLITE_CITY_IPV6_PATH="GeoLiteCityv6-beta/" GEOLITE_CITY_IPV6_FILE="GeoLiteCityv6.dat.gz" GEOLITE_ASNUM_PATH="asnum/" GEOLITE_ASNUM_FILE="GeoIPASNum.dat.gz" GEOLITE_ASNUM_IPV6_PATH="asnum/" GEOLITE_ASNUM_IPV6_FILE="GeoIPASNumv6.dat.gz" FAILED=0 for url in \ "$GEOIP_URL$GEOLITE_COUNTRY_PATH$GEOLITE_COUNTRY_FILE" \ "$GEOIP_URL$GEOLITE_COUNTRY_IPV6_PATH$GEOLITE_COUNTRY_IPV6_FILE" \ "$GEOIP_URL$GEOLITE_CITY_PATH$GEOLITE_CITY_FILE" \ "$GEOIP_URL$GEOLITE_CITY_IPV6_PATH$GEOLITE_CITY_IPV6_FILE" \ "$GEOIP_URL$GEOLITE_ASNUM_PATH$GEOLITE_ASNUM_FILE" \ "$GEOIP_URL$GEOLITE_ASNUM_IPV6_PATH$GEOLITE_ASNUM_IPV6_FILE" do echo "Downloading: $url" # Download file in the same directory as the final one so that the "mv" # below can be atomic. TEMPGZ=$(mktemp --tmpdir=/usr/share/GeoIP/ --suffix=.gz) TEMP=${TEMPGZ%.gz} FILEGZ=$(basename $url) FILE=${FILEGZ%.gz} /usr/bin/wget -q -t3 -T15 "$url" -O $TEMPGZ if [ "$?" != "0" ] then echo "Failed to download $url" else /bin/gunzip -f $TEMPGZ if [ "$?" != "0" ] then echo "Failed to decompress $FILEGZ" else rm -f /usr/share/GeoIP/$FILE mv $TEMP /usr/share/GeoIP/$FILE chmod 644 /usr/share/GeoIP/$FILE fi fi rm -f $TEMP $TEMPGZ # Accidentally create by versions 1.9 though 1.11 rm -f /usr/share/GeoIP/$FILEGZ done exit 0