Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/msmtp/
Date: Mon, 26 Sep 2022 01:02:04
Message-Id: 1664154102.50dc41aaf2616510a79e03d54fb92ea6471512de.marecki@gentoo
1 commit: 50dc41aaf2616510a79e03d54fb92ea6471512de
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 26 00:46:30 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 01:01:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50dc41aa
7
8 mail-mta/msmtp: drop 1.8.20
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 mail-mta/msmtp/Manifest | 1 -
13 mail-mta/msmtp/msmtp-1.8.20.ebuild | 145 -------------------------------------
14 2 files changed, 146 deletions(-)
15
16 diff --git a/mail-mta/msmtp/Manifest b/mail-mta/msmtp/Manifest
17 index aab1f135fe30..65c763f92eba 100644
18 --- a/mail-mta/msmtp/Manifest
19 +++ b/mail-mta/msmtp/Manifest
20 @@ -1,2 +1 @@
21 -DIST msmtp-1.8.20.tar.xz 385696 BLAKE2B cf75715538a65ac0f6fb3b8407e5b7cec865d552b6ecc5a450f5e35d4e42581cfb9f15bb7edc67dae1846018a834769d4e3be5da60ae0e52390cb61531a29a87 SHA512 cc5ad4ab21d05f24bac75ab25607d1ede50f5ac24ce40d72cf1b61f9cdfc48e9af477f9975d799a93f1990d0c2e24b651e5a3b3aa6b71279b37a4a43fce11f11
22 DIST msmtp-1.8.22.tar.xz 390692 BLAKE2B 9bb6b7a7afbcc191ed2b45418d968c9b2176ec3d2d423cb9ff13b7afbb0b34978ce954f923f785281b5bca9c36d881a912d1b00c2ce102487df40228066b8e09 SHA512 13307bd8004bb7e229193b74f4e736c8462624a4aa1aedbb57421098efb2aa6b8cf1358ebc874a2db48aa6266414b4c6a1673d631356e92c1c538391533e098a
23
24 diff --git a/mail-mta/msmtp/msmtp-1.8.20.ebuild b/mail-mta/msmtp/msmtp-1.8.20.ebuild
25 deleted file mode 100644
26 index 8eb6da2b8159..000000000000
27 --- a/mail-mta/msmtp/msmtp-1.8.20.ebuild
28 +++ /dev/null
29 @@ -1,145 +0,0 @@
30 -# Copyright 2004-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -inherit fcaps
36 -
37 -DESCRIPTION="An SMTP client and SMTP plugin for mail user agents such as Mutt"
38 -HOMEPAGE="https://marlam.de/msmtp/"
39 -SRC_URI="https://marlam.de/msmtp/releases/${P}.tar.xz"
40 -
41 -LICENSE="GPL-3"
42 -SLOT="0"
43 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
44 -IUSE="daemon doc gnome-keyring idn +mta nls sasl ssl vim-syntax"
45 -
46 -# fcaps.eclass unconditionally defines "filecaps" USE flag which we need for
47 -# USE="daemon" in order to set the caps we need.
48 -REQUIRED_USE="daemon? ( filecaps )"
49 -
50 -# Upstream discourages usage of openssl. See also
51 -# https://marlam.de/msmtp/news/openssl-discouraged/
52 -DEPEND="
53 - gnome-keyring? ( app-crypt/libsecret )
54 - idn? ( net-dns/libidn2:= )
55 - nls? ( virtual/libintl )
56 - sasl? ( virtual/gsasl )
57 - ssl? ( net-libs/gnutls[idn?] )
58 -"
59 -
60 -RDEPEND="${DEPEND}
61 - net-mail/mailbase
62 - daemon? (
63 - acct-group/msmtpd
64 - acct-user/msmtpd
65 - )
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="
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 's:/etc/aliases:/etc/mail/aliases:' \
93 - -i scripts/find_alias/find_alias_for_msmtp.sh || die
94 -
95 - default
96 -}
97 -
98 -src_configure() {
99 - local myeconfargs=(
100 - --disable-gai-idn
101 - $(use_enable nls)
102 - $(use_with daemon msmtpd)
103 - $(use_with gnome-keyring libsecret)
104 - $(use_with idn libidn)
105 - $(use_with sasl libgsasl)
106 - $(use_with ssl tls gnutls)
107 - )
108 - econf "${myeconfargs[@]}"
109 -}
110 -
111 -src_compile() {
112 - default
113 -
114 - if use doc ; then
115 - cd doc || die
116 - emake html pdf
117 - fi
118 -}
119 -
120 -src_install() {
121 - default
122 -
123 - if use daemon ; then
124 - fcaps CAP_NET_BIND_SERVICE usr/bin/msmtpd
125 - newinitd "${FILESDIR}"/msmtpd.init msmtpd
126 - newconfd "${FILESDIR}"/msmtpd.confd msmtpd
127 - fi
128 -
129 - if use doc ; then
130 - dodoc doc/msmtp.{html,pdf}
131 - fi
132 -
133 - if use mta ; then
134 - dosym ../bin/msmtp /usr/sbin/sendmail
135 - dosym ../bin/msmtp /usr/$(get_libdir)/sendmail
136 - fi
137 -
138 - if use vim-syntax ; then
139 - insinto /usr/share/vim/vimfiles/syntax
140 - doins scripts/vim/msmtp.vim
141 - fi
142 -
143 - insinto /etc
144 - newins doc/msmtprc-system.example msmtprc
145 -
146 - src_install_contrib find_alias find_alias_for_msmtp.sh
147 - src_install_contrib msmtpqueue "*.sh" "README ChangeLog"
148 - src_install_contrib msmtpq "msmtpq msmtp-queue" README.msmtpq
149 - src_install_contrib set_sendmail set_sendmail.sh set_sendmail.conf
150 -}
151 -
152 -pkg_postinst() {
153 - if [[ -z ${REPLACING_VERSIONS} ]]; then
154 - einfo "Please edit ${EROOT}/etc/msmtprc before first use."
155 - einfo "In addition, per user configuration files can be placed"
156 - einfo "as '~/.msmtprc'. See the msmtprc-user.example file under"
157 - einfo "/usr/share/doc/${PF}/ for an example."
158 - fi
159 -}
160 -
161 -src_install_contrib() {
162 - subdir="$1"
163 - bins="$2"
164 - docs="$3"
165 - local dir=/usr/share/${PN}/${subdir}
166 - insinto ${dir}
167 - exeinto ${dir}
168 - for i in ${bins} ; do
169 - doexe scripts/${subdir}/${i}
170 - done
171 - for i in ${docs} ; do
172 - newdoc scripts/${subdir}/${i} ${subdir}.${i}
173 - done
174 -}