debian/0000755000000000000000000000000012110641176007165 5ustar debian/libpam-geoip.manpages0000644000000000000000000000003112066614103013241 0ustar geoip.conf.5 pam_geoip.8 debian/control0000644000000000000000000000132512066617610010577 0ustar Source: pam-geoip Section: admin Priority: optional Maintainer: Patrick Matthäi Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), libpam0g-dev, libgeoip-dev, hardening-wrapper Homepage: http://ankh-morp.org/code/pam_geoip/ Package: libpam-geoip Architecture: any Pre-Depends: dpkg (>= 1.15.6~) Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: geoip-database-contrib Description: PAM module checking access of source IPs with a GeoIP database This PAM module provides GeoIP checking for logins. The user can be allowed or denied based on the location of the originating IP address. This is similar to pam_access, but uses a GeoIP City database instead of host name / IP matching. debian/libpam-geoip.examples0000644000000000000000000000003612066614061013274 0ustar geoip.conf geoip.default.conf debian/changelog0000644000000000000000000000062712110641173011041 0ustar pam-geoip (1.1-1) unstable; urgency=low * New upstream release. - Refresh patch 01-multiarch-libdir. - Remove unused lintian override no-upstream-changelog. -- Patrick Matthäi Tue, 19 Feb 2013 10:14:34 +0100 pam-geoip (1.0-1) unstable; urgency=low * Initial release. Closes: #696739 -- Patrick Matthäi Wed, 26 Dec 2012 17:40:29 +0100 debian/copyright0000644000000000000000000000453112066624074011133 0ustar This package was debianized by Patrick Matthäi on Wed, 26 Dec 2012 16:22:58 +0100. It was downloaded from http://ankh-morp.org/code/pam_geoip/ Upstream Authors: Hanno Hecker Copyright: © 2010-2012 Hanno Hecker License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, and the entire permission notice in its entirety, including the disclaimer of warranties. 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 of the author may not be used to endorse or promote products derived from this software without specific prior written permission. ALTERNATIVELY, this product may be distributed under the terms of the GNU General Public License, in which case the provisions of the GPL are required INSTEAD OF the above restrictions. (This clause is necessary due to a potential bad interaction between the GPL and the restrictions contained in a BSD-style copyright.) THIS SOFTWARE IS PROVIDED ``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 AUTHOR 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. On Debian systems, the complete text of the GNU General Public License v2 or later can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is © 2012, Patrick Matthäi and is licensed under the same license as the upstream source, see above. debian/watch0000644000000000000000000000011612066614362010223 0ustar version=3 http://download.ankh-morp.org/pam_geoip/pam_geoip-([\d.]+)\.tar\.gz debian/rules0000755000000000000000000000051312066621004010242 0ustar #!/usr/bin/make -f export DEB_BUILD_HARDENING=1 export MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ override_dh_install: dh_install mv $(CURDIR)/debian/libpam-geoip/etc/security/geoip.default.conf \ $(CURDIR)/debian/libpam-geoip/etc/security/geoip.conf override_dh_builddeb: dh_builddeb -- -Zxz debian/patches/0000755000000000000000000000000012110641176010614 5ustar debian/patches/series0000644000000000000000000000003112066620263012027 0ustar 01-multiarch-libdir.diff debian/patches/01-multiarch-libdir.diff0000644000000000000000000000075012110640620015112 0ustar # Patch to add variable in makefile to support multiarch. diff -Naur pam_geoip-1.1.orig/Makefile pam_geoip-1.1/Makefile --- pam_geoip-1.1.orig/Makefile 2012-12-27 12:35:25.000000000 +0100 +++ pam_geoip-1.1/Makefile 2013-02-19 10:10:01.266143426 +0100 @@ -10,7 +10,7 @@ MODULE=pam_geoip.so LDFLAGS=-lpam -lGeoIP -lm -shared CCFLAGS=-Wall -PAM_LIB_DIR=$(DESTDIR)/lib/security +PAM_LIB_DIR=$(DESTDIR)/lib/$(MULTIARCH)/security INSTALL=/usr/bin/install all: config.h pam_geoip.so doc debian/libpam-geoip.docs0000644000000000000000000000001412066614135012404 0ustar README TODO debian/source/0000755000000000000000000000000012110641176010465 5ustar debian/source/format0000644000000000000000000000001412066620334011676 0ustar 3.0 (quilt) debian/libpam-geoip.install0000644000000000000000000000004112066615202013116 0ustar geoip.default.conf etc/security/ debian/compat0000644000000000000000000000000212066613061010365 0ustar 9 debian/libpam-geoip.lintian-overrides0000644000000000000000000000011112110641143015075 0ustar libpam-geoip: hardening-no-fortify-functions lib/*/security/pam_geoip.so