From: Jean-Marc Pigeon (Delson) Date: Thu, 24 Jul 2025 14:17:08 +0000 (-0400) Subject: adding cron file to spec file X-Git-Tag: tag-0.14~29 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=dfd1d848414cb754ca1183ca4e0a6c8439a68b56;p=jmp%2Fmailleur adding cron file to spec file --- 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