commit: 7788930617aefdc9a102a9de9651bc257320688c
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Sat Jun 27 07:07:11 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 27 07:28:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77889306
mail-mta/notqmail: install systemd unit file
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
mail-mta/notqmail/{notqmail-1.08.ebuild => notqmail-1.08-r1.ebuild} | 4 +++-
mail-mta/notqmail/notqmail-9999.ebuild | 6 ++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/mail-mta/notqmail/notqmail-1.08.ebuild
b/mail-mta/notqmail/notqmail-1.08-r1.ebuild
similarity index 97%
rename from mail-mta/notqmail/notqmail-1.08.ebuild
rename to mail-mta/notqmail/notqmail-1.08-r1.ebuild
index 7378c6d1a12..eb09e7fa8d3 100644
--- a/mail-mta/notqmail/notqmail-1.08.ebuild
+++ b/mail-mta/notqmail/notqmail-1.08-r1.ebuild
@@ -13,7 +13,7 @@ QMAIL_BIGTODO_F=notqmail-1.08-big-todo.patch
QMAIL_LARGE_DNS="qmail-103.patch"
-inherit qmail
+inherit qmail systemd
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/notqmail/notqmail.git"
@@ -142,11 +142,13 @@ src_prepare() {
src_compile() {
qmail_src_compile NROFF=true
+ emake qmail-send.service
use qmail-spp && qmail_spp_src_compile
}
src_install() {
qmail_src_install
+ systemd_dounit "${S}"/qmail-send.service
}
src_test() {
diff --git a/mail-mta/notqmail/notqmail-9999.ebuild
b/mail-mta/notqmail/notqmail-9999.ebuild
index b5ff5be5d0e..eb09e7fa8d3 100644
--- a/mail-mta/notqmail/notqmail-9999.ebuild
+++ b/mail-mta/notqmail/notqmail-9999.ebuild
@@ -13,13 +13,13 @@ QMAIL_BIGTODO_F=notqmail-1.08-big-todo.patch
QMAIL_LARGE_DNS="qmail-103.patch"
-inherit qmail
+inherit qmail systemd
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/notqmail/notqmail.git"
inherit git-r3
else
- KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc"
+ KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
SRC_URI="https://github.com/notqmail/notqmail/releases/download/${P}/${P}.tar.xz"
fi
@@ -142,11 +142,13 @@ src_prepare() {
src_compile() {
qmail_src_compile NROFF=true
+ emake qmail-send.service
use qmail-spp && qmail_spp_src_compile
}
src_install() {
qmail_src_install
+ systemd_dounit "${S}"/qmail-send.service
}
src_test() {