public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/opensmtpd/
Date: Sun,  2 Jun 2024 07:30:11 +0000 (UTC)	[thread overview]
Message-ID: <1717313405.9f3ccf216b8999d9b48b2e7e68d70476e65fdb25.juippis@gentoo> (raw)

commit:     9f3ccf216b8999d9b48b2e7e68d70476e65fdb25
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Apr 20 07:55:13 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Jun  2 07:30:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f3ccf21

mail-mta/opensmtpd: add 7.5.0_p0

Closes: https://bugs.gentoo.org/930271
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
Closes: https://github.com/gentoo/gentoo/pull/36337
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 mail-mta/opensmtpd/Manifest                  |   2 +
 mail-mta/opensmtpd/opensmtpd-7.5.0_p0.ebuild | 111 +++++++++++++++++++++++++++
 2 files changed, 113 insertions(+)

diff --git a/mail-mta/opensmtpd/Manifest b/mail-mta/opensmtpd/Manifest
index 61d5d4db2e77..873e3f73a2cb 100644
--- a/mail-mta/opensmtpd/Manifest
+++ b/mail-mta/opensmtpd/Manifest
@@ -1,3 +1,5 @@
 DIST opensmtpd-7.3.0p1.tar.gz 849026 BLAKE2B bdb83468df12af2a2b39664a4408acfaf0cd81551074fb3823f7eb1b0d30ce79d812876fcea2ff940ddaac8b1a96700e1f4d2c275beab106fed010b733cff5c2 SHA512 2106de43e4b7435e49df759570ec758672ca8271dc451e30a261c250b41908b6ffe28e571a5f52e2ac14f59af132d1df45b272f8fcafeab04fcfb6bd5db970bb
 DIST opensmtpd-7.4.0p1.sum.sig 256 BLAKE2B 312bf5913f7da5178dc6442fa1aa01334a4323252ba6441ba4bf65904f2609332f0da850174306ae7ec8bba6c93a667151c11e2fea84bca4585f402f6ba1d823 SHA512 f7126a1ddc47775d9cf460b2f71267721ee543bdf9f42b712eb22579cf929a07515657551f4e94834b6727c8692d018193e97668749766765a147a0a192016fb
 DIST opensmtpd-7.4.0p1.tar.gz 908307 BLAKE2B f3e919b248da1d10d4ffe3073a19f3239ee3db7f58278103a52b50900c4a5b460d27e97ec974ad504cbe758f0a60f8cf2f58b238190e156d60a61b1a4476bc3e SHA512 23aad112ed8f45547e808592823ba8818d8b0ac6ca82d9f83ee33c4a61cfa6326488e10b6beaa3c9e40030eb680478f485b552c15c4ae2835c7a71af509ce94f
+DIST opensmtpd-7.5.0p0.sum.sig 256 BLAKE2B 535753841c0bb6201a6dcc7c1659436fa25270ed2b0066b97b4e8e8934c5bc131c51e5337ef97c33661c3086071be92ccc31cdf6cf3a774caa34f62e701d7b53 SHA512 78075cc0170cbbf9367cde1201aaa34c3a86e023b3d4f1f79ffc28bfe90bcb74236b48e2242e3076294b1cb9133b9ecd720c10011b7508a9cc67cb9221d911cd
+DIST opensmtpd-7.5.0p0.tar.gz 926333 BLAKE2B 25c5786f423bd3efeae0b00de56ae1737e53b2206c179ba7650012ba7eaaefbfec8d942a3eba43d3b56e83616d8adb7e808f0ff35cb93e64439790f3f7045347 SHA512 1e4bf23e623d40732e4055a8db330b0dc69dbfbd4f3d89ef092ead3359aac4123f8a58feb61661be47d84c58e27d22c706dc308dfa245fa76f1d36ed2bb9a822

diff --git a/mail-mta/opensmtpd/opensmtpd-7.5.0_p0.ebuild b/mail-mta/opensmtpd/opensmtpd-7.5.0_p0.ebuild
new file mode 100644
index 000000000000..c5b98eddea63
--- /dev/null
+++ b/mail-mta/opensmtpd/opensmtpd-7.5.0_p0.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_METHOD="signify"
+inherit pam systemd verify-sig
+
+DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD"
+HOMEPAGE="https://www.opensmtpd.org"
+SRC_URI="
+	https://www.opensmtpd.org/archives/${P/_}.tar.gz
+	verify-sig? ( https://www.opensmtpd.org/archives/${P/_}.sum.sig )
+"
+S="${WORKDIR}/${P/_}"
+
+LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="berkdb +mta pam split-usr"
+
+DEPEND="
+	dev-libs/libbsd
+	dev-libs/libevent:=
+	dev-libs/openssl:=
+	sys-libs/zlib:=
+	virtual/libcrypt:=
+	berkdb? ( sys-libs/db:= )
+	elibc_musl? ( sys-libs/fts-standalone )
+	pam? ( sys-libs/pam )
+"
+RDEPEND="${DEPEND}
+	acct-user/smtpd
+	acct-user/smtpq
+	app-misc/ca-certificates
+	net-mail/mailbase
+	!mail-client/mailx-support
+	!mail-mta/courier
+	!mail-mta/esmtp
+	!mail-mta/exim
+	!mail-mta/msmtp[mta]
+	!mail-mta/netqmail
+	!mail-mta/nullmailer
+	!mail-mta/postfix
+	!mail-mta/sendmail
+	!mail-mta/ssmtp[mta]
+"
+BDEPEND="
+	app-alternatives/yacc
+	virtual/pkgconfig
+	verify-sig? ( sec-keys/signify-keys-opensmtpd )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/${PN}.pub"
+
+QA_CONFIG_IMPL_DECL_SKIP=( closefrom )
+
+DOCS=( {CHANGES,README}.md )
+
+src_unpack() {
+	if use verify-sig; then
+		# Too many levels of symbolic links
+		cp "${DISTDIR}"/${P/_}.{sum.sig,tar.gz} "${WORKDIR}" || die
+		verify-sig_verify_signed_checksums \
+			${P/_}.sum.sig sha256 ${P/_}.tar.gz
+	fi
+	default
+}
+
+src_configure() {
+	local myeconfargs=(
+		--sysconfdir="${EPREFIX}"/etc/smtpd
+		--with-path-CAfile="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt
+		--with-path-empty="${EPREFIX}"/var/empty
+		--with-path-mbox="${EPREFIX}"/var/spool/mail
+		--with-path-queue="${EPREFIX}"/var/spool/smtpd
+		--with-path-pidfile=/run
+		--with-path-socket=/run
+		--with-user-smtpd=smtpd
+		--with-user-queue=smtpq
+		--with-group-queue=smtpq
+		--with-libevent="${EPREFIX}"/usr/$(get_libdir)
+		--with-libssl="${EPREFIX}"/usr/$(get_libdir)
+		$(use_with berkdb table-db)
+		$(use_with pam auth-pam)
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	newinitd "${FILESDIR}"/smtpd.initd smtpd
+	systemd_newunit "${FILESDIR}"/smtpd-r1.service smtpd.service
+
+	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
+		# on USE="-split-usr" system sbin and bin are merged
+		# so symlink made above will collide with one below
+		use split-usr && dosym ../sbin/smtpctl /usr/bin/sendmail
+		dodir /usr/$(get_libdir)
+		dosym -r /usr/sbin/smtpctl /usr/$(get_libdir)/sendmail
+	fi
+}


             reply	other threads:[~2024-06-02  7:30 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-02  7:30 Joonas Niilola [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-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:07 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=1717313405.9f3ccf216b8999d9b48b2e7e68d70476e65fdb25.juippis@gentoo \
    --to=juippis@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