Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/opensmtpd/
Date: Tue, 25 May 2021 20:44:33
Message-Id: 1621975464.01f70f00555a35208c1ed6a8bea4991e5a6ebac7.whissi@gentoo
1 commit: 01f70f00555a35208c1ed6a8bea4991e5a6ebac7
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 25 20:44:24 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue May 25 20:44:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f70f00
7
8 mail-mta/opensmtpd: security cleanup
9
10 Bug: https://bugs.gentoo.org/761945
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 mail-mta/opensmtpd/Manifest | 1 -
15 mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild | 73 ----------------------------
16 2 files changed, 74 deletions(-)
17
18 diff --git a/mail-mta/opensmtpd/Manifest b/mail-mta/opensmtpd/Manifest
19 index a8cc73f5ef8..f7a170bf933 100644
20 --- a/mail-mta/opensmtpd/Manifest
21 +++ b/mail-mta/opensmtpd/Manifest
22 @@ -1,2 +1 @@
23 -DIST opensmtpd-6.7.1p1.tar.gz 859364 BLAKE2B 5b4002e8f15ab31810c9a4ccf22a0efc240f9db8bd14b8bb78aedf853b9c9db77cc4d6602a8d4b8d73904682cb1b345cb34aee69d10152d5be5cdf8d6cd37b96 SHA512 403952e77b360f42d8dc8ae7cd7faeced831b9e37bffd7c67d338b7208f7471d50f3594c3475a9282d18cb17435efd305ec8c05f89eaeab5d363ddb1c4d54a2e
24 DIST opensmtpd-6.8.0p2.tar.gz 860189 BLAKE2B 603e8516860eddefb1694ea4cb5631cec2df2a19fa3193b25388caf73c41e82d44e57847fc95b5187488cae629542e72ff2d5a17badc15cef1647bdb173d7827 SHA512 48f152b75575146fdd09bdf47123041ea62fefb6e5de33a69826bf91a2126a918f8db1caffadb2f142a1a21de8126d492de88cb65bdf169e61c0b22d3e78d290
25
26 diff --git a/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild
27 deleted file mode 100644
28 index 53f82ac4248..00000000000
29 --- a/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild
30 +++ /dev/null
31 @@ -1,73 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit pam systemd
38 -
39 -DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD"
40 -HOMEPAGE="https://www.opensmtpd.org"
41 -SRC_URI="https://www.opensmtpd.org/archives/${P/_}.tar.gz"
42 -
43 -LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
44 -SLOT="0"
45 -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
46 -IUSE="pam +mta berkdb"
47 -
48 -DEPEND="
49 - acct-user/smtpd
50 - acct-user/smtpq
51 - >=dev-libs/openssl-1.1:0=
52 - elibc_musl? ( sys-libs/fts-standalone )
53 - sys-libs/zlib
54 - pam? ( sys-libs/pam )
55 - berkdb? ( sys-libs/db:= )
56 - dev-libs/libevent
57 - app-misc/ca-certificates
58 - net-mail/mailbase
59 - net-libs/libasr
60 - !mail-mta/courier
61 - !mail-mta/esmtp
62 - !mail-mta/exim
63 - !mail-mta/mini-qmail
64 - !mail-mta/msmtp[mta]
65 - !mail-mta/netqmail
66 - !mail-mta/nullmailer
67 - !mail-mta/postfix
68 - !mail-mta/qmail-ldap
69 - !mail-mta/sendmail
70 - !mail-mta/ssmtp[mta]
71 -"
72 -RDEPEND="${DEPEND}"
73 -
74 -S=${WORKDIR}/${P/_}
75 -
76 -src_configure() {
77 - econf \
78 - --sysconfdir=/etc/smtpd \
79 - --with-path-mbox=/var/spool/mail \
80 - --with-path-empty=/var/empty \
81 - --with-path-socket=/run \
82 - --with-path-CAfile=/etc/ssl/certs/ca-certificates.crt \
83 - --with-user-smtpd=smtpd \
84 - --with-user-queue=smtpq \
85 - --with-group-queue=smtpq \
86 - $(use_with pam auth-pam) \
87 - $(use_with berkdb table-db)
88 -}
89 -
90 -src_install() {
91 - default
92 - newinitd "${FILESDIR}"/smtpd.initd smtpd
93 - systemd_dounit "${FILESDIR}"/smtpd.{service,socket}
94 - use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd
95 - dosym smtpctl /usr/sbin/makemap
96 - dosym smtpctl /usr/sbin/newaliases
97 - if use mta ; then
98 - dodir /usr/sbin
99 - dosym smtpctl /usr/sbin/sendmail
100 - dosym ../sbin/smtpctl /usr/bin/sendmail
101 - mkdir -p "${ED}"/usr/$(get_libdir) || die
102 - ln -s --relative "${ED}"/usr/sbin/smtpctl "${ED}"/usr/$(get_libdir)/sendmail || die
103 - fi
104 -}