[Python-apps-commits] r6898 - in packages/sshuttle (22 files)

nomadium-guest at users.alioth.debian.org nomadium-guest at users.alioth.debian.org
Tue Apr 5 02:21:36 UTC 2011


    Date: Tuesday, April 5, 2011 @ 02:21:30
  Author: nomadium-guest
Revision: 6898

Add initial sshuttle packaging

Added:
  packages/sshuttle/branches/
  packages/sshuttle/tags/
  packages/sshuttle/trunk/
  packages/sshuttle/trunk/debian/
  packages/sshuttle/trunk/debian/changelog
  packages/sshuttle/trunk/debian/clean
  packages/sshuttle/trunk/debian/compat
  packages/sshuttle/trunk/debian/control
  packages/sshuttle/trunk/debian/copyright
  packages/sshuttle/trunk/debian/docs
  packages/sshuttle/trunk/debian/install
  packages/sshuttle/trunk/debian/links
  packages/sshuttle/trunk/debian/manpages
  packages/sshuttle/trunk/debian/orig-tar.sh
  packages/sshuttle/trunk/debian/patches/
  packages/sshuttle/trunk/debian/patches/01_manpage.diff
  packages/sshuttle/trunk/debian/patches/series
  packages/sshuttle/trunk/debian/rules
  packages/sshuttle/trunk/debian/source/
  packages/sshuttle/trunk/debian/source/format
  packages/sshuttle/trunk/debian/sshuttle.sh
  packages/sshuttle/trunk/debian/watch


Property changes on: packages/sshuttle/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/sshuttle/trunk/debian/changelog
===================================================================
--- packages/sshuttle/trunk/debian/changelog	                        (rev 0)
+++ packages/sshuttle/trunk/debian/changelog	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1,5 @@
+sshuttle (0.52-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #620897).
+
+ -- Miguel Landaeta <miguel at miguel.cc>  Mon, 04 Apr 2011 20:11:04 -0430

Added: packages/sshuttle/trunk/debian/clean
===================================================================
--- packages/sshuttle/trunk/debian/clean	                        (rev 0)
+++ packages/sshuttle/trunk/debian/clean	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1 @@
+sshuttle.8

Added: packages/sshuttle/trunk/debian/compat
===================================================================
--- packages/sshuttle/trunk/debian/compat	                        (rev 0)
+++ packages/sshuttle/trunk/debian/compat	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1 @@
+7

Added: packages/sshuttle/trunk/debian/control
===================================================================
--- packages/sshuttle/trunk/debian/control	                        (rev 0)
+++ packages/sshuttle/trunk/debian/control	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1,36 @@
+Source: sshuttle
+Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Uploaders: Miguel Landaeta <miguel at miguel.cc>
+Section: net
+Priority: optional
+Build-Depends: debhelper (>= 7.0.50~), pandoc, python (>= 2.6.6-3~),
+Standards-Version: 3.9.1
+X-Python-Version: >= 2.4
+Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/sshuttle/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/sshuttle/trunk/
+Homepage: https://github.com/apenwarr/sshuttle
+
+Package: sshuttle
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, iptables, openssh-client
+Recommends: sudo
+Description: Transparent proxy server that works as a poor man's VPN
+ sshuttle is not exactly a VPN, and not exactly port forwarding.
+ It's kind of both, and kind of neither.
+ .
+ Any TCP session you initiate to one of the proxied IP addresses will
+ be captured by sshuttle and sent over an ssh session to the remote
+ copy of sshuttle, which will then regenerate the connection on that
+ end, and funnel the data back and forth through ssh.
+ .
+ It's like a VPN, since it can forward every port on an entire network,
+ not just ports you specify. Conveniently, it lets you use the "real"
+ IP addresses of each host rather than faking port numbers on localhost.
+ .
+ On the other hand, the way it works is more like ssh port forwarding
+ than a VPN. Normally, a VPN forwards your data one packet at a time,
+ and doesn't care about individual connections; ie. it's "stateless"
+ with respect to the traffic. sshuttle is the opposite of stateless;
+ it tracks every single connection.
+ .
+ It is not needed admin access on the server.

Added: packages/sshuttle/trunk/debian/copyright
===================================================================
--- packages/sshuttle/trunk/debian/copyright	                        (rev 0)
+++ packages/sshuttle/trunk/debian/copyright	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1,81 @@
+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173
+Upstream-Name: sshuttle
+Upstream-Contact: Avery Pennarun <apenwarr at gmail.com>
+Source: https://github.com/apenwarr/sshuttle
+
+Files: *
+Copyright: © 2010-2011, Avery Pennarun <apenwarr at gmail.com>
+License: GPL-2+
+
+Files: compat/*
+Copyright: © 2003-2005, Peter Astrand <astrand at lysator.liu.se>
+License:
+ PSF LICENSE AGREEMENT FOR PYTHON 2.4
+ ------------------------------------
+ .
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
+ otherwise using Python 2.4 software in source or binary form and its
+ associated documentation.
+ .
+ 2. Subject to the terms and conditions of this License Agreement, PSF
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
+ license to reproduce, analyze, test, perform and/or display publicly,
+ prepare derivative works, distribute, and otherwise use Python 2.4
+ alone or in any derivative version, provided, however, that PSF's
+ License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
+ 2001, 2002, 2003, 2004 Python Software Foundation; All Rights Reserved"
+ are retained in Python 2.4 alone or in any derivative version prepared
+ by Licensee.
+ .
+ 3. In the event Licensee prepares a derivative work that is based on
+ or incorporates Python 2.4 or any part thereof, and wants to make
+ the derivative work available to others as provided herein, then
+ Licensee hereby agrees to include in any such work a brief summary of
+ the changes made to Python 2.4.
+ .
+ 4. PSF is making Python 2.4 available to Licensee on an "AS IS"
+ basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+ IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.4 WILL NOT
+ INFRINGE ANY THIRD PARTY RIGHTS.
+ .
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+ 2.4 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.4,
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+ .
+ 6. This License Agreement will automatically terminate upon a material
+ breach of its terms and conditions.
+ .
+ 7. Nothing in this License Agreement shall be deemed to create any
+ relationship of agency, partnership, or joint venture between PSF and
+ Licensee.  This License Agreement does not grant permission to use PSF
+ trademarks or trade name in a trademark sense to endorse or promote
+ products or services of Licensee, or any third party.
+ .
+ 8. By copying, installing or otherwise using Python 2.4, Licensee
+ agrees to be bound by the terms and conditions of this License
+ Agreement.
+
+Files: debian/*
+Copyright: © 2011, Miguel Landaeta <miguel at miguel.cc>
+License: GPL-2+
+
+License: GPL-2+
+ This program 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 program 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 program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public License
+ version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.

Added: packages/sshuttle/trunk/debian/docs
===================================================================
--- packages/sshuttle/trunk/debian/docs	                        (rev 0)
+++ packages/sshuttle/trunk/debian/docs	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1 @@
+README.md

Added: packages/sshuttle/trunk/debian/install
===================================================================
--- packages/sshuttle/trunk/debian/install	                        (rev 0)
+++ packages/sshuttle/trunk/debian/install	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1,3 @@
+*.py                usr/share/sshuttle/sshuttle
+compat              usr/share/sshuttle/sshuttle
+debian/sshuttle.sh  usr/share/sshuttle/scripts

Added: packages/sshuttle/trunk/debian/links
===================================================================
--- packages/sshuttle/trunk/debian/links	                        (rev 0)
+++ packages/sshuttle/trunk/debian/links	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1 @@
+usr/share/sshuttle/scripts/sshuttle.sh  usr/bin/sshuttle

Added: packages/sshuttle/trunk/debian/manpages
===================================================================
--- packages/sshuttle/trunk/debian/manpages	                        (rev 0)
+++ packages/sshuttle/trunk/debian/manpages	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1 @@
+sshuttle.8

Added: packages/sshuttle/trunk/debian/orig-tar.sh
===================================================================
--- packages/sshuttle/trunk/debian/orig-tar.sh	                        (rev 0)
+++ packages/sshuttle/trunk/debian/orig-tar.sh	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+PKG=sshuttle
+TAR=${PKG}_$2.orig.tar.gz
+
+# Just rename upstream source tarball
+mv ${PKG}-$2 $TAR


Property changes on: packages/sshuttle/trunk/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/sshuttle/trunk/debian/patches/01_manpage.diff
===================================================================
--- packages/sshuttle/trunk/debian/patches/01_manpage.diff	                        (rev 0)
+++ packages/sshuttle/trunk/debian/patches/01_manpage.diff	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1,27 @@
+Description: Document missing option in sshuttle manpage
+Author: Miguel Landaeta <miguel at miguel.cc>
+Forwarded: no
+Last-Update: 2011-04-04
+
+--- sshuttle-0.52.orig/sshuttle.md
++++ sshuttle-0.52/sshuttle.md
+@@ -1,6 +1,6 @@
+-% sshuttle(8) Sshuttle 0.46
++% sshuttle(8) Sshuttle 0.52
+ % Avery Pennarun <apenwarr at gmail.com>
+-% 2011-01-25
++% 2011-04-04
+ 
+ # NAME
+ 
+@@ -71,6 +71,10 @@ entire subnet to the VPN.
+     are taken automatically from the server's routing
+     table.
+     
++--dns
++:   capture local DNS requests and forward to the remote DNS
++    server.
++    
+ --python
+ :   specify the name/path of the remote python interpreter. 
+     The default is just `python`, which means to use the

Added: packages/sshuttle/trunk/debian/patches/series
===================================================================
--- packages/sshuttle/trunk/debian/patches/series	                        (rev 0)
+++ packages/sshuttle/trunk/debian/patches/series	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1 @@
+01_manpage.diff

Added: packages/sshuttle/trunk/debian/rules
===================================================================
--- packages/sshuttle/trunk/debian/rules	                        (rev 0)
+++ packages/sshuttle/trunk/debian/rules	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+%:
+	dh $@ --with python2
+
+override_dh_auto_clean:
+override_dh_auto_install:
+override_dh_auto_test:
+
+override_dh_auto_build:
+	pandoc -s -r markdown -w man -o sshuttle.8 sshuttle.md
+
+override_dh_install:
+	dh_install -Xstresstest.py
+
+get-orig-source:
+	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
+	uscan --no-conf --rename --force-download --destdir $(CURDIR)


Property changes on: packages/sshuttle/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/sshuttle/trunk/debian/source/format
===================================================================
--- packages/sshuttle/trunk/debian/source/format	                        (rev 0)
+++ packages/sshuttle/trunk/debian/source/format	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/sshuttle/trunk/debian/sshuttle.sh
===================================================================
--- packages/sshuttle/trunk/debian/sshuttle.sh	                        (rev 0)
+++ packages/sshuttle/trunk/debian/sshuttle.sh	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1,3 @@
+#!/bin/sh
+DIR=/usr/share/sshuttle/sshuttle
+exec python "$DIR/main.py" python "$@"


Property changes on: packages/sshuttle/trunk/debian/sshuttle.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/sshuttle/trunk/debian/watch
===================================================================
--- packages/sshuttle/trunk/debian/watch	                        (rev 0)
+++ packages/sshuttle/trunk/debian/watch	2011-04-05 02:21:30 UTC (rev 6898)
@@ -0,0 +1,4 @@
+version=3
+https://github.com/apenwarr/sshuttle/downloads \
+ /apenwarr/sshuttle/tarball/sshuttle-([0-9\.]+) \
+ debian debian/orig-tar.sh




More information about the Python-apps-commits mailing list