summaryrefslogtreecommitdiff
path: root/social/openswan/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-06-27 21:19:39 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-06-27 21:19:39 -0500
commit4ad0265f37b1c4e33b10a93ca5fc7e54f8280b7d (patch)
tree1ee642ccd39341135b93b4fb91f86311090da956 /social/openswan/PKGBUILD
parentf3e1170738311433f2984ece5e909ae4cff23177 (diff)
Removing openswan. Is in pcr
Diffstat (limited to 'social/openswan/PKGBUILD')
-rw-r--r--social/openswan/PKGBUILD46
1 files changed, 0 insertions, 46 deletions
diff --git a/social/openswan/PKGBUILD b/social/openswan/PKGBUILD
deleted file mode 100644
index b60ca8401..000000000
--- a/social/openswan/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# Contributor: Jan Fader <jan.fader@web.de>
-pkgname=openswan
-pkgver=2.6.36
-pkgrel=1
-pkgdesc="Open Source implementation of IPsec for the Linux operating system"
-url="http://www.openswan.org"
-license=('GPL' 'custom')
-arch=('i686' 'x86_64')
-depends=('iproute' 'gmp' 'perl')
-backup=(etc/ipsec.conf \
- etc/ipsec.d/policies/{block,clear,clear-or-private,private,private-or-clear})
-source=(http://www.openswan.org/download/openswan-$pkgver.tar.gz
- openswan.rc.d
- compile.patch)
-
-build() {
- # Create /etc/rc.d for init script, and license directory
- mkdir -p $pkgdir/{etc/rc.d,usr/share/licenses/openswan}
-
- cd $srcdir/openswan-$pkgver
- patch -p1 -i $srcdir/compile.patch
-
- # Change install paths to Arch defaults
- sed -i 's|/usr/local|/usr|;s|libexec/ipsec|lib/openswan|' Makefile.inc
-
- make USE_XAUTH=true USE_OBJDIR=true programs
-}
-
-package(){
- cd $srcdir/openswan-$pkgver
- make DESTDIR=$pkgdir install
-
- # Change permissions in /var
- chmod 755 $pkgdir/var/run/pluto
-
- # Copy License
- cp LICENSE $pkgdir/usr/share/licenses/openswan
-
- # Install init script
- install -Dm755 ../openswan.rc.d $pkgdir/etc/rc.d/openswan
- # fix manpages
- mv $pkgdir/usr/man $pkgdir/usr/share/
-}
-md5sums=('b3a1733493520bb18729633b62ef8247'
- '543d84162761b9cc9ec319e938c4dd2a'
- '5540437bb334873da646e21ac9caa963')