Gentoo Archives: gentoo-commits

From: "Jason A. Donenfeld" <zx2c4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/opensmtpd/
Date: Wed, 29 Jan 2020 08:51:43
Message-Id: 1580287886.5b80fa0d1307fa714376009120c445c85220fefc.zx2c4@gentoo
1 commit: 5b80fa0d1307fa714376009120c445c85220fefc
2 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 29 08:46:18 2020 +0000
4 Commit: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 29 08:51:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b80fa0d
7
8 mail-mta/opensmtpd: remove old and never keyworded ebuild
9
10 This is old, buggy, and we never got it working properly. Revisit this
11 later for the 6.6 series.
12
13 Package-Manager: Portage-2.3.84, Repoman-2.3.20
14 Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>
15
16 mail-mta/opensmtpd/Manifest | 1 -
17 mail-mta/opensmtpd/opensmtpd-6.4.0_p1.ebuild | 83 ----------------------------
18 2 files changed, 84 deletions(-)
19
20 diff --git a/mail-mta/opensmtpd/Manifest b/mail-mta/opensmtpd/Manifest
21 index 7ade143bda4..cef24458d90 100644
22 --- a/mail-mta/opensmtpd/Manifest
23 +++ b/mail-mta/opensmtpd/Manifest
24 @@ -1,2 +1 @@
25 DIST opensmtpd-6.0.3p1.tar.gz 699702 BLAKE2B 49f08e8329adc049a562b6ef7efa4c0a39cbcfe8a158cb905cfc726a7302ffe9833ccfb52041340767d55d0f2ae2087e8eac92b7359016c6c76b4d963a334558 SHA512 e579818a0ddbe637deb5a4e40f43eaf797783903ceac18fd89a57581b135b9e407d424e1a70ff7b4b06a0ee50bafb6e8ab2451371917887904b06ff1b55d320f
26 -DIST opensmtpd-6.4.0p1.tar.gz 718638 BLAKE2B 23c1c286a865efcbd16461ec8930f5325a6e164a58ceb7bbe0feb9088bcf615b7fd7e2eb6820bcde161864c476087b39c289c75ea5ca0b18c46710f9723b3dd7 SHA512 c60dbac857925041769104adae33393f526a328767e19bc78d06e45a13b7dd50f3eefdaa3811b8da330c24a670e98da74e18af5ac486266dade6255a6f3b5135
27
28 diff --git a/mail-mta/opensmtpd/opensmtpd-6.4.0_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-6.4.0_p1.ebuild
29 deleted file mode 100644
30 index 51dedcde092..00000000000
31 --- a/mail-mta/opensmtpd/opensmtpd-6.4.0_p1.ebuild
32 +++ /dev/null
33 @@ -1,83 +0,0 @@
34 -# Copyright 1999-2019 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools systemd
40 -
41 -DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD"
42 -HOMEPAGE="https://www.opensmtpd.org"
43 -SRC_URI="https://www.opensmtpd.org/archives/${P/_}.tar.gz"
44 -
45 -LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
46 -SLOT="0"
47 -KEYWORDS="" #~amd64 ~arm ~arm64 ~x86"
48 -IUSE="pam +mta"
49 -
50 -DEPEND="dev-libs/libressl
51 - elibc_musl? ( sys-libs/fts-standalone )
52 - sys-libs/zlib
53 - pam? ( sys-libs/pam )
54 - sys-libs/db:=
55 - dev-libs/libevent
56 - app-misc/ca-certificates
57 - net-mail/mailbase
58 - net-libs/libasr
59 - !mail-mta/courier
60 - !mail-mta/esmtp
61 - !mail-mta/exim
62 - !mail-mta/mini-qmail
63 - !mail-mta/msmtp[mta]
64 - !mail-mta/netqmail
65 - !mail-mta/nullmailer
66 - !mail-mta/postfix
67 - !mail-mta/qmail-ldap
68 - !mail-mta/sendmail
69 - !mail-mta/ssmtp[mta]
70 -"
71 -RDEPEND="${DEPEND}"
72 -
73 -S=${WORKDIR}/${P/_}
74 -
75 -src_configure() {
76 - tc-export AR
77 - AR="$(which "$AR")" econf \
78 - --with-table-db \
79 - --with-user-smtpd=smtpd \
80 - --with-user-queue=smtpq \
81 - --with-group-queue=smtpq \
82 - --with-path-socket=/run \
83 - --with-path-CAfile=/etc/ssl/certs/ca-certificates.crt \
84 - --sysconfdir=/etc/opensmtpd \
85 - $(use_with pam auth-pam)
86 -}
87 -
88 -src_install() {
89 - default
90 - newinitd "${FILESDIR}"/smtpd.initd smtpd
91 - systemd_dounit "${FILESDIR}"/smtpd.{service,socket}
92 - use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd
93 - dosym /usr/sbin/smtpctl /usr/sbin/makemap
94 - dosym /usr/sbin/smtpctl /usr/sbin/newaliases
95 - if use mta ; then
96 - dodir /usr/sbin
97 - dosym /usr/sbin/smtpctl /usr/sbin/sendmail
98 - dosym /usr/sbin/smtpctl /usr/bin/sendmail
99 - dosym /usr/sbin/smtpctl /usr/$(get_libdir)/sendmail
100 - fi
101 -}
102 -
103 -pkg_preinst() {
104 - enewgroup smtpd 25
105 - enewuser smtpd 25 -1 /var/empty smtpd
106 - enewgroup smtpq 252
107 - enewuser smtpq 252 -1 /var/empty smtpq
108 -}
109 -
110 -pkg_postinst() {
111 - einfo
112 - einfo "Plugins for SQLite, MySQL, PostgreSQL, LDAP, socketmaps,"
113 - einfo "Redis, and many other useful addons and filters are"
114 - einfo "available in the mail-filter/opensmtpd-extras package."
115 - einfo
116 -}