ghostscript: 9.21 -> 9.23
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v2 3/7 ghostscript: 9.21 -> 9.23
1. Drop backported patches
- CVE-2017-7207.patch
- CVE-2017-5951.patch
- CVE-2017-7975.patch
- CVE-2017-9216.patch
- CVE-2017-9611.patch
- CVE-2017-9612.patch
- CVE-2017-9739.patch
- CVE-2017-9726.patch
- CVE-2017-9727.patch
- CVE-2017-9835.patch
- CVE-2017-11714.patch
2. Rebase to 9.23
- ghostscript-9.15-parallel-make.patch
- ghostscript-9.16-Werror-return-type.patch
- do-not-check-local-libpng-source.patch
- avoid-host-contamination.patch
- mkdir-p.patch
- ghostscript-9.21-prevent_recompiling.patch
- ghostscript-9.02-genarch.patch
- cups-no-gcrypt.patch
- ghostscript-9.21-native-fix-disable-system-libtiff.patch
- base-genht.c-add-a-preprocessor-define-to-allow-fope.patch
3. Add packps from (native to target) to support cross compiling.
4. Add remove-direct-symlink.patch to fix
do_populate_sysroot failure
---
.../files/do-not-check-local-libpng-source.patch | 10 +-
.../ghostscript/ghostscript/CVE-2017-11714.patch | 61 ----------
.../ghostscript/ghostscript/CVE-2017-5951.patch | 44 --------
.../ghostscript/ghostscript/CVE-2017-7207.patch | 39 -------
.../ghostscript/ghostscript/CVE-2017-7975.patch | 37 ------
.../ghostscript/ghostscript/CVE-2017-9216.patch | 36 ------
.../ghostscript/ghostscript/CVE-2017-9611.patch | 34 ------
.../ghostscript/ghostscript/CVE-2017-9612.patch | 35 ------
.../ghostscript/ghostscript/CVE-2017-9726.patch | 33 ------
.../ghostscript/ghostscript/CVE-2017-9727.patch | 35 ------
.../ghostscript/ghostscript/CVE-2017-9739.patch | 37 ------
.../ghostscript/ghostscript/CVE-2017-9835.patch | 125 ---------------------
.../ghostscript/avoid-host-contamination.patch | 18 ++-
...c-add-a-preprocessor-define-to-allow-fope.patch | 14 ++-
.../ghostscript/ghostscript/cups-no-gcrypt.patch | 14 ++-
.../ghostscript/ghostscript-9.02-genarch.patch | 33 ++++--
.../ghostscript-9.15-parallel-make.patch | 28 +++--
.../ghostscript-9.16-Werror-return-type.patch | 10 +-
...pt-9.21-native-fix-disable-system-libtiff.patch | 29 +++--
.../ghostscript-9.21-prevent_recompiling.patch | 79 +++++--------
.../ghostscript/ghostscript/mkdir-p.patch | 16 ++-
.../ghostscript/remove-direct-symlink.patch | 40 +++++++
.../{ghostscript_9.21.bb => ghostscript_9.23.bb} | 24 ++--
23 files changed, 191 insertions(+), 640 deletions(-)
delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2017-11714.patch
delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2017-5951.patch
delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2017-7207.patch
delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2017-7975.patch
delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9216.patch
delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9611.patch
delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9612.patch
delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9726.patch
delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9727.patch
delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9739.patch
delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9835.patch
create mode 100644 meta/recipes-extended/ghostscript/ghostscript/remove-direct-symlink.patch
rename meta/recipes-extended/ghostscript/{ghostscript_9.21.bb => ghostscript_9.23.bb} (83%)meta/recipes-extended/ghostscript/files/do-not-check-local-libpng-source.patch +5 -5
@@ -1,7 +1,7 @@ -From 5ef8b85bc98f3bd9a15d5f47e24d3e23ae27c265 Mon Sep 17 00:00:00 2001 +From a954bf29a5f906b3151dffbecb5856e02e1565da Mon Sep 17 00:00:00 2001 From: Hongxu Jia <[email protected]> Date: Mon, 18 Jan 2016 01:00:30 -0500 -Subject: [PATCH] configure.ac: do not check local png source +Subject: [PATCH 03/10] configure.ac: do not check local png source In oe-core, it did not need to compile local libpng source in ghostscript, so do not check local png
@@ -16,10 +16,10 @@ Signed-off-by: Hongxu Jia <[email protected]> 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac -index bf6d3f5..01df03f 100644 +index 9341930..80a60b1 100644 --- a/configure.ac +++ b/configure.ac -@@ -930,11 +930,11 @@ AC_SUBST(ZLIBDIR) +@@ -1114,11 +1114,11 @@ AC_SUBST(ZLIBDIR) AC_SUBST(FT_SYS_ZLIB) dnl png for the png output device; it also requires zlib
@@ -34,5 +34,5 @@ index bf6d3f5..01df03f 100644 SHARE_LIBPNG=0 LIBPNGDIR=$srcdir/libpng -- -2.8.1 +1.8.3.1
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-11714.patch deleted +0 -61
61 lines not on this page · raw message
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-5951.patch deleted +0 -44
44 lines not on this page · raw message
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-7207.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 0e88bee1304993668fede72498d656a2dd33a35e Mon Sep 17 00:00:00 2001 -From: Ken Sharp <[email protected]> -Date: Mon, 20 Mar 2017 09:34:11 +0000 -Subject: [PATCH] Ensure a device has raster memory, before trying to read it. - -Bug #697676 "Null pointer dereference in mem_get_bits_rectangle()" - -This is only possible by abusing/mis-using Ghostscript-specific -language extensions, so cannot happen in a general PostScript program. - -Nevertheless, Ghostscript should not crash. So this commit checks the -memory device to see if raster memory has been allocated, before trying -to read from it. - -Upstream-Status: Backport -CVE: CVE-2017-7207 - -Author: Ken Sharp <[email protected]> -Signed-off-by: Catalin Enache <[email protected]> ---- - base/gdevmem.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/base/gdevmem.c b/base/gdevmem.c -index 41108ba..183f96d 100644 ---- a/base/gdevmem.c -+++ b/base/gdevmem.c -@@ -605,6 +605,8 @@ mem_get_bits_rectangle(gx_device * dev, const gs_int_rect * prect, - GB_PACKING_CHUNKY | GB_COLORS_NATIVE | GB_ALPHA_NONE; - return_error(gs_error_rangecheck); - } -+ if (mdev->line_ptrs == 0x00) -+ return_error(gs_error_rangecheck); - if ((w <= 0) | (h <= 0)) { - if ((w | h) < 0) - return_error(gs_error_rangecheck); --- -2.10.2 -
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-7975.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From b39be1019b4acc1aa50c6026463c543332e95a31 Mon Sep 17 00:00:00 2001 -From: Catalin Enache <[email protected]> -Date: Mon, 8 May 2017 16:18:14 +0300 - -Subject: [PATCH] Bug 697693: Prevent SEGV due to integer overflow. - -While building a Huffman table, the start and end points were susceptible -to integer overflow. - -Thank you to Jiaqi for finding this issue and suggesting a patch. - -Upstream-Status: Backport -CVE: CVE-2017-7975 - -Signed-off-by: Catalin Enache <[email protected]> - -Contents of this patch were extracted from a larger patch which addressed -two CVE's. The context (location of {) was also modified to apply to -ghostscript 9.21. - -Signed-off-by: Joe Slater <[email protected]> - - ---- a/jbig2dec/jbig2_huffman.c -+++ b/jbig2dec/jbig2_huffman.c -@@ -421,8 +421,8 @@ jbig2_build_huffman_table(Jbig2Ctx *ctx, - - if (PREFLEN == CURLEN) { - int RANGELEN = lines[CURTEMP].RANGELEN; -- int start_j = CURCODE << shift; -- int end_j = (CURCODE + 1) << shift; -+ uint32_t start_j = CURCODE << shift; -+ uint32_t end_j = (CURCODE + 1) << shift; - byte eflags = 0; - - if (end_j > max_j) { -
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9216.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From 3ebffb1d96ba0cacec23016eccb4047dab365853 Mon Sep 17 00:00:00 2001 -From: Shailesh Mistry <[email protected]> -Date: Wed, 24 May 2017 19:29:57 +0100 -Subject: [PATCH] Bug 697934: Fix SEGV due to error code being ignored. - -The return code from jbig2_decode_text_region was being ignored so the -code continued to try and parse the invalid file using incomplete/empty -structures. - -Upstream-Status: Backport -CVE: CVE-2017-9216 - -Signed-off-by: Catalin Enache <[email protected]> ---- - jbig2dec/jbig2_symbol_dict.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/jbig2dec/jbig2_symbol_dict.c b/jbig2dec/jbig2_symbol_dict.c -index 3cc1731..672425d 100644 ---- a/jbig2dec/jbig2_symbol_dict.c -+++ b/jbig2dec/jbig2_symbol_dict.c -@@ -493,8 +493,10 @@ jbig2_decode_symbol_dict(Jbig2Ctx *ctx, - } - - /* multiple symbols are handled as a text region */ -- jbig2_decode_text_region(ctx, segment, tparams, (const Jbig2SymbolDict * const *)refagg_dicts, -+ code = jbig2_decode_text_region(ctx, segment, tparams, (const Jbig2SymbolDict * const *)refagg_dicts, - n_refagg_dicts, image, data, size, GR_stats, as, ws); -+ if (code < 0) -+ goto cleanup4; - - SDNEWSYMS->glyphs[NSYMSDECODED] = image; - refagg_dicts[0]->glyphs[params->SDNUMINSYMS + NSYMSDECODED] = jbig2_image_clone(ctx, SDNEWSYMS->glyphs[NSYMSDECODED]); --- -2.10.2 -
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9611.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From c7c55972758a93350882c32147801a3485b010fe Mon Sep 17 00:00:00 2001 -From: Chris Liddell <[email protected]> -Date: Mon, 12 Jun 2017 13:08:40 +0100 -Subject: [PATCH] Bug 698024: bounds check zone pointer in Ins_MIRP() - ---- - base/ttinterp.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- end of original header - -CVE: CVE-2017-9611 - -Upstream-Status: Backport [git://git.ghostscript.com/ghostpdl.git] - -Signed-off-by: Joe Slater <[email protected]> - -diff --git a/base/ttinterp.c b/base/ttinterp.c -index e56aec6..f6a6d95 100644 ---- a/base/ttinterp.c -+++ b/base/ttinterp.c -@@ -3858,7 +3858,8 @@ static int nInstrCount=0; - /* XXX: UNDOCUMENTED! cvt[-1] = 0 always */ - - if ( BOUNDS( args[0], CUR.zp1.n_points ) || -- BOUNDS( args[1]+1, CUR.cvtSize+1 ) ) -+ BOUNDS( args[1]+1, CUR.cvtSize+1 ) || -+ BOUNDS(CUR.GS.rp0, CUR.zp0.n_points) ) - { - CUR.error = TT_Err_Invalid_Reference; - return; --- -1.7.9.5 -
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9612.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 98f6da60b9d463c617e631fc254cf6d66f2e8e3c Mon Sep 17 00:00:00 2001 -From: Chris Liddell <[email protected]> -Date: Mon, 12 Jun 2017 13:15:17 +0100 -Subject: [PATCH] Bug 698026: bounds check zone pointers in Ins_IP() - ---- - base/ttinterp.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - ---- end of original header - -CVE: CVE-2017-9612 - -Upstream-Status: Backport [git://git.ghostscript.com/ghostpdl.git] - -Signed-off-by: Joe Slater <[email protected]> - -diff --git a/base/ttinterp.c b/base/ttinterp.c -index f6a6d95..e7c9d68 100644 ---- a/base/ttinterp.c -+++ b/base/ttinterp.c -@@ -4129,7 +4129,9 @@ static int nInstrCount=0; - Int point; - (void)args; - -- if ( CUR.top < CUR.GS.loop ) -+ if ( CUR.top < CUR.GS.loop || -+ BOUNDS(CUR.GS.rp1, CUR.zp0.n_points) || -+ BOUNDS(CUR.GS.rp2, CUR.zp1.n_points)) - { - CUR.error = TT_Err_Invalid_Reference; - return; --- -1.7.9.5 -
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9726.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 7755e67116e8973ee0e3b22d653df026a84fa01b Mon Sep 17 00:00:00 2001 -From: Chris Liddell <[email protected]> -Date: Thu, 15 Jun 2017 08:58:31 +0100 -Subject: [PATCH] Bug 698055: bounds check zone pointer in Ins_MDRP - ---- - base/ttinterp.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- end of original header - -CVE: CVE-2017-9726 - -Upstream-Status: Backport [git://git.ghostscript.com/ghostpdl.git] - -Signed-off-by: Joe Slater <[email protected]> -diff --git a/base/ttinterp.c b/base/ttinterp.c -index e7c9d68..af457e8 100644 ---- a/base/ttinterp.c -+++ b/base/ttinterp.c -@@ -3770,7 +3770,8 @@ static int nInstrCount=0; - - point = (Int)args[0]; - -- if ( BOUNDS( args[0], CUR.zp1.n_points ) ) -+ if ( BOUNDS( args[0], CUR.zp1.n_points ) || -+ BOUNDS( CUR.GS.rp0, CUR.zp0.n_points) ) - { - /* Current version of FreeType silently ignores this out of bounds error - * and drops the instruction, see bug #691121 --- -1.7.9.5 -
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9727.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 937ccd17ac65935633b2ebc06cb7089b91e17e6b Mon Sep 17 00:00:00 2001 -From: Chris Liddell <[email protected]> -Date: Thu, 15 Jun 2017 09:05:20 +0100 -Subject: [PATCH] Bug 698056: make bounds check in gx_ttfReader__Read more - robust - ---- - base/gxttfb.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- end of original header - -CVE: CVE-2017-9727 - -Upstream-Status: Backport [git://git.ghostscript.com/ghostpdl.git] - -Signed-off-by: Joe Slater <[email protected]> - -diff --git a/base/gxttfb.c b/base/gxttfb.c -index 0e9a444..e1561af 100644 ---- a/base/gxttfb.c -+++ b/base/gxttfb.c -@@ -79,7 +79,8 @@ static void gx_ttfReader__Read(ttfReader *self, void *p, int n) - if (!r->error) { - if (r->extra_glyph_index != -1) { - q = r->glyph_data.bits.data + r->pos; -- r->error = (r->glyph_data.bits.size - r->pos < n ? -+ r->error = ((r->pos >= r->glyph_data.bits.size || -+ r->glyph_data.bits.size - r->pos < n) ? - gs_note_error(gs_error_invalidfont) : 0); - if (r->error == 0) - memcpy(p, q, n); --- -1.7.9.5 -
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9739.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From c501a58f8d5650c8ba21d447c0d6f07eafcb0f15 Mon Sep 17 00:00:00 2001 -From: Chris Liddell <[email protected]> -Date: Fri, 16 Jun 2017 08:29:25 +0100 -Subject: [PATCH] Bug 698063: Bounds check Ins_JMPR - ---- - base/ttinterp.c | 6 ++++++ - 1 file changed, 6 insertions(+) - ---- end of original header - -CVE: CVE-2017-9739 - -Upstream-Status: Backport [git://git.ghostscript.com/ghostpdl.git] - -Signed-off-by: Joe Slater <[email protected]> - -diff --git a/base/ttinterp.c b/base/ttinterp.c -index af457e8..adf3f0c 100644 ---- a/base/ttinterp.c -+++ b/base/ttinterp.c -@@ -1794,6 +1794,12 @@ static int nInstrCount=0; - - static void Ins_JMPR( INS_ARG ) - { -+ if ( BOUNDS(CUR.IP + args[0], CUR.codeSize ) ) -+ { -+ CUR.error = TT_Err_Invalid_Reference; -+ return; -+ } -+ - CUR.IP += (Int)(args[0]); - CUR.step_ins = FALSE; - --- -1.7.9.5 -
meta/recipes-extended/ghostscript/ghostscript/CVE-2017-9835.patch deleted +0 -125
125 lines not on this page · raw message
meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch +16 -2
@@ -1,14 +1,25 @@ +From 0ccbaa134093bf6afc79f2d20d061bca5a8754ed Mon Sep 17 00:00:00 2001 +From: Kai Kang <[email protected]> +Date: Thu, 29 Mar 2018 16:02:05 +0800 +Subject: [PATCH 04/10] avoid host contamination + Remove hardcode path refer to host to avoid host contamination. Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Kai Kang <[email protected]> + +Rebase to 9.23 +Signed-off-by: Hongxu Jia <[email protected]> --- + devices/devs.mak | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + diff --git a/devices/devs.mak b/devices/devs.mak -index 3070d2e..df663f0 100644 +index 846aa50..9570182 100644 --- a/devices/devs.mak +++ b/devices/devs.mak -@@ -546,7 +546,7 @@ $(DEVOBJ)gdevxalt.$(OBJ) : $(DEVSRC)gdevxalt.c $(GDEVX) $(math__h) $(memory__h)\ +@@ -393,7 +393,7 @@ $(DEVOBJ)gdevxalt.$(OBJ) : $(DEVSRC)gdevxalt.c $(GDEVX) $(math__h) $(memory__h)\ ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT $(DEVOBJ)X11.so : $(x11alt_) $(x11_) $(DEVS_MAK) $(MAKEDIRS)
@@ -17,3 +28,6 @@ index 3070d2e..df663f0 100644 ###### --------------- Memory-buffered printer devices --------------- ###### +-- +1.8.3.1 +
meta/recipes-extended/ghostscript/ghostscript/base-genht.c-add-a-preprocessor-define-to-allow-fope.patch +10 -4
@@ -1,4 +1,8 @@ -base/genht.c: add a preprocessor define to allow fopen calling +From 9ca6f795409b988d38dd98bc2a6ecb68a9392312 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Thu, 29 Mar 2018 16:37:40 +0800 +Subject: [PATCH 10/10] base/genht.c: add a preprocessor define to allow fopen + calling The commit in upstream: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=773c69e46e70bdd5482676437dafd2ca83397643
@@ -7,17 +11,19 @@ Replace all fopen calls with gp_fopen and add a preprocessor define so that any unintential calls directly to fopen will cause an error. Only exceptions are those in the platform specific code, and mkromfs.c. -This patch add a preprocessor define to allow fopen calling in base/genht.c. +This patch add a preprocessor define to allow fopen calling in +base/genht.c. Upstream-Status: Pending +Rebase to 9.23 Signed-off-by: Hongxu Jia <[email protected]> --- base/genht.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/genht.c b/base/genht.c -index 4b04085..cc82fff 100644 +index e597e72..e96bfb5 100644 --- a/base/genht.c +++ b/base/genht.c @@ -16,6 +16,10 @@
@@ -32,5 +38,5 @@ index 4b04085..cc82fff 100644 #include "string_.h" #include "gscdefs.h" -- -1.8.1.2 +1.8.3.1
meta/recipes-extended/ghostscript/ghostscript/cups-no-gcrypt.patch +10 -4
@@ -1,6 +1,12 @@ -Subject: [PATCH] Don't build-depend on libgcrypt, as nothing is used from it +From 9129eb7fa9dc160d64a7d9df9279a3b1dae4d793 Mon Sep 17 00:00:00 2001 +From: Jackie Huang <[email protected]> +Date: Thu, 29 Mar 2018 16:16:18 +0800 +Subject: [PATCH 08/10] cups no gcrypt -Backported from http://www.cups.org/strfiles.php/3308/cups-no-gcrypt.patch +Don't build-depend on libgcrypt, as nothing is used from it + +Backported from +http://www.cups.org/strfiles.php/3308/cups-no-gcrypt.patch This addresses the cryto dependency seen during build.
@@ -8,7 +14,7 @@ Upstream-Status: Backport Signed-off-by: Jackie Huang <[email protected]> -Rebase the patch to ghostscript-9.15 +Rebase to 9.23 Signed-off-by: Hongxu Jia <[email protected]> --- cups/libs/cups/http-private.h | 1 -
@@ -27,5 +33,5 @@ index 99a85c3..a674852 100644 # include <CoreFoundation/CoreFoundation.h> # include <Security/Security.h> -- -1.9.1 +1.8.3.1
meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch +21 -12
@@ -1,22 +1,28 @@ -Import patch from windriver linux for cross compilation, and split patches -into oe way under different directories such as i586, powerpc etc according -to Richard's opinion. +From 94850954b88440df6c41d2dd133c422ffc84d9aa Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Thu, 29 Mar 2018 16:12:48 +0800 +Subject: [PATCH 07/10] not generate objarch.h at compile time + +Import patch from windriver linux for cross compilation, and split +patches into oe way under different directories such as i586, powerpc etc +according to Richard's opinion. Upstream-Status: Pending Signed-off-by: Kang Kai <[email protected]> Signed-off-by: Wenzong Fan <[email protected]> -# Author: Chi Xu <[email protected]> -# Date: Feb 26 2010 -# Summary: Generate arch.h for ppc32 -# +Rebase to 9.23 +Signed-off-by: Hongxu Jia <[email protected]> +--- + base/lib.mak | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) -Index: ghostscript-9.21/base/lib.mak -=================================================================== ---- ghostscript-9.21.orig/base/lib.mak -+++ ghostscript-9.21/base/lib.mak -@@ -73,8 +73,8 @@ arch_h=$(GLGEN)arch.h +diff --git a/base/lib.mak b/base/lib.mak +index 0036d1e..302877e 100644 +--- a/base/lib.mak ++++ b/base/lib.mak +@@ -87,8 +87,8 @@ arch_h=$(GLGEN)arch.h stdpre_h=$(GLSRC)stdpre.h stdint__h=$(GLSRC)stdint_.h $(std_h)
@@ -27,3 +33,6 @@ Index: ghostscript-9.21/base/lib.mak # Platform interfaces +-- +1.8.3.1 +
meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.15-parallel-make.patch +13 -15
@@ -1,25 +1,23 @@ -From 14937d9247330065359ca0fb648c28dfa5c3b224 Mon Sep 17 00:00:00 2001 -From: Huang Qiyu <[email protected]> -Date: Tue, 13 Dec 2016 18:16:41 +0900 -Subject: [PATCH] ghostscript-9.15-parallel-make +From 84bb692d6b047c09266de154f404af9817fa04aa Mon Sep 17 00:00:00 2001 +From: Robert Yang <[email protected]> +Date: Thu, 29 Mar 2018 15:59:05 +0800 +Subject: [PATCH 01/10] contrib.mak: fix for parallel build -From 767bdf8a412b0cce2b734998e9b7e55abeaf932c Mon Sep 17 00:00:00 2001 -From: Huang Qiyu <[email protected]> -Date: Tue, 13 Dec 2016 17:55:54 +0900 -Subject: [PATCH] Robert Yang <[email protected]> Date: Fri, 30 Jan -2015 00:40:22 -0800 Subject: [PATCH] contrib.mak: fix for parallel build - -Signed-off-by: Huang Qiyu <[email protected]> Upstream-Status: Pending + +Signed-off-by: Robert Yang <[email protected]> + +Rebase to 9.23 +Signed-off-by: Hongxu Jia <[email protected]> --- contrib/contrib.mak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/contrib.mak b/contrib/contrib.mak -index 55415b3..0b6b5ae 100644 +index f5a2fa4..4999752 100644 --- a/contrib/contrib.mak +++ b/contrib/contrib.mak -@@ -1099,6 +1099,7 @@ $(DEVOBJ)dviprlib.$(OBJ) : $(JAPSRC)dviprlib.c $(JAPSRC)dviprlib.h \ +@@ -1067,6 +1067,7 @@ $(DEVOBJ)dviprlib.$(OBJ) : $(JAPSRC)dviprlib.c $(JAPSRC)dviprlib.h \ $(DEVCC) $(O_)$@ $(C_) $(JAPSRC)dviprlib.c extra-dmprt-install: install-libdata
@@ -27,7 +25,7 @@ index 55415b3..0b6b5ae 100644 $(INSTALL_DATA) $(JAPSRC)dmp_init.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1 $(INSTALL_DATA) $(JAPSRC)dmp_site.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1 $(INSTALL_DATA) $(JAPSRC)escp_24.src $(DESTDIR)$(gsdatadir)$(D)lib || exit 1 -@@ -1267,6 +1268,7 @@ $(DEVOBJ)gdevalps.$(OBJ) : $(JAPSRC)gdevalps.c $(PDEVH) \ +@@ -1235,6 +1236,7 @@ $(DEVOBJ)gdevalps.$(OBJ) : $(JAPSRC)gdevalps.c $(PDEVH) \ ### ----------------- Additional .upp files ---------------- ### extra-upp-install: install-libdata
@@ -36,5 +34,5 @@ index 55415b3..0b6b5ae 100644 $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)$(D)lib || exit 1; \ done -- -2.7.4 +1.8.3.1
meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch +5 -5
@@ -1,7 +1,7 @@ -From 5d5c83c89be0cff29dde2267fa168e6f7146be8c Mon Sep 17 00:00:00 2001 +From c481b055cd464734a3c2d80719ead4c1c92a40c9 Mon Sep 17 00:00:00 2001 From: Robert Yang <[email protected]> Date: Mon, 4 May 2015 22:31:48 -0700 -Subject: [PATCH] base/gendev.c: fix for -Werror=return-type +Subject: [PATCH 02/10] base/gendev.c: fix for -Werror=return-type Fixed: base/gendev.c:80:1: error: return type defaults to 'int' [-Werror=return-type]
@@ -10,11 +10,11 @@ Upstream-Status: Pending Signed-off-by: Robert Yang <[email protected]> --- - base/gendev.c | 1 + + base/gendev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/base/gendev.c b/base/gendev.c -index 68a745f..8058b5a 100644 +index 59d5999..7766b08 100644 --- a/base/gendev.c +++ b/base/gendev.c @@ -77,6 +77,7 @@ static const char *indent_item = "";
@@ -26,5 +26,5 @@ index 68a745f..8058b5a 100644 { config conf; -- -1.7.9.5 +1.8.3.1
meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.21-native-fix-disable-system-libtiff.patch +19 -10
@@ -1,22 +1,28 @@ -ghostscript-native:fix disable-system-libtiff +From 0124b1c29b9cfe46d73ae82ce023dd7c5b055744 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Thu, 29 Mar 2018 16:36:12 +0800 +Subject: [PATCH 09/10] ghostscript-native:fix disable-system-libtiff Modify configure to add the check to make sure ghostscrip could work while system-libtiff is disabled. -Signed-off-by: Hongxu Jia <[email protected]> - -Updated to apply to ghostscript 9.21. - -Signed-off-by: Joe Slater <[email protected]> - Upstream-Status: Pending +Signed-off-by: Hongxu Jia <[email protected]> +Rebase to ghostscript 9.23. +Signed-off-by: Hongxu Jia <[email protected]> +--- + configure.ac | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 80a60b1..f3e9efb 100644 --- a/configure.ac +++ b/configure.ac -@@ -1259,6 +1259,7 @@ case "x$with_system_libtiff" in +@@ -1284,6 +1284,7 @@ case "x$with_system_libtiff" in esac if test x"$SHARE_LIBTIFF" = x"0" ; then
@@ -24,8 +30,8 @@ Upstream-Status: Pending echo "Running libtiff configure script..." olddir=`pwd` if ! test -d "$LIBTIFFCONFDIR" ; then -@@ -1272,6 +1273,10 @@ if test x"$SHARE_LIBTIFF" = x"0" ; then - cd "$olddir" +@@ -1302,6 +1303,10 @@ if test x"$SHARE_LIBTIFF" = x"0" ; then + echo echo "Continuing with Ghostscript configuration..." + else
@@ -35,3 +41,6 @@ Upstream-Status: Pending fi AC_SUBST(SHARE_LIBTIFF) +-- +1.8.3.1 +
meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.21-prevent_recompiling.patch +30 -49
114 lines not on this page · raw message
meta/recipes-extended/ghostscript/ghostscript/mkdir-p.patch +15 -1
@@ -1,4 +1,8 @@ -ghostscript: allow directories to be created more than once +From 2b23026f8e2a352417fb1c4da94bf69b19bef267 Mon Sep 17 00:00:00 2001 +From: Joe Slater <[email protected]> +Date: Thu, 29 Mar 2018 16:04:32 +0800 +Subject: [PATCH 05/10] ghostscript: allow directories to be created more than + once When doing parallel builds, we might try to create directories more than once. This should not cause an error.
@@ -7,7 +11,14 @@ Upstream-Status: Pending Signed-off-by: Joe Slater <[email protected]> +Rebase to 9.23 +Signed-off-by: Hongxu Jia <[email protected]> +--- + base/unix-end.mak | 17 ++++++++--------- + 1 file changed, 8 insertions(+), 9 deletions(-) +diff --git a/base/unix-end.mak b/base/unix-end.mak +index 9ce599a..feff5a6 100644 --- a/base/unix-end.mak +++ b/base/unix-end.mak @@ -17,15 +17,14 @@
@@ -34,3 +45,6 @@ Signed-off-by: Joe Slater <[email protected]> gs: .gssubtarget $(UNIX_END_MAK) +-- +1.8.3.1 +
meta/recipes-extended/ghostscript/ghostscript/remove-direct-symlink.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 2ce79942ca509663ddf8171f45d1d324bb71bad6 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Thu, 29 Mar 2018 17:22:35 +0800 +Subject: [PATCH] remove direct symlink + +The upstream create a direct symlink to stay backward +compatible, a symlink is automatically created to point +from the old location (/usr/share/ghostscript/<version>/doc) +to the new location. + +It caused do_populate_sysroot failure +... +|ERROR: ghostscript-9.23-r0 do_populate_sysroot: sstate found an absolute +path symlink +... + +Without the symlink is no harm for OE + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Hongxu Jia <[email protected]> +--- + base/unixinst.mak | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/base/unixinst.mak b/base/unixinst.mak +index 7fec86c..0cf2361 100644 +--- a/base/unixinst.mak ++++ b/base/unixinst.mak +@@ -165,7 +165,6 @@ install-doc: $(PSDOCDIR)/News.htm + $(SH) -c 'for f in $(DOC_PAGES) ;\ + do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(DESTDIR)$(docdir); fi;\ + done' +- ln -s $(DESTDIR)$(docdir) $(DESTDIR)$(gsdatadir)/doc + + # install the man pages for each locale + MAN_LCDIRS=. de +-- +1.8.3.1 +
meta/recipes-extended/ghostscript/ghostscript_9.23.bb renamed from meta/recipes-extended/ghostscript/ghostscript_9.21.bb +7 -17
@@ -19,12 +19,13 @@ DEPENDS_class-native = "libpng-native" UPSTREAM_CHECK_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" -SRC_URI_BASE = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/${BPN}-${PV}.tar.gz \ +SRC_URI_BASE = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923/${BPN}-${PV}.tar.gz \ file://ghostscript-9.15-parallel-make.patch \ file://ghostscript-9.16-Werror-return-type.patch \ file://do-not-check-local-libpng-source.patch \ file://avoid-host-contamination.patch \ file://mkdir-p.patch \ + file://remove-direct-symlink.patch \ " SRC_URI = "${SRC_URI_BASE} \
@@ -32,17 +33,6 @@ SRC_URI = "${SRC_URI_BASE} \ file://ghostscript-9.02-genarch.patch \ file://objarch.h \ file://cups-no-gcrypt.patch \ - file://CVE-2017-7207.patch \ - file://CVE-2017-5951.patch \ - file://CVE-2017-7975.patch \ - file://CVE-2017-9216.patch \ - file://CVE-2017-9611.patch \ - file://CVE-2017-9612.patch \ - file://CVE-2017-9739.patch \ - file://CVE-2017-9726.patch \ - file://CVE-2017-9727.patch \ - file://CVE-2017-9835.patch \ - file://CVE-2017-11714.patch \ " SRC_URI_class-native = "${SRC_URI_BASE} \
@@ -50,8 +40,8 @@ SRC_URI_class-native = "${SRC_URI_BASE} \ file://base-genht.c-add-a-preprocessor-define-to-allow-fope.patch \ " -SRC_URI[md5sum] = "5f213281761d2750fcf27476c404d17f" -SRC_URI[sha256sum] = "02bceadbc4dddeb6f2eec9c8b1623d945d355ca11b8b4df035332b217d58ce85" +SRC_URI[md5sum] = "5a47ab47cd22dec1eb5f51c06f1c9d9c" +SRC_URI[sha256sum] = "f65964807a3c97a2c0810d4b9806585367e73129e57ae33378cea18e07a1ed9b" # Put something like #
@@ -104,7 +94,7 @@ do_configure_append () { # copy tools from the native ghostscript build if [ "${PN}" != "ghostscript-native" ]; then mkdir -p obj/aux soobj - for i in genarch genconf mkromfs echogs gendev genht; do + for i in genarch genconf mkromfs echogs gendev genht packps; do cp ${STAGING_BINDIR_NATIVE}/ghostscript-${PV}/$i obj/aux/$i done fi
@@ -118,14 +108,14 @@ do_install_append () { do_compile_class-native () { mkdir -p obj - for i in genarch genconf mkromfs echogs gendev genht; do + for i in genarch genconf mkromfs echogs gendev genht packps; do oe_runmake obj/aux/$i done } do_install_class-native () { install -d ${D}${bindir}/ghostscript-${PV} - for i in genarch genconf mkromfs echogs gendev genht; do + for i in genarch genconf mkromfs echogs gendev genht packps; do install -m 755 obj/aux/$i ${D}${bindir}/ghostscript-${PV}/$i done }
Signature · 1 line
2.8.1
PATCH v2 4/7 libgpg-error: 1.27 -> 1.28
In reply to a message not in the archive- Rebase pkgconfig.patch
License-Update: copyright years
---
.../libgpg-error/libgpg-error/pkgconfig.patch | 67 +++++++++++++---------
.../{libgpg-error_1.27.bb => libgpg-error_1.28.bb} | 6 +-
2 files changed, 44 insertions(+), 29 deletions(-)
rename meta/recipes-support/libgpg-error/{libgpg-error_1.27.bb => libgpg-error_1.28.bb} (88%)meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch +41 -26
@@ -1,15 +1,26 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# +From ec309e20b5a27d42a5fb915c328d61e924ab5f19 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Thu, 29 Mar 2018 15:12:17 +0800 +Subject: [PATCH] support pkgconfig Upstream-Status: Pending -Index: libgpg-error-1.17/configure.ac -=================================================================== ---- libgpg-error-1.17.orig/configure.ac -+++ libgpg-error-1.17/configure.ac -@@ -529,6 +529,7 @@ AC_CONFIG_FILES([src/Makefile tests/Make +Rebase to 1.28 + +Signed-off-by: Hongxu Jia <[email protected]> +--- + configure.ac | 1 + + src/Makefile.am | 4 ++- + src/gpg-error.m4 | 71 +++-------------------------------------------------- + src/gpg-error.pc.in | 11 +++++++++ + 4 files changed, 18 insertions(+), 69 deletions(-) + create mode 100644 src/gpg-error.pc.in + +diff --git a/configure.ac b/configure.ac +index aca9300..f7794e9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -621,6 +621,7 @@ AC_CONFIG_FILES([src/Makefile tests/Makefile]) AC_CONFIG_FILES([lang/Makefile lang/cl/Makefile lang/cl/gpg-error.asd]) AC_CONFIG_FILES([src/versioninfo.rc src/gpg-error.w32-manifest]) AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config])
@@ -17,33 +28,33 @@ Index: libgpg-error-1.17/configure.ac AC_OUTPUT -Index: libgpg-error-1.17/src/Makefile.am -=================================================================== ---- libgpg-error-1.17.orig/src/Makefile.am -+++ libgpg-error-1.17/src/Makefile.am -@@ -75,6 +75,8 @@ nodist_include_HEADERS = gpg-error.h - bin_SCRIPTS = gpg-error-config +diff --git a/src/Makefile.am b/src/Makefile.am +index 268c2ab..95f8459 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -87,6 +87,8 @@ bin_SCRIPTS = gpg-error-config + nodist_bin_SCRIPTS = gpgrt-config m4datadir = $(datadir)/aclocal - m4data_DATA = gpg-error.m4 + m4data_DATA = gpg-error.m4 gpgrt.m4 +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = gpg-error.pc EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \ mkerrnos.awk errnos.in README \ -@@ -82,7 +84,7 @@ EXTRA_DIST = mkstrtable.awk err-sources. +@@ -94,7 +96,7 @@ EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \ mkheader.c gpg-error.h.in mkw32errmap.c w32-add.h w32ce-add.h \ - err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \ + err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 gpgrt.m4 \ gpg-error.vers gpg-error.def.in \ - versioninfo.rc.in gpg-error.w32-manifest.in \ + versioninfo.rc.in gpg-error.w32-manifest.in gpg-error.pc \ $(lock_obj_pub) BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \ -Index: libgpg-error-1.17/src/gpg-error.m4 -=================================================================== ---- libgpg-error-1.17.orig/src/gpg-error.m4 -+++ libgpg-error-1.17/src/gpg-error.m4 -@@ -26,73 +26,13 @@ dnl is added to the gpg_config_script_wa +diff --git a/src/gpg-error.m4 b/src/gpg-error.m4 +index 60c88d8..2ef7e3e 100644 +--- a/src/gpg-error.m4 ++++ b/src/gpg-error.m4 +@@ -26,73 +26,13 @@ dnl is added to the gpg_config_script_warn variable. dnl AC_DEFUN([AM_PATH_GPG_ERROR], [ AC_REQUIRE([AC_CANONICAL_HOST])
@@ -132,10 +143,11 @@ Index: libgpg-error-1.17/src/gpg-error.m4 ifelse([$3], , :, [$3]) fi AC_SUBST(GPG_ERROR_CFLAGS) -Index: libgpg-error-1.17/src/gpg-error.pc.in -=================================================================== +diff --git a/src/gpg-error.pc.in b/src/gpg-error.pc.in +new file mode 100644 +index 0000000..bc0b174 --- /dev/null -+++ libgpg-error-1.17/src/gpg-error.pc.in ++++ b/src/gpg-error.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@
@@ -148,3 +160,6 @@ Index: libgpg-error-1.17/src/gpg-error.pc.in +Version: @VERSION@ +Libs: -L${libdir} -lgpg-error +Cflags: -I${includedir} +-- +1.8.3.1 +
meta/recipes-support/libgpg-error/libgpg-error_1.28.bb renamed from meta/recipes-support/libgpg-error/libgpg-error_1.27.bb +3 -3
@@ -5,7 +5,7 @@ BUGTRACKER = "https://bugs.g10code.com/gnupg/index" LICENSE = "GPLv2+ & LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ - file://src/gpg-error.h.in;endline=23;md5=beae1e44d8d5c265d194760276033a7c \ + file://src/gpg-error.h.in;endline=23;md5=fc7423b56d5f7163a9a2acf9fe2f8d6b \ file://src/init.c;endline=20;md5=872b2389fe9bae7ffb80d2b91225afbc"
@@ -16,8 +16,8 @@ SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \ file://pkgconfig.patch \ " -SRC_URI[md5sum] = "5217ef3e76a7275a2a3b569a12ddc989" -SRC_URI[sha256sum] = "4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2" +SRC_URI[md5sum] = "2b072f6194eb22d48cd4c7c77e59b5af" +SRC_URI[sha256sum] = "3edb957744905412f30de3e25da18682cbe509541e18cd3b8f9df695a075da49" BINCONFIG = "${bindir}/gpg-error-config"
Signature · 1 line
2.8.1
Re: [PATCH V2 4/7] libgpg-error: 1.27 -> 1.28
This seems to cause:
| ../../libgpg-error-1.28/src/logging.c: In function '_gpgrt_log_printhex':
| ../../libgpg-error-1.28/src/logging.c:1153:49: error: incompatible type for argument 4 of '_gpgrt_logv_printhex'
| _gpgrt_logv_printhex (buffer, length, NULL, NULL);
| ^~~~
| ../../libgpg-error-1.28/src/logging.c:1097:1: note: expected 'va_list
{aka __va_list}' but argument is of type 'void *'
| _gpgrt_logv_printhex (const void *buffer, size_t length,
| ^~~~~~~~~~~~~~~~~~~~
| make[3]: *** [libgpg_error_la-logging.lo] Error 1which looks the same as:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893370
Quoted 172 lines · Hongxu Jia
- Rebase pkgconfig.patch
License-Update: copyright years
Signed-off-by Hongxu Jia <[email protected]>--- .../libgpg-error/libgpg-error/pkgconfig.patch | 67 +++++++++++++--------- .../{libgpg-error_1.27.bb => libgpg-error_1.28.bb} | 6 +- 2 files changed, 44 insertions(+), 29 deletions(-) rename meta/recipes-support/libgpg-error/{libgpg-error_1.27.bb =>libgpg-error_1.28.bb} (88%)
meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch +34
-24@@ -1,15 +1,26 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# +From ec309e20b5a27d42a5fb915c328d61e924ab5f19 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Thu, 29 Mar 2018 15:12:17 +0800 +Subject: [PATCH] support pkgconfig Upstream-Status: Pending -Index: libgpg-error-1.17/configure.ac -=================================================================== ---- libgpg-error-1.17.orig/configure.ac -+++ libgpg-error-1.17/configure.ac -@@ -529,6 +529,7 @@ AC_CONFIG_FILES([src/Makefile tests/Make +Rebase to 1.28 + +Signed-off-by: Hongxu Jia <[email protected]> +--- + configure.ac | 1 + + src/Makefile.am | 4 ++- + src/gpg-error.m4 | 71 +++--------------------------- ----------------------- + src/gpg-error.pc.in | 11 +++++++++ + 4 files changed, 18 insertions(+), 69 deletions(-) + create mode 100644 src/gpg-error.pc.in + +diff --git a/configure.ac b/configure.ac +index aca9300..f7794e9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -621,6 +621,7 @@ AC_CONFIG_FILES([src/Makefile tests/Makefile]) AC_CONFIG_FILES([lang/Makefile lang/cl/Makefile lang/cl/gpg-error.asd]) AC_CONFIG_FILES([src/versioninfo.rc src/gpg-error.w32-manifest]) AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config])@@ -17,33 +28,33 @@ Index: libgpg-error-1.17/configure.ac AC_OUTPUT -Index: libgpg-error-1.17/src/Makefile.am -=================================================================== ---- libgpg-error-1.17.orig/src/Makefile.am -+++ libgpg-error-1.17/src/Makefile.am -@@ -75,6 +75,8 @@ nodist_include_HEADERS = gpg-error.h - bin_SCRIPTS = gpg-error-config +diff --git a/src/Makefile.am b/src/Makefile.am +index 268c2ab..95f8459 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -87,6 +87,8 @@ bin_SCRIPTS = gpg-error-config + nodist_bin_SCRIPTS = gpgrt-config m4datadir = $(datadir)/aclocal - m4data_DATA = gpg-error.m4 + m4data_DATA = gpg-error.m4 gpgrt.m4 +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = gpg-error.pc EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \ mkerrnos.awk errnos.in README \ -@@ -82,7 +84,7 @@ EXTRA_DIST = mkstrtable.awk err-sources. +@@ -94,7 +96,7 @@ EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \ mkheader.c gpg-error.h.in mkw32errmap.c w32-add.h w32ce-add.h \ - err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \ + err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 gpgrt.m4 \ gpg-error.vers gpg-error.def.in \ - versioninfo.rc.in gpg-error.w32-manifest.in \ + versioninfo.rc.in gpg-error.w32-manifest.in gpg-error.pc \ $(lock_obj_pub) BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \ -Index: libgpg-error-1.17/src/gpg-error.m4 -=================================================================== ---- libgpg-error-1.17.orig/src/gpg-error.m4 -+++ libgpg-error-1.17/src/gpg-error.m4 -@@ -26,73 +26,13 @@ dnl is added to the gpg_config_script_wa +diff --git a/src/gpg-error.m4 b/src/gpg-error.m4 +index 60c88d8..2ef7e3e 100644 +--- a/src/gpg-error.m4 ++++ b/src/gpg-error.m4 +@@ -26,73 +26,13 @@ dnl is added to the gpg_config_script_warn variable.dnl
AC_DEFUN([AM_PATH_GPG_ERROR],
[AC_REQUIRE([AC_CANONICAL_HOST])meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch +7
-3@@ -132,10 +143,11 @@ Index: libgpg-error-1.17/src/gpg-error.m4 ifelse([$3], , :, [$3]) fi AC_SUBST(GPG_ERROR_CFLAGS) -Index: libgpg-error-1.17/src/gpg-error.pc.in -=================================================================== +diff --git a/src/gpg-error.pc.in b/src/gpg-error.pc.in +new file mode 100644 +index 0000000..bc0b174 --- /dev/null -+++ libgpg-error-1.17/src/gpg-error.pc.in ++++ b/src/gpg-error.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@@@ -148,3 +160,6 @@ Index: libgpg-error-1.17/src/gpg-error.pc.in +Version: @VERSION@ +Libs: -L${libdir} -lgpg-error +Cflags: -I${includedir} +-- +1.8.3.1 +meta/recipes-support/libgpg-error/libgpg-error_1.28.bb renamed from meta/recipes-support/libgpg-error/libgpg-error_1.27.bb +1
-1@@ -5,7 +5,7 @@ BUGTRACKER = "https://bugs.g10code.com/gnupg/index" LICENSE = "GPLv2+ & LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ - file://src/gpg-error.h.in;endline=23;md5= beae1e44d8d5c265d194760276033a7c \ + file://src/gpg-error.h.in;endline=23;md5= fc7423b56d5f7163a9a2acf9fe2f8d6b \file://src/init.c;endline=20;md5=
872b2389fe9bae7ffb80d2b91225afbc"meta/recipes-support/libgpg-error/libgpg-error_1.28.bb renamed from meta/recipes-support/libgpg-error/libgpg-error_1.27.bb +0
-2@@ -16,8 +16,8 @@ SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \ file://pkgconfig.patch \ " -SRC_URI[md5sum] = "5217ef3e76a7275a2a3b569a12ddc989" -SRC_URI[sha256sum] = "4f93aac6fecb7da2b92871bb9ee330
32be6a87b174f54abf8ddf0911a22d29d2"meta/recipes-support/libgpg-error/libgpg-error_1.28.bb renamed from meta/recipes-support/libgpg-error/libgpg-error_1.27.bb +2
-0+SRC_URI[md5sum] = "2b072f6194eb22d48cd4c7c77e59b5af" +SRC_URI[sha256sum] = "3edb957744905412f30de3e25da186
82cbe509541e18cd3b8f9df695a075da49"BINCONFIG = "${bindir}/gpg-error-config"
--
2.8.1--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH V2 4/7] libgpg-error: 1.27 -> 1.28
Quoted 11 lines · Martin Jansa
This seems to cause:
| ../../libgpg-error-1.28/src/logging.c: In function '_gpgrt_log_printhex': | ../../libgpg-error-1.28/src/logging.c:1153:49: error: incompatible type for argument 4 of '_gpgrt_logv_printhex' | _gpgrt_logv_printhex (buffer, length, NULL, NULL); | ^~~~ | ../../libgpg-error-1.28/src/logging.c:1097:1: note: expected 'va_list {aka __va_list}' but argument is of type 'void *' | _gpgrt_logv_printhex (const void *buffer, size_t length, | ^~~~~~~~~~~~~~~~~~~~ | make[3]: *** [libgpg_error_la-logging.lo] Error 1
Quoted 3 lines
which looks the same as:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893370
Yes, backport a fix from upstream git repo could fix the issue
V3 incoming
//Hongxu
Quoted 211 lines · On Fri, Mar 30, 2018 at 10:52 AM, Hongxu Jia <[email protected]…
- Rebase pkgconfig.patch
License-Update: copyright years
Signed-off-by: Hongxu Jia <[email protected]
<mailto:[email protected]>>
---
.../libgpg-error/libgpg-error/pkgconfig.patch | 67
+++++++++++++---------
.../{libgpg-error_1.27.bb <http://libgpg-error_1.27.bb> =>
libgpg-error_1.28.bb <http://libgpg-error_1.28.bb>} | 6 +-
2 files changed, 44 insertions(+), 29 deletions(-)
rename meta/recipes-support/libgpg-error/{libgpg-error_1.27.bb
<http://libgpg-error_1.27.bb> => libgpg-error_1.28.bb
<http://libgpg-error_1.28.bb>} (88%)
diff --git
a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
index 9ffeedb..3066613 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
+++ b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
@@ -1,15 +1,26 @@
-
-#
-# Patch managed by
http://www.mn-logistik.de/unsupported/pxa250/patcher
<http://www.mn-logistik.de/unsupported/pxa250/patcher>
-#
+From ec309e20b5a27d42a5fb915c328d61e924ab5f19 Mon Sep 17 00:00:00
2001
+From: Hongxu Jia <[email protected]
<mailto:[email protected]>>
+Date: Thu, 29 Mar 2018 15:12:17 +0800
+Subject: [PATCH] support pkgconfig
Upstream-Status: Pending
-Index: libgpg-error-1.17/configure.ac <http://configure.ac>
-===================================================================
---- libgpg-error-1.17.orig/configure.ac <http://configure.ac>
-+++ libgpg-error-1.17/configure.ac <http://configure.ac>
-@@ -529,6 +529,7 @@ AC_CONFIG_FILES([src/Makefile tests/Make
+Rebase to 1.28
+
+Signed-off-by: Hongxu Jia <[email protected]
<mailto:[email protected]>>
+---
+ configure.ac <http://configure.ac> | 1 +
+ src/Makefile.am | 4 ++-
+ src/gpg-error.m4 | 71
+++--------------------------------------------------
+ src/gpg-error.pc.in <http://gpg-error.pc.in> | 11 +++++++++
+ 4 files changed, 18 insertions(+), 69 deletions(-)
+ create mode 100644 src/gpg-error.pc.in <http://gpg-error.pc.in>
+
+diff --git a/configure.ac <http://configure.ac> b/configure.ac
<http://configure.ac>
+index aca9300..f7794e9 100644
+--- a/configure.ac <http://configure.ac>
++++ b/configure.ac <http://configure.ac>
+@@ -621,6 +621,7 @@ AC_CONFIG_FILES([src/Makefile tests/Makefile])
AC_CONFIG_FILES([lang/Makefile lang/cl/Makefile
lang/cl/gpg-error.asd])
AC_CONFIG_FILES([src/versioninfo.rc src/gpg-error.w32-manifest])
AC_CONFIG_FILES([src/gpg-error-config], [chmod +x
src/gpg-error-config])
@@ -17,33 +28,33 @@ Index: libgpg-error-1.17/configure.ac
<http://configure.ac>
AC_OUTPUT
-Index: libgpg-error-1.17/src/Makefile.am
-===================================================================
---- libgpg-error-1.17.orig/src/Makefile.am
-+++ libgpg-error-1.17/src/Makefile.am
-@@ -75,6 +75,8 @@ nodist_include_HEADERS = gpg-error.h
- bin_SCRIPTS = gpg-error-config
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 268c2ab..95f8459 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -87,6 +87,8 @@ bin_SCRIPTS = gpg-error-config
+ nodist_bin_SCRIPTS = gpgrt-config
m4datadir = $(datadir)/aclocal
- m4data_DATA = gpg-error.m4
+ m4data_DATA = gpg-error.m4 gpgrt.m4
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gpg-error.pc
EXTRA_DIST = mkstrtable.awk err-sources.h.in
<http://err-sources.h.in> err-codes.h.in <http://err-codes.h.in> \
mkerrnos.awk errnos.in <http://errnos.in> README \
-@@ -82,7 +84,7 @@ EXTRA_DIST = mkstrtable.awk err-sources.
+@@ -94,7 +96,7 @@ EXTRA_DIST = mkstrtable.awk err-sources.h.in
<http://err-sources.h.in> err-codes.h.in <http://err-codes.h.in> \
mkheader.c gpg-error.h.in <http://gpg-error.h.in>
mkw32errmap.c w32-add.h w32ce-add.h \
- err-sources.h err-codes.h gpg-error-config.in
<http://gpg-error-config.in> gpg-error.m4 \
+ err-sources.h err-codes.h gpg-error-config.in
<http://gpg-error-config.in> gpg-error.m4 gpgrt.m4 \
gpg-error.vers gpg-error.def.in <http://gpg-error.def.in> \
- versioninfo.rc.in <http://versioninfo.rc.in>
gpg-error.w32-manifest.in <http://gpg-error.w32-manifest.in> \
+ versioninfo.rc.in <http://versioninfo.rc.in>
gpg-error.w32-manifest.in <http://gpg-error.w32-manifest.in>
gpg-error.pc \
$(lock_obj_pub)
BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h
code-from-errno.h \
-Index: libgpg-error-1.17/src/gpg-error.m4
-===================================================================
---- libgpg-error-1.17.orig/src/gpg-error.m4
-+++ libgpg-error-1.17/src/gpg-error.m4
-@@ -26,73 +26,13 @@ dnl is added to the gpg_config_script_wa
+diff --git a/src/gpg-error.m4 b/src/gpg-error.m4
+index 60c88d8..2ef7e3e 100644
+--- a/src/gpg-error.m4
++++ b/src/gpg-error.m4
+@@ -26,73 +26,13 @@ dnl is added to the gpg_config_script_warn
variable.
dnl
AC_DEFUN([AM_PATH_GPG_ERROR],
[ AC_REQUIRE([AC_CANONICAL_HOST])
@@ -132,10 +143,11 @@ Index: libgpg-error-1.17/src/gpg-error.m4
ifelse([$3], , :, [$3])
fi
AC_SUBST(GPG_ERROR_CFLAGS)
-Index: libgpg-error-1.17/src/gpg-error.pc.in <http://gpg-error.pc.in>
-===================================================================
+diff --git a/src/gpg-error.pc.in <http://gpg-error.pc.in>
b/src/gpg-error.pc.in <http://gpg-error.pc.in>
+new file mode 100644
+index 0000000..bc0b174
--- /dev/null
-+++ libgpg-error-1.17/src/gpg-error.pc.in <http://gpg-error.pc.in>
++++ b/src/gpg-error.pc.in <http://gpg-error.pc.in>
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
@@ -148,3 +160,6 @@ Index: libgpg-error-1.17/src/gpg-error.pc.in
<http://gpg-error.pc.in>
+Version: @VERSION@
+Libs: -L${libdir} -lgpg-error
+Cflags: -I${includedir}
+--
+1.8.3.1
+
diff --git
a/meta/recipes-support/libgpg-error/libgpg-error_1.27.bb
<http://libgpg-error_1.27.bb>
b/meta/recipes-support/libgpg-error/libgpg-error_1.28.bb
<http://libgpg-error_1.28.bb>
similarity index 88%
rename from meta/recipes-support/libgpg-error/libgpg-error_1.27.bb
<http://libgpg-error_1.27.bb>
rename to meta/recipes-support/libgpg-error/libgpg-error_1.28.bb
<http://libgpg-error_1.28.bb>
index b74f079..2be297d 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.27.bb
<http://libgpg-error_1.27.bb>
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.28.bb
<http://libgpg-error_1.28.bb>
@@ -5,7 +5,7 @@ BUGTRACKER = "https://bugs.g10code.com/gnupg/index
<https://bugs.g10code.com/gnupg/index>"
LICENSE = "GPLv2+ & LGPLv2.1+"
LIC_FILES_CHKSUM =
"file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
- file://src/gpg-error.h.in
<http://gpg-error.h.in>;endline=23;md5=beae1e44d8d5c265d194760276033a7c
\
+ file://src/gpg-error.h.in
<http://gpg-error.h.in>;endline=23;md5=fc7423b56d5f7163a9a2acf9fe2f8d6b
\
file://src/init.c;endline=20;md5=872b2389fe9bae7ffb80d2b91225afbc"
@@ -16,8 +16,8 @@ SRC_URI =
"${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \
file://pkgconfig.patch \
"
-SRC_URI[md5sum] = "5217ef3e76a7275a2a3b569a12ddc989"
-SRC_URI[sha256sum] =
"4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2"
+SRC_URI[md5sum] = "2b072f6194eb22d48cd4c7c77e59b5af"
+SRC_URI[sha256sum] =
"3edb957744905412f30de3e25da18682cbe509541e18cd3b8f9df695a075da49"
BINCONFIG = "${bindir}/gpg-error-config"
--
2.8.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
<mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-core
<http://lists.openembedded.org/mailman/listinfo/openembedded-core>PATCH v3 1/1 libgpg-error: 1.27 -> 1.28
In reply to Martin Jansa- Rebase pkgconfig.patch
- Fix regression on arm64 due to invalid use of va_list
License-Update: copyright years
--- ...gression-on-arm64-due-to-invalid-use-of-v.patch | 61 ++++++++++++++++++++ .../libgpg-error/libgpg-error/pkgconfig.patch | 67 +++++++++++++--------- .../libgpg-error/libgpg-error_1.27.bb | 62 -------------------- .../libgpg-error/libgpg-error_1.28.bb | 63 ++++++++++++++++++++ 4 files changed, 165 insertions(+), 88 deletions(-) create mode 100644 meta/recipes-support/libgpg-error/libgpg-error/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch delete mode 100644 meta/recipes-support/libgpg-error/libgpg-error_1.27.bb create mode 100644 meta/recipes-support/libgpg-error/libgpg-error_1.28.bb
meta/recipes-support/libgpg-error/libgpg-error/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch new file +61 -0
@@ -0,0 +1,61 @@ +From 791177de023574223eddf7288eb7c5a0721ac623 Mon Sep 17 00:00:00 2001 +From: Werner Koch <[email protected]> +Date: Sun, 18 Mar 2018 17:39:43 +0100 +Subject: [PATCH] core: Fix regression on arm64 due to invalid use of va_list. + +* src/logging.c (_gpgrt_log_printhex): Provide a dummy arg instead of +NULL. +-- + +Fix +Suggested-by: Jakub Wilk <[email protected]> + +Signed-off-by: Werner Koch <[email protected]> + +Upstream-Status: Backport + +Signed-off-by: Hongxu Jia <[email protected]> + +--- + src/logging.c | 18 ++++++++++++++---- + 1 file changed, 14 insertions(+), 4 deletions(-) + +diff --git a/src/logging.c b/src/logging.c +index 1a4f620..d01f974 100644 +--- a/src/logging.c ++++ b/src/logging.c +@@ -1090,9 +1090,10 @@ _gpgrt_log_flush (void) + + + /* Print a hexdump of (BUFFER,LENGTH). With FMT passed as NULL print +- * just the raw dump, with FMT being an empty string, print a trailing +- * linefeed, otherwise print an entire debug line with the expanded +- * FMT followed by a possible wrapped hexdump and a final LF. */ ++ * just the raw dump (in this case ARG_PTR is not used), with FMT ++ * being an empty string, print a trailing linefeed, otherwise print ++ * an entire debug line with the expanded FMT followed by a possible ++ * wrapped hexdump and a final LF. */ + void + _gpgrt_logv_printhex (const void *buffer, size_t length, + const char *fmt, va_list arg_ptr) +@@ -1150,7 +1151,16 @@ _gpgrt_log_printhex (const void *buffer, size_t length, + va_end (arg_ptr); + } + else +- _gpgrt_logv_printhex (buffer, length, NULL, NULL); ++ { ++ /* va_list is not necessary a pointer and thus we can't use NULL ++ * because that would conflict with platforms using a straight ++ * struct for it (e.g. arm64). We use a dummy variable instead; ++ * the static is a simple way zero it out so to not get ++ * complains about uninitialized use. */ ++ static va_list dummy_argptr; ++ ++ _gpgrt_logv_printhex (buffer, length, NULL, dummy_argptr); ++ } + } + + +-- +2.7.4 +
meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch +41 -26
102 lines not on this page · raw message
meta/recipes-support/libgpg-error/libgpg-error_1.27.bb deleted +0 -62
62 lines not on this page · raw message
meta/recipes-support/libgpg-error/libgpg-error_1.28.bb new file +63 -0
63 lines not on this page · raw message
Signature · 1 line
2.8.1
PATCH v2 5/7 dhcp: 4.3.6 -> 4.4.1
In reply to a message not in the archive1. Rebase 0004, 0007, 0010
2. Rework 0008 to support external bind
3. Drop backported 0011-Moved-the-call-to-isc_app_ctxstart-to-not-get-signal.patch
License-Update: "ISC" -> "MPL-2.0"
---
meta/recipes-connectivity/dhcp/dhcp.inc | 4 +-
...o-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch | 6 +-
.../dhcp/dhcp/0002-dhclient-dbus.patch | 10 +-
.../dhcp/dhcp/0003-link-with-lcrypto.patch | 6 +-
.../dhcp/dhcp/0004-Fix-out-of-tree-builds.patch | 87 +--------
...-fix-invoke-dhclient-script-failed-on-Rea.patch | 4 +-
.../dhcp/0006-site.h-enable-gentle-shutdown.patch | 6 +-
...re-argument-to-make-the-libxml2-dependenc.patch | 16 +-
.../dhcp/0008-tweak-to-support-external-bind.patch | 161 ++++++----------
...09-remove-dhclient-script-bash-dependency.patch | 4 +-
.../dhcp/dhcp/0010-build-shared-libs.patch | 210 ++++++++++++---------
...all-to-isc_app_ctxstart-to-not-get-signal.patch | 81 --------
...correct-the-intention-for-xml2-lib-search.patch | 10 +-
.../dhcp/{dhcp_4.3.6.bb => dhcp_4.4.1.bb} | 5 +-
14 files changed, 227 insertions(+), 383 deletions(-)
delete mode 100644 meta/recipes-connectivity/dhcp/dhcp/0011-Moved-the-call-to-isc_app_ctxstart-to-not-get-signal.patch
rename meta/recipes-connectivity/dhcp/{dhcp_4.3.6.bb => dhcp_4.4.1.bb} (79%)meta/recipes-connectivity/dhcp/dhcp.inc +2 -2
@@ -7,8 +7,8 @@ easier to administer devices." HOMEPAGE = "http://www.isc.org/" -LICENSE = "ISC" -LIC_FILES_CHKSUM = "file://LICENSE;beginline=4;md5=c5c64d696107f84b56fe337d14da1753" +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;beginline=4;md5=004a4db50a1e20972e924a8618747c01" DEPENDS = "openssl bind"
meta/recipes-connectivity/dhcp/dhcp/0001-define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch +3 -3
@@ -1,4 +1,4 @@ -From 7cc29144535a622fc671dc86eb1da65b0473a7c4 Mon Sep 17 00:00:00 2001 +From 0f6deb81b3ea989dc5c71ad3ddf7a713c9a0bea7 Mon Sep 17 00:00:00 2001 From: Hongxu Jia <[email protected]> Date: Tue, 15 Aug 2017 16:14:22 +0800 Subject: [PATCH 01/11] define macro _PATH_DHCPD_CONF and _PATH_DHCLIENT_CONF
@@ -12,10 +12,10 @@ Signed-off-by: Hongxu Jia <[email protected]> 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/site.h b/includes/site.h -index b2f7fd7..280fbb9 100644 +index 2ef69e4..b4dd2e4 100644 --- a/includes/site.h +++ b/includes/site.h -@@ -149,7 +149,8 @@ +@@ -148,7 +148,8 @@ /* Define this if you want the dhcpd.conf file to go somewhere other than the default location. By default, it goes in /etc/dhcpd.conf. */
meta/recipes-connectivity/dhcp/dhcp/0002-dhclient-dbus.patch +5 -5
@@ -1,4 +1,4 @@ -From be7540d31c356e80ee02e90e8bf162b7ac6e5ba5 Mon Sep 17 00:00:00 2001 +From 4514f02e4bbd33d9136ed4522f508d64c7ec9249 Mon Sep 17 00:00:00 2001 From: Hongxu Jia <[email protected]> Date: Tue, 15 Aug 2017 14:56:56 +0800 Subject: [PATCH 02/11] dhclient dbus
@@ -33,7 +33,7 @@ index d69d0d8..095b143 100755 } diff --git a/client/scripts/freebsd b/client/scripts/freebsd -index 8f3e2a2..ad7fb44 100755 +index 7c073f8..b3426bf 100755 --- a/client/scripts/freebsd +++ b/client/scripts/freebsd @@ -89,6 +89,11 @@ exit_with_hooks() {
@@ -49,7 +49,7 @@ index 8f3e2a2..ad7fb44 100755 } diff --git a/client/scripts/linux b/client/scripts/linux -index 5fb1612..3d447b6 100755 +index 0c42969..cded38f 100755 --- a/client/scripts/linux +++ b/client/scripts/linux @@ -174,6 +174,11 @@ exit_with_hooks() {
@@ -65,7 +65,7 @@ index 5fb1612..3d447b6 100755 } diff --git a/client/scripts/netbsd b/client/scripts/netbsd -index 07383b7..aaba8e8 100755 +index fa08637..3628418 100755 --- a/client/scripts/netbsd +++ b/client/scripts/netbsd @@ -45,6 +45,11 @@ exit_with_hooks() {
@@ -81,7 +81,7 @@ index 07383b7..aaba8e8 100755 } diff --git a/client/scripts/openbsd b/client/scripts/openbsd -index e7f4746..56b980c 100644 +index afb7924..57c80d4 100755 --- a/client/scripts/openbsd +++ b/client/scripts/openbsd @@ -45,6 +45,11 @@ exit_with_hooks() {
meta/recipes-connectivity/dhcp/dhcp/0003-link-with-lcrypto.patch +3 -3
@@ -1,4 +1,4 @@ -From d80bd792323dbd56269309f85b4506eb6b1b60e9 Mon Sep 17 00:00:00 2001 +From 08b13bbb8951235a5e9c614641bbb34e357f5c12 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <[email protected]> Date: Tue, 15 Aug 2017 15:05:47 +0800 Subject: [PATCH 03/11] link with lcrypto
@@ -19,10 +19,10 @@ Signed-off-by: Hongxu Jia <[email protected]> 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac -index cdfa352..44fb57e 100644 +index a797438..552631a 100644 --- a/configure.ac +++ b/configure.ac -@@ -591,6 +591,10 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[void foo() __attribute__((noreturn)); +@@ -612,6 +612,10 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[void foo() __attribute__((noreturn)); # Look for optional headers. AC_CHECK_HEADERS(sys/socket.h net/if_dl.h net/if6.h regex.h)
meta/recipes-connectivity/dhcp/dhcp/0004-Fix-out-of-tree-builds.patch +9 -78
109 lines not on this page · raw message
meta/recipes-connectivity/dhcp/dhcp/0005-dhcp-client-fix-invoke-dhclient-script-failed-on-Rea.patch +2 -2
@@ -1,4 +1,4 @@ -From 2e8ff0e4f6d39e346ea86b8c514ab4ccc78fa359 Mon Sep 17 00:00:00 2001 +From b5ca894a5e82b365f0804be2a48bd687824fceef Mon Sep 17 00:00:00 2001 From: Hongxu Jia <[email protected]> Date: Tue, 15 Aug 2017 15:24:14 +0800 Subject: [PATCH 05/11] dhcp-client: fix invoke dhclient-script failed on
@@ -19,7 +19,7 @@ Signed-off-by: Hongxu Jia <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scripts/linux b/client/scripts/linux -index 3d447b6..3122a75 100755 +index cded38f..516c986 100755 --- a/client/scripts/linux +++ b/client/scripts/linux @@ -40,7 +40,7 @@ make_resolv_conf() {
meta/recipes-connectivity/dhcp/dhcp/0006-site.h-enable-gentle-shutdown.patch +3 -3
@@ -1,4 +1,4 @@ -From 01641d146e4e6bea954e4a4ee1f6230b822665b4 Mon Sep 17 00:00:00 2001 +From 249389cb6b25e828c2902d07d0277697d0f97418 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> Date: Tue, 15 Aug 2017 15:37:49 +0800 Subject: [PATCH 06/11] site.h: enable gentle shutdown
@@ -13,10 +13,10 @@ Signed-off-by: Hongxu Jia <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/site.h b/includes/site.h -index 280fbb9..e6c2972 100644 +index b4dd2e4..1fb0de4 100644 --- a/includes/site.h +++ b/includes/site.h -@@ -296,7 +296,7 @@ +@@ -295,7 +295,7 @@ situations. We plan to revisit this feature and may make non-backwards compatible changes including the removal of this define. Use at your own risk. */
meta/recipes-connectivity/dhcp/dhcp/0007-Add-configure-argument-to-make-the-libxml2-dependenc.patch +8 -8
@@ -1,6 +1,6 @@ -From 7107511fd209f08f9a96f8938041ae48f3295895 Mon Sep 17 00:00:00 2001 -From: Christopher Larson <[email protected]> -Date: Tue, 15 Aug 2017 16:17:49 +0800 +From a2646c0a27de8dc1d386368b48fe7d0d2042491b Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Thu, 29 Mar 2018 10:45:13 +0800 Subject: [PATCH 07/11] Add configure argument to make the libxml2 dependency explicit and determinisitic.
@@ -8,7 +8,7 @@ Upstream-Status: Pending Signed-off-by: Christopher Larson <[email protected]> -Rebase to 4.3.6 +Rebase to 4.4.4 Signed-off-by: Hongxu Jia <[email protected]> ---
@@ -16,12 +16,12 @@ Signed-off-by: Hongxu Jia <[email protected]> 1 file changed, 11 insertions(+) diff --git a/configure.ac b/configure.ac -index 44fb57e..8e9f509 100644 +index 552631a..ea9f40f 100644 --- a/configure.ac +++ b/configure.ac -@@ -611,6 +611,17 @@ AC_CHECK_FUNCS(strlcat) - # For HP/UX we need -lipv6 for if_nametoindex, perhaps others. - AC_SEARCH_LIBS(if_nametoindex, [ipv6]) +@@ -642,6 +642,17 @@ if test "$have_nanosleep" = "rt"; then + LIBS="-lrt $LIBS" + fi +AC_ARG_WITH(libxml2, + AS_HELP_STRING([--with-libxml2], [link against libxml2. this is needed if bind was built with xml2 support enabled]),
meta/recipes-connectivity/dhcp/dhcp/0008-tweak-to-support-external-bind.patch +58 -103
174 lines not on this page · raw message
meta/recipes-connectivity/dhcp/dhcp/0009-remove-dhclient-script-bash-dependency.patch +2 -2
@@ -1,4 +1,4 @@ -From f3f8b7726e50e24ef3edf5fa5a17e31d39118d7e Mon Sep 17 00:00:00 2001 +From 538c7b61d1ecebbbcd7526fc6aecd8b0b830a24a Mon Sep 17 00:00:00 2001 From: Andre McCurdy <[email protected]> Date: Tue, 15 Aug 2017 15:49:31 +0800 Subject: [PATCH 09/11] remove dhclient-script bash dependency
@@ -14,7 +14,7 @@ Signed-off-by: Hongxu Jia <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scripts/linux b/client/scripts/linux -index 3122a75..1712d7d 100755 +index 516c986..e9ea379 100755 --- a/client/scripts/linux +++ b/client/scripts/linux @@ -1,4 +1,4 @@
meta/recipes-connectivity/dhcp/dhcp/0010-build-shared-libs.patch +125 -85
310 lines not on this page · raw message
meta/recipes-connectivity/dhcp/dhcp/0011-Moved-the-call-to-isc_app_ctxstart-to-not-get-signal.patch deleted +0 -81
81 lines not on this page · raw message
meta/recipes-connectivity/dhcp/dhcp/0012-dhcp-correct-the-intention-for-xml2-lib-search.patch +5 -5
@@ -1,7 +1,7 @@ -From 501543b3ef715488a142e3d301ff2733aa33eec7 Mon Sep 17 00:00:00 2001 +From 0adf1dea52007cdfb72520c87485c7cb0af9cd1f Mon Sep 17 00:00:00 2001 From: Awais Belal <[email protected]> Date: Wed, 25 Oct 2017 21:00:05 +0500 -Subject: [PATCH] dhcp: correct the intention for xml2 lib search +Subject: [PATCH 11/11] dhcp: correct the intention for xml2 lib search A missing case breaks the build when libxml2 is required and found appropriately. The third argument
@@ -20,10 +20,10 @@ Signed-off-by: Awais Belal <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index bfe988a..f0459e6 100644 +index 97fc39c..42de9e7 100644 --- a/configure.ac +++ b/configure.ac -@@ -608,7 +608,7 @@ AC_ARG_WITH(libxml2, +@@ -639,7 +639,7 @@ AC_ARG_WITH(libxml2, with_libxml2="$withval", with_libxml2="no") if test x$with_libxml2 != xno; then
@@ -33,5 +33,5 @@ index bfe988a..f0459e6 100644 AC_MSG_FAILURE([*** Cannot find xmlTextWriterStartElement with -lxml2 and libxml2 was requested]) fi]) -- -2.11.1 +1.8.3.1
meta/recipes-connectivity/dhcp/dhcp_4.4.1.bb renamed from meta/recipes-connectivity/dhcp/dhcp_4.3.6.bb +2 -3
@@ -10,12 +10,11 @@ SRC_URI += "file://0001-define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.pat file://0008-tweak-to-support-external-bind.patch \ file://0009-remove-dhclient-script-bash-dependency.patch \ file://0010-build-shared-libs.patch \ - file://0011-Moved-the-call-to-isc_app_ctxstart-to-not-get-signal.patch \ file://0012-dhcp-correct-the-intention-for-xml2-lib-search.patch \ " -SRC_URI[md5sum] = "afa6e9b3eb7539ea048421a82c668adc" -SRC_URI[sha256sum] = "a41eaf6364f1377fe065d35671d9cf82bbbc8f21207819b2b9f33f652aec6f1b" +SRC_URI[md5sum] = "18c7f4dcbb0a63df25098216d47b1ede" +SRC_URI[sha256sum] = "2a22508922ab367b4af4664a0472dc220cc9603482cf3c16d9aff14f3a76b608" PACKAGECONFIG ?= "" PACKAGECONFIG[bind-httpstats] = "--with-libxml2,--without-libxml2,libxml2"
Signature · 1 line
2.8.1