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, 25 Apr 2019 08:15:57 +0000 (UTC)	[thread overview]
Message-ID: <1556180151.325bb533954cc5c15b3aac57f001c9aaf9be7179.polynomial-c@gentoo> (raw)

commit:     325bb533954cc5c15b3aac57f001c9aaf9be7179
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 25 08:15:51 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 08:15:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=325bb533

mail-mta/msmtp: Bump to version 1.8.4

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

 mail-mta/msmtp/Manifest           |   1 +
 mail-mta/msmtp/msmtp-1.8.4.ebuild | 148 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 149 insertions(+)

diff --git a/mail-mta/msmtp/Manifest b/mail-mta/msmtp/Manifest
index f7ff752966b..ed57ae6d191 100644
--- a/mail-mta/msmtp/Manifest
+++ b/mail-mta/msmtp/Manifest
@@ -1 +1,2 @@
 DIST msmtp-1.8.3.tar.xz 336120 BLAKE2B 4c58dc82e01135bc84176c25c65812414901f134a71aba5460675df3270f1d9dd3a706c66f5773315a38d63463f5c9eb68b584d6e5d0d5f0b1c23d6436d9a2b8 SHA512 c265991c0925d79b28a664ee6832316350d59d546f252989dafb8a517a8be1c496fcc85981325e5b381801a7bcb77e38dabdc12fc5be1bf49b9886a409a21819
+DIST msmtp-1.8.4.tar.xz 337292 BLAKE2B ac96dbd14cb5382563b995f2aff247c8ddf429dfa58ad6652ec3a3d05a98703a6c88a83d9e60ba3fb1d389682a6c0a653c5854f85258fe9d529674e61fbb146f SHA512 7c358ff6235802348f55f0359ad5f6a87fcd1cede9e6f95d603b0a6e7197527cf5c99be8c1f30b2c8fadf4fc56b0b8ac4962db0e57bb5bc522145c59637ed6ec

diff --git a/mail-mta/msmtp/msmtp-1.8.4.ebuild b/mail-mta/msmtp/msmtp-1.8.4.ebuild
new file mode 100644
index 00000000000..94bbeb282bd
--- /dev/null
+++ b/mail-mta/msmtp/msmtp-1.8.4.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit fcaps multilib user
+
+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
+	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="${DEPEND}
+	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 -i 's:/etc/aliases:/etc/mail/aliases:' 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
+		dodir /usr/sbin
+		dosym ../bin/msmtp /usr/sbin/sendmail
+		dosym msmtp /usr/bin/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_preinst() {
+	if use daemon ; then
+		enewuser msmtpd
+	fi
+}
+
+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:[~2019-04-25  8:16 UTC|newest]

Thread overview: 148+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-25  8:15 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-13 11:10 [gentoo-commits] repo/gentoo:master commit in: mail-mta/msmtp/ Arthur Zamarin
2024-11-13  1:50 Sam James
2024-11-12 21:47 Sam James
2024-11-12 18:55 Sam James
2024-11-12 18:33 Sam James
2024-11-12 18:33 Sam James
2024-10-07  8:31 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-23 18:37 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-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=1556180151.325bb533954cc5c15b3aac57f001c9aaf9be7179.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