summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD53
1 files changed, 40 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 39413ea1ac0..7b83bc19d45 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,27 +4,59 @@
pkgname=vtun
pkgver=3.0.3.2013.d
_pkgver=3.0.3
-pkgrel=9
+pkgrel=11
pkgdesc="The easiest way to create Virtual Tunnels over TCP/IP networks with traffic shaping, compression, encryption and IPv6 support."
arch=('i686' 'x86_64' 'armv7h' 'armv6h')
url="http://vtun.sourceforge.net/"
license=('GPL')
-depends=('openssl-1.0' 'zlib' 'lzo')
+depends=('openssl' 'zlib' 'lzo')
backup=('etc/vtund.conf' 'etc/tun-cfg.conf')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${_pkgver}/${pkgname}-${_pkgver}.tar.gz"
-"https://gist.githubusercontent.com/Mic92/f2d0980682a3ad2247b7/raw/9c2045facaa1f82420b84c581aeeef9ba96fd0c7/0001-fix-bison-compile-error.patch"
- cvs-2013.patch openlog.patch 00-sslauth.patch 01-pidfile.patch 02-dumpfile.patch 03-signedness-warnings.patch 04-implicit-pointer-conversions.patch 05-unix98pty.patch 06-ipv6.patch 07-dual-family-transport.patch vtund-ipv6-client.conf vtund-ipv6-server.conf android-dev.patch tun-cat.c tun-cfg tun-cfg.conf README.tun-cfg)
+ cvs-2013.patch
+ openlog.patch
+ 00-sslauth.patch
+ 01-pidfile.patch
+ 02-dumpfile.patch
+ 03-signedness-warnings.patch
+ 04-implicit-pointer-conversions.patch
+ 05-unix98pty.patch
+ 06-ipv6.patch
+ 07-dual-family-transport.patch
+ 08-gcc5-inline.patch
+ 09-client-uses-lot-of-CPU-after-a-SIGHUP.patch
+ 11-libssl-1.1.patch
+ vtund-ipv6-client.conf
+ vtund-ipv6-server.conf
+ android-dev.patch
+ tun-cat.c
+ tun-cfg
+ tun-cfg.conf
+ README.tun-cfg)
sha512sums=('5fa789d08b556f97492b89515a89c2322c4b0a8fa95bd1035f5ed19061b3654a6a36a9911792096ac872ae9ae5451848cab87d0343dc0ffc064affea1f7d0d54'
-'178f8cfc67f5de4b893bd0790f637c8e6988c4a317428330a7690d01ede0368920de8bcf8a1a08ad74300b772571d7e3d7a063cbfc685bf55dd4651f64d56558'
- SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP)
+ SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP
+ SKIP)
install=vtun.install
prepare() {
cd "${srcdir}"
HELPSTR=/usr/bin/tun-cfg ./tun-cfg --help > README.tun-cfg
cd "${srcdir}/${pkgname}-${_pkgver}"
- # adding latest CVS 3_X2 branch changes and patches ported from Debian Jessie
- for p in cvs-2013.patch openlog.patch 00-sslauth.patch 01-pidfile.patch 02-dumpfile.patch 03-signedness-warnings.patch 04-implicit-pointer-conversions.patch 05-unix98pty.patch 06-ipv6.patch 07-dual-family-transport.patch 0001-fix-bison-compile-error.patch; do
+ # latest CVS 3_X2 branch changes, openlog bugfix and patches ported from Debian
+ for p in \
+ cvs-2013.patch \
+ openlog.patch \
+ 00-sslauth.patch \
+ 01-pidfile.patch \
+ 02-dumpfile.patch \
+ 03-signedness-warnings.patch \
+ 04-implicit-pointer-conversions.patch \
+ 05-unix98pty.patch \
+ 06-ipv6.patch \
+ 07-dual-family-transport.patch \
+ 08-gcc5-inline.patch \
+ 09-client-uses-lot-of-CPU-after-a-SIGHUP.patch \
+ 11-libssl-1.1.patch \
+ ; do
patch -p1 -i "${srcdir}/$p" || exit 1
done
[[ "$CARCH" =~ ^arm ]] && patch -p1 -i "${srcdir}/android-dev.patch"
@@ -35,12 +67,7 @@ prepare() {
build() {
cd "${srcdir}/${pkgname}-${_pkgver}"
- export CFLAGS="$CFLASG -I/usr/include/openssl-1.0"
- export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0"
- export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
./configure \
- --with-ssl-headers=/usr/include/openssl-1.0/openssl \
- --with-blowfish-headers=/usr/include/openssl-1.0/openssl \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \