public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <zx2c4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/opensmtpd/
Date: Wed,  5 Feb 2020 12:07:23 +0000 (UTC)	[thread overview]
Message-ID: <1580904391.4c23c8bd3cd0964d24c8c4a0ba8ce0a765b5ff94.zx2c4@gentoo> (raw)

commit:     4c23c8bd3cd0964d24c8c4a0ba8ce0a765b5ff94
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  5 12:06:31 2020 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Wed Feb  5 12:06:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c23c8bd

mail-mta/opensmtpd: bump to 6.6.2

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 mail-mta/opensmtpd/Manifest                  |  1 +
 mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild | 85 ++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/mail-mta/opensmtpd/Manifest b/mail-mta/opensmtpd/Manifest
index cef24458d90..725fb596054 100644
--- a/mail-mta/opensmtpd/Manifest
+++ b/mail-mta/opensmtpd/Manifest
@@ -1 +1,2 @@
 DIST opensmtpd-6.0.3p1.tar.gz 699702 BLAKE2B 49f08e8329adc049a562b6ef7efa4c0a39cbcfe8a158cb905cfc726a7302ffe9833ccfb52041340767d55d0f2ae2087e8eac92b7359016c6c76b4d963a334558 SHA512 e579818a0ddbe637deb5a4e40f43eaf797783903ceac18fd89a57581b135b9e407d424e1a70ff7b4b06a0ee50bafb6e8ab2451371917887904b06ff1b55d320f
+DIST opensmtpd-6.6.2p1.tar.gz 777422 BLAKE2B e372a10f618e83ccb6c782d056750f89a5224898a28957509ab306fbe8bb4ea94462c1bbccbbe9c0dea64623c250d9fe9f3b74f2e26eda5d6c232bec50bff1d0 SHA512 b0f7ea94514a4a1880a22996064caa7da0a15e6453236ca2f004402125affa80e9d8c25d3e63826b45045305851959bc58c2c855829e46d6967bf6cd13bd1e91

diff --git a/mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild
new file mode 100644
index 00000000000..47ee74dbd8e
--- /dev/null
+++ b/mail-mta/opensmtpd/opensmtpd-6.6.2_p1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools systemd
+
+DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD"
+HOMEPAGE="https://www.opensmtpd.org"
+SRC_URI="https://www.opensmtpd.org/archives/${P/_}.tar.gz"
+
+LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="libressl pam +mta"
+
+DEPEND="!libressl? ( dev-libs/openssl:0/1.1 )
+		libressl? ( dev-libs/libressl )
+		elibc_musl? ( sys-libs/fts-standalone )
+		sys-libs/zlib
+		pam? ( sys-libs/pam )
+		sys-libs/db:=
+		dev-libs/libevent
+		app-misc/ca-certificates
+		net-mail/mailbase
+		net-libs/libasr
+		!mail-mta/courier
+		!mail-mta/esmtp
+		!mail-mta/exim
+		!mail-mta/mini-qmail
+		!mail-mta/msmtp[mta]
+		!mail-mta/netqmail
+		!mail-mta/nullmailer
+		!mail-mta/postfix
+		!mail-mta/qmail-ldap
+		!mail-mta/sendmail
+		!mail-mta/ssmtp[mta]
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${P/_}
+
+src_configure() {
+	tc-export AR
+	AR="$(which "$AR")" econf \
+		--with-table-db \
+		--with-user-smtpd=smtpd \
+		--with-user-queue=smtpq \
+		--with-group-queue=smtpq \
+		--with-path-socket=/run \
+		--with-path-CAfile=/etc/ssl/certs/ca-certificates.crt \
+		--sysconfdir=/etc/opensmtpd \
+		$(use_with pam auth-pam)
+}
+
+src_install() {
+	default
+	newinitd "${FILESDIR}"/smtpd.initd smtpd
+	systemd_dounit "${FILESDIR}"/smtpd.{service,socket}
+	use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd
+	dosym smtpctl /usr/sbin/makemap
+	dosym smtpctl /usr/sbin/newaliases
+	if use mta ; then
+		dodir /usr/sbin
+		dosym smtpctl /usr/sbin/sendmail
+		dosym ../sbin/smtpctl /usr/bin/sendmail
+		mkdir -p "${ED}"/usr/$(get_libdir)
+		ln -s --relative "${ED}"/usr/sbin/smtpctl "${ED}"/usr/$(get_libdir)/sendmail || die
+	fi
+}
+
+pkg_preinst() {
+	enewgroup smtpd 25
+	enewuser smtpd 25 -1 /var/empty smtpd
+	enewgroup smtpq 252
+	enewuser smtpq 252 -1 /var/empty smtpq
+}
+
+pkg_postinst() {
+	einfo
+	einfo "Plugins for SQLite, MySQL, PostgreSQL, LDAP, socketmaps,"
+	einfo "Redis, and many other useful addons and filters are"
+	einfo "available in the mail-filter/opensmtpd-extras package."
+	einfo
+}


             reply	other threads:[~2020-02-05 12:07 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-05 12:07 Jason A. Donenfeld [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-25 22:38 [gentoo-commits] repo/gentoo:master commit in: mail-mta/opensmtpd/ Sam James
2024-11-24 15:47 Jakov Smolić
2024-11-23 20:33 Arthur Zamarin
2024-11-23 16:02 Michał Górny
2024-11-17 11:17 Cédric Krier
2024-11-17 11:10 Cédric Krier
2024-06-02  7:30 Joonas Niilola
2024-01-13  7:49 Joonas Niilola
2024-01-13  7:49 Joonas Niilola
2023-09-05 14:23 Sam James
2023-09-05 14:23 Sam James
2023-09-05 14:23 Sam James
2023-09-05 14:23 Sam James
2023-08-28 16:07 David Seifert
2023-08-26 14:22 David Seifert
2023-04-29  5:47 Sam James
2023-03-31  7:15 Joonas Niilola
2022-12-25  7:49 Georgy Yakovlev
2022-12-13  5:27 Sam James
2022-07-28 13:31 Sam James
2021-07-22  3:19 Georgy Yakovlev
2021-07-06 19:00 Georgy Yakovlev
2021-06-22 22:38 Sam James
2021-06-16  7:40 Georgy Yakovlev
2021-05-25 20:44 Thomas Deutschmann
2021-05-02  8:54 Mikle Kolyada
2021-01-04  9:32 Sam James
2020-12-27 23:56 Sam James
2020-12-26 12:18 Jason A. Donenfeld
2020-12-22 18:57 Sam James
2020-12-22 17:08 Thomas Deutschmann
2020-08-25 19:24 Jason A. Donenfeld
2020-05-23 23:11 Jason A. Donenfeld
2020-05-23 23:08 Jason A. Donenfeld
2020-02-06  5:46 Georgy Yakovlev
2020-02-05 13:05 Jason A. Donenfeld
2020-02-05 13:02 Jason A. Donenfeld
2020-02-05 12:47 Jason A. Donenfeld
2020-02-05 12:29 Jason A. Donenfeld
2020-02-05 12:17 Jason A. Donenfeld
2020-02-05 12:01 Jason A. Donenfeld
2020-01-29  8:51 Jason A. Donenfeld
2019-10-12 21:03 Mikle Kolyada
2018-05-18 12:34 Aaron Bauman
2017-06-15 10:41 Alexis Ballier
2017-03-04 17:18 Alexis Ballier
2016-10-14  6:42 Patrice Clement
2016-10-14  2:27 Jason Donenfeld
2016-10-14  2:23 Jason Donenfeld
2016-10-12 11:59 Jason Donenfeld
2016-07-05 12:09 Jason Donenfeld
2016-07-04  7:09 Jason Donenfeld
2016-06-25 15:16 Patrice Clement
2016-06-16 12:07 Jason Donenfeld
2016-06-07  8:41 Jason Donenfeld
2016-06-06 22:27 Jason Donenfeld
2016-06-06 17:59 Jason Donenfeld
2016-06-06 17:55 Jason Donenfeld
2016-06-06 17:46 Jason Donenfeld
2016-02-18 20:38 Jason Donenfeld
2015-10-11  1:04 Anthony G. Basile
2015-10-02 12:59 Jason Donenfeld
2015-10-02 12:39 Jason Donenfeld

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=1580904391.4c23c8bd3cd0964d24c8c4a0ba8ce0a765b5ff94.zx2c4@gentoo \
    --to=zx2c4@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