diff options
author | Natrio | 2018-01-10 22:36:08 +0300 |
---|---|---|
committer | Natrio | 2018-01-10 22:36:08 +0300 |
commit | f5d0e162ff85ee8104ebbd441ecadbe2e1300b0f (patch) | |
tree | a2b4d42bfc31e2db2d36e6c04d01df9e0644e97a /PKGBUILD | |
parent | 09d2f7927e095b531a273ab5ce8bfdce75087508 (diff) | |
download | aur-f5d0e162ff85ee8104ebbd441ecadbe2e1300b0f.tar.gz |
Release-11, 2 latest Debian paches added, 1 replaced, switch to openssl-1.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 53 |
1 files changed, 40 insertions, 13 deletions
@@ -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 \ |