summaryrefslogtreecommitdiff
path: root/package/strongswan
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/strongswan
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/strongswan')
-rw-r--r--package/strongswan/Config.in10
-rw-r--r--package/strongswan/Makefile28
-rw-r--r--package/strongswan/files/strongswan.init26
-rw-r--r--package/strongswan/ipkg/strongswan.control5
4 files changed, 0 insertions, 69 deletions
diff --git a/package/strongswan/Config.in b/package/strongswan/Config.in
deleted file mode 100644
index 29ccd78d4..000000000
--- a/package/strongswan/Config.in
+++ /dev/null
@@ -1,10 +0,0 @@
-config ADK_PACKAGE_STRONGSWAN
- prompt "strongswan........................ VPN solution using IPsec"
- tristate
- default n
- select ADK_PACKAGE_IP
- select ADK_PACKAGE_LIBGMP
- help
- StrongSwan is an implementation of IPsec for Linux.
-
- http://www.strongswan.org/
diff --git a/package/strongswan/Makefile b/package/strongswan/Makefile
deleted file mode 100644
index 85b0c51e2..000000000
--- a/package/strongswan/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id$
-#-
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include ${TOPDIR}/rules.mk
-
-PKG_NAME:= strongswan
-PKG_VERSION:= 4.1.3
-PKG_RELEASE:= 1
-PKG_MD5SUM:= 8a9f0c0dd939eeb1f6b8d6cb86925ffa
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-MASTER_SITES:= http://download.strongswan.org/
-
-include ${TOPDIR}/mk/package.mk
-
-$(eval $(call PKG_template,STRONGSWAN,strongswan,${PKG_VERSION}-${PKG_RELEASE}))
-
-CONFIGURE_STYLE:= gnu
-BUILD_STYLE:= auto
-INSTALL_STYLE:= auto
-
-post-install:
- ${INSTALL_DIR} ${IDIR_STRONGSWAN}/etc/init.d
- ${INSTALL_BIN} ./files/strongswan.init \
- ${IDIR_STRONGSWAN}/etc/init.d/strongswan
-
-include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/strongswan/files/strongswan.init b/package/strongswan/files/strongswan.init
deleted file mode 100644
index fcf30a469..000000000
--- a/package/strongswan/files/strongswan.init
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-#FWINIT 60
-. /etc/rc.conf
-
-case $1 in
-autostart)
- test x"${ipsec:-NO}" = x"NO" && exit 0
- exec sh $0 start
- ;;
-start)
- /usr/libexec/ipsec/setup start
- ;;
-stop)
- /usr/libexec/ipsec/setup stop
- ;;
-restart)
- sh $0 stop
- sleep 3
- sh $0 start
- ;;
-*)
- echo "Usage: $0 {start | stop | restart}"
- exit 1
- ;;
-esac
-exit $?
diff --git a/package/strongswan/ipkg/strongswan.control b/package/strongswan/ipkg/strongswan.control
deleted file mode 100644
index 2d851d922..000000000
--- a/package/strongswan/ipkg/strongswan.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: strongswan
-Section: base
-Priority: optional
-Depends: libgmp, ip
-Description: StrongSwan IPSec software