You are not logged in.
Hello,
here is a PKGBUILD for openswan (IPSEC):
#contributor: Michel Brabants <open.michel.brabants@euphonynet.be>
pkgname=openswan
pkgver=2.4.4
pkgrel=1
pkgdesc="Openswan is an Open Source implementation of IPsec for the Linux operating system. Is it a code fork of the FreeS/WAN project, started by a few of the developers who were growing frustrated with the politics surrounding the FreeS/WAN project."
url="http://www.openswan.org"
source=(http://www.openswan.org/download/$pkgname-$pkgver.tar.gz)
#depends linux 2.6.x, x >= ?
depends=('iproute' 'gawk' 'flex' 'bison' 'gmp')
md5sums=('bd1a46c64727674149de61da2a32ca63')
build() {
cd $startdir/src/$pkgname-$pkgver
make programs || return 1
make INC_USRLOCAL=/usr DESTDIR=$startdir/pkg install
}
This software can only be used with a kernel that has version 2.6.x. Any idea how to represent this dependency?
Thank you,
Michel
Offline
openswan is already in the AUR - I've had it there for quite a while. Re the kernel requirement, I just covered it in comments.
I've also done a a bit more in my PKGBUILD to get files installed in the right places - specifically, the init script in /etc/rc.d/ipsec, and the use of /usr/lib/openswan instead of /usr/libexec (Arch guidelines discourage the use of libexec).
Have a look and let me know what you think.
Offline