summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNatrio2017-05-14 13:21:20 +0300
committerNatrio2017-05-14 13:21:20 +0300
commit09d2f7927e095b531a273ab5ce8bfdce75087508 (patch)
tree3fe0e32fcece0829c9ac1f74d0546707b9c2b7de /PKGBUILD
parent9990854ce1ef5daa29038e6084e704a09c684504 (diff)
downloadaur-09d2f7927e095b531a273ab5ce8bfdce75087508.tar.gz
update 3.0.3.2013.d-9, make build with openssl-1.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
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 \