diff options
author | root <root@rshg054.dnsready.net> | 2011-08-15 23:14:29 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-15 23:14:29 +0000 |
commit | ea595018ba8ae00d7030ff296ec4f50e122d2ea9 (patch) | |
tree | ea62e7b37f59699ecfd7183fa33f0f3a81d39cc0 /core/openvpn/PKGBUILD | |
parent | 4784cc8068c68b6fc23c2bd0ee8158b2a924f5f4 (diff) |
Mon Aug 15 23:14:29 UTC 2011
Diffstat (limited to 'core/openvpn/PKGBUILD')
-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 d0d7111b6..378c58edd 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) 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 |