diff --git a/libnma.spec b/libnma.spec index 34ed8a0..a4222b6 100644 --- a/libnma.spec +++ b/libnma.spec @@ -8,12 +8,13 @@ Name: libnma Summary: NetworkManager GUI library Version: 1.8.38 -Release: 1 +Release: 2 License: GPLv2+ and LGPLv2+ URL: https://gitlab.gnome.org/GNOME/libnma/ Source0: https://download.gnome.org/sources/libnma/1.8/%{name}-%{version}.tar.xz Patch1: 0001-nm-applet-no-notifications.patch +Patch9000: remove-sensitive-info.patch Requires: mobile-broadband-provider-info >= %{mbp_version} Conflicts: libnma < %{old_libnma_version} @@ -85,6 +86,9 @@ GUI tools with NetworkManager. %{_datadir}/gtk-doc %changelog +* Mon Jun 12 2023 zhangpan - 1.8.38-2 +- remove sensitive info + * Wed Nov 02 2022 wangkai - 1.8.38-1 - Update to 1.8.38 diff --git a/remove-sensitive-info.patch b/remove-sensitive-info.patch new file mode 100644 index 0000000..2d76e70 --- /dev/null +++ b/remove-sensitive-info.patch @@ -0,0 +1,24 @@ +From d0fa74e1de2545e1678cdada73aad08ffcca099d Mon Sep 17 00:00:00 2001 +From: zhouwenpei +Date: Tue, 31 Jan 2023 22:52:08 +0800 +Subject: [PATCH] remove sensitive info + +--- + src/nma-mobile-providers.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/nma-mobile-providers.c b/src/nma-mobile-providers.c +index 95f352f..b1a67d0 100644 +--- a/src/nma-mobile-providers.c ++++ b/src/nma-mobile-providers.c +@@ -1044,7 +1044,6 @@ static void + dump_generic (NMAMobileAccessMethod *method) + { + g_print (" username: %s\n", method->username ? method->username : ""); +- g_print (" password: %s\n", method->password ? method->password : ""); + + if (method->dns) { + guint i; +-- +2.27.0 +