debian/0000775000000000000000000000000012301064657007174 5ustar debian/copyright0000664000000000000000000000666512263211042011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: geoip Upstream-Contact: Olivier Hill Source: http://pecl.php.net/package/geoip/ Files: * Copyright: 1997-2009, The PHP Group License: PHP-3.0.1 This software is subject to version 3.01 of the PHP license, as shown below. . -------------------------------------------------------------------- The PHP License, version 3.01 Copyright (c) 1999 - 2008 The PHP Group. All rights reserved. -------------------------------------------------------------------- . Redistribution and use in source and binary forms, with or without modification, is permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. The name "PHP" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact group@php.net. . 4. Products derived from this software may not be called "PHP", nor may "PHP" appear in their name, without prior written permission from group@php.net. You may indicate that your software works in conjunction with PHP by saying "Foo for PHP" instead of calling it "PHP Foo" or "phpfoo" . 5. The PHP Group may publish revised and/or new versions of the license from time to time. Each version will be given a distinguishing version number. Once covered code has been published under a particular version of the license, you may always continue to use it under the terms of that version. You may also choose to use such covered code under the terms of any subsequent version of the license published by the PHP Group. No one other than the PHP Group has the right to modify the terms applicable to covered code created under this License. . 6. Redistributions of any form whatsoever must retain the following acknowledgment: "This product includes PHP software, freely available from ". . THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . -------------------------------------------------------------------- Files: debian/* Copyright: 2008-2012, Sergey B Kirpichev License: GPL-2+ On Debian GNU/Linux systems, the complete text of the GNU General Public License (GPL) version 2 can be found at /usr/share/common-licenses/GPL-2. debian/rules0000775000000000000000000000011712263211042010240 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=phppear --with phppear --with php5 debian/source/0000775000000000000000000000000012263211042010461 5ustar debian/source/format0000664000000000000000000000001412263211042011667 0ustar 3.0 (quilt) debian/watch0000664000000000000000000000024212263211042010210 0ustar # watch control file for uscan(1) version=3 # Homepage Pattern [Version [Action]] http://pecl.php.net/package/geoip \/get\/geoip-([\d\.]*)\.tgz debian uupdate debian/php5-geoip.install0000664000000000000000000000005412263211042012525 0ustar debian/geoip.ini etc/php5/mods-available debian/changelog0000664000000000000000000001103212301064657011043 0ustar php-geoip (1.0.8-5build1) trusty; urgency=medium * No change rebuild for phpapi-20121212+lfs (LFS ABI break on 32-bit arches). -- Robie Basak Wed, 19 Feb 2014 08:22:07 +0000 php-geoip (1.0.8-5) unstable; urgency=low * Bump up Standards-Version (to 3.9.5) * Move the package under the PHP PECL team umbrella -- Sergey B Kirpichev Wed, 08 Jan 2014 12:53:34 +0400 php-geoip (1.0.8-4) unstable; urgency=low * Add --with php5 to fix lintian W: missing-pkg-php-tools-addon * Fix lintian error: vcs-field-not-canonical * Add dh-php5 deps * Add Breaks: header to debian/control -- Sergey B Kirpichev Thu, 07 Nov 2013 13:10:43 +0400 php-geoip (1.0.8-3) unstable; urgency=low * Use pkg-php-tools to build package -- Sergey B Kirpichev Sun, 06 Oct 2013 15:31:41 +0400 php-geoip (1.0.8-2) unstable; urgency=low * Drop DMUA, fix lintian warning * Bump up Standards-Version (to 3.9.4) -- Sergey B Kirpichev Wed, 19 Dec 2012 12:49:15 +0400 php-geoip (1.0.8-1) unstable; urgency=low * Imported Upstream version 1.0.8 * Drop php5.4-support.patch * Added 01_timestamps.patch to fix tarball timestamp issues -- Sergey B Kirpichev Fri, 30 Nov 2012 14:31:07 +0400 php-geoip (1.0.7-8) unstable; urgency=low * Fix typo, really enable hardening * Add VCS-* fields -- Sergey B Kirpichev Fri, 15 Jun 2012 17:05:04 +0400 php-geoip (1.0.7-7) unstable; urgency=low * Reformat maintainer scripts * Install upstream changelog * Fix lintian warning (build-depends-on-1-revision) * Add Recommends field for geoip-database package * Change dh compat to 9, enable hardening support -- Sergey B Kirpichev Fri, 01 Jun 2012 17:12:01 +0400 php-geoip (1.0.7-6) unstable; urgency=low * Reformat debian/copyright according to accepted DEP5 spec * Bump up Standards-Version to 3.9.3 (no changes) * Renamed docs -> php5-geoip.docs * Use php5{en,dis}mod for conffile handling (Closes: #667774) -- Sergey B Kirpichev Sat, 07 Apr 2012 21:45:54 +0400 php-geoip (1.0.7-5) unstable; urgency=low * Add patch to support php 5.4 builds (Closes: #656488, thanks for Lior Kaplan) -- Sergey B Kirpichev Sat, 21 Jan 2012 18:56:36 +0400 php-geoip (1.0.7-4) unstable; urgency=low * Bump up standards-version (to 3.9.2) * Cleanup debian/rules * Set debhelper compatibility to 7 -- Sergey B Kirpichev Sat, 19 Nov 2011 20:12:46 +0400 php-geoip (1.0.7-3) unstable; urgency=low * Bump up Standards-Version * Added "DM-Upload-Allowed: yes" control field -- Sergey B Kirpichev Fri, 04 Mar 2011 15:00:11 +0300 php-geoip (1.0.7-2) unstable; urgency=low * Bump Standards-Version to 3.8.4. * Update format of debian/copyright, copyright years. * Switch to source format "3.0 (quilt)". -- Sergey B Kirpichev Wed, 19 May 2010 21:04:42 +0400 php-geoip (1.0.7-1) unstable; urgency=low * New upstream release. * Change copyright format. * Set package Section to php. -- Sergey B Kirpichev Sun, 29 Mar 2009 14:04:05 +0400 php-geoip (1.0.6-1) unstable; urgency=low * New upstream release. -- Sergey B Kirpichev Sat, 24 Jan 2009 17:00:37 +0300 php-geoip (1.0.5-1) unstable; urgency=low * New upstream release. * Update the Standards-Version to 3.8.0. * Add ${misc:Depends}. -- Sergey B Kirpichev Thu, 25 Dec 2008 22:02:04 +0300 php-geoip (1.0.3-1) unstable; urgency=low * New upstream release * Remove cvs entry from debian/copyright -- Sergey B Kirpichev Fri, 13 Jun 2008 03:31:11 +0400 php-geoip (1.0.2-4) unstable; urgency=low * Fix license issues, it's the PHP 3.01 now * Add the link to the commit with 3.01 * Tune short description * Fix uscan handling -- Sergey B Kirpichev Fri, 13 Jun 2008 03:23:24 +0400 php-geoip (1.0.2-3) unstable; urgency=low * Add Homepage field * Drop CFLAGS handling in rules -- Sergey B Kirpichev Wed, 28 May 2008 22:55:38 +0400 php-geoip (1.0.2-2) unstable; urgency=low * Correct description -- Sergey B Kirpichev Fri, 23 May 2008 18:10:38 +0400 php-geoip (1.0.2-1) unstable; urgency=low * Initial Release (Closes: #478051) -- Sergey B Kirpichev Sat, 26 Apr 2008 19:56:04 +0400 debian/php5-geoip.prerm0000664000000000000000000000035212263211042012205 0ustar #!/bin/sh set -e dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/geoip.ini \ /etc/php5/mods-available/geoip.ini 1.0.7-5 -- "$@" rm -f /etc/php5/conf.d/geoip.ini [ "$1" = "remove" ] && php5dismod geoip #DEBHELPER# exit 0 debian/php5-geoip.docs0000664000000000000000000000001712263211042012006 0ustar geoip-*/README debian/geoip.ini0000664000000000000000000000002312263211042010760 0ustar extension=geoip.so debian/control0000664000000000000000000000174612263211042010574 0ustar Source: php-geoip Section: php Priority: optional Maintainer: Debian PHP PECL Maintainers Uploaders: Sergey B Kirpichev Build-Depends: debhelper (>= 9), php5-dev (>= 5.4.1), dh-php5, pkg-php-tools (>= 1.6), libgeoip-dev (>= 1.4.0) Standards-Version: 3.9.5 VCS-Git: git://anonscm.debian.org/collab-maint/php-geoip.git VCS-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/php-geoip.git;a=summary Homepage: http://pecl.php.net/package/geoip/ Package: php5-geoip Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${phppear:Debian-Depends} Recommends: geoip-database, ${phppear:Debian-Recommends} Breaks: ${phppear:Debian-Breaks} Description: GeoIP module for php5 This PHP module allows you to find the location of an IP address - City, State, Country, Longitude, Latitude, and other information as all, such as ISP and connection type. . For more info, please visit Maxmind's website: http://www.maxmind.com/ debian/php5-geoip.preinst0000664000000000000000000000030112263211042012536 0ustar #!/bin/sh set -e dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/geoip.ini \ /etc/php5/mods-available/geoip.ini 1.0.7-5 -- "$@" rm -f /etc/php5/conf.d/geoip.ini #DEBHELPER# exit 0 debian/patches/0000775000000000000000000000000012263211042010610 5ustar debian/patches/series0000664000000000000000000000002412263211042012021 0ustar 01_timestamps.patch debian/patches/01_timestamps.patch0000664000000000000000000000202712263211042014320 0ustar Description: Add ChangeLog entry for 1.0.8 (from rev. 324187) and touch README. Author: Sergey B Kirpichev --- a/geoip-1.0.8/ChangeLog 2012-11-30 14:03:08.000000000 +0400 +++ b/geoip-1.0.8/ChangeLog 2012-11-30 14:14:16.000000000 +0400 @@ -1,3 +1,10 @@ +1.0.8 2011-10-23 + + * Windows support + * Fix segfault with newer geoip libraries and geoip_db_get_all_info() (bug #60066) + * Use X-Macros for repeated code + * Updated tests + 1.0.7 2009-03-11 * Do not issue a NOTICE when values don't exist for timezone and region name (as added in 1.0.4) --- a/geoip-1.0.8/README 2012-11-30 14:03:08.000000000 +0400 +++ b/geoip-1.0.8/README 2012-11-30 14:27:42.000000000 +0400 @@ -1,4 +1,4 @@ -This PHP extension allows you to find the location of an IP address - City, State, +This PHP extension allows you to find the location of an IP address - City, State, Country, Longitude, Latitude, and other information as all, such as ISP and connection type. To compile it, you will need to have the GeoIP c library installed. debian/compat0000664000000000000000000000000212263211042010357 0ustar 9 debian/php5-geoip.postinst0000664000000000000000000000035412263211042012745 0ustar #!/bin/sh set -e dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/geoip.ini \ /etc/php5/mods-available/geoip.ini 1.0.7-5 -- "$@" rm -f /etc/php5/conf.d/geoip.ini [ "$1" = "configure" ] && php5enmod geoip #DEBHELPER# exit 0