Make ipkg depends on tar and gunzip (#2821)
[openwrt.git] / package / ipsec-tools / Makefile
index 92ea63b..0f24ae1 100644 (file)
@@ -10,12 +10,12 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=ipsec-tools
-PKG_VERSION:=0.6.7
+PKG_VERSION:=0.7
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/ipsec-tools
-PKG_MD5SUM:=4fb764f282dc21cf9a656c58e13dacbb
+PKG_MD5SUM:=c0a586924edde35264ecfe94ad1c261f
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -37,7 +37,10 @@ CONFIGURE_ARGS += \
        --without-libpam \
        --enable-dpd \
        --enable-hybrid \
-       --enable-natt
+       --enable-security-context=no \
+       --enable-natt \
+       --enable-adminport \
+       --enable-ipv6
 
 define Build/Configure
        (cd $(PKG_BUILD_DIR); touch \
@@ -69,10 +72,10 @@ define Package/ipsec-tools/install
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libipsec.so.* $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libracoon.so.* $(1)/usr/lib/
        $(INSTALL_DIR) $(1)/usr/sbin
-       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/plainrsa-gen $(1)/usr/sbin/
-       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/racoon $(1)/usr/sbin/
-       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/racoonctl $(1)/usr/sbin/
-       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/setkey $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/plainrsa-gen $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/racoon $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/racoonctl $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/setkey $(1)/usr/sbin/
 endef
 
 define Package/ipsec-tools/conffiles
This page took 0.022042 seconds and 4 git commands to generate.