aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-03-22 23:48:13 +0300
committerRoman I Khimov <khimov@altell.ru>2010-03-22 23:49:30 +0300
commit8479d9d3eb7ba08b38381af26f120a89391ed3c0 (patch)
tree2a5a0c649d40be51de0896ae679fd8b8682d9748 /recipes
parentc211977deaf2f84a0fdb55b35c219f169c0ad7fc (diff)
downloadopenembedded-8479d9d3eb7ba08b38381af26f120a89391ed3c0.tar.gz
iptstate: add version 2.2.2
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/iptstate/iptstate.inc2
-rw-r--r--recipes/iptstate/iptstate/iptstate-use-ldflags.patch13
-rw-r--r--recipes/iptstate/iptstate_2.2.2.bb8
3 files changed, 22 insertions, 1 deletions
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"