[arch-commits] Commit in sshuttle/repos/community-any (4 files)
Felix Yan
fyan at archlinux.org
Fri Feb 27 15:49:11 UTC 2015
Date: Friday, February 27, 2015 @ 16:49:10
Author: fyan
Revision: 128385
archrelease: copy trunk to community-any
Added:
sshuttle/repos/community-any/PKGBUILD
(from rev 128384, sshuttle/trunk/PKGBUILD)
sshuttle/repos/community-any/arch-install.patch
(from rev 128384, sshuttle/trunk/arch-install.patch)
Deleted:
sshuttle/repos/community-any/PKGBUILD
sshuttle/repos/community-any/arch-install.patch
--------------------+
PKGBUILD | 81 ++++++++++++++++++++++++++-------------------------
arch-install.patch | 38 +++++++++++------------
2 files changed, 61 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-27 15:48:56 UTC (rev 128384)
+++ PKGBUILD 2015-02-27 15:49:10 UTC (rev 128385)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: alphazo <alphazo at gmail.com>
-
-pkgname=sshuttle
-pkgver=0.61
-pkgrel=5
-pkgdesc="Transparent proxy server that works as a poor man's VPN. Forwards all TCP packets over ssh (and even DNS requests when using --dns option). Doesn't require admin privileges on the server side"
-arch=('any')
-url="https://github.com/apenwarr/sshuttle"
-license=('GPL2')
-depends=('python2' 'iptables' 'openssh')
-makedepends=('python2-markdown' 'python2-beautifulsoup3' 'git')
-source=("git+https://github.com/apenwarr/$pkgname.git#tag=$pkgname-$pkgver"
- "arch-install.patch")
-
-build() {
- cd $pkgname
- patch -p1 -i "$srcdir/arch-install.patch"
-
- sed -i 's#/usr/bin/env python#/usr/bin/env python2#' stresstest.py Documentation/md2man.py
- make
-}
-
-package() {
- cd $pkgname
- install -Dm755 sshuttle "$pkgdir/usr/bin/sshuttle"
-
- install -d "$pkgdir/usr/share/sshuttle"
- cp -r *.py compat "$pkgdir/usr/share/sshuttle"/
-
- install -d "$pkgdir/usr/share/sshuttle/version"
- cp -r version/*.py "$pkgdir/usr/share/sshuttle/version"
-
- install -Dm644 Documentation/sshuttle.8 "$pkgdir/usr/share/man/man8/sshuttle.8"
-}
-
-md5sums=('SKIP'
- '15ed72e2b68dd07ef97abfdcb828d188')
Copied: sshuttle/repos/community-any/PKGBUILD (from rev 128384, sshuttle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-02-27 15:49:10 UTC (rev 128385)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: alphazo <alphazo at gmail.com>
+
+pkgname=sshuttle
+pkgver=0.61
+pkgrel=6
+pkgdesc="Transparent proxy server that works as a poor man's VPN. Forwards all TCP packets over ssh (and even DNS requests when using --dns option). Doesn't require admin privileges on the server side"
+arch=('any')
+url="https://github.com/apenwarr/sshuttle"
+license=('GPL2')
+depends=('python2' 'iptables' 'openssh' 'net-tools')
+makedepends=('python2-markdown' 'python2-beautifulsoup3' 'git')
+source=("git+https://github.com/apenwarr/$pkgname.git#tag=$pkgname-$pkgver"
+ "arch-install.patch")
+md5sums=('SKIP'
+ '15ed72e2b68dd07ef97abfdcb828d188')
+
+prepare() {
+ cd $pkgname
+ patch -p1 -i "$srcdir/arch-install.patch"
+
+ sed -i 's#/usr/bin/env python#/usr/bin/env python2#' stresstest.py Documentation/md2man.py
+}
+
+build() {
+ cd $pkgname
+ make
+}
+
+package() {
+ cd $pkgname
+ install -Dm755 sshuttle "$pkgdir/usr/bin/sshuttle"
+
+ install -d "$pkgdir/usr/share/sshuttle"
+ cp -r *.py compat "$pkgdir/usr/share/sshuttle"/
+
+ install -d "$pkgdir/usr/share/sshuttle/version"
+ cp -r version/*.py "$pkgdir/usr/share/sshuttle/version"
+
+ install -Dm644 Documentation/sshuttle.8 "$pkgdir/usr/share/man/man8/sshuttle.8"
+}
Deleted: arch-install.patch
===================================================================
--- arch-install.patch 2015-02-27 15:48:56 UTC (rev 128384)
+++ arch-install.patch 2015-02-27 15:49:10 UTC (rev 128385)
@@ -1,19 +0,0 @@
-*** sshuttleORIGIN/sshuttle 2011-05-21 22:58:24.156725075 +0200
---- sshuttle 2011-05-21 22:59:16.354698468 +0200
-***************
-*** 4,10 ****
- [ -L "$EXE" ] || break
- EXE=$(readlink "$EXE")
- done
-! DIR=$(dirname "$EXE")
- if python2 -V 2>/dev/null; then
- exec python2 "$DIR/main.py" python2 "$@"
- else
---- 4,10 ----
- [ -L "$EXE" ] || break
- EXE=$(readlink "$EXE")
- done
-! DIR=/usr/share/sshuttle
- if python2 -V 2>/dev/null; then
- exec python2 "$DIR/main.py" python2 "$@"
- else
Copied: sshuttle/repos/community-any/arch-install.patch (from rev 128384, sshuttle/trunk/arch-install.patch)
===================================================================
--- arch-install.patch (rev 0)
+++ arch-install.patch 2015-02-27 15:49:10 UTC (rev 128385)
@@ -0,0 +1,19 @@
+*** sshuttleORIGIN/sshuttle 2011-05-21 22:58:24.156725075 +0200
+--- sshuttle 2011-05-21 22:59:16.354698468 +0200
+***************
+*** 4,10 ****
+ [ -L "$EXE" ] || break
+ EXE=$(readlink "$EXE")
+ done
+! DIR=$(dirname "$EXE")
+ if python2 -V 2>/dev/null; then
+ exec python2 "$DIR/main.py" python2 "$@"
+ else
+--- 4,10 ----
+ [ -L "$EXE" ] || break
+ EXE=$(readlink "$EXE")
+ done
+! DIR=/usr/share/sshuttle
+ if python2 -V 2>/dev/null; then
+ exec python2 "$DIR/main.py" python2 "$@"
+ else
More information about the arch-commits
mailing list