blob: 68555e52decc859201d96ef4996d062039dc48c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 58775 2011-11-18 14:08:01Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Allan Henriksen <allan.henriksen@gmail.com>
pkgname=ipsec-tools
pkgver=0.8.0
pkgrel=2
pkgdesc="KAME IPSec tools ported to Linux"
arch=('i686' 'x86_64' 'mips64el')
url="http://ipsec-tools.sourceforge.net/"
depends=('readline' 'openssl' 'krb5')
makedepends=('linux-headers')
license=('GPL')
options=('!makeflags' '!libtool')
source=(http://downloads.sourceforge.net/sourceforge/ipsec-tools/$pkgname-$pkgver.tar.bz2
racoon.rc
ipsec.rc)
md5sums=('b79aae3055a51f8de5c0f1b8ca6cf619'
'416b8e362d86987b8c55f7153cdafbeb'
'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 --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
}
|