diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-16 11:12:15 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-16 11:12:15 -0300 |
commit | b73709861e566f564c8cf5cde4b40bd3d17982d9 (patch) | |
tree | 116cd554c488357d4e905feb7f41983a88771517 /core/openvpn | |
parent | af1b08b8cb081b88686b319a122aa5dbf096455f (diff) | |
parent | ea595018ba8ae00d7030ff296ec4f50e122d2ea9 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
multilib/libtool-multilib/PKGBUILD
Diffstat (limited to 'core/openvpn')
-rw-r--r-- | core/openvpn/PKGBUILD | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/core/openvpn/PKGBUILD b/core/openvpn/PKGBUILD index da36b6c63..d90a8a570 100644 --- a/core/openvpn/PKGBUILD +++ b/core/openvpn/PKGBUILD @@ -1,22 +1,22 @@ -# $Id: PKGBUILD 123913 2011-05-14 10:10:30Z thomas $ +# $Id: PKGBUILD 135525 2011-08-14 20:37:18Z thomas $ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=openvpn -pkgver=2.2.0 +pkgver=2.2.1 pkgrel=1 pkgdesc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)" arch=(i686 x86_64 'mips64el') url="http://openvpn.net/index.php/open-source.html" -depends=('openssl' 'lzo2') +depends=('openssl' 'lzo2' 'iproute2') license=('custom') backup=(usr/share/openvpn/easy-rsa/vars - usr/share/openvpn/easy-rsa/openssl.cnf + usr/share/openvpn/easy-rsa/openssl-1.0.0.cnf etc/conf.d/openvpn-tapdev) source=(http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz openvpn.rc openvpn-tapdev.rc openvpn-tapdev.conf) -md5sums=('4f440603eac45fec7be218b87d570834' +md5sums=('500bee5449b29906150569aaf2eb2730' 'a3809b9727f0c2af2d0770f5c7442db2' 'd2c48e970088d679dd3c2afd914ff731' '722f483c9e3ce2ec66d3301aaf7cf3d5') @@ -24,7 +24,11 @@ md5sums=('4f440603eac45fec7be218b87d570834' build() { cd $srcdir/$pkgname-$pkgver # Build openvpn - CFLAGS="$CFLAGS -DPLUGIN_LIBDIR=\\\"/usr/lib/openvpn\\\"" ./configure --prefix=/usr --enable-password-save --mandir=/usr/share/man + CFLAGS="$CFLAGS -DPLUGIN_LIBDIR=\\\"/usr/lib/openvpn\\\"" ./configure \ + --prefix=/usr \ + --enable-password-save \ + --mandir=/usr/share/man \ + --enable-iproute2 make # Build plugins @@ -50,10 +54,15 @@ package() { for plug in auth-pam down-root; do cd $srcdir/$pkgname-$pkgver/plugin/$plug install -D -m755 openvpn-$plug.so $pkgdir/usr/lib/openvpn/openvpn-$plug.so + cd - done + # Install contrib + install -d -m755 $pkgdir/usr/share/openvpn/contrib + cp -r contrib $pkgdir/usr/share/openvpn # Install easy-rsa cd $srcdir/$pkgname-$pkgver make -C easy-rsa/2.0 install DESTDIR=$pkgdir PREFIX=usr/share/openvpn/easy-rsa + rm -f ${pkgdir}/usr/share/openvpn/easy-rsa/openssl-0.9.?.cnf # Install rc scripts install -D -m755 $srcdir/openvpn.rc $pkgdir/etc/rc.d/openvpn install -D -m755 $srcdir/openvpn-tapdev.rc $pkgdir/etc/rc.d/openvpn-tapdev |