diff options
Diffstat (limited to 'community/ipsec-tools/PKGBUILD')
-rw-r--r-- | community/ipsec-tools/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/ipsec-tools/PKGBUILD b/community/ipsec-tools/PKGBUILD new file mode 100644 index 000000000..fc17ae173 --- /dev/null +++ b/community/ipsec-tools/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 43019 2011-03-23 21:22:06Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Allan Henriksen <allan.henriksen@gmail.com> + +pkgname=ipsec-tools +pkgver=0.8.0 +pkgrel=1 +pkgdesc="KAME IPSec tools ported to Linux" +arch=('i686' 'x86_64') +url="http://ipsec-tools.sourceforge.net/" +depends=('readline' 'openssl') +license=('GPL') +options=('!makeflags' '!libtool') +source=(http://downloads.sourceforge.net/sourceforge/ipsec-tools/$pkgname-$pkgver.tar.bz2 + racoon.rc + ipsec.rc) +md5sums=('b79aae3055a51f8de5c0f1b8ca6cf619' + 'a9d89177f0eecd1df4fbe21c201ee046' + '90d0810267cbd847383ae3101699b192') + +build() { + cd $srcdir/$pkgname-$pkgver + sed -i 's#-Werror##' configure + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --enable-security-context=no --enable-hybrid --enable-dpd --enable-natt \ + --enable-adminport + make + make DESTDIR=$pkgdir install + install -Dm0755 $srcdir/racoon.rc $pkgdir/etc/rc.d/racoon + install -Dm0755 $srcdir/ipsec.rc $pkgdir/etc/rc.d/ipsec +} |