summaryrefslogtreecommitdiff
path: root/social
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-27 23:50:32 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-27 23:50:32 -0300
commit22c0cfe241978c9f2ce46b90bf439b8dcfb05b2a (patch)
tree331a22950c1ce5f6d11802b6552f75e42d0b8e85 /social
parent288296a46ce416ec762d43b7cc1e9a4c4325993e (diff)
parent4ad0265f37b1c4e33b10a93ca5fc7e54f8280b7d (diff)
downloadabslibre-22c0cfe241978c9f2ce46b90bf439b8dcfb05b2a.tar.gz
abslibre-22c0cfe241978c9f2ce46b90bf439b8dcfb05b2a.tar.bz2
abslibre-22c0cfe241978c9f2ce46b90bf439b8dcfb05b2a.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'social')
-rw-r--r--social/openswan/PKGBUILD46
-rw-r--r--social/openswan/compile.patch11
-rw-r--r--social/openswan/openswan.rc.d43
3 files changed, 0 insertions, 100 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')
diff --git a/social/openswan/compile.patch b/social/openswan/compile.patch
deleted file mode 100644
index 8ddff67f2..000000000
--- a/social/openswan/compile.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- openswan-2.6.23/Makefile 2009-09-09 02:42:54.000000000 +0200
-+++ Makefile 2009-12-30 10:13:53.000000000 +0100
-@@ -12,6 +12,8 @@
- # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- # for more details.
- #
-+CFLAGS=-fno-strict-aliasing
-+CXXFLAGS=-fno-strict-aliasing
-
-
- OPENSWANSRCDIR?=$(shell pwd)
diff --git a/social/openswan/openswan.rc.d b/social/openswan/openswan.rc.d
deleted file mode 100644
index 30bd0d56e..000000000
--- a/social/openswan/openswan.rc.d
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting Openswan IPsec"
- /etc/rc.d/ipsec --start
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- add_daemon openswan
- fi
- ;;
- stop)
- stat_busy "Stopping Openswan IPsec"
- /etc/rc.d/ipsec --stop
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- rm_daemon openswan
- fi
- ;;
- restart)
- stat_busy "Restarting Openswan IPsec"
- /etc/rc.d/ipsec --restart
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- add_daemon openswan
- fi
- ;;
- status)
- /etc/rc.d/ipsec --status
- ;;
- *)
- echo "usage: $0 {start|stop|restart|status}"
-esac
-