summaryrefslogtreecommitdiffstats
path: root/testing/openswan
diff options
context:
space:
mode:
Diffstat (limited to 'testing/openswan')
-rw-r--r--testing/openswan/APKBUILD49
-rw-r--r--testing/openswan/ipsec.initd25
-rw-r--r--testing/openswan/setup.patch12
3 files changed, 0 insertions, 86 deletions
diff --git a/testing/openswan/APKBUILD b/testing/openswan/APKBUILD
deleted file mode 100644
index 681521b57..000000000
--- a/testing/openswan/APKBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# Contributor: Danilo Godec <danilo.godec@agenda.si>
-# Maintainer:
-pkgname=openswan
-pkgver=2.6.35
-pkgrel=3
-pkgdesc="IPsec Implementation which Allows Building of VPNs"
-url="http://www.openswan.org/"
-arch="all"
-license="GPL"
-depends=""
-makedepends="gmp-dev bison flex coreutils"
-install=""
-subpackages="$pkgname-doc"
-source="http://www.openswan.org/download/$pkgname-$pkgver.tar.gz ipsec.initd setup.patch"
-
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build() {
- cd "$_builddir"
- make INC_RCDEFAULT=/etc/init.d INC_USRLOCAL=/usr programs || return 1
-}
-
-package() {
- cd "$_builddir"
- make INC_MANDIR=share/man INC_RCDEFAULT=/etc/init.d INC_USRLOCAL=/usr DESTDIR="$pkgdir" install || return 1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-
- install -Dm755 "$srcdir"/ipsec.initd "$pkgdir"/etc/init.d/ipsec
- install -Dm644 BUGS "$pkgdir"/usr/share/doc/$pkgname/BUGS
- install -Dm644 CHANGES "$pkgdir"/usr/share/doc/$pkgname/CHANGES
- install -Dm644 CREDITS "$pkgdir"/usr/share/doc/$pkgname/CREDITS
- install -Dm644 INSTALL "$pkgdir"/usr/share/doc/$pkgname/INSTALL
- install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
- cp -aR docs/* "$pkgdir"/usr/share/doc/$pkgname/
-
-}
-md5sums="7909a251fbbb807914545b7f42437013 openswan-2.6.35.tar.gz
-f019d1fa23627d54462054fedc9de03b ipsec.initd
-fd3cd27f9da9140fabd935377c3d6921 setup.patch"
diff --git a/testing/openswan/ipsec.initd b/testing/openswan/ipsec.initd
deleted file mode 100644
index 32a06008a..000000000
--- a/testing/openswan/ipsec.initd
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/runscript
-
-# Openswan ipsec init.d file for alpine linux.
-
-name=ipsec
-daemon=/usr/libexec/ipsec/setup
-pidfile=/var/run/pluto/ipsec_setup.pid
-
-depend() {
- need net
- after firewall
-}
-
-start() {
- ebegin "Starting ${name}"
- $daemon start
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${name}"
- $daemon stop
- eend $?
-}
-
diff --git a/testing/openswan/setup.patch b/testing/openswan/setup.patch
deleted file mode 100644
index 86ff6d80a..000000000
--- a/testing/openswan/setup.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- openswan-2.6.35-orig/programs/setup/Makefile
-+++ openswan-2.6.35/programs/setup/Makefile
-@@ -36,8 +36,7 @@
- # check the directories we need exist (ie., make install DESTDIR=/tmp/IPsec)
- @mkdir -p $(RCDIR) $(BINDIR)
- # install and link everything
-- @$(INSTALL) $(INSTBINFLAGS) setup $(RCDIR)/ipsec
-- @ln -s $(FINALRCDIR)/ipsec $(BINDIR)/setup
-+ @$(INSTALL) $(INSTBINFLAGS) setup $(BINDIR)/setup
-
- install_file_list::
- @echo $(RCDIR)/ipsec