summaryrefslogtreecommitdiff
path: root/community/ipsec-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ipsec-tools/PKGBUILD')
-rw-r--r--community/ipsec-tools/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/ipsec-tools/PKGBUILD b/community/ipsec-tools/PKGBUILD
index fc17ae173..77a72f6df 100644
--- a/community/ipsec-tools/PKGBUILD
+++ b/community/ipsec-tools/PKGBUILD
@@ -1,21 +1,21 @@
-# $Id: PKGBUILD 43019 2011-03-23 21:22:06Z spupykin $
+# $Id: PKGBUILD 45815 2011-04-29 12:08:18Z 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
+pkgrel=2
pkgdesc="KAME IPSec tools ported to Linux"
arch=('i686' 'x86_64')
url="http://ipsec-tools.sourceforge.net/"
-depends=('readline' 'openssl')
+depends=('readline' 'openssl' 'krb5')
license=('GPL')
options=('!makeflags' '!libtool')
source=(http://downloads.sourceforge.net/sourceforge/ipsec-tools/$pkgname-$pkgver.tar.bz2
racoon.rc
ipsec.rc)
md5sums=('b79aae3055a51f8de5c0f1b8ca6cf619'
- 'a9d89177f0eecd1df4fbe21c201ee046'
+ '416b8e362d86987b8c55f7153cdafbeb'
'90d0810267cbd847383ae3101699b192')
build() {
@@ -23,8 +23,12 @@ build() {
sed -i 's#-Werror##' configure
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--enable-security-context=no --enable-hybrid --enable-dpd --enable-natt \
- --enable-adminport
+ --enable-adminport --enable-gssapi
make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
install -Dm0755 $srcdir/racoon.rc $pkgdir/etc/rc.d/racoon
install -Dm0755 $srcdir/ipsec.rc $pkgdir/etc/rc.d/ipsec