From dfd1d848414cb754ca1183ca4e0a6c8439a68b56 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Thu, 24 Jul 2025 10:17:08 -0400 Subject: [PATCH] adding cron file to spec file --- Makefile | 4 ++++ Makefile.dist | 4 ++++ mailleur.spec.in | 1 + 3 files changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 8754f27..7891059 100644 --- a/Makefile +++ b/Makefile @@ -214,6 +214,7 @@ install : @ install -d $(DESTDIR)/$(DATADIR)/$(APPN)/ @ install -d $(DESTDIR)/$(ETCDIR)/$(APPN)/ @ install -d $(DESTDIR)/$(ETCDIR)/$(APPN)/dovecot + @ install -d $(DESTDIR)/$(ETCDIR)/pki/$(APPN)/ @ install -d $(DESTDIR)/$(ETCDIR)/sysconfig/ @ install -d $(DESTDIR)/$(ETCDIR)/cron.d/ @ install -d $(DESTDIR)/$(LIBDIR)/$(APPN)/ @@ -231,6 +232,9 @@ install : @ cp -a \ conf/dovecot \ $(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 5870801..0d0f865 100644 --- a/Makefile.dist +++ b/Makefile.dist @@ -30,6 +30,7 @@ tarfile : clean @ mkdir -p \ $(APLV)/app \ $(APLV)/certs \ + $(APLV)/certs \ $(APLV)/conf \ $(APLV)/bin \ $(APLV)/lib \ @@ -42,6 +43,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 \ conf/dovecot \ diff --git a/mailleur.spec.in b/mailleur.spec.in index d75fd51..0ab1978 100644 --- a/mailleur.spec.in +++ b/mailleur.spec.in @@ -43,6 +43,7 @@ search about email exchange within time and transaction context. %attr(0754,root,root) %{_datadir}/%{name}/linux/osukiss/scanner %attr(0754,root,root) %{_datadir}/%{name}/linux/osukiss/sender %attr(0754,root,root) %{_datadir}/%{name}/linux/osukiss/sorter +%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cron.d/%{name}.cron %attr(0644,%{name},mail) %config(noreplace) %{_sysconfdir}/pki/%{name}/* %attr(0644,%{name},mail) %config(noreplace) %{_sysconfdir}/sysconfig/%{name} #configuration directory -- 2.47.3