From: "Andreas Müller" <schnitzeltony@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 15/28] gupnp: upgrade 1.2.6 -> 1.2.7
Date: Wed, 9 Jun 2021 08:38:18 +0200 [thread overview]
Message-ID: <20210609063831.3400611-15-schnitzeltony@gmail.com> (raw)
In-Reply-To: <20210609063831.3400611-1-schnitzeltony@gmail.com>
Hardening fix was applied
1.2.7
=====
- Fix build with -Wformat-security=error
- Bump required GLib version to 2.66
- Fix some introspection annotations
- Add missing varargs functions to vapi
- Revert fix from 1.2.5 which causes managed control points to
live too long
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
...x-build-with-hardened-security-flags.patch | 61 -------------------
.../recipes-connectivity/gupnp/gupnp_1.2.6.bb | 10 ---
.../recipes-connectivity/gupnp/gupnp_1.2.7.bb | 7 +++
3 files changed, 7 insertions(+), 71 deletions(-)
delete mode 100644 meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-Fix-build-with-hardened-security-flags.patch
delete mode 100644 meta-multimedia/recipes-connectivity/gupnp/gupnp_1.2.6.bb
create mode 100644 meta-multimedia/recipes-connectivity/gupnp/gupnp_1.2.7.bb
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-Fix-build-with-hardened-security-flags.patch b/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-Fix-build-with-hardened-security-flags.patch
deleted file mode 100644
index ef0c945d0..000000000
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-Fix-build-with-hardened-security-flags.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 6eba07bd195e0a1199a0fc62d7cc31ec376bc3dd Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
-Date: Mon, 31 May 2021 17:44:29 +0200
-Subject: [PATCH] Fix build with hardened security flags
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-| ../gupnp-1.2.6/examples/get-volume.c: In function 'on_introspection':
-| ../gupnp-1.2.6/examples/get-volume.c:53:17: error: format not a string literal and no format arguments [-Werror=format-security]
-| 53 | g_critical (error->message);
-| | ^~~~~~~~~~
-| ../gupnp-1.2.6/examples/get-volume.c:114:17: error: format not a string literal and no format arguments [-Werror=format-security]
-| 114 | g_critical (error->message);
-| | ^~~~~~~~~~
-| ../gupnp-1.2.6/examples/get-volume.c: In function 'main':
-| ../gupnp-1.2.6/examples/get-volume.c:150:17: error: format not a string literal and no format arguments [-Werror=format-security]
-| 150 | g_error (error->message);
-| | ^~~~~~~
-
-Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
-
-Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gupnp/-/merge_requests/17]
----
- examples/get-volume.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/examples/get-volume.c b/examples/get-volume.c
-index 4601014..923581c 100644
---- a/examples/get-volume.c
-+++ b/examples/get-volume.c
-@@ -50,7 +50,7 @@ on_introspection (GObject *object, GAsyncResult *res, gpointer user_data)
- &error);
-
- if (error != NULL) {
-- g_critical (error->message);
-+ g_critical ("%s", error->message);
- g_clear_error (&error);
- }
-
-@@ -111,7 +111,7 @@ on_introspection (GObject *object, GAsyncResult *res, gpointer user_data)
- g_list_free (out_names);
-
- if (error != NULL) {
-- g_critical (error->message);
-+ g_critical ("%s", error->message);
- g_clear_error (&error);
- } else {
- g_print ("Current volume: %s\n",
-@@ -147,7 +147,7 @@ int main(int argc, char *argv[])
- GUPnPContext *context = gupnp_context_new ("wlp3s0", 0, &error);
-
- if (error != NULL) {
-- g_error (error->message);
-+ g_error ("%s", error->message);
- }
-
- GUPnPControlPoint *cp = gupnp_control_point_new (context, CONTENT_DIR);
---
-2.31.1
-
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.2.6.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.2.6.bb
deleted file mode 100644
index 294c361db..000000000
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.2.6.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-require gupnp.inc
-
-SRC_URI = " \
- ${GNOME_MIRROR}/${BPN}/1.2/${BPN}-${PV}.tar.xz \
- file://0001-Fix-build-with-hardened-security-flags.patch \
-"
-SRC_URI[sha256sum] = "00b20f1e478a72deac92c34723693a2ac55789ed1e4bb4eed99eb4d62092aafd"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
- file://libgupnp/gupnp.h;beginline=1;endline=20;md5=d78a69d9b6e63ee2dc72e7b674d97520"
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.2.7.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.2.7.bb
new file mode 100644
index 000000000..7ad594f02
--- /dev/null
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.2.7.bb
@@ -0,0 +1,7 @@
+require gupnp.inc
+
+SRC_URI = "${GNOME_MIRROR}/${BPN}/1.2/${BPN}-${PV}.tar.xz"
+SRC_URI[sha256sum] = "8441276f1afd0176e6f595026a3a507eed1809abfa04026bad3f21622b3523ec"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
+ file://libgupnp/gupnp.h;beginline=1;endline=20;md5=d78a69d9b6e63ee2dc72e7b674d97520"
--
2.31.1
next prev parent reply other threads:[~2021-06-09 6:38 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-09 6:38 [PATCH 01/28] atkmm: upgrade 2.28.0 -> 2.28.2 Andreas Müller
2021-06-09 6:38 ` [PATCH 02/28] atkmm: build with meson Andreas Müller
2021-06-09 6:38 ` [PATCH 03/28] dconf: upgrade 0.38.0 -> 0.40.0 Andreas Müller
2021-06-09 6:38 ` [PATCH 04/28] evolution-data-server: upgrade 3.40.1 -> 3.40.2 Andreas Müller
2021-06-09 6:38 ` [PATCH 05/28] file-roller: upgrade 3.38.1 -> 3.40.0 Andreas Müller
2021-06-09 6:38 ` [PATCH 06/28] glibmm: upgrade 2.62.0 -> 2.66.1 / build with meson / cleanup recipe Andreas Müller
2021-06-09 6:38 ` [PATCH 07/28] gmime: upgrade 3.2.6 -> 3.2.7 Andreas Müller
2021-06-09 6:38 ` [PATCH 08/28] gnome-autoar; upgrade 0.3.2 -> 0.3.3 Andreas Müller
2021-06-09 6:38 ` [PATCH 09/28] gnome-keyring: upgrade 3.36.0 -> 40.0 Andreas Müller
2021-06-09 6:38 ` [PATCH 10/28] gnome-online-accounts: upgrade 3.36.0 -> 3.40.0 Andreas Müller
2021-06-09 6:38 ` [PATCH 11/28] gnome-terminal: upgrade 3.36.2 -> 3.40.2 Andreas Müller
2021-06-09 6:38 ` [PATCH 12/28] gspell: upgrade 1.8.4 -> 1.9.1 Andreas Müller
2021-06-09 6:38 ` [PATCH 13/28] gtkmm3: upgrade 3.24.3 -> 3.24.5 Andreas Müller
2021-06-09 6:38 ` [PATCH 14/28] gtksourceview4: upgrade 4.6.1 -> 4.8.1 Andreas Müller
2021-06-09 6:38 ` Andreas Müller [this message]
2021-06-09 6:38 ` [PATCH 16/28] gvfs: upgrade 1.44.1 -> 1.48.1 Andreas Müller
2021-06-09 6:38 ` [PATCH 17/28] libgdata: upgrade 0.17.13 -> 0.18.1 Andreas Müller
2021-06-09 6:38 ` [PATCH 18/28] libmediaart 0.7.0: remove Andreas Müller
2021-06-09 6:38 ` [PATCH 19/28] libmediaart-2.0: upgrade 1.9.4 -> 1.9.5 / merge inc file / build with meson Andreas Müller
2021-06-12 20:03 ` [oe] " Martin Jansa
2021-06-09 6:38 ` [PATCH 20/28] libsigc++-2.0: upgrade 2.10.6 -> 2.10.7 Andreas Müller
2021-06-09 6:38 ` [PATCH 21/28] nautilus: upgrade 40.1 -> 40.2 Andreas Müller
2021-06-09 6:38 ` [PATCH 22/28] pangomm: upgrade 2.42.1 -> 2.46.1 / build with meson Andreas Müller
2021-06-09 6:38 ` [PATCH 23/28] yelp-xsl: upgrade 3.36.0 -> 4.02 Andreas Müller
2021-06-09 6:38 ` [PATCH 24/28] yelp-tools: upgrade 3.32.2 -> 40.0 Andreas Müller
2021-06-09 6:38 ` [PATCH 25/28] yelp: upgrade 3.36.0 -> 40.2 Andreas Müller
2021-06-09 6:38 ` [PATCH 26/28] gthumb: inherit required features from colord Andreas Müller
2021-06-09 6:38 ` [PATCH 27/28] modemmanager: upgrade 1.16.4 -> 1.16.6 Andreas Müller
2021-06-09 6:38 ` [PATCH 28/28] xfce4-settings: 4.16.1 upgrade 4.16.2 Andreas Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210609063831.3400611-15-schnitzeltony@gmail.com \
--to=schnitzeltony@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.