debian/0000775000000000000000000000000012214047205007165 5ustar debian/control0000664000000000000000000000224612214047205010574 0ustar Source: ip4r Section: misc Priority: extra Maintainer: Christoph Berg Build-Depends: debhelper (>= 8), postgresql-server-dev-all (>= 148~) Standards-Version: 3.9.4 Homepage: http://pgfoundry.org/projects/ip4r/ Vcs-Git: git://anonscm.debian.org/pkg-postgresql/ip4r.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-postgresql/ip4r.git XS-Testsuite: autopkgtest Package: postgresql-9.3-ip4r Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-9.3 Description: IPv4 and IPv6 types for PostgreSQL 9.3 This PostgreSQL module provides several data types which can contain single IPv4 or IPv6 addresses or a range of such addresses. . ip4r supports these data types: . ip4: IPv4 address '#.#.#.#' ip4r: IPv4 range '#.#.#.#-#.#.#.#' or '#.#.#.#/#' or '#.#.#.#' ip6: IPv6 address 'xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx' ip6r: IPv6 range '#-#' or '#/#' or '#' ipaddress: IPv4 or IPv6 address iprange: IPv4 or IPv6 range . While PostgreSQL already has built-in types 'inet' and 'cidr', the authors of this module found that they had a number of requirements that were not addressed by the built-in types. debian/tests/0000775000000000000000000000000012214047005010325 5ustar debian/tests/control0000664000000000000000000000012312214047005011724 0ustar Depends: @, postgresql-server-dev-all Tests: installcheck Restrictions: needs-root debian/tests/installcheck0000775000000000000000000000117412214047005012722 0ustar #!/bin/sh set -e # adt-run creates $TMPDIR in a way that other users (like postgres) cannot use # it unset TMPDIR for v in $(pg_buildext supported-versions); do mkdir -p build-$v test -L build-$v/sql || ln -s ../sql build-$v/ test -L build-$v/expected || ln -s ../expected build-$v/ # redirect stderr to stdout so autopkgtest doesn't consider "NOTICE: # database "contrib_regression" does not exist, skipping" to be an # error if ! pg_virtualenv -v $v \ make -f $PWD/Makefile -C build-$v \ installcheck PG_CONFIG=/usr/lib/postgresql/$v/bin/pg_config 2>&1; then head -n 500 build-$v/regression.diffs exit 1 fi done debian/changelog0000664000000000000000000000525412214047160011045 0ustar ip4r (2.0-2) unstable; urgency=low [ Martin Pitt ] * debian/tests/control: Add missing postgresql-server-dev-all test dependency, as our installcheck test calls pg_buildext. * debian/tests/installcheck: Create build directory if missing (our test does not declare that the package needs to be built first). * debian/tests/installcheck: Unset TMPDIR, so that the test does not fail on an inaccessible temp dir for user "postgres". [ Christoph Berg ] * Use "9.1+" in debian/pgversions and B-D on pg-server-dev-all >= 148. -- Christoph Berg Wed, 11 Sep 2013 13:04:41 +0200 ip4r (2.0-1) unstable; urgency=low * New upstream version, from ip4r-extension-2.0.tgz. * Set supported PostgreSQL versions to 9.1+. * Promote Recommends: postgresql-x.y to Depends. * Update (and shorten) description to mention new IPv6 types. * Add autopkgtest support. * Bump compat to 8, use 3.0 (quilt), convert to dh rules. * Add Vcs fields, add ${misc:Depends}. * Update copyright file to include actual PostgreSQL copyright terms. * Add watch file. * Taking over as maintainer, thanks Robert for the permission. -- Christoph Berg Sun, 12 May 2013 19:36:36 -0700 ip4r (1.05-0.1) unstable; urgency=low * Non-maintainer upload. * New upstream version compatible with PG 9.0. * Convert to use pg_buildext to build against PG 9.1; closes: #605711, #639470. -- Christoph Berg Sat, 08 Oct 2011 14:34:24 +0200 ip4r (1.04-1) unstable; urgency=low * New upstream release; closes: #537693. * Drop postgresql-8.3-ip4r and build postgresql-8.4-ip4r; closes: #559584. -- Robert S. Edmonds Sun, 06 Dec 2009 13:56:15 -0800 ip4r (1.03-2) unstable; urgency=low * Drop postgresql-8.2-ip4r; closes: #474285. -- Robert S. Edmonds Sat, 05 Apr 2008 12:43:15 -0400 ip4r (1.03-1) unstable; urgency=low * New upstream release (supports PostgreSQL 8.3). * Build new binary package postgresql-8.3-ip4r. -- Robert S. Edmonds Mon, 04 Feb 2008 18:32:21 -0500 ip4r (1.01-2) unstable; urgency=low * Use /usr/lib/postgresql/8.2/bin/pg_config instead of /usr/bin/pg_config in upstream Makefile; closes: #460379. * Drop cdbs packaging. -- Robert S. Edmonds Sat, 12 Jan 2008 15:49:57 -0500 ip4r (1.01-1) unstable; urgency=low * New upstream release. * Build extension module for postgresql-8.2, closes: #419295. -- Robert S. Edmonds Mon, 16 Apr 2007 15:17:48 -0400 ip4r (1.0-1) unstable; urgency=low * Initial release, closes: #381811. -- Robert S. Edmonds Mon, 7 Aug 2006 01:01:13 -0400 debian/copyright0000664000000000000000000000316012214047005011116 0ustar This package was debianized by Robert Edmonds on Thu, 16 Mar 2006 13:50:09 -0500. It was downloaded from http://pgfoundry.org/projects/ip4r/ Copyright Holders: Copyright (c) 2004-2011 Andrew Gierth Copyright (c) Steve Atkins License: this code by andrew@tao11.riddles.org.uk Oct 2004 - Nov 2011 derived from 'ipr' by Steve Atkins August 2003 derived from the 'seg' type distributed with PostgreSQL. Distributed under the same terms as PostgreSQL itself: Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group Portions Copyright (c) 1994, The Regents of the University of California Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. debian/compat0000664000000000000000000000000212214047005010361 0ustar 8 debian/patches/0000775000000000000000000000000012214047005010612 5ustar debian/patches/series0000664000000000000000000000001612214047005012024 0ustar Makefile-docs debian/patches/Makefile-docs0000664000000000000000000000043412214047005013201 0ustar --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ EXTENSION = ip4r MODULE_big = ip4r DATA = ip4r--2.0.sql ip4r--unpackaged2.0--2.0.sql ip4r--unpackaged1--2.0.sql -DOCS = README.ip4r +#DOCS = README.ip4r OBJS = ip4r_module.o ip4r.o ip6r.o ipaddr.o iprange.o raw_io.o REGRESS = ip4r debian/pgversions0000664000000000000000000000000512214047060011301 0ustar 9.1+ debian/control.in0000664000000000000000000000226712214047071011205 0ustar Source: ip4r Section: misc Priority: extra Maintainer: Christoph Berg Build-Depends: debhelper (>= 8), postgresql-server-dev-all (>= 148~) Standards-Version: 3.9.4 Homepage: http://pgfoundry.org/projects/ip4r/ Vcs-Git: git://anonscm.debian.org/pkg-postgresql/ip4r.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-postgresql/ip4r.git XS-Testsuite: autopkgtest Package: postgresql-PGVERSION-ip4r Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-PGVERSION Description: IPv4 and IPv6 types for PostgreSQL PGVERSION This PostgreSQL module provides several data types which can contain single IPv4 or IPv6 addresses or a range of such addresses. . ip4r supports these data types: . ip4: IPv4 address '#.#.#.#' ip4r: IPv4 range '#.#.#.#-#.#.#.#' or '#.#.#.#/#' or '#.#.#.#' ip6: IPv6 address 'xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx' ip6r: IPv6 range '#-#' or '#/#' or '#' ipaddress: IPv4 or IPv6 address iprange: IPv4 or IPv6 range . While PostgreSQL already has built-in types 'inet' and 'cidr', the authors of this module found that they had a number of requirements that were not addressed by the built-in types. debian/source/0000775000000000000000000000000012214047005010463 5ustar debian/source/format0000664000000000000000000000001412214047005011671 0ustar 3.0 (quilt) debian/rules0000775000000000000000000000067012214047005010246 0ustar #!/usr/bin/make -f SRCDIR=$(CURDIR) include /usr/share/postgresql-common/pgxs_debian_control.mk clean: debian/control .PHONY: debian/control override_dh_auto_build: +pg_buildext build $(SRCDIR) build-%v "$(CFLAGS)" override_dh_auto_clean: +pg_buildext clean $(SRCDIR) build-%v override_dh_auto_install: +pg_buildext install $(SRCDIR) build-%v postgresql-%v-ip4r override_dh_installdocs: dh_installdocs --all README.ip4r %: dh $@ debian/watch0000664000000000000000000000017012214047005010212 0ustar version=3 http://pgfoundry.org/frs/?group_id=1000079 /frs/download.php/[0-9]+/ip4r(?:-extension)?-([0-9.]+).t(?:ar.)?gz