1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = https://github.com/corecode/dma
13 summary = DragonFly Mail Agent
16 dma is a small Mail Transport Agent (MTA), designed for home and
17 office use. It accepts mails from locally installed Mail User Agents
18 (MUA) and delivers the mails either locally or to a remote destination.
20 Remote delivery includes several features like TLS/SSL support and
31 make_build_targets += PREFIX=%{prefix}
33 # Workaround for #10952
34 make_build_targets += LEX="flex -l"
36 make_install_targets += PREFIX=%{prefix} \
37 sendmail-link mailq-link install-spool-dirs install-etc
40 install -m 755 %{DIR_SOURCE}/dma-cleanup-spool %{BUILDROOT}%{sbindir}
49 systemctl daemon-reload >/dev/null 2>&1 || :
50 systemctl --no-reload enable dma-queue-flush.timer >/dev/null 2>&1 || :
51 systemctl --no-reload enable dma-cleanup-spool.timer >/dev/null 2>&1 || :
55 systemctl --no-reload disable dma-queue-flush.timer >/dev/null 2>&1 || :
56 systemctl --no-reload disable dma-cleanup-spool.timer >/dev/null 2>&1 || :
57 systemctl stop dma-queue-flush.timer >/dev/null 2>&1 || :
58 systemctl stop dma-cleanup-spool.timer >/dev/null 2>&1 || :
59 systemctl stop dma-queue-flush.service >/dev/null 2>&1 || :
60 systemctl stop dma-cleanup-spool.service >/dev/null 2>&1 || :
64 systemctl daemon-reload >/dev/null 2>&1 || :
68 systemctl daemon-reload >/dev/null 2>&1 || :
72 package %{name}-debuginfo