--- python-unshare-0.1.orig/debian/watch +++ python-unshare-0.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://code.google.com/p/python-unshare/downloads/list?can=1 \ + .*/python-unshare-(\d[\d.]*)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz) --- python-unshare-0.1.orig/debian/rules +++ python-unshare-0.1/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python2 + --- python-unshare-0.1.orig/debian/copyright +++ python-unshare-0.1/debian/copyright @@ -0,0 +1,30 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: python-unshare +Upstream-Contact: Martín Ferrari +Source: http://code.google.com/p/python-unshare/ + +Files: * +Copyright: © 2010-2012 Martín Ferrari +License: GPL-2+ + +Files: debian/* +Copyright: © 2012 Martín Ferrari +License: GPL-2+ + +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. --- python-unshare-0.1.orig/debian/compat +++ python-unshare-0.1/debian/compat @@ -0,0 +1 @@ +9 --- python-unshare-0.1.orig/debian/control +++ python-unshare-0.1/debian/control @@ -0,0 +1,25 @@ +Source: python-unshare +Maintainer: Martín Ferrari +Section: python +Priority: optional +Build-Depends: python-all-dev, debhelper (>= 9), python-support (>= 0.8.4) +Standards-Version: 3.9.3 + +Package: python-unshare +Architecture: linux-any +Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides} +Description: Python bindings for the Linux unshare() syscall + This simple extension provides bindings to the Linux unshare() syscall, added + in kernel version 2.6.16. + . + By using unshare(), new and interesting features of the Linux kernel can be + exploited, such as: + . + * Creating a new network name space (CLONE_NEWNET) + * Creating a new file system mount name space (CLONE_NEWNS) + * Reverting other features shared from clone() + . + This library provides an equivalent of the util-linux command-line program + unshare. --- python-unshare-0.1.orig/debian/changelog +++ python-unshare-0.1/debian/changelog @@ -0,0 +1,12 @@ +python-unshare (0.1-2) unstable; urgency=low + + * debian/control: Set Architecture to linux-any, as this will obviously not + work on kfreebsd or hurd. + + -- Martín Ferrari Sat, 30 Jun 2012 00:55:22 +0100 + +python-unshare (0.1-1) unstable; urgency=low + + * Initial release. Closes: #676969. + + -- Martín Ferrari Mon, 11 Jun 2012 04:15:06 +0100 --- python-unshare-0.1.orig/debian/source/format +++ python-unshare-0.1/debian/source/format @@ -0,0 +1 @@ +1.0