summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/opensmtpd/opensmtpd-6.0.3_p1-r2.ebuild13
-rw-r--r--mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild13
2 files changed, 8 insertions, 18 deletions
diff --git a/mail-mta/opensmtpd/opensmtpd-6.0.3_p1-r2.ebuild b/mail-mta/opensmtpd/opensmtpd-6.0.3_p1-r2.ebuild
index c5f91cb5029e..bdc4021247d6 100644
--- a/mail-mta/opensmtpd/opensmtpd-6.0.3_p1-r2.ebuild
+++ b/mail-mta/opensmtpd/opensmtpd-6.0.3_p1-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools systemd
+inherit multilib flag-o-matic eutils pam toolchain-funcs autotools systemd
DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD"
HOMEPAGE="https://www.opensmtpd.org"
@@ -14,7 +14,9 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="libressl pam +mta"
-DEPEND="!libressl? ( dev-libs/openssl:0 )
+DEPEND="acct-user/smtpd
+ acct-user/smtpq
+ !libressl? ( dev-libs/openssl:0 )
libressl? ( dev-libs/libressl )
elibc_musl? ( sys-libs/fts-standalone )
sys-libs/zlib
@@ -74,13 +76,6 @@ src_install() {
fi
}
-pkg_preinst() {
- enewgroup smtpd 25
- enewuser smtpd 25 -1 /var/empty smtpd
- enewgroup smtpq 252
- enewuser smtpq 252 -1 /var/empty smtpq
-}
-
pkg_postinst() {
einfo
einfo "Plugins for SQLite, MySQL, PostgreSQL, LDAP, socketmaps,"
diff --git a/mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild
index 001f39e82b74..0889df338c55 100644
--- a/mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild
+++ b/mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools systemd
+inherit multilib flag-o-matic eutils pam toolchain-funcs autotools systemd
DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD"
HOMEPAGE="https://www.opensmtpd.org"
@@ -14,7 +14,9 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="libressl pam +mta"
-DEPEND="!libressl? ( dev-libs/openssl:0/1.1 )
+DEPEND="acct-user/smtpd
+ acct-user/smtpq
+ !libressl? ( dev-libs/openssl:0/1.1 )
libressl? ( dev-libs/libressl )
elibc_musl? ( sys-libs/fts-standalone )
sys-libs/zlib
@@ -69,13 +71,6 @@ src_install() {
fi
}
-pkg_preinst() {
- enewgroup smtpd 25
- enewuser smtpd 25 -1 /var/empty smtpd
- enewgroup smtpq 252
- enewuser smtpq 252 -1 /var/empty smtpq
-}
-
pkg_postinst() {
einfo
einfo "Plugins for SQLite, MySQL, PostgreSQL, LDAP, socketmaps,"