1 |
commit: 7788930617aefdc9a102a9de9651bc257320688c |
2 |
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de> |
3 |
AuthorDate: Sat Jun 27 07:07:11 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 27 07:28:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77889306 |
7 |
|
8 |
mail-mta/notqmail: install systemd unit file |
9 |
|
10 |
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de> |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
mail-mta/notqmail/{notqmail-1.08.ebuild => notqmail-1.08-r1.ebuild} | 4 +++- |
14 |
mail-mta/notqmail/notqmail-9999.ebuild | 6 ++++-- |
15 |
2 files changed, 7 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/mail-mta/notqmail/notqmail-1.08.ebuild b/mail-mta/notqmail/notqmail-1.08-r1.ebuild |
18 |
similarity index 97% |
19 |
rename from mail-mta/notqmail/notqmail-1.08.ebuild |
20 |
rename to mail-mta/notqmail/notqmail-1.08-r1.ebuild |
21 |
index 7378c6d1a12..eb09e7fa8d3 100644 |
22 |
--- a/mail-mta/notqmail/notqmail-1.08.ebuild |
23 |
+++ b/mail-mta/notqmail/notqmail-1.08-r1.ebuild |
24 |
@@ -13,7 +13,7 @@ QMAIL_BIGTODO_F=notqmail-1.08-big-todo.patch |
25 |
|
26 |
QMAIL_LARGE_DNS="qmail-103.patch" |
27 |
|
28 |
-inherit qmail |
29 |
+inherit qmail systemd |
30 |
|
31 |
if [[ ${PV} == "9999" ]] ; then |
32 |
EGIT_REPO_URI="https://github.com/notqmail/notqmail.git" |
33 |
@@ -142,11 +142,13 @@ src_prepare() { |
34 |
|
35 |
src_compile() { |
36 |
qmail_src_compile NROFF=true |
37 |
+ emake qmail-send.service |
38 |
use qmail-spp && qmail_spp_src_compile |
39 |
} |
40 |
|
41 |
src_install() { |
42 |
qmail_src_install |
43 |
+ systemd_dounit "${S}"/qmail-send.service |
44 |
} |
45 |
|
46 |
src_test() { |
47 |
|
48 |
diff --git a/mail-mta/notqmail/notqmail-9999.ebuild b/mail-mta/notqmail/notqmail-9999.ebuild |
49 |
index b5ff5be5d0e..eb09e7fa8d3 100644 |
50 |
--- a/mail-mta/notqmail/notqmail-9999.ebuild |
51 |
+++ b/mail-mta/notqmail/notqmail-9999.ebuild |
52 |
@@ -13,13 +13,13 @@ QMAIL_BIGTODO_F=notqmail-1.08-big-todo.patch |
53 |
|
54 |
QMAIL_LARGE_DNS="qmail-103.patch" |
55 |
|
56 |
-inherit qmail |
57 |
+inherit qmail systemd |
58 |
|
59 |
if [[ ${PV} == "9999" ]] ; then |
60 |
EGIT_REPO_URI="https://github.com/notqmail/notqmail.git" |
61 |
inherit git-r3 |
62 |
else |
63 |
- KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc" |
64 |
+ KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
65 |
SRC_URI="https://github.com/notqmail/notqmail/releases/download/${P}/${P}.tar.xz" |
66 |
fi |
67 |
|
68 |
@@ -142,11 +142,13 @@ src_prepare() { |
69 |
|
70 |
src_compile() { |
71 |
qmail_src_compile NROFF=true |
72 |
+ emake qmail-send.service |
73 |
use qmail-spp && qmail_spp_src_compile |
74 |
} |
75 |
|
76 |
src_install() { |
77 |
qmail_src_install |
78 |
+ systemd_dounit "${S}"/qmail-send.service |
79 |
} |
80 |
|
81 |
src_test() { |