]> SAFE projects GIT repository - jmp/mailleur/commitdiff
adding cron file to spec file
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Thu, 24 Jul 2025 14:17:08 +0000 (10:17 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Thu, 24 Jul 2025 14:17:08 +0000 (10:17 -0400)
Makefile
Makefile.dist
mailleur.spec.in

index 8754f27f048c4e3d4d7a38842a4eb3497b333f39..7891059a1b65747060b990694524bec0537d31ef 100644 (file)
--- 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)/
index 58708018a33572c381850034ca66ce6c0cc6620b..0d0f8659e429bd26165a0062ca12c6b8087ed18e 100644 (file)
@@ -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                                    \
index d75fd51d1e92a5992111fbc177ba1d4ff29950cc..0ab19783bb13f91329adefff44a69a71d8a0a7fa 100644 (file)
@@ -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