File: 0008-avoid-systemd-deprecation-warning.patch

package info (click to toggle)
gnupg2 2.4.8-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 49,012 kB
  • sloc: ansic: 287,593; sh: 7,938; lisp: 6,735; makefile: 1,982; awk: 160; xml: 53; python: 16; sed: 16; php: 14; perl: 13
file content (41 lines) | stat: -rw-r--r-- 1,127 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From 241db54dcd6ce4b32e3298d49195965757e6d3ef Mon Sep 17 00:00:00 2001
From: NIIBE Yutaka <gniibe@fsij.org>
Date: Mon, 21 Aug 2023 14:22:50 +0900
Subject: avoid-systemd-deprecation-warning

---
 agent/gpg-agent.c | 3 ---
 dirmngr/dirmngr.c | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index c4b281d63..8bcd496bf 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1399,9 +1399,6 @@ main (int argc, char **argv)
       agent_exit (0);
     }
 
-  if (is_supervised && !opt.quiet)
-    log_info(_("WARNING: \"%s\" is a deprecated option\n"), "--supervised");
-
   if (is_supervised)
     ;
   else if (!opt.extra_socket)
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c
index f79a0f877..755572d6e 100644
--- a/dirmngr/dirmngr.c
+++ b/dirmngr/dirmngr.c
@@ -1332,9 +1332,6 @@ main (int argc, char **argv)
     {
       struct stat statbuf;
 
-      if (!opt.quiet)
-        log_info(_("WARNING: \"%s\" is a deprecated option\n"), "--supervised");
-
       /* In supervised mode, we expect file descriptor 3 to be an
          already opened, listening socket.
 
-- 
2.43.0