diff options
author | Nicolás Reynolds <fauno@parabola.nu> | 2013-06-04 10:06:39 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@parabola.nu> | 2013-06-04 10:06:39 -0300 |
commit | 2464712fe15dbc04f29c848c91c06bda456117f4 (patch) | |
tree | ec2c3f6afa5fe1786502a484b594c7bc6d7e58fa /pcr/openswan | |
parent | 3de2ae3dbc1389aa8ec71843924349bfb9a66a5c (diff) | |
download | abslibre-2464712fe15dbc04f29c848c91c06bda456117f4.tar.gz abslibre-2464712fe15dbc04f29c848c91c06bda456117f4.tar.bz2 abslibre-2464712fe15dbc04f29c848c91c06bda456117f4.zip |
openswan for /usr/bin merge
Diffstat (limited to 'pcr/openswan')
-rw-r--r-- | pcr/openswan/PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
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 <ke [AT] xjpvictor [DOT] info> 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 } |