Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/msmtp/
Date: Wed, 26 Feb 2020 12:31:55
Message-Id: 1582720307.ba9c68e6c73cf24a76a766a6894879f0b649b4f8.polynomial-c@gentoo
1 commit: ba9c68e6c73cf24a76a766a6894879f0b649b4f8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 26 12:31:37 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 26 12:31:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba9c68e6
7
8 mail-mta/msmtp: Removed old
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 mail-mta/msmtp/Manifest | 1 -
14 mail-mta/msmtp/msmtp-1.8.3.ebuild | 146 --------------------------------------
15 2 files changed, 147 deletions(-)
16
17 diff --git a/mail-mta/msmtp/Manifest b/mail-mta/msmtp/Manifest
18 index fdf701e1045..bb01d94a19f 100644
19 --- a/mail-mta/msmtp/Manifest
20 +++ b/mail-mta/msmtp/Manifest
21 @@ -1,2 +1 @@
22 -DIST msmtp-1.8.3.tar.xz 336120 BLAKE2B 4c58dc82e01135bc84176c25c65812414901f134a71aba5460675df3270f1d9dd3a706c66f5773315a38d63463f5c9eb68b584d6e5d0d5f0b1c23d6436d9a2b8 SHA512 c265991c0925d79b28a664ee6832316350d59d546f252989dafb8a517a8be1c496fcc85981325e5b381801a7bcb77e38dabdc12fc5be1bf49b9886a409a21819
23 DIST msmtp-1.8.7.tar.xz 340908 BLAKE2B 5241acf54d5a6af6ccf2c3bfd33954a5235af2d2cb467e4134401538e60e1847489a7a599359e2d13202ea9637c32a67ec5180372b139e06f6d47f060cba6c8f SHA512 5a079cb90b48853ad812125e8b341f5bcd5f5ba4725d62c37210050896527b63f993aa6393f1d4107636153bf0ed84b0288e88a7e78a119c66b2d58f1e69a67d
24
25 diff --git a/mail-mta/msmtp/msmtp-1.8.3.ebuild b/mail-mta/msmtp/msmtp-1.8.3.ebuild
26 deleted file mode 100644
27 index 86c5a843c02..00000000000
28 --- a/mail-mta/msmtp/msmtp-1.8.3.ebuild
29 +++ /dev/null
30 @@ -1,146 +0,0 @@
31 -# Copyright 2004-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit fcaps multilib user
37 -
38 -DESCRIPTION="An SMTP client and SMTP plugin for mail user agents such as Mutt"
39 -HOMEPAGE="https://marlam.de/msmtp/"
40 -SRC_URI="https://marlam.de/msmtp/releases/${P}.tar.xz"
41 -
42 -LICENSE="GPL-3"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 ~arm ~arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
45 -IUSE="daemon doc gnome-keyring idn +mta nls sasl ssl vim-syntax"
46 -
47 -# fcaps.eclass unconditionally defines "filecaps" USE flag which we need for
48 -# USE="daemon" in order to set the caps we need.
49 -REQUIRED_USE="daemon? ( filecaps )"
50 -
51 -# Upstream discourages usage of openssl. See also
52 -# https://marlam.de/msmtp/news/openssl-discouraged/
53 -DEPEND="
54 - gnome-keyring? ( app-crypt/libsecret )
55 - nls? ( virtual/libintl )
56 - sasl? ( virtual/gsasl )
57 - ssl? ( net-libs/gnutls[idn?] )
58 - !ssl? ( idn? ( net-dns/libidn2:= ) )
59 -"
60 -
61 -RDEPEND="${DEPEND}
62 - net-mail/mailbase
63 - mta? (
64 - !mail-mta/courier
65 - !mail-mta/esmtp
66 - !mail-mta/exim
67 - !mail-mta/mini-qmail
68 - !mail-mta/netqmail
69 - !mail-mta/nullmailer
70 - !mail-mta/postfix
71 - !mail-mta/qmail-ldap
72 - !mail-mta/sendmail
73 - !mail-mta/opensmtpd
74 - !<mail-mta/ssmtp-2.64-r2
75 - !>=mail-mta/ssmtp-2.64-r2[mta]
76 - )
77 -"
78 -
79 -BDEPEND="${DEPEND}
80 - doc? ( virtual/texi2dvi )
81 - nls? ( sys-devel/gettext )
82 - virtual/pkgconfig
83 -"
84 -
85 -DOCS="AUTHORS ChangeLog NEWS README THANKS doc/msmtprc*"
86 -
87 -src_prepare() {
88 - # Use default Gentoo location for mail aliases
89 - sed -i 's:/etc/aliases:/etc/mail/aliases:' scripts/find_alias/find_alias_for_msmtp.sh || die
90 -
91 - default
92 -}
93 -
94 -src_configure() {
95 - local myeconfargs=(
96 - --disable-gai-idn
97 - $(use_enable nls)
98 - $(use_with daemon msmtpd)
99 - $(use_with gnome-keyring libsecret)
100 - $(use_with idn libidn)
101 - $(use_with sasl libgsasl)
102 - $(use_with ssl tls gnutls)
103 - )
104 - econf "${myeconfargs[@]}"
105 -}
106 -
107 -src_compile() {
108 - default
109 -
110 - if use doc ; then
111 - cd doc || die
112 - emake html pdf
113 - fi
114 -}
115 -
116 -src_install() {
117 - default
118 -
119 - if use daemon ; then
120 - fcaps CAP_NET_BIND_SERVICE usr/bin/msmtpd
121 - newinitd "${FILESDIR}"/msmtpd.init msmtpd
122 - newconfd "${FILESDIR}"/msmtpd.confd msmtpd
123 - fi
124 -
125 - if use doc ; then
126 - dodoc doc/msmtp.{html,pdf}
127 - fi
128 -
129 - if use mta ; then
130 - dosym msmtp /usr/bin/sendmail
131 - dosym ../bin/msmtp /usr/$(get_libdir)/sendmail
132 - fi
133 -
134 - if use vim-syntax ; then
135 - insinto /usr/share/vim/vimfiles/syntax
136 - doins scripts/vim/msmtp.vim
137 - fi
138 -
139 - insinto /etc
140 - newins doc/msmtprc-system.example msmtprc
141 -
142 - src_install_contrib find_alias find_alias_for_msmtp.sh
143 - src_install_contrib msmtpqueue "*.sh" "README ChangeLog"
144 - src_install_contrib msmtpq "msmtpq msmtp-queue" README.msmtpq
145 - src_install_contrib set_sendmail set_sendmail.sh set_sendmail.conf
146 -}
147 -
148 -pkg_preinst() {
149 - if use daemon ; then
150 - enewuser msmtpd
151 - fi
152 -}
153 -
154 -pkg_postinst() {
155 - if [[ -z ${REPLACING_VERSIONS} ]]; then
156 - einfo "Please edit ${EROOT}/etc/msmtprc before first use."
157 - einfo "In addition, per user configuration files can be placed"
158 - einfo "as '~/.msmtprc'. See the msmtprc-user.example file under"
159 - einfo "/usr/share/doc/${PF}/ for an example."
160 - fi
161 -}
162 -
163 -src_install_contrib() {
164 - subdir="$1"
165 - bins="$2"
166 - docs="$3"
167 - local dir=/usr/share/${PN}/${subdir}
168 - insinto ${dir}
169 - exeinto ${dir}
170 - for i in ${bins} ; do
171 - doexe scripts/${subdir}/${i}
172 - done
173 - for i in ${docs} ; do
174 - newdoc scripts/${subdir}/${i} ${subdir}.${i}
175 - done
176 -}