Skip to contentSkip to conversation

SUBJECT:RR

PATCH New Changqing Li 2 participants 7 messages Jun 29, 2018

lore
Share & tools
lore
#0 lore raw

From 16cc71f4803c7773cf550fa53097c2aaeaf6a00e Mon Sep 17 00:00:00 2001
From: Changqing Li <[email protected]>
Date: Fri, 29 Jun 2018 12:43:28 +0800
Subject: [PATCH][meta-oe] openldap: upgrade 2.4.45 -> 2.4.46

---
 meta-oe/recipes-support/openldap/openldap/install-strip.patch  |  3 +++
 meta-oe/recipes-support/openldap/openldap/kill-icu.patch       |  2 +-
 .../openldap/openldap/openldap-2.4.28-gnutls-gcrypt.patch      |  2 +-
 .../openldap/openldap/openldap-CVE-2015-3276.patch             |  2 ++
 .../openldap/openldap/openldap-m4-pthread.patch                |  2 ++
 .../openldap/{openldap_2.4.45.bb => openldap_2.4.46.bb}        | 10 ++++------
 6 files changed, 13 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-support/openldap/{openldap_2.4.45.bb => openldap_2.4.46.bb} (97%)
meta-oe/recipes-support/openldap/openldap/install-strip.patch +3 -0
index 2992b70..7c67596 100644
@@ -1,6 +1,9 @@
 # This patch ensures that the install operations which strip
 # programs and libraries (LTINSTALL) work in a cross build
 # environment.
+
+Upstream-Status: Pending
+
 --- openldap-2.2.24/.pc/install-strip.patch/build/top.mk	2005-01-20 09:00:55.000000000 -0800
 +++ openldap-2.2.24/build/top.mk	2005-04-16 13:48:20.536710376 -0700
 @@ -116,7 +116,7 @@
meta-oe/recipes-support/openldap/openldap/kill-icu.patch +1 -1
index dcf5411..35e4646 100644
@@ -2,7 +2,7 @@ From: Marcin Juszkiewicz <[email protected]>
 
 slapd depends on ICU if it was built first.
 
-Upstream-status: inappropiate [embedded specific]
+Upstream-Status: inappropiate [embedded specific]
 ---
  configure.in |    8 --------
  1 file changed, 8 deletions(-)
meta-oe/recipes-support/openldap/openldap/openldap-2.4.28-gnutls-gcrypt.patch +1 -1
index c7b1552..86d0767 100644
@@ -1,6 +1,6 @@
 From http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-nds/openldap/files/
 
-Upstream-status: Unknown
+Upstream-status: Pending
 
 --
 
meta-oe/recipes-support/openldap/openldap/openldap-CVE-2015-3276.patch +2 -0
index de9ca52..25e148e 100644
@@ -10,6 +10,8 @@ cipher strings, which might cause a weaker than intended cipher to
 be used and allow remote attackers to have unspecified impact via
 unknown vectors.
 
+Upstream-Status: Pending
+
 Signed-off-by: Li Wang <[email protected]>
 ---
  libraries/libldap/tls_m.c |   27 ++++++++++++++++-----------
meta-oe/recipes-support/openldap/openldap/openldap-m4-pthread.patch +2 -0
index b669b72..38c0a5a 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Pending
+
 --- openldap-2.3.11/build/openldap.m4.orig	2005-11-11 00:11:18.604322590 -0800
 +++ openldap-2.3.11/build/openldap.m4	2005-11-11 00:26:21.621145856 -0800
 @@ -788,7 +788,7 @@ AC_DEFUN([OL_PTHREAD_TEST_FUNCTION],[[
meta-oe/recipes-support/openldap/openldap_2.4.46.bb renamed from meta-oe/recipes-support/openldap/openldap_2.4.45.bb +4 -6
similarity index 97%
rename from meta-oe/recipes-support/openldap/openldap_2.4.45.bb
rename to meta-oe/recipes-support/openldap/openldap_2.4.46.bb
index 82d6619..0c25506 100644
@@ -1,5 +1,3 @@
-# OpenLDAP, a license free (see http://www.OpenLDAP.org/license.html)
-#
 SUMMARY = "OpenLDAP Directory Service"
 DESCRIPTION = "OpenLDAP Software is an open source implementation of the Lightweight Directory Access Protocol."
 HOMEPAGE = "http://www.OpenLDAP.org/license.html"
@@ -9,9 +7,9 @@ HOMEPAGE = "http://www.OpenLDAP.org/license.html"
 # basically BSD.  opensource.org does not record this license
 # at present (so it is apparently not OSI certified).
 LICENSE = "OpenLDAP"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=25fd3721960f39128cd15a749fd21139 \
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=25b4ead0e45182e7c2914e59ff57009f \
                     file://LICENSE;md5=153d07ef052c4a37a8fac23bc6031972 \
-"
+                    "
 SECTION = "libs"
 
 LDAP_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
@@ -27,8 +25,8 @@ SRC_URI = "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${BP}.tgz \
     file://openldap-CVE-2015-3276.patch \
 "
 
-SRC_URI[md5sum] = "00ff8301277cdfd0af728a6927042a13"
-SRC_URI[sha256sum] = "cdd6cffdebcd95161a73305ec13fc7a78e9707b46ca9f84fb897cd5626df3824"
+SRC_URI[md5sum] = "829016c5a9f45c51adc50073ac6f9fd7"
+SRC_URI[sha256sum] = "9a90dcb86b99ae790ccab93b7585a31fbcbeec8c94bf0f7ab0ca0a87ea0c4b2d"
 
 DEPENDS = "util-linux groff-native"
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 php: upgrade 7.2.4 -> 7.2.7

---
 .../php/php/0001-acinclude-use-pkgconfig-for-libxml2-config.patch    | 2 +-
 meta-oe/recipes-devtools/php/php/acinclude-xml2-config.patch         | 2 +-
 meta-oe/recipes-devtools/php/php/iconv.patch                         | 2 +-
 meta-oe/recipes-devtools/php/php/imap-fix-autofoo.patch              | 2 +-
 meta-oe/recipes-devtools/php/php/pear-makefile.patch                 | 2 +-
 meta-oe/recipes-devtools/php/php/php5-pear-makefile.patch            | 2 +-
 meta-oe/recipes-devtools/php/php/php_exec_native.patch               | 2 +-
 meta-oe/recipes-devtools/php/{php_7.2.4.bb => php_7.2.7.bb}          | 5 ++---
 8 files changed, 9 insertions(+), 10 deletions(-)
 rename meta-oe/recipes-devtools/php/{php_7.2.4.bb => php_7.2.7.bb} (80%)
meta-oe/recipes-devtools/php/php/0001-acinclude-use-pkgconfig-for-libxml2-config.patch +1 -1
index 51a5e43..e7d326d 100644
@@ -4,7 +4,7 @@ Date: Tue, 17 Jun 2014 09:53:00 +0200
 Subject: [PATCH 3/8] acinclude: use pkgconfig for libxml2 config
 
 Signed-off-by: Koen Kooi <[email protected]>
-Upstream-Status: pending
+Upstream-Status: Pending
 ---
  acinclude.m4 | 63 ++++++++++++++++++++++--------------------------------------
  1 file changed, 23 insertions(+), 40 deletions(-)
meta-oe/recipes-devtools/php/php/acinclude-xml2-config.patch +1 -1
index 30811a7..d083166 100644
@@ -1,4 +1,4 @@
-Upstream-status: Unknown
+Upstream-Status: Pending
 
 diff --git a/acinclude.m4 b/acinclude.m4
 index 4fd452e..206fcbf 100644
meta-oe/recipes-devtools/php/php/iconv.patch +1 -1
index b6e3ceb..ecf7d87 100644
@@ -1,7 +1,7 @@
 From 17cc5645f3acf943a5a06465d09d0ebcfea987bd Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Wed, 2 Nov 2011 16:54:57 +0100
-Subject: [PATCH] Upstream-status: Unknown
+Subject: [PATCH] Upstream-Status: Pending
 
 ---
  acinclude.m4        | 3 ++-
meta-oe/recipes-devtools/php/php/imap-fix-autofoo.patch +1 -1
index b5fb7d4..16359af 100644
@@ -1,7 +1,7 @@
 From c084c8349d1780980e232cb28b60a109e3d89438 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Wed, 2 Nov 2011 16:54:57 +0100
-Subject: [PATCH] Upstream-status: Unknown
+Subject: [PATCH] Upstream-Status: Pending
 
 ---
  acinclude.m4       |  2 +-
meta-oe/recipes-devtools/php/php/pear-makefile.patch +1 -1
index 4bc1025..fcbf25b 100644
@@ -1,7 +1,7 @@
 From edd575a546d56bb5683aff19782b16963d61fd0b Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Wed, 2 Nov 2011 16:54:57 +0100
-Subject: [PATCH] Upstream-status: Unknown
+Subject: [PATCH] Upstream-Status: Pending
 
 ---
  pear/Makefile.frag | 2 +-
meta-oe/recipes-devtools/php/php/php5-pear-makefile.patch +1 -1
index cff6426..9974303 100644
@@ -1,7 +1,7 @@
 From 79725e82d5981fc94eb657f0f46a499dbfc1cc40 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Wed, 2 Nov 2011 16:54:57 +0100
-Subject: [PATCH] Upstream-status: Unknown
+Subject: [PATCH] Upstream-Status: Pending
 
 %% original patch: php5-pear-makefile.patch
 ---
meta-oe/recipes-devtools/php/php/php_exec_native.patch +1 -1
index 6af0dc8..8040900 100644
@@ -1,7 +1,7 @@
 From d251b5aa3d23803d016ca16818e2e1d2f2b70a02 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Wed, 2 Nov 2011 16:54:57 +0100
-Subject: [PATCH] Upstream-status: Inappriate
+Subject: [PATCH] Upstream-Status: Inappriate
 
 ---
  sapi/cli/config.m4 | 2 +-
meta-oe/recipes-devtools/php/php_7.2.7.bb renamed from meta-oe/recipes-devtools/php/php_7.2.4.bb +2 -3
similarity index 80%
rename from meta-oe/recipes-devtools/php/php_7.2.4.bb
rename to meta-oe/recipes-devtools/php/php_7.2.7.bb
index 2fd1e66..a256cd7 100644
@@ -4,7 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=67e369bc8d1f2e641236b8002039a6a2"
 
 SRC_URI += "file://change-AC_TRY_RUN-to-AC_TRY_LINK.patch \
             file://0001-acinclude.m4-skip-binconfig-check-for-libxml.patch \
-            file://0001-main-php_ini.c-build-empty-php_load_zend_extension_c.patch \
             file://0001-fix-error-caused-by-a-new-variable-is-declared-after.patch \
            "
 SRC_URI_append_class-target = " \
@@ -13,8 +12,8 @@ SRC_URI_append_class-target = " \
                                 file://0001-opcache-config.m4-enable-opcache.patch \
                                 "
 
-SRC_URI[md5sum] = "864c64ffd2f1686b035ef8ce6a6d8478"
-SRC_URI[sha256sum] = "11658a0d764dc94023b9fb60d4b5eb75d438ad17981efe70abb0d0d09a447ef3"
+SRC_URI[md5sum] = "4b5698c8c6c2b9cbff3a5706da67bb0f"
+SRC_URI[sha256sum] = "cc81675a96af4dd18d8ffc02f26a36c622abadf86af7ecfea7bcde8d3c96d5a3"
 
 PACKAGECONFIG[mysql] = "--with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config \
                         --with-pdo-mysql=${STAGING_BINDIR_CROSS}/mysql_config \
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/1 postgresql: upgrade 9.4.17 -> 9.4.18

In reply to Changqing Li
---
 meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb |  9 ---------
 meta-oe/recipes-dbs/postgresql/postgresql_9.4.18.bb | 13 +++++++++++++
 2 files changed, 13 insertions(+), 9 deletions(-)
 delete mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb
 create mode 100644 meta-oe/recipes-dbs/postgresql/postgresql_9.4.18.bb
meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb deleted +0 -9
deleted file mode 100644
index 8a01d86..0000000
@@ -1,9 +0,0 @@
-require postgresql.inc
-
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6dc95e63aa4d72502ff8193dfe2ddd38"
-
-SRC_URI += "\
-    file://not-check-libperl.patch \
-"
-SRC_URI[md5sum] = "0a08f4078f5e4a54e764f63ad38a6de3"
-SRC_URI[sha256sum] = "7a320cd335052b840d209dc9688f09965763351c590e3cc7bf577591179fd7c6"
meta-oe/recipes-dbs/postgresql/postgresql_9.4.18.bb new file +13 -0
new file mode 100644
index 0000000..a306bca
@@ -0,0 +1,13 @@
+require postgresql.inc
+
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6dc95e63aa4d72502ff8193dfe2ddd38"
+
+SRC_URI += "\
+    file://not-check-libperl.patch \
+"
+
+UPSTREAM_CHECK_URI = "http://ftp.postgresql.org/pub/source/"
+UPSTREAM_CHECK_REGEX = "(?P<pver>v9.4(\.\d+)+(-P\d+)*)/"
+
+SRC_URI[md5sum] = "4032f32af5afb0aa8f78f9a5639c0873"
+SRC_URI[sha256sum] = "428337f2b2f5e3ea21b8a44f88eb89c99a07a324559b99aebe777c9abdf4c4c0"
Signature · 1 line
2.7.4
#3 lore raw

PATCH 1/1 rsyslog: upgrade 8.29.0 -> 8.36.0

In reply to Changqing Li
---
 .../{libfastjson_0.99.4.bb => libfastjson_0.99.8.bb}    |  2 +-
 .../rsyslog/rsyslog/0001-Include-sys-time-h.patch       | 17 ++++++++++-------
 .../rsyslog/use-pkgconfig-to-check-libgcrypt.patch      |  2 +-
 .../rsyslog/{rsyslog_8.29.0.bb => rsyslog_8.36.0.bb}    |  6 +++---
 4 files changed, 15 insertions(+), 12 deletions(-)
 rename meta-oe/recipes-extended/rsyslog/{libfastjson_0.99.4.bb => libfastjson_0.99.8.bb} (85%)
 rename meta-oe/recipes-extended/rsyslog/{rsyslog_8.29.0.bb => rsyslog_8.36.0.bb} (97%)
meta-oe/recipes-extended/rsyslog/libfastjson_0.99.8.bb renamed from meta-oe/recipes-extended/rsyslog/libfastjson_0.99.4.bb +1 -1
similarity index 85%
rename from meta-oe/recipes-extended/rsyslog/libfastjson_0.99.4.bb
rename to meta-oe/recipes-extended/rsyslog/libfastjson_0.99.8.bb
index 2e23d7e..ea089de 100644
@@ -8,7 +8,7 @@ DEPENDS = ""
 
 SRC_URI = "git://github.com/rsyslog/libfastjson.git;protocol=https"
 
-SRCREV = "6e057a094cb225c9d80d8d6e6b1f36ca88a942dd"
+SRCREV = "4758b1caf69ada911ef79e1d80793fe489b98dff"
 
 S = "${WORKDIR}/git"
 
meta-oe/recipes-extended/rsyslog/rsyslog/0001-Include-sys-time-h.patch +10 -7
index ca88dd3..3c546dd 100644
@@ -1,6 +1,6 @@
-From 9739095de6ae5f844354756ae968f5f8864eb3e3 Mon Sep 17 00:00:00 2001
+From 7baf35b88d742032a2dc456c396843e17e866f8e Mon Sep 17 00:00:00 2001
 From: Ming Liu <[email protected]>
-Date: Sun, 26 Feb 2017 14:10:21 +0100
+Date: Wed, 27 Jun 2018 14:04:57 +0800
 Subject: [PATCH] Include sys/time.h
 
 struct timeval is defined in sys/time.h with a musl libc.
@@ -8,13 +8,13 @@ struct timeval is defined in sys/time.h with a musl libc.
 Upstream-Status: Inappropriate [musl libc specific]
 
 Signed-off-by: Ming Liu <[email protected]>
-
+Signed-off-by: Changqing Li <[email protected]>
 ---
  tests/msleep.c | 4 ----
  1 file changed, 4 deletions(-)
 
 diff --git a/tests/msleep.c b/tests/msleep.c
-index 26a8206..ca818be 100644
+index 98dbece..96f6950 100644
 --- a/tests/msleep.c
 +++ b/tests/msleep.c
 @@ -26,11 +26,7 @@
@@ -26,6 +26,9 @@ index 26a8206..ca818be 100644
 -#else
 -#include <time.h>
 -#endif
- 
- int main(int argc, char *argv[])
- {
+ #if defined(HAVE_SYS_SELECT_H)
+ #include <sys/select.h>
+ #endif
+-- 
+2.7.4
+
meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch +1 -1
index 162d239..0352587 100644
@@ -3,7 +3,7 @@ From: Roy Li <[email protected]>
 Date: Wed, 18 Jun 2014 13:46:52 +0800
 Subject: [PATCH] use pkgconfig to check libgcrypt
 
-Upstream-status: Inappropriate [configuration]
+Upstream-Status: Inappropriate [configuration]
 
 libgcrypt does no longer provide libgcrypt-config, and provide
 *.pc, so we should use pkgconfig to check
meta-oe/recipes-extended/rsyslog/rsyslog_8.36.0.bb renamed from meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb +3 -3
similarity index 97%
rename from meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb
rename to meta-oe/recipes-extended/rsyslog/rsyslog_8.36.0.bb
index 03f21c6..d65a2be 100644
@@ -9,7 +9,7 @@ Rsyslog is an enhanced syslogd supporting, among others, MySQL,\
  encryption protected syslog relay chains while at the same time being\
  very easy to setup for the novice user."
 
-DEPENDS = "zlib libestr libfastjson bison-native flex-native liblogging"
+DEPENDS = "zlib libestr libfastjson bison-native flex-native liblogging curl"
 HOMEPAGE = "http://www.rsyslog.com/"
 LICENSE = "GPLv3 & LGPLv3 & Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973 \
@@ -30,8 +30,8 @@ SRC_URI_append_libc-musl = " \
     file://0001-Include-sys-time-h.patch \
 "
 
-SRC_URI[md5sum] = "3805617f65a4b4bea34606487a5255a0"
-SRC_URI[sha256sum] = "220ba30b5afb0f3ddb328613fea7aa3966b01e4d0c52d6de9ab27b0858f19738"
+SRC_URI[md5sum] = "6846bb6d37af3ce067988dd2460d3a5d"
+SRC_URI[sha256sum] = "8a4b5beb92c6b308c3d14de2364c2788f62ef5d37ca0448144619edfe508ee70"
 
 UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/releases"
 UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
Signature · 1 line
2.7.4
#4 lore raw

Re: [PATCH][meta-oe] rsyslog: upgrade 8.29.0 -> 8.36.0

please rebase it on master-next and resend

Quoted 117 lines · Changqing Li
---
 .../{libfastjson_0.99.4.bb => libfastjson_0.99.8.bb}    |  2 +-
 .../rsyslog/rsyslog/0001-Include-sys-time-h.patch       | 17 ++++++++++-------
 .../rsyslog/use-pkgconfig-to-check-libgcrypt.patch      |  2 +-
 .../rsyslog/{rsyslog_8.29.0.bb => rsyslog_8.36.0.bb}    |  6 +++---
 4 files changed, 15 insertions(+), 12 deletions(-)
 rename meta-oe/recipes-extended/rsyslog/{libfastjson_0.99.4.bb => libfastjson_0.99.8.bb} (85%)
 rename meta-oe/recipes-extended/rsyslog/{rsyslog_8.29.0.bb => rsyslog_8.36.0.bb} (97%)
meta-oe/recipes-extended/rsyslog/libfastjson_0.99.8.bb renamed from meta-oe/recipes-extended/rsyslog/libfastjson_0.99.4.bb +1 -1
similarity index 85%
rename from meta-oe/recipes-extended/rsyslog/libfastjson_0.99.4.bb
rename to meta-oe/recipes-extended/rsyslog/libfastjson_0.99.8.bb
index 2e23d7e..ea089de 100644
@@ -8,7 +8,7 @@ DEPENDS = ""
 
 SRC_URI = "git://github.com/rsyslog/libfastjson.git;protocol=https"
 
-SRCREV = "6e057a094cb225c9d80d8d6e6b1f36ca88a942dd"
+SRCREV = "4758b1caf69ada911ef79e1d80793fe489b98dff"
 
 S = "${WORKDIR}/git"
 
meta-oe/recipes-extended/rsyslog/rsyslog/0001-Include-sys-time-h.patch +10 -7
index ca88dd3..3c546dd 100644
@@ -1,6 +1,6 @@
-From 9739095de6ae5f844354756ae968f5f8864eb3e3 Mon Sep 17 00:00:00 2001
+From 7baf35b88d742032a2dc456c396843e17e866f8e Mon Sep 17 00:00:00 2001
 From: Ming Liu <[email protected]>
-Date: Sun, 26 Feb 2017 14:10:21 +0100
+Date: Wed, 27 Jun 2018 14:04:57 +0800
 Subject: [PATCH] Include sys/time.h
 
 struct timeval is defined in sys/time.h with a musl libc.
@@ -8,13 +8,13 @@ struct timeval is defined in sys/time.h with a musl libc.
 Upstream-Status: Inappropriate [musl libc specific]
 
 Signed-off-by: Ming Liu <[email protected]>
-
+Signed-off-by: Changqing Li <[email protected]>
 ---
  tests/msleep.c | 4 ----
  1 file changed, 4 deletions(-)
 
 diff --git a/tests/msleep.c b/tests/msleep.c
-index 26a8206..ca818be 100644
+index 98dbece..96f6950 100644
 --- a/tests/msleep.c
 +++ b/tests/msleep.c
 @@ -26,11 +26,7 @@
@@ -26,6 +26,9 @@ index 26a8206..ca818be 100644
 -#else
 -#include <time.h>
 -#endif
-
- int main(int argc, char *argv[])
- {
+ #if defined(HAVE_SYS_SELECT_H)
+ #include <sys/select.h>
+ #endif
+--
+2.7.4
+
meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch +1 -1
index 162d239..0352587 100644
@@ -3,7 +3,7 @@ From: Roy Li <[email protected]>
 Date: Wed, 18 Jun 2014 13:46:52 +0800
 Subject: [PATCH] use pkgconfig to check libgcrypt
 
-Upstream-status: Inappropriate [configuration]
+Upstream-Status: Inappropriate [configuration]
 
 libgcrypt does no longer provide libgcrypt-config, and provide
 *.pc, so we should use pkgconfig to check
meta-oe/recipes-extended/rsyslog/rsyslog_8.36.0.bb renamed from meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb +3 -4
similarity index 97%
rename from meta-oe/recipes-extended/rsyslog/rsyslog_8.29.0.bb
rename to meta-oe/recipes-extended/rsyslog/rsyslog_8.36.0.bb
index 03f21c6..d65a2be 100644
@@ -9,7 +9,7 @@ Rsyslog is an enhanced syslogd supporting, among others, MySQL,\
  encryption protected syslog relay chains while at the same time being\
  very easy to setup for the novice user."
 
-DEPENDS = "zlib libestr libfastjson bison-native flex-native liblogging"
+DEPENDS = "zlib libestr libfastjson bison-native flex-native liblogging curl"
 HOMEPAGE = "http://www.rsyslog.com/"
 LICENSE = "GPLv3 & LGPLv3 & Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973 \
@@ -30,8 +30,8 @@ SRC_URI_append_libc-musl = " \
     file://0001-Include-sys-time-h.patch \
 "
 
-SRC_URI[md5sum] = "3805617f65a4b4bea34606487a5255a0"
-SRC_URI[sha256sum] = "220ba30b5afb0f3ddb328613fea7aa3966b01e4d0c52d6de9ab27b0858f19738"
+SRC_URI[md5sum] = "6846bb6d37af3ce067988dd2460d3a5d"
+SRC_URI[sha256sum] = "8a4b5beb92c6b308c3d14de2364c2788f62ef5d37ca0448144619edfe508ee70"
 
 UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/releases"
 UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#5 lore raw

PATCH 1/1 syslog-ng: upgrade 3.15.1 -> 3.16.1

In reply to Changqing Li
---
 .../rename-PAGESIZE-variables-to-pagesize.patch    | 72 ----------------------
 .../recipes-support/syslog-ng/syslog-ng_3.15.1.bb  | 11 ----
 .../recipes-support/syslog-ng/syslog-ng_3.16.1.bb  | 15 +++++
 3 files changed, 15 insertions(+), 83 deletions(-)
 delete mode 100644 meta-oe/recipes-support/syslog-ng/files/rename-PAGESIZE-variables-to-pagesize.patch
 delete mode 100644 meta-oe/recipes-support/syslog-ng/syslog-ng_3.15.1.bb
 create mode 100644 meta-oe/recipes-support/syslog-ng/syslog-ng_3.16.1.bb
meta-oe/recipes-support/syslog-ng/files/rename-PAGESIZE-variables-to-pagesize.patch deleted +0 -72
deleted file mode 100644
index 56ffb4a..0000000
@@ -1,72 +0,0 @@
-From 29f0de401b9df056c7eeb47a025c341654ca579d Mon Sep 17 00:00:00 2001
-From: Andrej Valek <[email protected]>
-Date: Thu, 14 Jun 2018 08:54:14 +0200
-Subject: [PATCH] secret-storage: rename PAGESIZE variables to pagesize
-
-PAGESIZE is a define in some libc libraries, which conflicts with these
-local variables.
-
-Upstream-Status: Submitted [https://github.com/balabit/syslog-ng/pull/2111]
-
-Signed-off-by: Andrej Valek <[email protected]>
-Signed-off-by: Marko Peter <[email protected]>
----
- lib/secret-storage/nondumpable-allocator.c            | 4 ++--
- lib/secret-storage/tests/test_nondumpable_allocator.c | 6 +++---
- lib/secret-storage/tests/test_secret_storage.c        | 4 ++--
- 3 files changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/lib/secret-storage/nondumpable-allocator.c b/lib/secret-storage/nondumpable-allocator.c
-index 07d94fbb0..314ce571f 100644
---- a/lib/secret-storage/nondumpable-allocator.c
-+++ b/lib/secret-storage/nondumpable-allocator.c
-@@ -104,8 +104,8 @@ gpointer
- nondumpable_buffer_alloc(gsize len)
- {
-   gsize minimum_size = len + ALLOCATION_HEADER_SIZE;
--  gsize PAGESIZE = sysconf(_SC_PAGE_SIZE);
--  gsize alloc_size = round_to_nearest(minimum_size, PAGESIZE);
-+  gsize pagesize = sysconf(_SC_PAGE_SIZE);
-+  gsize alloc_size = round_to_nearest(minimum_size, pagesize);
- 
-   Allocation *buffer = _mmap(alloc_size);
-   if (!buffer)
-diff --git a/lib/secret-storage/tests/test_nondumpable_allocator.c b/lib/secret-storage/tests/test_nondumpable_allocator.c
-index 6ef5b3035..a20b287ff 100644
---- a/lib/secret-storage/tests/test_nondumpable_allocator.c
-+++ b/lib/secret-storage/tests/test_nondumpable_allocator.c
-@@ -34,10 +34,10 @@ Test(nondumpableallocator, malloc_realloc_free)
-   strcpy(buffer, test_string);
-   cr_assert_str_eq(buffer, test_string);
- 
--  const gsize PAGESIZE = sysconf(_SC_PAGE_SIZE);
--  gpointer buffer_realloc = nondumpable_buffer_realloc(buffer, 2*PAGESIZE);
-+  const gsize pagesize = sysconf(_SC_PAGE_SIZE);
-+  gpointer buffer_realloc = nondumpable_buffer_realloc(buffer, 2*pagesize);
-   cr_assert_str_eq(buffer_realloc, test_string);
--  ((gchar *)buffer_realloc)[2*PAGESIZE] = 'a';
-+  ((gchar *)buffer_realloc)[2*pagesize] = 'a';
- 
-   nondumpable_buffer_free(buffer_realloc);
- }
-diff --git a/lib/secret-storage/tests/test_secret_storage.c b/lib/secret-storage/tests/test_secret_storage.c
-index 5297d4f60..89122cada 100644
---- a/lib/secret-storage/tests/test_secret_storage.c
-+++ b/lib/secret-storage/tests/test_secret_storage.c
-@@ -263,11 +263,11 @@ Test(secretstorage, test_rlimit)
-   cr_assert(!getrlimit(RLIMIT_MEMLOCK, &locked_limit));
-   locked_limit.rlim_cur = MIN(locked_limit.rlim_max, 64 * 1024);
-   cr_assert(!setrlimit(RLIMIT_MEMLOCK, &locked_limit));
--  const gsize PAGESIZE = sysconf(_SC_PAGE_SIZE);
-+  const gsize pagesize = sysconf(_SC_PAGE_SIZE);
- 
-   gchar *key_fmt = g_strdup("keyXXX");
-   int i = 0;
--  int for_limit = locked_limit.rlim_cur/PAGESIZE;
-+  int for_limit = locked_limit.rlim_cur/pagesize;
-   for (; i < for_limit; i++)
-     {
-       sprintf(key_fmt, "key%03d", i);
--- 
-2.11.0
-
meta-oe/recipes-support/syslog-ng/syslog-ng_3.15.1.bb deleted +0 -11
deleted file mode 100644
index 6d48cc3..0000000
@@ -1,11 +0,0 @@
-require syslog-ng.inc
-
-SRC_URI += " \
-    file://fix-config-libnet.patch \
-    file://fix-invalid-ownership.patch \
-    file://syslog-ng.service-the-syslog-ng-service.patch \
-    file://rename-PAGESIZE-variables-to-pagesize.patch \
-"
-
-SRC_URI[md5sum] = "da59a65cd5e293ec0fa3d3ecf4984af9"
-SRC_URI[sha256sum] = "a2dabd28674e2b558e4fb92484ad111d77bf7150070aa28556827130b479f9ef"
meta-oe/recipes-support/syslog-ng/syslog-ng_3.16.1.bb new file +15 -0
new file mode 100644
index 0000000..2fd57fb
@@ -0,0 +1,15 @@
+require syslog-ng.inc
+
+SRC_URI = "https://github.com/balabit/syslog-ng/releases/download/${BP}/${BP}.tar.gz \
+           file://syslog-ng.conf.systemd \
+           file://syslog-ng.conf.sysvinit \
+           file://initscript \
+           file://volatiles.03_syslog-ng \
+           file://configure.ac-add-option-enable-thread-tls-to-manage-.patch \
+           file://fix-config-libnet.patch \
+           file://fix-invalid-ownership.patch \
+           file://syslog-ng.service-the-syslog-ng-service.patch \
+           "
+
+SRC_URI[md5sum] = "72d44ad02c2e9ba0748b3ecd3f15a7ff"
+SRC_URI[sha256sum] = "c7ee6f1d5e98d86f191964e580111bfa71081ecbb3275cea035bbba177b73a29"
Signature · 1 line
2.7.4
#6 lore raw

PATCH 1/1 vim/vim-tiny: upgrade 8.0.0983 -> 8.1.0.116

In reply to Changqing Li
---
 .../recipes-support/vim/files/CVE-2017-17087.patch | 70 ----------------------
 .../vim/files/disable_acl_header_check.patch       | 28 ++++++---
 .../vim-add-knob-whether-elf.h-are-checked.patch   | 16 +++--
 ...{vim-tiny_8.0.0983.bb => vim-tiny_8.1.0.116.bb} |  0
 .../vim/{vim_8.0.0983.bb => vim_8.1.0.116.bb}      |  7 +--
 5 files changed, 33 insertions(+), 88 deletions(-)
 delete mode 100644 meta-oe/recipes-support/vim/files/CVE-2017-17087.patch
 rename meta-oe/recipes-support/vim/{vim-tiny_8.0.0983.bb => vim-tiny_8.1.0.116.bb} (100%)
 rename meta-oe/recipes-support/vim/{vim_8.0.0983.bb => vim_8.1.0.116.bb} (94%)
meta-oe/recipes-support/vim/files/CVE-2017-17087.patch deleted +0 -70
deleted file mode 100644
index 937b9ba..0000000
@@ -1,70 +0,0 @@
-From 9c11f80339372b7aa2f43153d574f2b5abb79708 Mon Sep 17 00:00:00 2001
-From: Li Zhou <[email protected]>
-Date: Sun, 17 Dec 2017 23:09:35 -0800
-Subject: [PATCH] vim: patch 8.0.1263: others can read the swap file if a user
- is careless
-
-Problem:    Others can read the swap file if a user is careless with his
-            primary group.
-Solution:   If the group permission allows for reading but the world
-            permissions doesn't, make sure the group is right.
-
-Upstream-Status: Backport
-CVE: CVE-2017-17087
-Signed-off-by: Li Zhou <[email protected]>
----
- src/fileio.c  | 24 +++++++++++++++++++++++-
- src/version.c |  2 ++
- 2 files changed, 25 insertions(+), 1 deletion(-)
-
-diff --git a/src/fileio.c b/src/fileio.c
-index f54fb8465..2c7740af9 100644
---- a/src/fileio.c
-+++ b/src/fileio.c
-@@ -716,7 +716,29 @@ readfile(
- 	/* Set swap file protection bits after creating it. */
- 	if (swap_mode > 0 && curbuf->b_ml.ml_mfp != NULL
- 			  && curbuf->b_ml.ml_mfp->mf_fname != NULL)
--	    (void)mch_setperm(curbuf->b_ml.ml_mfp->mf_fname, (long)swap_mode);
-+	{
-+	    char_u *swap_fname = curbuf->b_ml.ml_mfp->mf_fname;
-+
-+	    /*
-+	     * If the group-read bit is set but not the world-read bit, then
-+	     * the group must be equal to the group of the original file.  If
-+	     * we can't make that happen then reset the group-read bit.  This
-+	     * avoids making the swap file readable to more users when the
-+	     * primary group of the user is too permissive.
-+	     */
-+	    if ((swap_mode & 044) == 040)
-+	    {
-+		stat_T	swap_st;
-+
-+		if (mch_stat((char *)swap_fname, &swap_st) >= 0
-+			&& st.st_gid != swap_st.st_gid
-+			&& fchown(curbuf->b_ml.ml_mfp->mf_fd, -1, st.st_gid)
-+									 == -1)
-+		    swap_mode &= 0600;
-+	    }
-+
-+	    (void)mch_setperm(swap_fname, (long)swap_mode);
-+	}
- #endif
-     }
- 
-diff --git a/src/version.c b/src/version.c
-index a5cb078f0..5c0df475f 100644
---- a/src/version.c
-+++ b/src/version.c
-@@ -770,6 +770,8 @@ static char *(features[]) =
- static int included_patches[] =
- {   /* Add new patch number below this line */
- /**/
-+    1263,
-+/**/
-     983,
- /**/
-     982,
--- 
-2.11.0
-
meta-oe/recipes-support/vim/files/disable_acl_header_check.patch +20 -8
index 65e5f58..4720003 100644
@@ -1,14 +1,23 @@
-Upstream-Status: pending
+From 5ed25c076a1fb1889a3c50dddf29f21850b59a13 Mon Sep 17 00:00:00 2001
+From: Wenzong Fan <[email protected]> 
+Date: Tue, 26 Jun 2018 17:29:09 +0800
+Subject: [PATCH] disable acl header check
 
 Don't check 'sys/acl.h' if acl support disabled for vim/vim-tiny.
 
+Upstream-Status: pending
+
 Signed-off-by: Wenzong Fan <[email protected]>
-================================================
+Signed-off-by: Changqing Li <[email protected]>
+---
+ src/configure.ac | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
 diff --git a/src/configure.ac b/src/configure.ac
-index fb965e5..d734064 100644
+index 107c170..0ee86ad 100644
 --- a/src/configure.ac
 +++ b/src/configure.ac
-@@ -2511,7 +2511,7 @@ AC_CHECK_HEADERS(stdarg.h stdint.h stdlib.h string.h \
+@@ -3220,7 +3220,7 @@ AC_CHECK_HEADERS(stdint.h stdlib.h string.h \
  	sys/systeminfo.h locale.h sys/stream.h termios.h \
  	libc.h sys/statfs.h poll.h sys/poll.h pwd.h \
  	utime.h sys/param.h libintl.h libgen.h \
@@ -17,11 +26,14 @@ index fb965e5..d734064 100644
  	sys/access.h sys/sysinfo.h wchar.h wctype.h)
  
  dnl sys/ptem.h depends on sys/stream.h on Solaris
-@@ -3112,6 +3112,7 @@ AC_ARG_ENABLE(acl,
+@@ -3848,6 +3848,7 @@ AC_ARG_ENABLE(acl,
  	, [enable_acl="yes"])
  if test "$enable_acl" = "yes"; then
- AC_MSG_RESULT(no)
-+AC_CHECK_HEADERS(sys/acl.h)
- AC_CHECK_LIB(posix1e, acl_get_file, [LIBS="$LIBS -lposix1e"],
+   AC_MSG_RESULT(no)
++  AC_CHECK_HEADERS(sys/acl.h)
+   AC_CHECK_LIB(posix1e, acl_get_file, [LIBS="$LIBS -lposix1e"],
  	AC_CHECK_LIB(acl, acl_get_file, [LIBS="$LIBS -lacl"
  		  AC_CHECK_LIB(attr, fgetxattr, LIBS="$LIBS -lattr",,)],,),)
+-- 
+2.7.4
+
meta-oe/recipes-support/vim/files/vim-add-knob-whether-elf.h-are-checked.patch +10 -6
index 6c620f9..37914d4 100644
@@ -1,20 +1,24 @@
-vim: add knob whether elf.h are checked
+From 38de4bccdb8a861ffdd447f12fdab19d6d852c02 Mon Sep 17 00:00:00 2001
+From: Chong Lu <[email protected]>
+Date: Tue, 26 Jun 2018 17:34:15 +0800
+Subject: [PATCH] vim: add knob whether elf.h are checked
 
 Previously, it still was checked when there was no elf library in sysroots directory.
 Add knob to decide whether elf.h are checked or not.
 
-Upstream-status: Pending
+Upstream-Status: Pending
 
 Signed-off-by: Chong Lu <[email protected]>
+Signed-off-by: Changqing Li <[email protected]>
 ---
- src/configure.ac |    7 +++++++
+ src/configure.ac | 7 +++++++
  1 file changed, 7 insertions(+)
 
 diff --git a/src/configure.ac b/src/configure.ac
-index d734064..f504fa6 100644
+index 0ee86ad..64736f0 100644
 --- a/src/configure.ac
 +++ b/src/configure.ac
-@@ -2483,11 +2483,18 @@ AC_TRY_COMPILE([#include <stdio.h>], [int x __attribute__((unused));],
+@@ -3192,11 +3192,18 @@ AC_TRY_COMPILE([#include <stdio.h>], [int x __attribute__((unused));],
  	AC_MSG_RESULT(no))
  
  dnl Checks for header files.
@@ -34,5 +38,5 @@ index d734064..f504fa6 100644
  AC_HEADER_DIRENT
  
 -- 
-1.7.9.5
+2.7.4
 
meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb renamed from meta-oe/recipes-support/vim/vim-tiny_8.0.0983.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-support/vim/vim-tiny_8.0.0983.bb
rename to meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb
meta-oe/recipes-support/vim/vim_8.1.0.116.bb renamed from meta-oe/recipes-support/vim/vim_8.0.0983.bb +3 -4
similarity index 94%
rename from meta-oe/recipes-support/vim/vim_8.0.0983.bb
rename to meta-oe/recipes-support/vim/vim_8.1.0.116.bb
index 44c868c..f669dfe 100644
@@ -4,14 +4,13 @@ DEPENDS = "ncurses gettext-native"
 # vimdiff doesn't like busybox diff
 RSUGGESTS_${PN} = "diffutils"
 LICENSE = "vim"
-LIC_FILES_CHKSUM = "file://../runtime/doc/uganda.txt;md5=eea32ac1424bba14096736a494ae9045"
+LIC_FILES_CHKSUM = "file://../runtime/doc/uganda.txt;md5=b6eb9d541de3933cc8f48125ae0335fe"
 
 SRC_URI = "git://github.com/vim/vim.git \
            file://disable_acl_header_check.patch;patchdir=.. \
            file://vim-add-knob-whether-elf.h-are-checked.patch;patchdir=.. \
-           file://CVE-2017-17087.patch;patchdir=.. \
 "
-SRCREV = "3f9a1ff141412e9e85f7dff47d02946cb9be9228"
+SRCREV = "a87b72cc316e065d66dcbcf7ec1cde330adef3a3"
 
 S = "${WORKDIR}/git/src"
 
@@ -54,7 +53,7 @@ EXTRA_OECONF = " \
     vim_cv_memmove_handles_overlap=yes \
     vim_cv_stat_ignores_slash=no \
     vim_cv_terminfo=yes \
-    vim_cv_tgent=non-zero \
+    vim_cv_tgetent=non-zero \
     vim_cv_toupper_broken=no \
     vim_cv_tty_group=world \
     STRIP=/bin/true \
Signature · 1 line
2.7.4