From f1948ac75d15f65aa7ebd15cfb336c330a868838 Mon Sep 17 00:00:00 2001 From: Jean-Marc Pigeon Date: Mon, 17 Nov 2025 14:18:57 -0500 Subject: [PATCH] ln chkspf to /usr/bin --- Makefile | 7 +++++++ mailleur.spec.in | 1 + 2 files changed, 8 insertions(+) diff --git a/Makefile b/Makefile index e69aa33..37d1e9d 100644 --- 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 diff --git a/mailleur.spec.in b/mailleur.spec.in index 7335a5d..6007825 100644 --- a/mailleur.spec.in +++ b/mailleur.spec.in @@ -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 -- 2.47.3