From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/msmtp/
Date: Mon, 25 Dec 2023 12:25:11 +0000 (UTC) [thread overview]
Message-ID: <1703506392.6e969a98b3c37aff2b535f4d38817abb26fd0665.marecki@gentoo> (raw)
commit: 6e969a98b3c37aff2b535f4d38817abb26fd0665
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 12:13:12 2023 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 12:13:12 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e969a98
mail-mta/msmtp: add 1.8.25
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
mail-mta/msmtp/Manifest | 1 +
mail-mta/msmtp/msmtp-1.8.25.ebuild | 143 +++++++++++++++++++++++++++++++++++++
2 files changed, 144 insertions(+)
diff --git a/mail-mta/msmtp/Manifest b/mail-mta/msmtp/Manifest
index 4adfd2b8bfae..e0b2b11c81fc 100644
--- a/mail-mta/msmtp/Manifest
+++ b/mail-mta/msmtp/Manifest
@@ -1 +1,2 @@
DIST msmtp-1.8.24.tar.xz 409268 BLAKE2B 1661dffbdf9418665dfea3eacdcb716a27ea0916024247ccc221d0f6c3da0076f9bc3b822e9f0c152185f08b8d929268f8eaf63489304225d200a093fcff9d46 SHA512 9bcd1431bd27a74cea931da0e89adfdc53b5be027cef4a735e2fdaba3aed38408b4a266960b51a4071664b88b1af4545a3df5acf64b9ab8ce84000c49a8286ff
+DIST msmtp-1.8.25.tar.xz 418264 BLAKE2B 1ba407a130849c7ba1f9959a88d368f8b8330b33be4eb612f3308afcf94e6e5fe010a844c3ff03e7b848cd60493c7a9f4ab6af18aed5a1fbf452ed7863f192f2 SHA512 7d9808b095b222f2283fb42395cb6560f776c9f92f9f467ea2245196b5dc8a85c359ff8c2ea68440e7eada8333a5da78aff921c2ef2b41cfde9d90c396425e72
diff --git a/mail-mta/msmtp/msmtp-1.8.25.ebuild b/mail-mta/msmtp/msmtp-1.8.25.ebuild
new file mode 100644
index 000000000000..f8f460e9df26
--- /dev/null
+++ b/mail-mta/msmtp/msmtp-1.8.25.ebuild
@@ -0,0 +1,143 @@
+# Copyright 2004-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps
+
+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 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="daemon doc keyring +gnutls idn +mta nls sasl ssl"
+
+# 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="
+ keyring? ( app-crypt/libsecret )
+ idn? ( net-dns/libidn2:= )
+ nls? ( virtual/libintl )
+ sasl? ( net-misc/gsasl[client] )
+ ssl? (
+ gnutls? ( net-libs/gnutls[idn?] )
+ !gnutls? ( dev-libs/libretls:= )
+ )
+"
+
+RDEPEND="${DEPEND}
+ net-mail/mailbase
+ daemon? (
+ acct-group/msmtpd
+ acct-user/msmtpd
+ )
+ mta? (
+ !mail-mta/courier
+ !mail-mta/esmtp
+ !mail-mta/exim
+ !mail-mta/netqmail
+ !mail-mta/nullmailer
+ !mail-mta/postfix
+ !mail-mta/sendmail
+ !mail-mta/opensmtpd
+ !>=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 keyring libsecret)
+ $(use_with idn libidn)
+ $(use_with sasl libgsasl)
+ $(use_with ssl tls $(usex gnutls gnutls libtls))
+ )
+ 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
+
+ insinto /usr/share/vim/vimfiles/syntax
+ doins scripts/vim/msmtp.vim
+
+ 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
+}
next reply other threads:[~2023-12-25 12:25 UTC|newest]
Thread overview: 148+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-25 12:25 Marek Szuba [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-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-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=1703506392.6e969a98b3c37aff2b535f4d38817abb26fd0665.marecki@gentoo \
--to=marecki@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