Skip to content

Commit

Permalink
mail-mta/notqmail: install systemd unit file
Browse files Browse the repository at this point in the history
Signed-off-by: Rolf Eike Beer <[email protected]>
Signed-off-by: Sergei Trofimovich <[email protected]>
  • Loading branch information
DerDakon authored and Sergei Trofimovich committed Jun 27, 2020
1 parent cae7b63 commit 7788930
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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() {
Expand Down
6 changes: 4 additions & 2 deletions mail-mta/notqmail/notqmail-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 7788930

Please sign in to comment.