From 2d6c5db1419cbc88209a1fc84e01074c5df798f8 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Thu, 19 Jun 2025 08:21:37 -0400 Subject: [PATCH] Adding root-safe-CA.pwm for rpm --- Makefile | 4 ++++ Makefile.dist | 4 ++++ mailleur.spec.in | 1 + 3 files changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 8b9b9aa..c5ea567 100644 --- a/Makefile +++ b/Makefile @@ -174,6 +174,7 @@ install : @ # Creating all needed system directory @ install -d $(DESTDIR)/$(DATADIR)/$(APPN)/ @ install -d $(DESTDIR)/$(ETCDIR)/$(APPN)/ + @ install -d $(DESTDIR)/$(ETCDIR)/pki/$(APPN)/ @ install -d $(DESTDIR)/$(LIBDIR)/$(APPN)/ @ install -d $(DESTDIR)/$(SBINDIR)/ @ install -d $(DESTDIR)/$(SPOOLDIR)/$(APPN)/queue @@ -185,6 +186,9 @@ install : @ cp -a \ conf/$(APPN).conf \ $(DESTDIR)/$(ETCDIR)/$(APPN) + @ cp -a \ + certs/root-safe_CA.pem \ + $(DESTDIR)/$(ETCDIR)/pki/$(APPN) @ cp -a \ linux \ $(DESTDIR)/$(DATADIR)/$(APPN)/ diff --git a/Makefile.dist b/Makefile.dist index 10071d6..a7ffff0 100644 --- a/Makefile.dist +++ b/Makefile.dist @@ -29,6 +29,7 @@ tarfile : clean @ echo "'$(APLV)' tar file, building" @ mkdir -p \ $(APLV)/app \ + $(APLV)/certs \ $(APLV)/conf \ $(APLV)/bin \ $(APLV)/lib \ @@ -40,6 +41,9 @@ tarfile : clean @ date > $(APLV)/$(APLV).build_date @ cp -a Makefile* $(APLV)/ @ cp -a app/*.c $(APLV)/app/ + @ cp -a \ + certs/root-safe_CA.pem \ + $(APLV)/certs/ @ cp -a conf/*.conf $(APLV)/conf/ @ cp -a lib/{*.c,*.h} $(APLV)/lib/ @ cp -a linux/* $(APLV)/linux/ diff --git a/mailleur.spec.in b/mailleur.spec.in index f369942..de4ae72 100644 --- a/mailleur.spec.in +++ b/mailleur.spec.in @@ -32,6 +32,7 @@ search about email exchange within time and transaction context. %attr(0644,%{name},mail) %config(noreplace) %{_sysconfdir}/%{name}/* %attr(0755,root,root) %{_datadir}/%{name}/linux/osukiss/receiver %attr(0755,root,root) %{_datadir}/%{name}/linux/osukiss/sorter +%attr(0644,%{name},mail) %config(noreplace) %{_sysconfdir}/pki/%{name}/* %{_sbindir}/chkspf %{_sbindir}/feeder %attr(0755,%{name},mail) %{_sbindir}/receiver -- 2.47.3