debian/0000755000000000000000000000000012236015103007157 5ustar debian/changelog0000644000000000000000000000027012236015103011030 0ustar golang-libgeoip (0.0~git20130525-1) unstable; urgency=low * Initial release. Closes: #728563 -- Tonnerre Lombard Sun, 03 Nov 2013 02:57:51 +0100 debian/docs0000644000000000000000000000001712236015103010030 0ustar README.textile debian/source/0000755000000000000000000000000012236015103010457 5ustar debian/source/format0000644000000000000000000000001412236015103011665 0ustar 3.0 (quilt) debian/control0000644000000000000000000000163512236015103010567 0ustar Source: golang-libgeoip Section: devel Priority: extra Maintainer: Tonnerre Lombard Build-Depends: debhelper (>= 9), golang-go, dh-golang Standards-Version: 3.9.4 Homepage: https://github.com/nranchev/go-libGeoIP/ Vcs-Git: git://anonscm.debian.org/pkg-go/packages/golang-libgeoip.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-go/packages/golang-libgeoip.git;a=summary Package: golang-libgeoip-dev Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: geoip-database Description: Go implementation for lookups against GeoIP files This is the Go implementation of the Maxmind GeoIP API. It is incomplete and work in progress the initial goal is support only two of the database types – the City Lite and Country Lite. The only supported method is loading the full db on startup into memory (memory cache). . At this point, only IPv4 lookups are supported. debian/rules0000755000000000000000000000063112236015103010237 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 # DH_GOPKG is the upstream path which you would normally “go get”. # Using it allows us to build applications without patching locations. export DH_GOPKG := github.com/nranchev/go-libGeoIP override_dh_auto_configure: rm -fr example dh_auto_configure -O--buildsystem=golang %: dh $@ --buildsystem=golang --with=golang debian/compat0000644000000000000000000000000212236015103010355 0ustar 9 debian/copyright0000644000000000000000000000343112236015103011113 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: golang-libgeoip Source: https://github.com/nranchev/go-libGeoIP/ Files: * Copyright: 2013 Nikola Ranchev License: BSD-3-Clause Files: debian/* Copyright: 2013 Tonnerre Lombard License: BSD-3-Clause License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT OWNER OR 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.