Date: Sunday, June 3, 2018 @ 15:41:44 Author: felixonmars Revision: 339380
archrelease: copy trunk to community-any Added: sshuttle/repos/community-any/PKGBUILD (from rev 339379, sshuttle/trunk/PKGBUILD) sshuttle/repos/community-any/prefixes.conf (from rev 339379, sshuttle/trunk/prefixes.conf) sshuttle/repos/community-any/sshuttle.service (from rev 339379, sshuttle/trunk/sshuttle.service) sshuttle/repos/community-any/tunnel.conf (from rev 339379, sshuttle/trunk/tunnel.conf) Deleted: sshuttle/repos/community-any/PKGBUILD sshuttle/repos/community-any/prefixes.conf sshuttle/repos/community-any/sshuttle.service sshuttle/repos/community-any/tunnel.conf ------------------+ PKGBUILD | 98 ++++++++++++++++++++++++++--------------------------- prefixes.conf | 10 ++--- sshuttle.service | 20 +++++----- tunnel.conf | 38 ++++++++++---------- 4 files changed, 84 insertions(+), 82 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-06-03 15:41:16 UTC (rev 339379) +++ PKGBUILD 2018-06-03 15:41:44 UTC (rev 339380) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: alphazo <alph...@gmail.com> - -pkgname=sshuttle -pkgver=0.78.4 -pkgrel=2 -pkgdesc='Transparent proxy server that forwards all TCP packets over ssh' -arch=('any') -url="https://github.com/sshuttle/sshuttle" -license=('GPL2') -depends=('python-setuptools' 'iptables' 'openssh' 'net-tools') -makedepends=('python-sphinx' 'python-setuptools_scm') -checkdepends=('python-pytest-runner' 'python-mock') -backup=('etc/sshuttle/tunnel.conf' 'etc/sshuttle/prefixes.conf') -source=("$pkgname-$pkgver.tar.gz::https://github.com/sshuttle/$pkgname/archive/v$pkgver.tar.gz" - 'sshuttle.service' 'prefixes.conf' 'tunnel.conf') -sha512sums=('3c91d487ffe83a9b8019def6556586e0dc8e6c467275da403178807fb0ef5553781b69357484f58d8c3fda6ef9940caffc371b4698f8b83e4fcba2012575d730' - 'aaf4eb1d1bd76e839b1b64121629458c1657b93584a9510e90eec72b7d475d33a1e76aa64135f5febb0288171b35daa537ccd4bd658b5ee56f26e32734450b0a' - 'cc5a5dee7991c7641fa8a4fb356e1977aa9d1cbfed63cb5ebf8732c4de76be841f66d9267472e70578b176f528d8cfb4f75e634d5d915f4c8bcdc0b801db8a13' - 'acd3d0024d4604cc6a96609286c3f27bce2f0b70a068f58a2110dacc235b22ba7cd83c8989f46d0a9391eda7d272040bb3b1b2c547ae3fa0c9f61bef0a187dda') - -prepare() { - export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver -} - -build() { - cd $pkgname-$pkgver - python setup.py build - - cd docs - make man -} - -check() { - cd $pkgname-$pkgver - python setup.py pytest -} - -package() { - cd $pkgname-$pkgver - python setup.py install --root="$pkgdir" -O1 - - install -Dm644 docs/_build/man/sshuttle.1 "$pkgdir/usr/share/man/man1/sshuttle.1" - - install -d "$pkgdir/etc/sshuttle" - install -m644 "$srcdir"/{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 339379, sshuttle/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-06-03 15:41:44 UTC (rev 339380) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: alphazo <alph...@gmail.com> + +pkgname=sshuttle +pkgver=0.78.4 +pkgrel=3 +pkgdesc='Transparent proxy server that forwards all TCP packets over ssh' +arch=('any') +url="https://github.com/sshuttle/sshuttle" +license=('GPL2') +depends=('python-setuptools' 'iptables' 'openssh' 'net-tools') +makedepends=('python-sphinx' 'python-setuptools_scm') +checkdepends=('python-pytest-runner' 'python-mock') +backup=('etc/sshuttle/tunnel.conf' 'etc/sshuttle/prefixes.conf') +source=("$pkgname-$pkgver.tar.gz::https://github.com/sshuttle/$pkgname/archive/v$pkgver.tar.gz" + 'sshuttle.service' 'prefixes.conf' 'tunnel.conf') +sha512sums=('3c91d487ffe83a9b8019def6556586e0dc8e6c467275da403178807fb0ef5553781b69357484f58d8c3fda6ef9940caffc371b4698f8b83e4fcba2012575d730' + 'c22504798f6220cd6b0946d6975375437c52753a241cd2a6a03d3aeb005ed1d78e6356dde23716e2514ccf6d7f1c6aace43956dbeede1bf028753b9bdcdd8b7d' + 'cc5a5dee7991c7641fa8a4fb356e1977aa9d1cbfed63cb5ebf8732c4de76be841f66d9267472e70578b176f528d8cfb4f75e634d5d915f4c8bcdc0b801db8a13' + 'acd3d0024d4604cc6a96609286c3f27bce2f0b70a068f58a2110dacc235b22ba7cd83c8989f46d0a9391eda7d272040bb3b1b2c547ae3fa0c9f61bef0a187dda') + +prepare() { + export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver +} + +build() { + cd $pkgname-$pkgver + python setup.py build + + cd docs + make man +} + +check() { + cd $pkgname-$pkgver + python setup.py pytest +} + +package() { + cd $pkgname-$pkgver + python setup.py install --root="$pkgdir" -O1 + + install -Dm644 docs/_build/man/sshuttle.1 "$pkgdir/usr/share/man/man1/sshuttle.1" + + install -d "$pkgdir/etc/sshuttle" + install -m644 "$srcdir"/{tunnel.conf,prefixes.conf} "$pkgdir/etc/sshuttle" + install -Dm644 "$srcdir/sshuttle.service" "$pkgdir/usr/lib/systemd/system/sshuttle.service" +} Deleted: prefixes.conf =================================================================== --- prefixes.conf 2018-06-03 15:41:16 UTC (rev 339379) +++ prefixes.conf 2018-06-03 15:41:44 UTC (rev 339380) @@ -1,5 +0,0 @@ -# Output prefixes here, one per line. Prefix is in: -# prefix/netmask format -# Like this: -# 192.168.0.0/16 -# 192.0.43.10/32 Copied: sshuttle/repos/community-any/prefixes.conf (from rev 339379, sshuttle/trunk/prefixes.conf) =================================================================== --- prefixes.conf (rev 0) +++ prefixes.conf 2018-06-03 15:41:44 UTC (rev 339380) @@ -0,0 +1,5 @@ +# Output prefixes here, one per line. Prefix is in: +# prefix/netmask format +# Like this: +# 192.168.0.0/16 +# 192.0.43.10/32 Deleted: sshuttle.service =================================================================== --- sshuttle.service 2018-06-03 15:41:16 UTC (rev 339379) +++ sshuttle.service 2018-06-03 15:41:44 UTC (rev 339380) @@ -1,9 +0,0 @@ -[Unit] -Description=Create a transparent proxy over SSH - -[Service] -Type=notify -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 339379, sshuttle/trunk/sshuttle.service) =================================================================== --- sshuttle.service (rev 0) +++ sshuttle.service 2018-06-03 15:41:44 UTC (rev 339380) @@ -0,0 +1,11 @@ +[Unit] +Description=Create a transparent proxy over SSH +After=network-online.target + +[Service] +Type=notify +NotifyAccess=all +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 Deleted: tunnel.conf =================================================================== --- tunnel.conf 2018-06-03 15:41:16 UTC (rev 339379) +++ tunnel.conf 2018-06-03 15:41:44 UTC (rev 339380) @@ -1,19 +0,0 @@ -# Here is where you can specify any SSH tunnel options See ssh_config(5) for -# details. You need to leave the Host line intact, but everything else can -# specify whatever you want -Host sshuttle_tunnel - -# REQUIRED: Set this to be the host to which you would like to connect your -# tunnel -#Hostname localhost - -# REQUIRED: Set this to be the target SSH user on the remote system -#User foo - -# --------------------------------------------------------------------------- -# The rest are all optional; see ssh_config(5) for the full list of what can -# be specified. Some very commonly needed ones are below. -# --------------------------------------------------------------------------- - -# SSH key used for connecting -#IdentityFile /path/to/key Copied: sshuttle/repos/community-any/tunnel.conf (from rev 339379, sshuttle/trunk/tunnel.conf) =================================================================== --- tunnel.conf (rev 0) +++ tunnel.conf 2018-06-03 15:41:44 UTC (rev 339380) @@ -0,0 +1,19 @@ +# Here is where you can specify any SSH tunnel options See ssh_config(5) for +# details. You need to leave the Host line intact, but everything else can +# specify whatever you want +Host sshuttle_tunnel + +# REQUIRED: Set this to be the host to which you would like to connect your +# tunnel +#Hostname localhost + +# REQUIRED: Set this to be the target SSH user on the remote system +#User foo + +# --------------------------------------------------------------------------- +# The rest are all optional; see ssh_config(5) for the full list of what can +# be specified. Some very commonly needed ones are below. +# --------------------------------------------------------------------------- + +# SSH key used for connecting +#IdentityFile /path/to/key