[arch-commits] Commit in sshuttle/repos/community-any (6 files)

Felix Yan fyan at archlinux.org
Wed Oct 28 12:15:28 UTC 2015


    Date: Wednesday, October 28, 2015 @ 13:15:28
  Author: fyan
Revision: 145190

archrelease: copy trunk to community-any

Added:
  sshuttle/repos/community-any/PKGBUILD
    (from rev 145189, sshuttle/trunk/PKGBUILD)
  sshuttle/repos/community-any/arch-install.patch
    (from rev 145189, sshuttle/trunk/arch-install.patch)
  sshuttle/repos/community-any/sshuttle.service
    (from rev 145189, sshuttle/trunk/sshuttle.service)
Deleted:
  sshuttle/repos/community-any/PKGBUILD
  sshuttle/repos/community-any/arch-install.patch
  sshuttle/repos/community-any/sshuttle.service

--------------------+
 PKGBUILD           |   95 ++++++++++++++++++++++++---------------------------
 arch-install.patch |   38 ++++++++++----------
 sshuttle.service   |   16 ++++----
 3 files changed, 73 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-28 12:15:06 UTC (rev 145189)
+++ PKGBUILD	2015-10-28 12:15:28 UTC (rev 145190)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: alphazo <alphazo at gmail.com>
-
-pkgname=sshuttle
-pkgver=0.71.20150916
-_commit=3cf5002b62650c26a50e18af8d8c5c91d754bab9
-pkgrel=1
-pkgdesc='Transparent proxy server that forwards all TCP packets over ssh'
-arch=('any')
-url="https://github.com/sshuttle/sshuttle"
-license=('GPL2')
-depends=('python2' 'iptables' 'openssh' 'net-tools')
-makedepends=('git')
-backup=('etc/sshuttle/tunnel.conf' 'etc/sshuttle/prefixes.conf')
-#source=("git+https://github.com/sshuttle/$pkgname.git#tag=$pkgname-$pkgver"
-source=("git+https://github.com/sshuttle/$pkgname.git#commit=$_commit"
-        'sshuttle.service' 'arch-install.patch')
-md5sums=('SKIP'
-         'f2cd1660dcdb4e24b45b71e589da73f3'
-         '15ed72e2b68dd07ef97abfdcb828d188')
-
-prepare() {
-  cd $pkgname/src
-  patch -p1 -i "$srcdir/arch-install.patch"
-
-  sed -i 's#/usr/bin/env python#/usr/bin/env python2#' stresstest.py
-}
-
-build() {
-  cd $pkgname/src
-  make
-}
-
-package() {
-  cd $pkgname/src
-  install -Dm755 sshuttle "$pkgdir/usr/bin/sshuttle"
-
-  install -d "$pkgdir/usr/share/sshuttle"
-  cp -r *.py compat "$pkgdir/usr/share/sshuttle"/
-
-  # pandoc not present, so manpage was not built
-  # install -Dm644 sshuttle.8 "$pkgdir/usr/share/man/man8/sshuttle.8"
-
-  cd ..
-  install -d "$pkgdir/etc/sshuttle"
-  install -Dm644 packaging/{tunnel.conf,prefixes.conf} "$pkgdir/etc/sshuttle"
-  install -Dm644 "$srcdir/sshuttle.service" "$pkgdir/usr/lib/systemd/system/sshuttle.service"
-}

Copied: sshuttle/repos/community-any/PKGBUILD (from rev 145189, sshuttle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-10-28 12:15:28 UTC (rev 145190)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: alphazo <alphazo at gmail.com>
+
+pkgname=sshuttle
+pkgver=0.72
+pkgrel=1
+pkgdesc='Transparent proxy server that forwards all TCP packets over ssh'
+arch=('any')
+url="https://github.com/sshuttle/sshuttle"
+license=('GPL2')
+depends=('python2' 'iptables' 'openssh' 'net-tools')
+makedepends=('git' 'pandoc')
+backup=('etc/sshuttle/tunnel.conf' 'etc/sshuttle/prefixes.conf')
+source=("git+https://github.com/sshuttle/$pkgname.git#tag=$pkgname-$pkgver"
+        'sshuttle.service' 'arch-install.patch')
+md5sums=('SKIP'
+         'f2cd1660dcdb4e24b45b71e589da73f3'
+         '15ed72e2b68dd07ef97abfdcb828d188')
+
+prepare() {
+  cd $pkgname/src
+  patch -p1 -i "$srcdir/arch-install.patch"
+
+  sed -i 's#/usr/bin/env python#/usr/bin/env python2#' stresstest.py
+}
+
+build() {
+  cd $pkgname/src
+  make
+}
+
+package() {
+  cd $pkgname/src
+  install -Dm755 sshuttle "$pkgdir/usr/bin/sshuttle"
+
+  install -d "$pkgdir/usr/share/sshuttle"
+  cp -r *.py compat "$pkgdir/usr/share/sshuttle"/
+
+  install -Dm644 sshuttle.8 "$pkgdir/usr/share/man/man8/sshuttle.8"
+
+  cd ..
+  install -d "$pkgdir/etc/sshuttle"
+  install -Dm644 packaging/{tunnel.conf,prefixes.conf} "$pkgdir/etc/sshuttle"
+  install -Dm644 "$srcdir/sshuttle.service" "$pkgdir/usr/lib/systemd/system/sshuttle.service"
+}

Deleted: arch-install.patch
===================================================================
--- arch-install.patch	2015-10-28 12:15:06 UTC (rev 145189)
+++ arch-install.patch	2015-10-28 12:15:28 UTC (rev 145190)
@@ -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 145189, sshuttle/trunk/arch-install.patch)
===================================================================
--- arch-install.patch	                        (rev 0)
+++ arch-install.patch	2015-10-28 12:15:28 UTC (rev 145190)
@@ -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

Deleted: sshuttle.service
===================================================================
--- sshuttle.service	2015-10-28 12:15:06 UTC (rev 145189)
+++ sshuttle.service	2015-10-28 12:15:28 UTC (rev 145190)
@@ -1,8 +0,0 @@
-[Unit]
-Description=Create a transparent proxy over SSH
-
-[Service]
-ExecStart=/usr/bin/sshuttle --dns --listen 0.0.0.0 --remote sshuttle_tunnel -s /etc/sshuttle/prefixes.conf -e "ssh -F /etc/sshuttle/tunnel.conf"
-
-[Install]
-WantedBy=multi-user.target

Copied: sshuttle/repos/community-any/sshuttle.service (from rev 145189, sshuttle/trunk/sshuttle.service)
===================================================================
--- sshuttle.service	                        (rev 0)
+++ sshuttle.service	2015-10-28 12:15:28 UTC (rev 145190)
@@ -0,0 +1,8 @@
+[Unit]
+Description=Create a transparent proxy over SSH
+
+[Service]
+ExecStart=/usr/bin/sshuttle --dns --listen 0.0.0.0 --remote sshuttle_tunnel -s /etc/sshuttle/prefixes.conf -e "ssh -F /etc/sshuttle/tunnel.conf"
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list