summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-06-08 07:39:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-15 15:12:43 +0100
commit2fa65dd42cef8ebdce85e8d92fbb1ad7d5ccb071 (patch)
tree9fbd34dcea21e2f5d56e13743ad5b7d5047fe36f /meta/recipes-devtools/opkg
parentde4bd3767c18a9ab29282e74a3353c684dbd763c (diff)
downloadpoky-2fa65dd42cef8ebdce85e8d92fbb1ad7d5ccb071.tar.gz
opkg 0.1.8: do_fetch failed since no checksum specified
* We use meta/recipes-devtools/opkg/opkg_svn.bb by default, the opkg_0.1.8.bb failed since no checksum specified. * The add_vercmp.patch in both opkg/ and opkg-0.1.8/, remove the one in opkg-0.1.8/ This patch doesn't impact the output, so I think that we don't have to increment the PR. [YOCTO #2498] (From OE-Core rev: 316fac638646a50149f36ec4687b5a2a6d2e83b1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg')
-rw-r--r--meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch36
-rw-r--r--meta/recipes-devtools/opkg/opkg_0.1.8.bb3
2 files changed, 3 insertions, 36 deletions
diff --git a/meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch b/meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch
deleted file mode 100644
index c3396d5890..0000000000
--- a/meta/recipes-devtools/opkg/opkg-0.1.8/add_vercmp.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1Upstream-Status: Inappropriate [other]
2
3Index: trunk/libopkg/opkg.c
4===================================================================
5--- trunk.orig/libopkg/opkg.c 2010-01-26 20:32:19.000000000 +0000
6+++ trunk/libopkg/opkg.c 2010-01-26 20:40:34.000000000 +0000
7@@ -876,3 +876,18 @@
8
9 return ret;
10 }
11+
12+int
13+opkg_compare_versions (const char *ver1, const char *ver2)
14+{
15+ pkg_t *pkg1, *pkg2;
16+
17+ pkg1 = pkg_new();
18+ pkg2 = pkg_new();
19+
20+ parse_version(pkg1, ver1);
21+ parse_version(pkg2, ver2);
22+
23+ return pkg_compare_versions(pkg1, pkg2);
24+}
25+
26Index: trunk/libopkg/opkg.h
27===================================================================
28--- trunk.orig/libopkg/opkg.h 2010-01-26 20:32:19.000000000 +0000
29+++ trunk/libopkg/opkg.h 2010-01-26 20:35:19.000000000 +0000
30@@ -58,4 +58,6 @@
31
32 int opkg_repository_accessibility_check(void);
33
34+int opkg_compare_versions (const char *ver1, const char *ver2);
35+
36 #endif /* OPKG_H */
diff --git a/meta/recipes-devtools/opkg/opkg_0.1.8.bb b/meta/recipes-devtools/opkg/opkg_0.1.8.bb
index c206b3782f..901508ac62 100644
--- a/meta/recipes-devtools/opkg/opkg_0.1.8.bb
+++ b/meta/recipes-devtools/opkg/opkg_0.1.8.bb
@@ -5,4 +5,7 @@ SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
5 file://headerfix.patch \ 5 file://headerfix.patch \
6 " 6 "
7 7
8SRC_URI[md5sum] = "c714ce0e4863bf1315e3b6913ffe3299"
9SRC_URI[sha256sum] = "ff94bf30bd662d49c4b5057e3a0818d062731adaa555d59abd677ec32a3c1c60"
10
8PR = "${INC_PR}.0" 11PR = "${INC_PR}.0"