summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatrio2017-05-14 13:21:20 +0300
committerNatrio2017-05-14 13:21:20 +0300
commit09d2f7927e095b531a273ab5ce8bfdce75087508 (patch)
tree3fe0e32fcece0829c9ac1f74d0546707b9c2b7de
parent9990854ce1ef5daa29038e6084e704a09c684504 (diff)
downloadaur-09d2f7927e095b531a273ab5ce8bfdce75087508.tar.gz
update 3.0.3.2013.d-9, make build with openssl-1.0
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6756613d3ec3..49421ce28161 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Mar 7 07:31:51 UTC 2017
+# Sun May 14 10:19:45 UTC 2017
pkgbase = vtun
pkgdesc = The easiest way to create Virtual Tunnels over TCP/IP networks with traffic shaping, compression, encryption and IPv6 support.
pkgver = 3.0.3.2013.d
- pkgrel = 8
+ pkgrel = 9
url = http://vtun.sourceforge.net/
install = vtun.install
arch = i686
@@ -11,7 +11,7 @@ pkgbase = vtun
arch = armv7h
arch = armv6h
license = GPL
- depends = openssl
+ depends = openssl-1.0
depends = zlib
depends = lzo
backup = etc/vtund.conf
diff --git a/PKGBUILD b/PKGBUILD
index a14606b93ae0..39413ea1ac04 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,12 +4,12 @@
pkgname=vtun
pkgver=3.0.3.2013.d
_pkgver=3.0.3
-pkgrel=8
+pkgrel=9
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' 'zlib' 'lzo')
+depends=('openssl-1.0' '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"
@@ -35,7 +35,12 @@ 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 \