From 2464712fe15dbc04f29c848c91c06bda456117f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Tue, 4 Jun 2013 10:06:39 -0300 Subject: openswan for /usr/bin merge --- pcr/openswan/PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'pcr/openswan') diff --git a/pcr/openswan/PKGBUILD b/pcr/openswan/PKGBUILD index 97cea98e6..ab7bd69f5 100644 --- a/pcr/openswan/PKGBUILD +++ b/pcr/openswan/PKGBUILD @@ -1,26 +1,31 @@ # Contributor: xjpvictor Huang pkgname=openswan pkgver=2.6.38 -pkgrel=1 +pkgrel=2 pkgdesc="Open Source implementation of IPsec for the Linux operating system" url="http://www.openswan.org" license=('GPL' 'custom') arch=('i686' 'x86_64') depends=('iproute2>=2.6.8' 'gmp' 'perl') makedepends=('flex' 'bison') -conflicts=('ipsec-tools' 'openswan') -provides=('openswan') +conflicts=('ipsec-tools') backup=(etc/ipsec.conf \ etc/ipsec.d/policies/{block,clear,clear-or-private,private,private-or-clear}) source=(http://download.openswan.org/openswan/openswan-$pkgver.tar.gz openswan openswan.service) +prepare() { + cd $srcdir/openswan-$pkgver + # Change install paths to Arch defaults + sed -i 's|/usr/local|/usr|;s|libexec/ipsec|lib/openswan|;s|)/sbin|)/bin|' Makefile.inc +} + build() { cd $srcdir/openswan-$pkgver # Change install paths to Arch defaults - sed -i 's|/usr/local|/usr|;s|libexec/ipsec|lib/openswan|' Makefile.inc + sed -i 's|/usr/local|/usr|;s|libexec/ipsec|lib/openswan|;s|)/sbin|)/bin|' Makefile.inc make USE_XAUTH=true USE_OBJDIR=true programs } -- cgit v1.2.2