All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][V2] sqlite3: upgrade to 3.8.10
@ 2015-05-19  6:15 rongqing.li
  2015-05-19 10:50 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: rongqing.li @ 2015-05-19  6:15 UTC (permalink / raw)
  To: openembedded-core

From: Roy Li <rongqing.li@windriver.com>

upgrade to include CVE fixes

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 .../files/0001-using-the-dynamic-library.patch     | 28 ++++++++++++++++++++++
 .../{sqlite3_3.8.7.4.bb => sqlite3_3.8.10.0.bb}    |  8 ++++---
 2 files changed, 33 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-support/sqlite/files/0001-using-the-dynamic-library.patch
 rename meta/recipes-support/sqlite/{sqlite3_3.8.7.4.bb => sqlite3_3.8.10.0.bb} (64%)

diff --git a/meta/recipes-support/sqlite/files/0001-using-the-dynamic-library.patch b/meta/recipes-support/sqlite/files/0001-using-the-dynamic-library.patch
new file mode 100644
index 0000000..5818aa2
--- /dev/null
+++ b/meta/recipes-support/sqlite/files/0001-using-the-dynamic-library.patch
@@ -0,0 +1,28 @@
+[PATCH] using the dynamic library
+
+Upstream-Status:  Inappropriate [configuration] 
+
+using the dynamic library, not link statically
+
+Signed-off-by: Roy Li <rongqing.li@windriver.com>
+---
+ Makefile.am | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 88bc23d..fe50f20 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -7,7 +7,8 @@ libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8
+ 
+ bin_PROGRAMS = sqlite3
+ sqlite3_SOURCES = shell.c sqlite3.h
+-sqlite3_LDADD = sqlite3.$(OBJEXT) @READLINE_LIBS@
++sqlite3_LDADD = @READLINE_LIBS@ libsqlite3.la
++
+ 
+ include_HEADERS = sqlite3.h sqlite3ext.h
+ 
+-- 
+1.9.1
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.8.7.4.bb b/meta/recipes-support/sqlite/sqlite3_3.8.10.0.bb
similarity index 64%
rename from meta/recipes-support/sqlite/sqlite3_3.8.7.4.bb
rename to meta/recipes-support/sqlite/sqlite3_3.8.10.0.bb
index 4c73d30..d7f72d9 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.8.7.4.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.8.10.0.bb
@@ -8,10 +8,12 @@ def sqlite_download_version(d):
 
 PE = "3"
 SQLITE_PV = "${@sqlite_download_version(d)}"
-SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${SQLITE_PV}.tar.gz"
+SRC_URI = "http://www.sqlite.org/2015/sqlite-autoconf-${SQLITE_PV}.tar.gz \
+           file://0001-using-the-dynamic-library.patch \
+"
 
-SRC_URI[md5sum] = "33bb8db0038317ce1b0480ca1185c7ba"
-SRC_URI[sha256sum] = "86370f139405fdfe03334fd618171a74e50f589f17ccbe5933361ed1f58359ec"
+SRC_URI[md5sum] = "04d0311ef70818e8d914c1dc383eddff"
+SRC_URI[sha256sum] = "c4b8f9eefbdf0b9bef2044bdc3510c8a3f3b0ddb0489661fb433034187f5a428"
 
 S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}"
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][V2] sqlite3: upgrade to 3.8.10
  2015-05-19  6:15 [PATCH][V2] sqlite3: upgrade to 3.8.10 rongqing.li
@ 2015-05-19 10:50 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2015-05-19 10:50 UTC (permalink / raw)
  To: rongqing.li; +Cc: openembedded-core

On Tue, 2015-05-19 at 14:15 +0800, rongqing.li@windriver.com wrote:
> From: Roy Li <rongqing.li@windriver.com>
> 
> upgrade to include CVE fixes

No mention of the additional patch?

> 
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
>  .../files/0001-using-the-dynamic-library.patch     | 28 ++++++++++++++++++++++
>  .../{sqlite3_3.8.7.4.bb => sqlite3_3.8.10.0.bb}    |  8 ++++---
>  2 files changed, 33 insertions(+), 3 deletions(-)
>  create mode 100644 meta/recipes-support/sqlite/files/0001-using-the-dynamic-library.patch
>  rename meta/recipes-support/sqlite/{sqlite3_3.8.7.4.bb => sqlite3_3.8.10.0.bb} (64%)
> 
> diff --git a/meta/recipes-support/sqlite/files/0001-using-the-dynamic-library.patch b/meta/recipes-support/sqlite/files/0001-using-the-dynamic-library.patch
> new file mode 100644
> index 0000000..5818aa2
> --- /dev/null
> +++ b/meta/recipes-support/sqlite/files/0001-using-the-dynamic-library.patch
> @@ -0,0 +1,28 @@
> +[PATCH] using the dynamic library
> +
> +Upstream-Status:  Inappropriate [configuration] 
> +
> +using the dynamic library, not link statically

This says what you've done but not why? Why do we need to do this?

Cheers,

Richard



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-19 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-19  6:15 [PATCH][V2] sqlite3: upgrade to 3.8.10 rongqing.li
2015-05-19 10:50 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.