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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 54541138334 for ; Thu, 21 Mar 2019 17:28:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E421FE09EA; Thu, 21 Mar 2019 17:27:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9DA11E09EA for ; Thu, 21 Mar 2019 17:27:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3F2F0335D17 for ; Thu, 21 Mar 2019 17:27:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A033B4B2 for ; Thu, 21 Mar 2019 17:27:56 +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: <1553188989.64b9901c0f3ed4dae25cdf6655b6c7a1cecd85f0.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/metadata.xml mail-client/s-nail/s-nail-14.9.13.ebuild X-VCS-Directories: mail-client/s-nail/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 64b9901c0f3ed4dae25cdf6655b6c7a1cecd85f0 X-VCS-Branch: master Date: Thu, 21 Mar 2019 17:27:56 +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: c56ef185-0091-4d91-afd5-a4a2f51bb50b X-Archives-Hash: 80444598cce4a70e618534a46753eb4a commit: 64b9901c0f3ed4dae25cdf6655b6c7a1cecd85f0 Author: Brian Evans gentoo org> AuthorDate: Thu Mar 21 17:23:09 2019 +0000 Commit: Brian Evans gentoo org> CommitDate: Thu Mar 21 17:23:09 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b9901c mail-client/s-nail: New package. Enhanced fork of mail-client/nail Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Brian Evans gentoo.org> mail-client/s-nail/Manifest | 1 + mail-client/s-nail/metadata.xml | 23 ++++++++ mail-client/s-nail/s-nail-14.9.13.ebuild | 91 ++++++++++++++++++++++++++++++++ 3 files changed, 115 insertions(+) diff --git a/mail-client/s-nail/Manifest b/mail-client/s-nail/Manifest new file mode 100644 index 00000000000..1a48213f110 --- /dev/null +++ b/mail-client/s-nail/Manifest @@ -0,0 +1 @@ +DIST s-nail-14.9.13.tar.xz 734416 BLAKE2B b23de9c32357d5b88ecb723dc875d3366b2b4c57dd654a4f2422e8bb81b781a76568eb0955990d4166f034bf40459fa5d2992da6e7f2b403a641a4d4c0c1e200 SHA512 6467846fab5752c708886ba7a66cd2038effc0cf8d72e2feb670283cf1d5436c27037087eeaa201c074964476ff0c213cffe74169fb03089ebf964fcc766e6ea diff --git a/mail-client/s-nail/metadata.xml b/mail-client/s-nail/metadata.xml new file mode 100644 index 00000000000..6fa99b2c089 --- /dev/null +++ b/mail-client/s-nail/metadata.xml @@ -0,0 +1,23 @@ + + + + + grknight@gentoo.org + Brian Evans + + + + Enable support for network protocols (POP, IMAP and SMTP). If you + only need to send mail with the local Transport Agent, disabling + this will get you support for only /usr/sbin/sendmail call. + + + If network is enabled, this adds support for S/MIME and + SSL/TLS-powered protocols through dev-libs/openssl. + + + If network is enabled, this adds support for GSSAPI login on IMAP + through virtual/krb5. + + + diff --git a/mail-client/s-nail/s-nail-14.9.13.ebuild b/mail-client/s-nail/s-nail-14.9.13.ebuild new file mode 100644 index 00000000000..8d4581a9f0d --- /dev/null +++ b/mail-client/s-nail/s-nail-14.9.13.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +HOMEPAGE="https://www.sdaoden.eu/code.html" +DESCRIPTION="Enhanced mailx-compatible mail client based on Hierloom mailx (nail)" +LICENSE="BSD" + +SRC_URI="https://ftp.sdaoden.eu/${P}.tar.xz" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="idn kerberos libressl net ssl" + +RDEPEND=" + sys-libs/ncurses:0= + virtual/libiconv + idn? ( net-dns/libidn2 ) + net? ( + ssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + ) + kerberos? ( virtual/krb5 ) + ) + !mail-client/mailx + !net-mail/mailutils + !mail-client/nail +" +DEPEND="${RDEPEND}" + +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_SOCKETS=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 +}