Revision: 6967
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6967&view=rev
Author:   gespinasse
Date:     2013-03-16 06:36:51 +0000 (Sat, 16 Mar 2013)
Log Message:
-----------
Use debian collected fix.
I am unsure there will be another openswan release as most developper forked to 
libreswan.
libreswan is far from ready and has different prerequisistes.

Modified Paths:
--------------
    ipcop/trunk/lfs/openswan

Modified: ipcop/trunk/lfs/openswan
===================================================================
--- ipcop/trunk/lfs/openswan    2013-03-16 06:12:29 UTC (rev 6966)
+++ ipcop/trunk/lfs/openswan    2013-03-16 06:36:51 UTC (rev 6967)
@@ -41,11 +41,11 @@
 THISAPP    = $(PKG_NAME)-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = http://www.openswan.org/download
-#DL_FROM    =  http://www.openswan.org/download/development
-#DL_FROM    =  http://www.openswan.org/download/testing
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+PATCH1    := ${PKG_NAME}_${VER}-1.debian.tar.gz
+
 # Used to include same timestamp for all
 # This is the release date
 DATESTAMP = "Mar 24 2012"
@@ -55,11 +55,13 @@
 # Top-level Rules
 ###############################################################################
 
-objects = $(DL_FILE)
+objects = $(DL_FILE) $(PATCH1)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+$(PATCH1) := $(URL_DEBIAN)/o/$(PKG_NAME)/$(PATCH1)
 
 $(DL_FILE)_MD5 = 13073eb5314b83a31be88e4117e8bbcd
+$(PATCH1)_MD5 := 559f9d8ba2270b3377111941ffa67bac
 
 install : $(TARGET)
 
@@ -89,6 +91,8 @@
 $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && tar zxf $(DIR_DL)/$(PATCH1)
+       cd $(DIR_APP) && for patch in `cat debian/patches/series` ; do patch 
-p1 -i debian/patches/$$patch; done
 
        cd $(DIR_APP) && sed -i \
                -e 's%^INC_USRLOCAL.*$$%INC_USRLOCAL=/usr%' \

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to