From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E1C015808B for ; Mon, 28 Mar 2022 14:20:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F013E0959; Mon, 28 Mar 2022 14:20:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D27C8E0959 for ; Mon, 28 Mar 2022 14:20:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4673934132F for ; Mon, 28 Mar 2022 14:20:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9DA4B2F5 for ; Mon, 28 Mar 2022 14:20:39 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1648477222.b9e17787f7097e32e683cb0f1ba0b58fd7d8b7c6.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/s-nail/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-client/s-nail/Manifest mail-client/s-nail/s-nail-14.9.24.ebuild X-VCS-Directories: mail-client/s-nail/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: b9e17787f7097e32e683cb0f1ba0b58fd7d8b7c6 X-VCS-Branch: master Date: Mon, 28 Mar 2022 14:20:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cff8a242-fa54-48ba-b64d-9af5588a0164 X-Archives-Hash: d78d19a8179cde58d8ebb7f671e2353c commit: b9e17787f7097e32e683cb0f1ba0b58fd7d8b7c6 Author: Brian Evans gentoo org> AuthorDate: Mon Mar 28 14:20:22 2022 +0000 Commit: Brian Evans gentoo org> CommitDate: Mon Mar 28 14:20:22 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e17787 mail-client/s-nail: Version bump for 14.9.24 Signed-off-by: Brian Evans gentoo.org> mail-client/s-nail/Manifest | 1 + mail-client/s-nail/s-nail-14.9.24.ebuild | 92 ++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/mail-client/s-nail/Manifest b/mail-client/s-nail/Manifest index 15d4934233e9..fc9b751b8fd0 100644 --- a/mail-client/s-nail/Manifest +++ b/mail-client/s-nail/Manifest @@ -1 +1,2 @@ DIST s-nail-14.9.22.tar.xz 799296 BLAKE2B 4db1b74be9de38d8879b00852545840aa50022f44efc42bc338575111e391db527ba850033a9f25e6d0269f68673a13bbdcd2609c0e74fb88c409040be2d165b SHA512 016e3403fbb3d9954c160690184545fdb4fc384ffb13b146ac8b60b40e43ad1b1a8967f4660904d40a99071eb1addf2b1dd98b06c6033a1a886379c05fc0c9be +DIST s-nail-14.9.24.tar.xz 803100 BLAKE2B 4d82c747ff082a1a13d8832eb2bf1e96f05d6b3cf61c77a67bc061b1971032b41d8f5fe5520b96b9b74bc4d0661a4a9ef0f8f93b5e7b9eef66906b78260cef2f SHA512 03f6a6f446391b6f91ed3c8875c3e7fdfac9d4e77ea1d52a7e98aa84cfd0edae137d5b9afba3bdc9a31ab67cee5237930b74b42ae3acb54aee4758553a4f1df2 diff --git a/mail-client/s-nail/s-nail-14.9.24.ebuild b/mail-client/s-nail/s-nail-14.9.24.ebuild new file mode 100644 index 000000000000..cb69cd6aa3f3 --- /dev/null +++ b/mail-client/s-nail/s-nail-14.9.24.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +HOMEPAGE="https://www.sdaoden.eu/code.html" +DESCRIPTION="Enhanced mailx-compatible mail client based on Heirloom mailx (nail)" +LICENSE="BSD BSD-4 ISC RSA" + +SRC_URI="https://ftp.sdaoden.eu/${P}.tar.xz" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="idn kerberos net ssl" + +RDEPEND=" + sys-libs/ncurses:0= + virtual/libiconv + idn? ( net-dns/libidn2 ) + net? ( + ssl? ( dev-libs/openssl:0= ) + kerberos? ( virtual/krb5 ) + ) + !mail-client/mailx + !net-mail/mailutils + !mail-client/nail +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-arch/xz-utils[extra-filters(-)] + virtual/awk +" + +src_configure() { + local confopts=( + CC="$(tc-getCC)" + EXTRA_CFLAGS=-std=c99 + strip=/bin/true + OPT_AUTOCC=no + VAL_PREFIX="${EPREFIX}"/usr + VAL_SYSCONFDIR="${EPREFIX}"/etc + VAL_MTA="${EPREFIX}/usr/sbin/sendmail" + VAL_MAIL='/var/spool/mail' + VAL_PAGER=less + $(usex idn VAL_IDNA=idn2 OPT_IDNA=no) + VERBOSE=1 + ) + + if use net; then + confopts+=( OPT_TLS=$(usex ssl require no) + OPT_GSSAPI=$(usex kerberos require no) + ) + else + confopts+=( OPT_NET=no ) + fi + + tc-is-cross-compiler && confopts+=( OPT_CROSS_BUILD=yes ) + + emake "${confopts[@]}" config +} + +src_compile() { + emake build +} + +src_install() { + # Use /usr/sbin/sendmail by default and provide an example + cat <<- EOSMTP >> nail.rc + + # Use the local sendmail (/usr/sbin/sendmail) binary by default. + # (Uncomment the following line to use a SMTP server) + #set smtp=localhost + + # Ask for CC: list too. + set askcc + EOSMTP + + emake DESTDIR="${D}" install + + dodoc INSTALL NEWS README THANKS + + dodir /bin + dosym ../usr/bin/mailx /bin/mail + dosym s-nail /usr/bin/mailx + dosym mailx /usr/bin/mail + dosym mailx /usr/bin/Mail + + dosym s-nail.1 /usr/share/man/man1/mailx.1 + dosym mailx.1 /usr/share/man/man1/mail.1 + dosym mailx.1 /usr/share/man/man1/Mail.1 +}