From 21435953e16cda318a82334ddbadb3b5c36d9ea7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 15 Jan 2020 15:51:32 +0000 Subject: gentoo resync : 15.01.2020 --- mail-client/s-nail/Manifest | 2 + mail-client/s-nail/s-nail-14.9.16.ebuild | 92 ++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 mail-client/s-nail/s-nail-14.9.16.ebuild (limited to 'mail-client/s-nail') diff --git a/mail-client/s-nail/Manifest b/mail-client/s-nail/Manifest index a5325e7323ba..75dbed87ed1e 100644 --- a/mail-client/s-nail/Manifest +++ b/mail-client/s-nail/Manifest @@ -1,6 +1,8 @@ AUX s-nail-14.9.15-havenet.patch 6648 BLAKE2B e5c47d116f78eb007b86b5c907782c8c77e61dedb9dbc98e10d2a2975409c6495c0c370a82108cf5832737cc75b5e0bba268cf97703a6e41c7fa207e24bf83a8 SHA512 3f5cbfe1b8b1450150e7b17a700693ae9083944e9a096aae08af9b08ceae3b3c46d240528a3ccdea579353406a2b5328b506668e54488455aaac9aad70dc1c00 DIST s-nail-14.9.13.tar.xz 734416 BLAKE2B b23de9c32357d5b88ecb723dc875d3366b2b4c57dd654a4f2422e8bb81b781a76568eb0955990d4166f034bf40459fa5d2992da6e7f2b403a641a4d4c0c1e200 SHA512 6467846fab5752c708886ba7a66cd2038effc0cf8d72e2feb670283cf1d5436c27037087eeaa201c074964476ff0c213cffe74169fb03089ebf964fcc766e6ea DIST s-nail-14.9.15.tar.xz 757180 BLAKE2B 9d3efe43e6f1f4486bb66bb0060a6b656097c4b6d95e5f22e209e7464bd92bc9cf42a36009d674a3ee032ab32f64ecef2aa0cc1b09519a7760bf5d1145e35c5d SHA512 ca95c544890a13b475fb12f882a172942f29517319956eccab1fbc2a67625fe53e3f0cc10c31daac98e28bb1fae48364d80db9ec35f0e6cc71d748290a2635df +DIST s-nail-14.9.16.tar.xz 790052 BLAKE2B c12dcb3e0f412b34a3f3214ad3be05095ac5045932f5605b59a21ae953c0edb2619cdff1c67249a2ff8a02d809af08d2559af4319462d39dab37df1f904a4d13 SHA512 147c9dbd6abf9a17778eafa36f1cd85b0f769e6acbae06d67d0aa8b9c8b940f78e115d13d277d4269ea44c9ad6dbe75228da9878d9eebb233cb354f3d548089f EBUILD s-nail-14.9.13.ebuild 1935 BLAKE2B d6a22d55c96af91e1d73527421e0e4330f120eaf616647f6584022322e5d43bda9d440376829321d4aa5c449453711ea1937fd0749e2d807deaa57b1ee990be6 SHA512 bd5093554a5467ec80e1fe391123f32799487ef9a90823b891199c443db19928e646b6eb01adf5600638ae8d5b1310b557a7d6f05cc6e716d4ce3261942bb6b2 EBUILD s-nail-14.9.15.ebuild 2009 BLAKE2B 737eb36cfae90f8b5ca02490878d6230d04472d68b55f79e248698aa293e1a7c540c695bd065caef390500edb3fc9e20adb5a77ac15a0b2573f5b52b70c024c1 SHA512 b2576216c3ecdef61ff5260a2d3c5f5ee1fb49d023fe261fbf9a9b015b3ada6aed05d423a3d75c367371065060d25a9310fa733f3d8731e55eb73726c5587728 +EBUILD s-nail-14.9.16.ebuild 1957 BLAKE2B 53cf1513a1c3fc9c9a67aa99559f43a46ef6c24ef696b4f7454e0261811f2aba02f7067bb63e8e02ec3a5ed0cf4562799b2f7e6e00bb58e7dc1d0dcacd18df60 SHA512 f1524e1720ff68953ec0e731ea3792dcba8bb6ce9fad48cd899393c11d57dfab849a4cde666637683c702d91587f5b578556391d25f78ef7879ace52dff60956 MISC metadata.xml 827 BLAKE2B 60255cc3fe6eacd232600dc62ec110994d63025c0a378dc0853cf6111ec087859274a158e1a9719ae7853eb0b752e806b1c3ad3304256cba2c75ad21a7bda059 SHA512 0c0d5ece2c20d666bca54d14288ecf0bf61fcb7c3d0b65145c77f353f24382c35643eae9ac7b6d48657b795dbdbe7256d8b0ad4dcf54c55888cc289ed9e67d55 diff --git a/mail-client/s-nail/s-nail-14.9.16.ebuild b/mail-client/s-nail/s-nail-14.9.16.ebuild new file mode 100644 index 000000000000..4d70d4c9573f --- /dev/null +++ b/mail-client/s-nail/s-nail-14.9.16.ebuild @@ -0,0 +1,92 @@ +# 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 BSD-4 ISC RSA" + +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:0= ) + ) + kerberos? ( virtual/krb5 ) + ) + !mail-client/mailx + !net-mail/mailutils + !mail-client/nail +" +DEPEND="${RDEPEND}" +BDEPEND="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 +} -- cgit v1.2.3