diff options
author | Natrio | 2017-05-14 13:21:20 +0300 |
---|---|---|
committer | Natrio | 2017-05-14 13:21:20 +0300 |
commit | 09d2f7927e095b531a273ab5ce8bfdce75087508 (patch) | |
tree | 3fe0e32fcece0829c9ac1f74d0546707b9c2b7de /PKGBUILD | |
parent | 9990854ce1ef5daa29038e6084e704a09c684504 (diff) | |
download | aur-09d2f7927e095b531a273ab5ce8bfdce75087508.tar.gz |
update 3.0.3.2013.d-9, make build with openssl-1.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 \ |