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: Thu, 03 Oct 2019 00:24:16
Message-Id: 1570062243.b78ad5135d22ed4178149087955dad750d202f9f.polynomial-c@gentoo
1 commit: b78ad5135d22ed4178149087955dad750d202f9f
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 3 00:24:03 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 3 00:24:03 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b78ad513
7
8 mail-mta/msmtp: Removed old
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
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.4.ebuild | 148 --------------------------------------
15 mail-mta/msmtp/msmtp-1.8.5.ebuild | 148 --------------------------------------
16 3 files changed, 297 deletions(-)
17
18 diff --git a/mail-mta/msmtp/Manifest b/mail-mta/msmtp/Manifest
19 index 1c1a69176d8..a2fb2887919 100644
20 --- a/mail-mta/msmtp/Manifest
21 +++ b/mail-mta/msmtp/Manifest
22 @@ -1,4 +1,3 @@
23 DIST msmtp-1.8.3.tar.xz 336120 BLAKE2B 4c58dc82e01135bc84176c25c65812414901f134a71aba5460675df3270f1d9dd3a706c66f5773315a38d63463f5c9eb68b584d6e5d0d5f0b1c23d6436d9a2b8 SHA512 c265991c0925d79b28a664ee6832316350d59d546f252989dafb8a517a8be1c496fcc85981325e5b381801a7bcb77e38dabdc12fc5be1bf49b9886a409a21819
24 -DIST msmtp-1.8.4.tar.xz 337292 BLAKE2B ac96dbd14cb5382563b995f2aff247c8ddf429dfa58ad6652ec3a3d05a98703a6c88a83d9e60ba3fb1d389682a6c0a653c5854f85258fe9d529674e61fbb146f SHA512 7c358ff6235802348f55f0359ad5f6a87fcd1cede9e6f95d603b0a6e7197527cf5c99be8c1f30b2c8fadf4fc56b0b8ac4962db0e57bb5bc522145c59637ed6ec
25 DIST msmtp-1.8.5.tar.xz 338840 BLAKE2B 92971fae2e3ad4d324d89f6f41950e3d4c4d922dbda82867d0df5f7d2ef67de1b5a2d83fd779a53399ef54a1515bc648e16e8c9d437fc1863bfb669a079a31dc SHA512 16e85d714b15e07f96f5ed5bf32b0c97a970877c13cfb77b5df29f7ea075d4da899a58786dcd60ace049b1f15061f4bcf96fa7fd442413560066a6c17a60f9a8
26 DIST msmtp-1.8.6.tar.xz 339732 BLAKE2B 3dc34bf23c935ea5f67df7e65b035771fd1475311311cca7097e71dac1c7b41a4c58497fd378a35a7f212b8a9b13e2dac6f20e0058d6f3491b52149d789b97d8 SHA512 9d3dd282ddfe2d67b67bb6d29412beebcd666d4ab8e90a664b7dd4b951714da0e3adba72dbe165617b1a170779bcd45e2e7bcf54d1d96fa97089686e71cbea66
27
28 diff --git a/mail-mta/msmtp/msmtp-1.8.4.ebuild b/mail-mta/msmtp/msmtp-1.8.4.ebuild
29 deleted file mode 100644
30 index 94bbeb282bd..00000000000
31 --- a/mail-mta/msmtp/msmtp-1.8.4.ebuild
32 +++ /dev/null
33 @@ -1,148 +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 fcaps multilib user
40 -
41 -DESCRIPTION="An SMTP client and SMTP plugin for mail user agents such as Mutt"
42 -HOMEPAGE="https://marlam.de/msmtp/"
43 -SRC_URI="https://marlam.de/msmtp/releases/${P}.tar.xz"
44 -
45 -LICENSE="GPL-3"
46 -SLOT="0"
47 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
48 -IUSE="daemon doc gnome-keyring idn +mta nls sasl ssl vim-syntax"
49 -
50 -# fcaps.eclass unconditionally defines "filecaps" USE flag which we need for
51 -# USE="daemon" in order to set the caps we need.
52 -REQUIRED_USE="daemon? ( filecaps )"
53 -
54 -# Upstream discourages usage of openssl. See also
55 -# https://marlam.de/msmtp/news/openssl-discouraged/
56 -DEPEND="
57 - gnome-keyring? ( app-crypt/libsecret )
58 - nls? ( virtual/libintl )
59 - sasl? ( virtual/gsasl )
60 - ssl? ( net-libs/gnutls[idn?] )
61 - !ssl? ( idn? ( net-dns/libidn2:= ) )
62 -"
63 -
64 -RDEPEND="${DEPEND}
65 - net-mail/mailbase
66 - mta? (
67 - !mail-mta/courier
68 - !mail-mta/esmtp
69 - !mail-mta/exim
70 - !mail-mta/mini-qmail
71 - !mail-mta/netqmail
72 - !mail-mta/nullmailer
73 - !mail-mta/postfix
74 - !mail-mta/qmail-ldap
75 - !mail-mta/sendmail
76 - !mail-mta/opensmtpd
77 - !<mail-mta/ssmtp-2.64-r2
78 - !>=mail-mta/ssmtp-2.64-r2[mta]
79 - )
80 -"
81 -
82 -BDEPEND="${DEPEND}
83 - doc? ( virtual/texi2dvi )
84 - nls? ( sys-devel/gettext )
85 - virtual/pkgconfig
86 -"
87 -
88 -DOCS="AUTHORS ChangeLog NEWS README THANKS doc/msmtprc*"
89 -
90 -src_prepare() {
91 - # Use default Gentoo location for mail aliases
92 - sed -i 's:/etc/aliases:/etc/mail/aliases:' scripts/find_alias/find_alias_for_msmtp.sh || die
93 -
94 - default
95 -}
96 -
97 -src_configure() {
98 - local myeconfargs=(
99 - --disable-gai-idn
100 - $(use_enable nls)
101 - $(use_with daemon msmtpd)
102 - $(use_with gnome-keyring libsecret)
103 - $(use_with idn libidn)
104 - $(use_with sasl libgsasl)
105 - $(use_with ssl tls gnutls)
106 - )
107 - econf "${myeconfargs[@]}"
108 -}
109 -
110 -src_compile() {
111 - default
112 -
113 - if use doc ; then
114 - cd doc || die
115 - emake html pdf
116 - fi
117 -}
118 -
119 -src_install() {
120 - default
121 -
122 - if use daemon ; then
123 - fcaps CAP_NET_BIND_SERVICE usr/bin/msmtpd
124 - newinitd "${FILESDIR}"/msmtpd.init msmtpd
125 - newconfd "${FILESDIR}"/msmtpd.confd msmtpd
126 - fi
127 -
128 - if use doc ; then
129 - dodoc doc/msmtp.{html,pdf}
130 - fi
131 -
132 - if use mta ; then
133 - dodir /usr/sbin
134 - dosym ../bin/msmtp /usr/sbin/sendmail
135 - dosym msmtp /usr/bin/sendmail
136 - dosym ../bin/msmtp /usr/$(get_libdir)/sendmail
137 - fi
138 -
139 - if use vim-syntax ; then
140 - insinto /usr/share/vim/vimfiles/syntax
141 - doins scripts/vim/msmtp.vim
142 - fi
143 -
144 - insinto /etc
145 - newins doc/msmtprc-system.example msmtprc
146 -
147 - src_install_contrib find_alias find_alias_for_msmtp.sh
148 - src_install_contrib msmtpqueue "*.sh" "README ChangeLog"
149 - src_install_contrib msmtpq "msmtpq msmtp-queue" README.msmtpq
150 - src_install_contrib set_sendmail set_sendmail.sh set_sendmail.conf
151 -}
152 -
153 -pkg_preinst() {
154 - if use daemon ; then
155 - enewuser msmtpd
156 - fi
157 -}
158 -
159 -pkg_postinst() {
160 - if [[ -z ${REPLACING_VERSIONS} ]]; then
161 - einfo "Please edit ${EROOT%/}/etc/msmtprc before first use."
162 - einfo "In addition, per user configuration files can be placed"
163 - einfo "as '~/.msmtprc'. See the msmtprc-user.example file under"
164 - einfo "/usr/share/doc/${PF}/ for an example."
165 - fi
166 -}
167 -
168 -src_install_contrib() {
169 - subdir="$1"
170 - bins="$2"
171 - docs="$3"
172 - local dir=/usr/share/${PN}/${subdir}
173 - insinto ${dir}
174 - exeinto ${dir}
175 - for i in ${bins} ; do
176 - doexe scripts/${subdir}/${i}
177 - done
178 - for i in ${docs} ; do
179 - newdoc scripts/${subdir}/${i} ${subdir}.${i}
180 - done
181 -}
182
183 diff --git a/mail-mta/msmtp/msmtp-1.8.5.ebuild b/mail-mta/msmtp/msmtp-1.8.5.ebuild
184 deleted file mode 100644
185 index 4df45a184c6..00000000000
186 --- a/mail-mta/msmtp/msmtp-1.8.5.ebuild
187 +++ /dev/null
188 @@ -1,148 +0,0 @@
189 -# Copyright 1999-2019 Gentoo Authors
190 -# Distributed under the terms of the GNU General Public License v2
191 -
192 -EAPI=7
193 -
194 -inherit fcaps multilib user
195 -
196 -DESCRIPTION="An SMTP client and SMTP plugin for mail user agents such as Mutt"
197 -HOMEPAGE="https://marlam.de/msmtp/"
198 -SRC_URI="https://marlam.de/msmtp/releases/${P}.tar.xz"
199 -
200 -LICENSE="GPL-3"
201 -SLOT="0"
202 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
203 -IUSE="daemon doc gnome-keyring idn +mta nls sasl ssl vim-syntax"
204 -
205 -# fcaps.eclass unconditionally defines "filecaps" USE flag which we need for
206 -# USE="daemon" in order to set the caps we need.
207 -REQUIRED_USE="daemon? ( filecaps )"
208 -
209 -# Upstream discourages usage of openssl. See also
210 -# https://marlam.de/msmtp/news/openssl-discouraged/
211 -DEPEND="
212 - gnome-keyring? ( app-crypt/libsecret )
213 - nls? ( virtual/libintl )
214 - sasl? ( virtual/gsasl )
215 - ssl? ( net-libs/gnutls[idn?] )
216 - !ssl? ( idn? ( net-dns/libidn2:= ) )
217 -"
218 -
219 -RDEPEND="${DEPEND}
220 - net-mail/mailbase
221 - mta? (
222 - !mail-mta/courier
223 - !mail-mta/esmtp
224 - !mail-mta/exim
225 - !mail-mta/mini-qmail
226 - !mail-mta/netqmail
227 - !mail-mta/nullmailer
228 - !mail-mta/postfix
229 - !mail-mta/qmail-ldap
230 - !mail-mta/sendmail
231 - !mail-mta/opensmtpd
232 - !<mail-mta/ssmtp-2.64-r2
233 - !>=mail-mta/ssmtp-2.64-r2[mta]
234 - )
235 -"
236 -
237 -BDEPEND="${DEPEND}
238 - doc? ( virtual/texi2dvi )
239 - nls? ( sys-devel/gettext )
240 - virtual/pkgconfig
241 -"
242 -
243 -DOCS="AUTHORS ChangeLog NEWS README THANKS doc/msmtprc*"
244 -
245 -src_prepare() {
246 - # Use default Gentoo location for mail aliases
247 - sed -i 's:/etc/aliases:/etc/mail/aliases:' scripts/find_alias/find_alias_for_msmtp.sh || die
248 -
249 - default
250 -}
251 -
252 -src_configure() {
253 - local myeconfargs=(
254 - --disable-gai-idn
255 - $(use_enable nls)
256 - $(use_with daemon msmtpd)
257 - $(use_with gnome-keyring libsecret)
258 - $(use_with idn libidn)
259 - $(use_with sasl libgsasl)
260 - $(use_with ssl tls gnutls)
261 - )
262 - econf "${myeconfargs[@]}"
263 -}
264 -
265 -src_compile() {
266 - default
267 -
268 - if use doc ; then
269 - cd doc || die
270 - emake html pdf
271 - fi
272 -}
273 -
274 -src_install() {
275 - default
276 -
277 - if use daemon ; then
278 - fcaps CAP_NET_BIND_SERVICE usr/bin/msmtpd
279 - newinitd "${FILESDIR}"/msmtpd.init msmtpd
280 - newconfd "${FILESDIR}"/msmtpd.confd msmtpd
281 - fi
282 -
283 - if use doc ; then
284 - dodoc doc/msmtp.{html,pdf}
285 - fi
286 -
287 - if use mta ; then
288 - dodir /usr/sbin
289 - dosym ../bin/msmtp /usr/sbin/sendmail
290 - dosym msmtp /usr/bin/sendmail
291 - dosym ../bin/msmtp /usr/$(get_libdir)/sendmail
292 - fi
293 -
294 - if use vim-syntax ; then
295 - insinto /usr/share/vim/vimfiles/syntax
296 - doins scripts/vim/msmtp.vim
297 - fi
298 -
299 - insinto /etc
300 - newins doc/msmtprc-system.example msmtprc
301 -
302 - src_install_contrib find_alias find_alias_for_msmtp.sh
303 - src_install_contrib msmtpqueue "*.sh" "README ChangeLog"
304 - src_install_contrib msmtpq "msmtpq msmtp-queue" README.msmtpq
305 - src_install_contrib set_sendmail set_sendmail.sh set_sendmail.conf
306 -}
307 -
308 -pkg_preinst() {
309 - if use daemon ; then
310 - enewuser msmtpd
311 - fi
312 -}
313 -
314 -pkg_postinst() {
315 - if [[ -z ${REPLACING_VERSIONS} ]]; then
316 - einfo "Please edit ${EROOT}/etc/msmtprc before first use."
317 - einfo "In addition, per user configuration files can be placed"
318 - einfo "as '~/.msmtprc'. See the msmtprc-user.example file under"
319 - einfo "/usr/share/doc/${PF}/ for an example."
320 - fi
321 -}
322 -
323 -src_install_contrib() {
324 - subdir="$1"
325 - bins="$2"
326 - docs="$3"
327 - local dir=/usr/share/${PN}/${subdir}
328 - insinto ${dir}
329 - exeinto ${dir}
330 - for i in ${bins} ; do
331 - doexe scripts/${subdir}/${i}
332 - done
333 - for i in ${docs} ; do
334 - newdoc scripts/${subdir}/${i} ${subdir}.${i}
335 - done
336 -}