[arch-commits] Commit in sshuttle/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Feb 27 15:48:57 UTC 2015
Date: Friday, February 27, 2015 @ 16:48:56
Author: fyan
Revision: 128384
upgpkg: sshuttle 0.61-6
fix dependency on net-tools (FS#43919)
Modified:
sshuttle/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-27 15:35:09 UTC (rev 128383)
+++ PKGBUILD 2015-02-27 15:48:56 UTC (rev 128384)
@@ -1,24 +1,30 @@
# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
# Contributor: alphazo <alphazo at gmail.com>
pkgname=sshuttle
pkgver=0.61
-pkgrel=5
+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')
+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')
-build() {
+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
}
@@ -34,6 +40,3 @@
install -Dm644 Documentation/sshuttle.8 "$pkgdir/usr/share/man/man8/sshuttle.8"
}
-
-md5sums=('SKIP'
- '15ed72e2b68dd07ef97abfdcb828d188')
More information about the arch-commits
mailing list