--- pysubnettree-0.22.orig/debian/changelog +++ pysubnettree-0.22/debian/changelog @@ -0,0 +1,126 @@ +pysubnettree (0.22-1build2) trusty; urgency=medium + + * No change rebuild to drop python3.3 compiled extension. + + -- Dimitri John Ledkov Tue, 01 Apr 2014 02:00:37 +0100 + +pysubnettree (0.22-1build1) trusty; urgency=medium + + * Rebuild for python3.4 as a supported python version. + + -- Matthias Klose Sat, 04 Jan 2014 18:32:01 +0000 + +pysubnettree (0.22-1) unstable; urgency=low + + * New upstream release + * Update debian/watch for new location at bro.org + * Update debian/copyright + + -- Scott Kitterman Sat, 26 Oct 2013 13:10:39 -0400 + +pysubnettree (0.19-3) unstable; urgency=low + + * Upload to unstable + * Override dh_auto_build to move swig generated files aside to ensure + they are rebuilt during the build + * Update Vcs-* fields to their canonical locations in debian/control + * Update Homepage field in debian/control + + -- Scott Kitterman Mon, 29 Apr 2013 14:11:20 -0400 + +pysubnettree (0.19-2) experimental; urgency=low + + * Add support for Python 3 + - Add python3-all-dev to build-depends + - Add new python3-subnettree binary + - Add python3-subnettree.docs + - Redo debian/rules to support running build with setup.py for all + supported python and python3 versions + + -- Scott Kitterman Fri, 19 Oct 2012 01:22:47 -0400 + +pysubnettree (0.19-1) experimental; urgency=low + + [ Raúl Benencia ] + * New upstream release + - New upstream homepage + - Updated debian/watch file + * Remove deprecated XB-Python-Version field + * Change XS-Python-Version for X-Python-Version + * Updated copyright file to a machine readable format + * Bump standards version to 3.9.4 without further change + + [ Scott Kitterman ] + * Remove unneeded python:Provides + + -- Raúl Benencia Tue, 17 Oct 2012 14:40:42 -0300 + +pysubnettree (0.12-4) unstable; urgency=low + + * Convert from python-central to dh_python2 + - Drop build-depends on python-central + - Bump python-all-dev build-dep requirement to 2.6.5-2~ + - Switch debian/rules to build --with python2 + * Remove DM-Upload-Allowed + + -- Scott Kitterman Mon, 21 Jun 2010 00:21:26 -0400 + +pysubnettree (0.12-3) unstable; urgency=low + + * Fix build for python2.6 so it works by switching from cdbs to dh7 + (closes: 578339) + - Convert debian/rules to dh 7 + - Drop build-depends on cdbs + - Bump minimum debhelper version requirement to 7.4.12 + - Add missing build-depends on swig + - Remove pycompat since it will no longer be regenerated by cdbs + - Renumate debian/docs to debian/python-subnettree.docs + * Change XS/XB-Python-Version from all to >= 2.4 + * Bump standards version to 3.8.4 without further change + + -- Scott Kitterman Mon, 19 Apr 2010 00:35:05 -0400 + +pysubnettree (0.12-2) unstable; urgency=low + + * Fix debian/rules to build for all supported Python versions + * Prepare for Python 2.6 + - Add install-layout=deb to setup.py install rule + - Bump minimum python-all-dev version to 2.5.4-2~ + - Remove extraneous site-packages dir for Python 2.6 + * Bump standards version to 3.8.3 without further change + * Add ${misc:Depends} for python-subnettree + * Fix use of copyright symbol in debian/copyright + + -- Scott Kitterman Mon, 02 Nov 2009 01:40:46 -0500 + +pysubnettree (0.12-1) unstable; urgency=low + + [ Sandro Tosi ] + * debian/control + - uniforming Vcs-Browser field + + [ Scott Kitterman ] + * New upstream release + * Switch to python-central + - Update debian/control and rules + - Remove debian/pyversions + * Update standards version to 3.8.0.1 without further change + * Add XS-DM-Upload-Allowed: yes + + -- Scott Kitterman Sun, 17 Aug 2008 11:36:08 -0400 + +pysubnettree (0.11+1-1) unstable; urgency=low + + * New fake upstream release + - Corrects package license in setup.py + * Removed setup_correction.patch (incorporated upstream) + + -- Scott Kitterman Thu, 18 Oct 2007 15:22:33 -0400 + +pysubnettree (0.11-1) unstable; urgency=low + + * Initial Debian package (Closes: #446816) + * Patch setup.py to correctly reflect package license + (setup_correction.patch) + + -- Scott Kitterman Mon, 15 Oct 2007 17:09:10 -0400 --- pysubnettree-0.22.orig/debian/compat +++ pysubnettree-0.22/debian/compat @@ -0,0 +1 @@ +9 --- pysubnettree-0.22.orig/debian/control +++ pysubnettree-0.22/debian/control @@ -0,0 +1,32 @@ +Source: pysubnettree +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Scott Kitterman +Uploaders: Debian Python Modules Team , + Raúl Benencia +Build-Depends: debhelper (>= 9), python-all-dev (>= 2.6.5-2~), python3-all-dev (>= 3.1.2-12~), swig +X-Python-Version: >= 2.4 +Standards-Version: 3.9.4 +Homepage: http://bro.org/download/README.pysubnettree.html +Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pysubnettree/trunk +Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pysubnettree/trunk/ + +Package: python-subnettree +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: Python Module for CIDR Lookups + The PySubnetTree package provides a Python data structure SubnetTree which + maps subnets given in CIDR (Classless Inter-Domain Routing) notation to + Python objects. Lookups are performed by longest-prefix matching. It supports + IPv6 addresses. + +Package: python3-subnettree +Architecture: any +Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: Python3 Module for CIDR Lookups + The PySubnetTree package provides a Python data structure SubnetTree which + maps subnets given in CIDR (Classless Inter-Domain Routing) notation to + Python3 objects. Lookups are performed by longest-prefix matching. It supports + IPv6 addresses. + --- pysubnettree-0.22.orig/debian/copyright +++ pysubnettree-0.22/debian/copyright @@ -0,0 +1,78 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: PySubnetTree +Source: http://git.bro-ids.org/pysubnettree.git + +Files: * +Copyright: 1995-2013, The Regents of the University of California through + the Lawrence Berkeley National Laboratory + 1995-2013, International Computer Science Institute. +License: BSD-3-clause + +Files: debian/* +Copyright: 2007-2013, Scott Kitterman + 2012, Raúl Benencia +License: BSD-3-clause + +Files: patricia.* +Copyright: 1997-1999, Dave Plonka + 1997-1999, The Regents of the University of Michigan and + Merit Network. All rights reserved. +License: BSD-4-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: + . + (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) Neither the name of the University of California, Lawrence Berkeley + National Laboratory, U.S. Dept. of Energy, International Computer + Science Institute, nor the names of 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. + +License: BSD-4-clause + 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, 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. All advertising materials mentioning features or use of + this software must display the following acknowledgement: + This product includes software developed by the University of Michigan, Merit + Network, Inc., and their contributors. + 4. Neither the name of the University, Merit Network, nor the + names of their contributors may be used to endorse or + promote products derived from this software without + specific prior written permission. + THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. --- pysubnettree-0.22.orig/debian/python-subnettree.docs +++ pysubnettree-0.22/debian/python-subnettree.docs @@ -0,0 +1 @@ +README --- pysubnettree-0.22.orig/debian/python3-subnettree.docs +++ pysubnettree-0.22/debian/python3-subnettree.docs @@ -0,0 +1 @@ +README --- pysubnettree-0.22.orig/debian/rules +++ pysubnettree-0.22/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +buildvers := $(shell pyversions -sv) +build3vers := $(shell py3versions -sv) + +%: + dh $@ --with python2, --with python3 + +override_dh_auto_build: + mv $(CURDIR)/SubnetTree_wrap.cc $(CURDIR)/not.SubnetTree_wrap.cc + dh_auto_build + mv $(CURDIR)/not.SubnetTree_wrap.cc $(CURDIR)/SubnetTree_wrap.cc + +override_dh_auto_install: + dh_install -ppython-subnettree + set -e && for i in $(buildvers); do \ + python$$i ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python-subnettree; \ + done + + dh_install -ppython3-subnettree + set -e && for i in $(build3vers); do \ + python$$i ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-subnettree; \ + done + +override_dh_clean: + dh_clean + rm -rf $(CURDIR)/build --- pysubnettree-0.22.orig/debian/watch +++ pysubnettree-0.22/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://www.bro.org/download/index.html \ + http://www.bro.org/downloads/release/pysubnettree-(.*)\.tar\.gz