From 8479d9d3eb7ba08b38381af26f120a89391ed3c0 Mon Sep 17 00:00:00 2001 From: Roman I Khimov Date: Mon, 22 Mar 2010 23:48:13 +0300 Subject: iptstate: add version 2.2.2 Signed-off-by: Roman I Khimov --- recipes/iptstate/iptstate.inc | 2 +- recipes/iptstate/iptstate/iptstate-use-ldflags.patch | 13 +++++++++++++ recipes/iptstate/iptstate_2.2.2.bb | 8 ++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 recipes/iptstate/iptstate/iptstate-use-ldflags.patch create mode 100644 recipes/iptstate/iptstate_2.2.2.bb (limited to 'recipes/iptstate') diff --git a/recipes/iptstate/iptstate.inc b/recipes/iptstate/iptstate.inc index df47555e7f..233526f48d 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 0000000000..692fd8cce3 --- /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 0000000000..c6734d488b --- /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" -- cgit 1.2.3-korg