[package] update openswan to 2.6.22 (#5711)
authorFlorian Fainelli <florian@openwrt.org>
Sun, 23 Aug 2009 13:43:35 +0000 (13:43 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 23 Aug 2009 13:43:35 +0000 (13:43 +0000)
SVN-Revision: 17357

net/openswan/Makefile
net/openswan/patches/120-no_manpages.patch [new file with mode: 0644]

index 72dfd77653f82b41480726c9d282e68991a9cfd2..12788a1b408aecba46485ab39304b8528c7638a2 100644 (file)
@@ -9,19 +9,19 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=openswan
-PKG_VERSION:=2.6.18
+PKG_VERSION:=2.6.22
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.openswan.org/download
-PKG_MD5SUM:=b485b38b1074155bc337f80557c24c0d
+PKG_MD5SUM:=
 
 include $(INCLUDE_DIR)/package.mk
 
 define Package/openswan/Default
   TITLE:=Openswan
   URL:=http://www.openswan.org/
-  DEPENDS:=@LINUX_2_6 @!LINUX_2_6_30
+  DEPENDS:=@LINUX_2_6
 endef
 
 define Package/openswan/Default/description
diff --git a/net/openswan/patches/120-no_manpages.patch b/net/openswan/patches/120-no_manpages.patch
new file mode 100644 (file)
index 0000000..32a938a
--- /dev/null
@@ -0,0 +1,24 @@
+diff -urN openswan-2.6.22/programs/Makefile.program openswan-2.6.22.new/programs/Makefile.program
+--- openswan-2.6.22/programs/Makefile.program  2009-06-23 04:53:08.000000000 +0200
++++ openswan-2.6.22.new/programs/Makefile.program      2009-08-23 15:35:32.000000000 +0200
+@@ -92,7 +92,7 @@
+ all: ${PROGRAM}
+ programs: all
+ clean:        cleanall
+-install: doinstall
++install:
+ endif
+diff -urN openswan-2.6.22/programs/pluto/Makefile openswan-2.6.22.new/programs/pluto/Makefile
+--- openswan-2.6.22/programs/pluto/Makefile    2009-06-23 04:53:08.000000000 +0200
++++ openswan-2.6.22.new/programs/pluto/Makefile        2009-08-23 15:40:30.000000000 +0200
+@@ -171,7 +171,7 @@
+ all: $(BINNAMEPLUTO) $(BINNAMEADNSIFNEEDED) $(BINNAMEWHACK) #$(BINNAMEWHACKINIT) 
+ programs: $(BINNAMEPLUTO) $(BINNAMEADNSIFNEEDED) $(BINNAMEWHACK) #$(BINNAMEWHACKINIT)
+ clean:        cleanall
+-install: doinstall
++install:
+ endif
+ doinstall: all