+define Package/openswan
+ $(call Package/openswan/Default)
+ SECTION:=net
+ CATEGORY:=Network
+ DEPENDS:=+kmod-openswan +libgmp +ip
+ TITLE+= (daemon)
+ DESCRIPTION+=\\\
+ \\\
+ This package contains the Openswan user-land daemon.
+ URL:=http://www.openswan.org/
+endef
+
+define KernelPackage/openswan
+ SUBMENU:=Network Support
+ $(call Package/openswan/Default)
+ TITLE+= (kernel module)
+ DESCRIPTION+=\\\
+ \\\
+ This package contains the Openswan kernel module.
+ VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
+ FILES:=$(PKG_BUILD_DIR)/modobj*/ipsec.$(LINUX_KMOD_SUFFIX)
+endef
+
+PKG_MAKE_OPTS:= \