File: Always-build-common-status-codes.h-and-common-audit-event.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 (34 lines) | stat: -rw-r--r-- 1,060 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
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Thu, 16 May 2024 17:17:50 -0400
Subject: Always build common/status-codes.h and common/audit-events.h

This reduces our dependence on files injected into the upstream
tarball.

This addresses part of #1071202

Forwarded: not-needed
---
 common/Makefile.am | 2 --
 1 file changed, 2 deletions(-)

diff --git a/common/Makefile.am b/common/Makefile.am
index 91718f9..5f099c8 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -133,7 +133,6 @@ libsimple_pwquery_a_CFLAGS = $(AM_CFLAGS) $(LIBASSUAN_CFLAGS)
 libgpgrl_a_SOURCES = \
         gpgrlhelp.c
 
-if MAINTAINER_MODE
 # Note: Due to the dependency on Makefile, the file will always be
 # rebuilt, so we allow this only in maintainer mode.
 
@@ -152,7 +151,6 @@ status-codes.h: Makefile.am mkstrtable.awk exstatus.awk status.h
 	$(AWK) -f $(srcdir)/exstatus.awk $(srcdir)/status.h \
 	  | $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 -v nogettext=1 \
 		   -v pkg_namespace=statusstr_  > $(srcdir)/status-codes.h
-endif
 
 #
 # Module tests