Skip to contentSkip to conversation

fetchmail: Fix buildpaths warning.

PATCH New [email protected] 1 participant 4 messages Nov 2, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fetchmail: Fix buildpaths warning.

From: Wang Mingyu <[email protected]>

WARNING: fetchmail-6.4.23-r0 do_package_qa: QA Issue: File /usr/bin/fetchmailconf in package fetchmail contains reference to TMPDIR [buildpaths]

---
 meta-networking/recipes-support/fetchmail/fetchmail_6.4.23.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-networking/recipes-support/fetchmail/fetchmail_6.4.23.bb +4 -0
index e4ad0a39e1..266573681e 100644
@@ -18,5 +18,9 @@ inherit autotools gettext pkgconfig python3-dir python3native
 
 EXTRA_OECONF = "--with-ssl=${STAGING_DIR_HOST}${prefix}"
 
+do_install:append() {
+    sed -i 's,${RECIPE_SYSROOT_NATIVE},,g' ${D}${bindir}/fetchmailconf
+}
+
 PACKAGES =+ "fetchmail-python"
 FILES:fetchmail-python = "${libdir}/${PYTHON_DIR}/*"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 libxpresent: upgrade 1.0.0 -> 1.0.1

From: Wang Mingyu <[email protected]>

---
 .../xorg-lib/{libxpresent_1.0.0.bb => libxpresent_1.0.1.bb}  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-graphics/xorg-lib/{libxpresent_1.0.0.bb => libxpresent_1.0.1.bb} (63%)
meta-oe/recipes-graphics/xorg-lib/libxpresent_1.0.1.bb renamed from meta-oe/recipes-graphics/xorg-lib/libxpresent_1.0.0.bb +2 -3
similarity index 63%
rename from meta-oe/recipes-graphics/xorg-lib/libxpresent_1.0.0.bb
rename to meta-oe/recipes-graphics/xorg-lib/libxpresent_1.0.1.bb
index 4fe9992f20..2a59a80e49 100644
@@ -4,8 +4,7 @@ DEPENDS += "xorgproto libxfixes libxrandr"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=3c1ce42c334a6f5cccb0277556a053e0"
 
-SRC_URI = "http://xorg.freedesktop.org/archive/individual/lib/libXpresent-${PV}.tar.bz2"
-SRC_URI[md5sum] = "edd87ac15bb666081898dd7382fcbff5"
-SRC_URI[sha256sum] = "c11ae015141a9afbe10f4f2b8ee00b11adca6373dc1b9808d7c6c138b2da7b8a"
+SRC_URI = "http://xorg.freedesktop.org/archive/individual/lib/libXpresent-${PV}.tar.xz"
+SRC_URI[sha256sum] = "b964df9e5a066daa5e08d2dc82692c57ca27d00b8cc257e8e960c9f1cf26231b"
 
 XORG_PN = "libXpresent"
Signature · 1 line
2.25.1
#2 lore raw

PATCH 1/1 xkbprint: upgrade 1.0.5 -> 1.0.6

In reply to [email protected]

From: Wang Mingyu <[email protected]>

---
 .../xorg-app/{xkbprint_1.0.5.bb => xkbprint_1.0.6.bb}         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-graphics/xorg-app/{xkbprint_1.0.5.bb => xkbprint_1.0.6.bb} (71%)
meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.6.bb renamed from meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.5.bb +2 -2
similarity index 71%
rename from meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.5.bb
rename to meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.6.bb
index 7b6ef96825..e866bed016 100644
@@ -9,5 +9,5 @@ DEPENDS += "libxkbfile"
 
 BBCLASSEXTEND = "native"
 
-SRC_URI[md5sum] = "9c34da77363dc3d0f616980da87244bf"
-SRC_URI[sha256sum] = "5b58fe834f0822f06d63d283fac404098c6d3f6acce61888b81016f1c41023fa"
+SRC_URI[sha256sum] = "99cc9404f7b90289ae04944c0d98a208cc8b158492ad6481386e31d4d09aa7b0"
+SRC_URI_EXT = "xz"
Signature · 1 line
2.25.1
#3 lore raw

PATCH 1/1 xmlsec1: upgrade 1.2.34 -> 1.2.36

In reply to [email protected]

From: Wang Mingyu <[email protected]>

makefile-ptest.patch xmlsec1-examples-allow-build-in-separate-dir.patch refreshed for new version.

Changelog:
===========
Retired the XMLSec mailing list "[email protected]" and the XMLSec Online Signature Verifier.
Migration to OpenSSL 3.0 API (based on PR by @snargit). Note that OpenSSL engines are disabled by default when XMLSec library is compiled against OpenSSL 3.0. To re-enable OpenSSL engines, use "--enable-openssl3-engines" configure flag (there will be a lot of deprecation warnings). The OpenSSL before 1.1.0 and LibreSSL before 2.7.0 are now deprecated and will be removed in the future versions of XMLSec Library.
Refactored all the integer casts to ensure cast-safety. Fixed all warnings and enabled "-Werror" and "-pedantic" flags on CI builds.
Added configure flag to use size_t for xmlSecSize (currently disabled by default for backward compatibility).
Moved all CI builds to GitHub actions.

---
 .../xmlsec1/xmlsec1/makefile-ptest.patch             | 12 +++++++-----
 ...mlsec1-examples-allow-build-in-separate-dir.patch | 12 +++++++-----
 .../xmlsec1/{xmlsec1_1.2.34.bb => xmlsec1_1.2.36.bb} |  2 +-
 3 files changed, 15 insertions(+), 11 deletions(-)
 rename meta-oe/recipes-support/xmlsec1/{xmlsec1_1.2.34.bb => xmlsec1_1.2.36.bb} (96%)
meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch +7 -5
index d45356924b..26ebce343d 100644
@@ -9,13 +9,12 @@ and it's installed as ptest.
 Upstream-Status: Inappropriate [ OE ptest specific ]
 
 Signed-off-by: Jackie Huang <[email protected]>
-
 ---
  examples/Makefile | 12 ++++++++++--
  1 file changed, 10 insertions(+), 2 deletions(-)
 
 diff --git a/examples/Makefile b/examples/Makefile
-index 89b1d61..c1cbcca 100644
+index 02480c2..cbc2661 100644
 --- a/examples/Makefile
 +++ b/examples/Makefile
 @@ -8,9 +8,17 @@ PROGRAMS = \
@@ -24,12 +23,12 @@ index 89b1d61..c1cbcca 100644
  
 +ifndef CC
  CC	= gcc
--CFLAGS	+= -g $(shell xmlsec1-config --cflags) -DUNIX_SOCKETS
+-CFLAGS	+= -g $(shell xmlsec1-config --cflags) -DUNIX_SOCKETS -Wall -Wextra
 -LDLIBS	+= -g $(shell xmlsec1-config --libs)
 +endif
 +
-+CFLAGS  += -I../include -g $(shell PKG_CONFIG_PATH=.. pkg-config --cflags xmlsec1 ) -DUNIX_SOCKETS
-+LDLIBS += -L../src/.libs -g $(shell PKG_CONFIG_PATH=.. pkg-config --libs xmlsec1 )
++CFLAGS  += -I../include -g $(shell PKG_CONFIG_PATH=.. pkg-config --cflags xmlsec1 ) -DUNIX_SOCKETS -Wall -Wextra
++LDLIBS  += -L../src/.libs -g $(shell PKG_CONFIG_PATH=.. pkg-config --libs xmlsec1 )
 +
 +DESTDIR = /usr/share/xmlsec1
 +install-ptest:
@@ -38,3 +37,6 @@ index 89b1d61..c1cbcca 100644
  
  all: $(PROGRAMS)
  
+-- 
+2.25.1
+
meta-oe/recipes-support/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch +7 -5
index 8b2533ed9e..9e6a6a840f 100644
@@ -6,25 +6,27 @@ Subject: [PATCH] examples: allow build in separate dir
 Upstream-Status: Inappropriate [ OE specific ]
 
 Signed-off-by: Jackie Huang <[email protected]>
-
 ---
  examples/Makefile | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)
 
 diff --git a/examples/Makefile b/examples/Makefile
-index c1cbcca..3f1bd14 100644
+index cbc2661..e882b61 100644
 --- a/examples/Makefile
 +++ b/examples/Makefile
 @@ -12,8 +12,10 @@ ifndef CC
  CC	= gcc
  endif
  
--CFLAGS  += -I../include -g $(shell PKG_CONFIG_PATH=.. pkg-config --cflags xmlsec1 ) -DUNIX_SOCKETS
--LDLIBS += -L../src/.libs -g $(shell PKG_CONFIG_PATH=.. pkg-config --libs xmlsec1 )
+-CFLAGS  += -I../include -g $(shell PKG_CONFIG_PATH=.. pkg-config --cflags xmlsec1 ) -DUNIX_SOCKETS -Wall -Wextra
+-LDLIBS  += -L../src/.libs -g $(shell PKG_CONFIG_PATH=.. pkg-config --libs xmlsec1 )
 +top_srcdir = ..
 +top_builddir = ..
-+CFLAGS  += -I$(top_srcdir)/include -g $(shell PKG_CONFIG_PATH=$(top_srcdir) pkg-config --cflags xmlsec1 ) -DUNIX_SOCKETS
++CFLAGS  += -I$(top_srcdir)/include -g $(shell PKG_CONFIG_PATH=$(top_srcdir) pkg-config --cflags xmlsec1 ) -DUNIX_SOCKETS -Wall -Wextra
 +LDLIBS += -L$(top_builddir)/src/.libs -g $(shell PKG_CONFIG_PATH=$(top_srcdir) pkg-config --libs xmlsec1 )
  
  DESTDIR = /usr/share/xmlsec1
  install-ptest:
+-- 
+2.25.1
+
meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.36.bb renamed from meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.34.bb +1 -1
similarity index 96%
rename from meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.34.bb
rename to meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.36.bb
index 3e8772ed69..370551b159 100644
@@ -22,7 +22,7 @@ SRC_URI = "http://www.aleksey.com/xmlsec/download/${BP}.tar.gz \
     file://ensure-search-path-non-host.patch \
     "
 
-SRC_URI[sha256sum] = "52ced4943f35bd7d0818a38298c1528ca4ac8a54440fd71134a07d2d1370a262"
+SRC_URI[sha256sum] = "f0d97e008b211d85808f038326d42e7f5cf46648e176f07406a323e7e8d41c80"
 
 inherit autotools-brokensep ptest pkgconfig
 
Signature · 1 line
2.25.1