]> SAFE projects GIT repository - jmp/mailleur/commitdiff
ln chkspf to /usr/bin
authorJean-Marc Pigeon <jmp@safe.c>
Mon, 17 Nov 2025 19:18:57 +0000 (14:18 -0500)
committerJean-Marc Pigeon <jmp@safe.c>
Mon, 17 Nov 2025 19:18:57 +0000 (14:18 -0500)
Makefile
mailleur.spec.in

index e69aa33bac4172793e74474f3028a8874e220763..37d1e9dd19408e20ffefae6f637d54920c048403 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -213,6 +213,7 @@ deltest     :
 #--------------------------------------------------------------------
 install        :
           @ # Creating all needed system directory
+          @ install -d $(DESTDIR)/$(BINDIR)/
           @ install -d $(DESTDIR)/$(DATADIR)/$(APPN)/
           @ install -d $(DESTDIR)/$(ETCDIR)/$(APPN)/
           @ install -d $(DESTDIR)/$(ETCDIR)/pki/$(APPN)/
@@ -228,6 +229,11 @@ install    :
           @ cp -a                                      \
                bin-*/                                  \
                $(DESTDIR)/$(EXECDIR)/$(APPN)
+          #set some utilities
+          @ ln -s                                      \
+               $(EXECDIR)/$(APPN)/chkspf               \
+               $(DESTDIR)/$(BINDIR)/
+          #
           @ cp -a                                      \
                conf/$(APPN).conf                       \
                conf/relayed.conf                       \
@@ -282,6 +288,7 @@ endif
 #Managing testarea
 LIBDIR = /usr/lib
 DATADIR        = /usr/share
+BINDIR = /usr/bin
 SBINDIR = /usr/sbin
 SPOOLDIR= /var/spool
 EXECDIR        = /usr/libexec
index 7335a5d5091a8aa18d5e1a39b716db467d835c51..60078251f30757bdbb8bae945bd760ab7c95f350 100644 (file)
@@ -59,6 +59,7 @@ search about email exchange within time and transaction context.
 #dovecot SQL database access
 %attr(0644,%{name},mail) %config(noreplace) %{dovedir}/80-%{name}-usesql.conf
 #
+%{_bindir}/chkspf
 %{_libexecdir}/%{name}/bin-utils/chkspf
 %{_libexecdir}/%{name}/bin-utils/feeder
 %{_libdir}/%{name}/rpm_build_date