2a0da6d5f1
+ macros: drop %{_pesign_args} + Fix two bugs from package building + Fix bad free of cms data (DoS only) + Send pesign stdout/err to systemd journal + Add missing Install section + Add default packages for pkg-config + Short delay to ensure /run/pesign/socket exists + Resolve crash when signature that is removed is not the end of the list + Enhance error diagnostics about version mismatch + Upstream all Fedora changes + Add some hardening options to build + Add code of conduct + Fix build on gcc 12 and non-Fedora - Refresh patches + harden_pesign.service.patch + pesign-boo1143063-remove-var-tracking.patch + pesign-boo1185663-set-rpmmacrodir.patch + pesign-fix-authvar-write-loop.patch + pesign-suse-build.patch - Remove upstreamed/unnecessary patches + pesign-boo1158197-fix-pesigncheck-gcc10.patch + pesign-efikeygen-Fix-the-build-with-nss-3.44.patch + pesign-privkey_unneeded.diff + pesign-run.patch + Fix wrong oid offsets (bsc#1205323) OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign?expand=0&rev=66
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
Index: pesign-115/Make.defaults
|
|
===================================================================
|
|
--- pesign-115.orig/Make.defaults
|
|
+++ pesign-115/Make.defaults
|
|
@@ -13,6 +13,7 @@ rundir ?= /run/
|
|
rundir := $(abspath $(rundir))/
|
|
pcdir ?= $(libdir)pkgconfig/
|
|
docdir ?= $(prefix)share/doc/
|
|
+rpmmacrodir ?= /etc/rpm/
|
|
DESTDIR ?=
|
|
INSTALLROOT = $(DESTDIR)
|
|
|
|
Index: pesign-115/src/Makefile
|
|
===================================================================
|
|
--- pesign-115.orig/src/Makefile
|
|
+++ pesign-115/src/Makefile
|
|
@@ -88,8 +88,8 @@ install :
|
|
$(INSTALL) -m 644 pesign.popt $(INSTALLROOT)/etc/popt.d/
|
|
$(INSTALL) -d -m 755 $(INSTALLROOT)$(mandir)man1/
|
|
$(INSTALL) -m 644 $(MAN1TARGETS) $(INSTALLROOT)$(mandir)man1/
|
|
- $(INSTALL) -d -m 755 $(INSTALLROOT)/etc/rpm/
|
|
- $(INSTALL) -m 644 macros.pesign $(INSTALLROOT)/etc/rpm/
|
|
+ $(INSTALL) -d -m 755 $(INSTALLROOT)$(rpmmacrodir)
|
|
+ $(INSTALL) -m 644 macros.pesign $(INSTALLROOT)$(rpmmacrodir)
|
|
$(INSTALL) -d -m 755 $(INSTALLROOT)$(libexecdir)/pesign/
|
|
$(INSTALL) -m 750 pesign-authorize $(INSTALLROOT)$(libexecdir)/pesign/
|
|
$(INSTALL) -m 755 pesign-rpmbuild-helper $(INSTALLROOT)$(libexecdir)/pesign/
|