public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/msmtp/
Date: Thu, 23 Apr 2020 18:37:08 +0000 (UTC)	[thread overview]
Message-ID: <1587667025.c0648e443de65839cbba9a2afd3dfc35805d94ff.polynomial-c@gentoo> (raw)

commit:     c0648e443de65839cbba9a2afd3dfc35805d94ff
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 23 18:28:43 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Apr 23 18:37:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0648e44

mail-mta/msmtp: Bump to version 1.8.10

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 mail-mta/msmtp/Manifest            |   1 +
 mail-mta/msmtp/msmtp-1.8.10.ebuild | 145 +++++++++++++++++++++++++++++++++++++
 2 files changed, 146 insertions(+)

diff --git a/mail-mta/msmtp/Manifest b/mail-mta/msmtp/Manifest
index 03bba96682f..c040e5e52ad 100644
--- a/mail-mta/msmtp/Manifest
+++ b/mail-mta/msmtp/Manifest
@@ -1,2 +1,3 @@
+DIST msmtp-1.8.10.tar.xz 355364 BLAKE2B b70143e28da8b64035448cbb61e133a5a1d35bc472316a3e164f2f168d67ef71455c583610afdfe522d33b77dea1a7ff55f9d6c200c6b1d9b3e2fcadb4fa10c1 SHA512 0d2280772ded3ed33036f7a9047c054f413e34f8264a82df26b85dc48000fa318d5400201ce0b888f3d821c629e25e17e5cf6b69b3e452b14e6883904b4ad83b
 DIST msmtp-1.8.7.tar.xz 340908 BLAKE2B 5241acf54d5a6af6ccf2c3bfd33954a5235af2d2cb467e4134401538e60e1847489a7a599359e2d13202ea9637c32a67ec5180372b139e06f6d47f060cba6c8f SHA512 5a079cb90b48853ad812125e8b341f5bcd5f5ba4725d62c37210050896527b63f993aa6393f1d4107636153bf0ed84b0288e88a7e78a119c66b2d58f1e69a67d
 DIST msmtp-1.8.8.tar.xz 349740 BLAKE2B 005056e2bfeb97ccf2c86670a172157b6ba43e44bf1738fa9d75e6ca8bb7d952f118155b17a80db61ee4f10bdd009a72c2a7adf26b01296409b8998ac698f1ef SHA512 e519e04b0065e410007f6e47df435b7c5bde99ca7a1a2e9ff7528848c68f9809691cdf2c5b793d4e3e17a650a25ee31be66b0be47410f83972f281cf76926771

diff --git a/mail-mta/msmtp/msmtp-1.8.10.ebuild b/mail-mta/msmtp/msmtp-1.8.10.ebuild
new file mode 100644
index 00000000000..9c112ec7abd
--- /dev/null
+++ b/mail-mta/msmtp/msmtp-1.8.10.ebuild
@@ -0,0 +1,145 @@
+# Copyright 2004-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit fcaps multilib
+
+DESCRIPTION="An SMTP client and SMTP plugin for mail user agents such as Mutt"
+HOMEPAGE="https://marlam.de/msmtp/"
+SRC_URI="https://marlam.de/msmtp/releases/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="daemon doc gnome-keyring idn +mta nls sasl ssl vim-syntax"
+
+# fcaps.eclass unconditionally defines "filecaps" USE flag which we need for
+# USE="daemon" in order to set the caps we need.
+REQUIRED_USE="daemon? ( filecaps )"
+
+# Upstream discourages usage of openssl. See also
+# https://marlam.de/msmtp/news/openssl-discouraged/
+DEPEND="
+	gnome-keyring? ( app-crypt/libsecret )
+	nls? ( virtual/libintl )
+	sasl? ( virtual/gsasl )
+	ssl? ( net-libs/gnutls[idn?] )
+	!ssl? ( idn? ( net-dns/libidn2:= ) )
+"
+
+RDEPEND="${DEPEND}
+	net-mail/mailbase
+	daemon? (
+		acct-group/msmtpd
+		acct-user/msmtpd
+	)
+	mta? (
+		!mail-mta/courier
+		!mail-mta/esmtp
+		!mail-mta/exim
+		!mail-mta/mini-qmail
+		!mail-mta/netqmail
+		!mail-mta/nullmailer
+		!mail-mta/postfix
+		!mail-mta/qmail-ldap
+		!mail-mta/sendmail
+		!mail-mta/opensmtpd
+		!<mail-mta/ssmtp-2.64-r2
+		!>=mail-mta/ssmtp-2.64-r2[mta]
+	)
+"
+
+BDEPEND="
+	doc? ( virtual/texi2dvi )
+	nls? ( sys-devel/gettext )
+	virtual/pkgconfig
+"
+
+DOCS="AUTHORS ChangeLog NEWS README THANKS doc/msmtprc*"
+
+src_prepare() {
+	# Use default Gentoo location for mail aliases
+	sed 's:/etc/aliases:/etc/mail/aliases:' \
+		-i scripts/find_alias/find_alias_for_msmtp.sh || die
+
+	default
+}
+
+src_configure() {
+	local myeconfargs=(
+		--disable-gai-idn
+		$(use_enable nls)
+		$(use_with daemon msmtpd)
+		$(use_with gnome-keyring libsecret)
+		$(use_with idn libidn)
+		$(use_with sasl libgsasl)
+		$(use_with ssl tls gnutls)
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	default
+
+	if use doc ; then
+		cd doc || die
+		emake html pdf
+	fi
+}
+
+src_install() {
+	default
+
+	if use daemon ; then
+		fcaps CAP_NET_BIND_SERVICE usr/bin/msmtpd
+		newinitd "${FILESDIR}"/msmtpd.init msmtpd
+		newconfd "${FILESDIR}"/msmtpd.confd msmtpd
+	fi
+
+	if use doc ; then
+		dodoc doc/msmtp.{html,pdf}
+	fi
+
+	if use mta ; then
+		dosym ../bin/msmtp /usr/sbin/sendmail
+		dosym ../bin/msmtp /usr/$(get_libdir)/sendmail
+	fi
+
+	if use vim-syntax ; then
+		insinto /usr/share/vim/vimfiles/syntax
+		doins scripts/vim/msmtp.vim
+	fi
+
+	insinto /etc
+	newins doc/msmtprc-system.example msmtprc
+
+	src_install_contrib find_alias find_alias_for_msmtp.sh
+	src_install_contrib msmtpqueue "*.sh" "README ChangeLog"
+	src_install_contrib msmtpq "msmtpq msmtp-queue" README.msmtpq
+	src_install_contrib set_sendmail set_sendmail.sh set_sendmail.conf
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		einfo "Please edit ${EROOT}/etc/msmtprc before first use."
+		einfo "In addition, per user configuration files can be placed"
+		einfo "as '~/.msmtprc'.  See the msmtprc-user.example file under"
+		einfo "/usr/share/doc/${PF}/ for an example."
+	fi
+}
+
+src_install_contrib() {
+	subdir="$1"
+	bins="$2"
+	docs="$3"
+	local dir=/usr/share/${PN}/${subdir}
+	insinto ${dir}
+	exeinto ${dir}
+	for i in ${bins} ; do
+		doexe scripts/${subdir}/${i}
+	done
+	for i in ${docs} ; do
+		newdoc scripts/${subdir}/${i} ${subdir}.${i}
+	done
+}


             reply	other threads:[~2020-04-23 18:37 UTC|newest]

Thread overview: 142+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-23 18:37 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07  8:31 [gentoo-commits] repo/gentoo:master commit in: mail-mta/msmtp/ Yixun Lan
2024-09-13  1:47 Sam James
2024-09-12 22:50 Yixun Lan
2024-09-12 16:24 Jakov Smolić
2024-09-11 23:59 Sam James
2024-09-09 20:44 Arthur Zamarin
2024-09-09 13:46 Sam James
2024-09-09  8:33 Jakov Smolić
2024-09-09  8:33 Jakov Smolić
2024-07-12 10:42 Yixun Lan
2024-07-12 10:42 Yixun Lan
2024-07-12 10:42 Yixun Lan
2024-04-24 14:13 Sam James
2024-04-24 14:13 Sam James
2024-04-24 14:11 Sam James
2024-04-24 14:11 Sam James
2024-04-24 14:11 Sam James
2024-04-24 14:07 Sam James
2024-01-17  5:33 Sam James
2023-12-25 12:25 Marek Szuba
2023-08-22 21:35 Marek Szuba
2023-08-22 12:00 Sam James
2023-08-22 12:00 Sam James
2023-08-21 17:49 Sam James
2023-08-21 17:43 Sam James
2023-08-21 17:43 Sam James
2023-07-10 23:04 Marek Szuba
2023-05-18 12:17 Andreas Sturmlechner
2023-03-30 11:31 Marek Szuba
2023-03-30  9:56 Sam James
2023-03-30  9:56 Sam James
2023-03-30  9:38 Sam James
2023-03-30  9:38 Sam James
2023-03-30  9:38 Sam James
2023-02-01 10:51 Marek Szuba
2023-02-01 10:51 Marek Szuba
2022-09-26  1:01 Marek Szuba
2022-09-21 12:26 Agostino Sarubbo
2022-09-21 12:25 Agostino Sarubbo
2022-09-20  8:49 Agostino Sarubbo
2022-09-20  0:07 Sam James
2022-09-20  0:07 Sam James
2022-09-19  6:42 Michał Górny
2022-08-09 10:31 Marek Szuba
2022-08-09 10:31 Marek Szuba
2022-08-09 10:31 Marek Szuba
2022-07-28  0:47 Marek Szuba
2022-07-01 15:16 Marek Szuba
2022-07-01  8:42 Agostino Sarubbo
2022-07-01  8:42 Agostino Sarubbo
2022-07-01  8:41 Agostino Sarubbo
2022-06-30 12:25 Sam James
2022-06-30 12:25 Sam James
2022-06-29 11:08 Marek Szuba
2022-03-25  7:49 Agostino Sarubbo
2022-03-25  7:48 Agostino Sarubbo
2022-03-25  7:47 Agostino Sarubbo
2022-03-25  7:46 Agostino Sarubbo
2022-03-24 19:03 Jakov Smolić
2022-03-24 17:21 Lars Wendler
2022-03-24 17:21 Lars Wendler
2021-11-04 19:17 Lars Wendler
2021-11-04 19:17 Lars Wendler
2021-10-22 20:50 Lars Wendler
2021-10-22 20:50 Lars Wendler
2021-10-16 22:04 Sam James
2021-10-06  6:06 Agostino Sarubbo
2021-10-05  6:48 Agostino Sarubbo
2021-10-05  6:46 Agostino Sarubbo
2021-10-04 18:07 Sam James
2021-10-04  8:26 Lars Wendler
2021-10-04  8:26 Lars Wendler
2021-10-04  8:26 Lars Wendler
2021-09-25 18:39 Marek Szuba
2021-09-14  9:20 Lars Wendler
2021-09-14  9:20 Lars Wendler
2021-03-12 21:30 Lars Wendler
2021-03-12 21:30 Lars Wendler
2021-01-06 13:51 Fabian Groffen
2020-12-24 23:17 Lars Wendler
2020-11-29  8:25 Agostino Sarubbo
2020-11-29  8:22 Agostino Sarubbo
2020-11-29  8:20 Agostino Sarubbo
2020-11-29  8:16 Agostino Sarubbo
2020-11-27 16:49 Thomas Deutschmann
2020-11-13 20:26 Lars Wendler
2020-11-13 20:26 Lars Wendler
2020-11-13 20:26 Lars Wendler
2020-08-23  1:32 Thomas Deutschmann
2020-06-04 17:45 Lars Wendler
2020-06-04 17:45 Lars Wendler
2020-04-12 18:58 Lars Wendler
2020-02-26 12:31 Lars Wendler
2020-02-24 11:31 Agostino Sarubbo
2020-02-24 11:28 Agostino Sarubbo
2020-02-18 16:24 Agostino Sarubbo
2020-02-17 16:12 Thomas Deutschmann
2020-02-17 12:18 Agostino Sarubbo
2020-02-17  9:01 Lars Wendler
2020-02-17  9:01 Lars Wendler
2019-12-25 12:05 Lars Wendler
2019-12-25 12:05 Lars Wendler
2019-10-14  7:46 Lars Wendler
2019-10-03  0:24 Lars Wendler
2019-10-02 23:36 Thomas Deutschmann
2019-08-13 16:40 Lars Wendler
2019-07-12 15:32 Lars Wendler
2019-04-25  8:15 Lars Wendler
2019-04-09  5:21 Lars Wendler
2019-04-08 22:07 Sergei Trofimovich
2019-04-08  6:48 Mikle Kolyada
2019-04-07 21:00 Sergei Trofimovich
2019-03-31 19:53 Matt Turner
2019-03-31 19:53 Matt Turner
2019-03-28  7:02 Mikle Kolyada
2019-03-26 21:38 Lars Wendler
2019-02-12  8:15 Lars Wendler
2019-01-13  1:10 Lars Wendler
2019-01-06 23:38 Lars Wendler
2019-01-06 23:38 Lars Wendler
2018-12-11 12:13 Lars Wendler
2018-10-29  8:09 Lars Wendler
2018-09-05 14:57 Lars Wendler
2018-09-05 14:08 Lars Wendler
2018-09-05  9:01 Lars Wendler
2018-06-29  9:52 Alexis Ballier
2018-06-29  8:24 Lars Wendler
2018-06-17 21:07 Lars Wendler
2018-05-16 19:33 Lars Wendler
2018-04-02 18:06 Mart Raudsepp
2017-06-23  6:33 Eray Aslan
2017-04-27 11:23 Agostino Sarubbo
2017-04-22  7:33 Tobias Klausmann
2016-11-19 23:45 Tim Harder
2016-07-25 16:05 Tim Harder
2016-06-14  1:54 Yixun Lan
2016-05-12 21:49 Tim Harder
2016-04-03 10:15 Anthony G. Basile
2015-12-01  6:54 Tim Harder
2015-12-01  6:54 Tim Harder
2015-09-23 12:52 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1587667025.c0648e443de65839cbba9a2afd3dfc35805d94ff.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox