[oe-commits] Roman I Khimov : iptstate: add version 2.2.2

git version control git at git.openembedded.org
Tue Mar 23 06:38:02 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 8479d9d3eb7ba08b38381af26f120a89391ed3c0
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8479d9d3eb7ba08b38381af26f120a89391ed3c0

Author: Roman I Khimov <khimov at altell.ru>
Date:   Mon Mar 22 23:48:13 2010 +0300

iptstate: add version 2.2.2

Signed-off-by: Roman I Khimov <khimov at altell.ru>

---

 recipes/iptstate/iptstate.inc                      |    2 +-
 .../iptstate/iptstate/iptstate-use-ldflags.patch   |   13 +++++++++++++
 recipes/iptstate/iptstate_2.2.2.bb                 |    8 ++++++++
 3 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/recipes/iptstate/iptstate.inc b/recipes/iptstate/iptstate.inc
index df47555..233526f 100644
--- a/recipes/iptstate/iptstate.inc
+++ b/recipes/iptstate/iptstate.inc
@@ -5,7 +5,7 @@ LICENSE = "zlib"
 DEPENDS = "ncurses libnetfilter-conntrack"
 INC_PR = "r1"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/iptstate/iptstate-${PV}.tar.bz2"
+SRC_URI = "${SOURCEFORGE_MIRROR}/iptstate/iptstate-${PV}.tar.bz2;name=iptstate-${PV}"
 
 do_install () {
 	oe_runmake install SBIN=${D}/${sbindir} MAN=${D}/${mandir}
diff --git a/recipes/iptstate/iptstate/iptstate-use-ldflags.patch b/recipes/iptstate/iptstate/iptstate-use-ldflags.patch
new file mode 100644
index 0000000..692fd8c
--- /dev/null
+++ b/recipes/iptstate/iptstate/iptstate-use-ldflags.patch
@@ -0,0 +1,13 @@
+Index: iptstate-2.2.2/Makefile
+===================================================================
+--- iptstate-2.2.2.orig/Makefile
++++ iptstate-2.2.2/Makefile
+@@ -45,7 +45,7 @@ iptstate: iptstate.cc Makefile
+ 	echo "+------------------------------------------------------------+" ;\
+ 	echo "";
+ 
+-	$(CXX) $(CXXFLAGS) $(CXXFILES) -o iptstate $(LIBS) $(CPPFLAGS)
++	$(CXX) $(CXXFLAGS) $(CXXFILES) $(LDFLAGS) -o iptstate $(LIBS) $(CPPFLAGS)
+ 	@touch iptstate
+ 
+ 	@\
diff --git a/recipes/iptstate/iptstate_2.2.2.bb b/recipes/iptstate/iptstate_2.2.2.bb
new file mode 100644
index 0000000..c6734d4
--- /dev/null
+++ b/recipes/iptstate/iptstate_2.2.2.bb
@@ -0,0 +1,8 @@
+include iptstate.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI += "file://iptstate-use-ldflags.patch;patch=1"
+
+SRC_URI[iptstate-2.2.2.md5sum] = "b3f2e89ef38d6e8a85c8ab88a9c514d8"
+SRC_URI[iptstate-2.2.2.sha256sum] = "2d9654a30a1e22159d93b2988c140571d048d08370b4869b1cb91562c29e1c39"





More information about the Openembedded-commits mailing list