1 |
commit: 289d66b7d9108ecbeeb77065277dd53cef4010d2 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 7 16:10:31 2020 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 7 16:10:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=289d66b7 |
7 |
|
8 |
mail-client/s-nail: Version bump for 14.9.16 |
9 |
|
10 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
11 |
|
12 |
mail-client/s-nail/Manifest | 1 + |
13 |
mail-client/s-nail/s-nail-14.9.16.ebuild | 92 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 93 insertions(+) |
15 |
|
16 |
diff --git a/mail-client/s-nail/Manifest b/mail-client/s-nail/Manifest |
17 |
index 91c6b34decd..0c30c85a81d 100644 |
18 |
--- a/mail-client/s-nail/Manifest |
19 |
+++ b/mail-client/s-nail/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST s-nail-14.9.13.tar.xz 734416 BLAKE2B b23de9c32357d5b88ecb723dc875d3366b2b4c57dd654a4f2422e8bb81b781a76568eb0955990d4166f034bf40459fa5d2992da6e7f2b403a641a4d4c0c1e200 SHA512 6467846fab5752c708886ba7a66cd2038effc0cf8d72e2feb670283cf1d5436c27037087eeaa201c074964476ff0c213cffe74169fb03089ebf964fcc766e6ea |
22 |
DIST s-nail-14.9.15.tar.xz 757180 BLAKE2B 9d3efe43e6f1f4486bb66bb0060a6b656097c4b6d95e5f22e209e7464bd92bc9cf42a36009d674a3ee032ab32f64ecef2aa0cc1b09519a7760bf5d1145e35c5d SHA512 ca95c544890a13b475fb12f882a172942f29517319956eccab1fbc2a67625fe53e3f0cc10c31daac98e28bb1fae48364d80db9ec35f0e6cc71d748290a2635df |
23 |
+DIST s-nail-14.9.16.tar.xz 790052 BLAKE2B c12dcb3e0f412b34a3f3214ad3be05095ac5045932f5605b59a21ae953c0edb2619cdff1c67249a2ff8a02d809af08d2559af4319462d39dab37df1f904a4d13 SHA512 147c9dbd6abf9a17778eafa36f1cd85b0f769e6acbae06d67d0aa8b9c8b940f78e115d13d277d4269ea44c9ad6dbe75228da9878d9eebb233cb354f3d548089f |
24 |
|
25 |
diff --git a/mail-client/s-nail/s-nail-14.9.16.ebuild b/mail-client/s-nail/s-nail-14.9.16.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..4d70d4c9573 |
28 |
--- /dev/null |
29 |
+++ b/mail-client/s-nail/s-nail-14.9.16.ebuild |
30 |
@@ -0,0 +1,92 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit toolchain-funcs |
37 |
+ |
38 |
+HOMEPAGE="https://www.sdaoden.eu/code.html" |
39 |
+DESCRIPTION="Enhanced mailx-compatible mail client based on Hierloom mailx (nail)" |
40 |
+LICENSE="BSD BSD-4 ISC RSA" |
41 |
+ |
42 |
+SRC_URI="https://ftp.sdaoden.eu/${P}.tar.xz" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
45 |
+IUSE="idn kerberos libressl net ssl" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ sys-libs/ncurses:0= |
49 |
+ virtual/libiconv |
50 |
+ idn? ( net-dns/libidn2 ) |
51 |
+ net? ( |
52 |
+ ssl? ( |
53 |
+ !libressl? ( dev-libs/openssl:0= ) |
54 |
+ libressl? ( dev-libs/libressl:0= ) |
55 |
+ ) |
56 |
+ kerberos? ( virtual/krb5 ) |
57 |
+ ) |
58 |
+ !mail-client/mailx |
59 |
+ !net-mail/mailutils |
60 |
+ !mail-client/nail |
61 |
+" |
62 |
+DEPEND="${RDEPEND}" |
63 |
+BDEPEND="virtual/awk" |
64 |
+ |
65 |
+src_configure() { |
66 |
+ local confopts=( |
67 |
+ CC=$(tc-getCC) |
68 |
+ EXTRA_CFLAGS=-std=c99 |
69 |
+ strip=/bin/true |
70 |
+ OPT_AUTOCC=no |
71 |
+ VAL_PREFIX="${EPREFIX}"/usr |
72 |
+ VAL_SYSCONFDIR="${EPREFIX}"/etc |
73 |
+ VAL_MTA="${EPREFIX}/usr/sbin/sendmail" |
74 |
+ VAL_MAIL='/var/spool/mail' |
75 |
+ VAL_PAGER=less |
76 |
+ $(usex idn VAL_IDNA=idn2 OPT_IDNA=no) |
77 |
+ VERBOSE=1 |
78 |
+ ) |
79 |
+ |
80 |
+ if use net; then |
81 |
+ confopts+=( OPT_TLS=$(usex ssl require no) |
82 |
+ OPT_GSSAPI=$(usex kerberos require no) |
83 |
+ ) |
84 |
+ else |
85 |
+ confopts+=( OPT_NET=no ) |
86 |
+ fi |
87 |
+ |
88 |
+ tc-is-cross-compiler && confopts+=( OPT_CROSS_BUILD=yes ) |
89 |
+ |
90 |
+ emake "${confopts[@]}" config |
91 |
+} |
92 |
+ |
93 |
+src_compile() { |
94 |
+ emake build |
95 |
+} |
96 |
+ |
97 |
+src_install () { |
98 |
+ # Use /usr/sbin/sendmail by default and provide an example |
99 |
+ cat <<- EOSMTP >> nail.rc |
100 |
+ |
101 |
+ # Use the local sendmail (/usr/sbin/sendmail) binary by default. |
102 |
+ # (Uncomment the following line to use a SMTP server) |
103 |
+ #set smtp=localhost |
104 |
+ |
105 |
+ # Ask for CC: list too. |
106 |
+ set askcc |
107 |
+ EOSMTP |
108 |
+ |
109 |
+ emake DESTDIR="${D}" install |
110 |
+ |
111 |
+ dodoc INSTALL NEWS README THANKS |
112 |
+ |
113 |
+ dodir /bin |
114 |
+ dosym ../usr/bin/mailx /bin/mail |
115 |
+ dosym s-nail /usr/bin/mailx |
116 |
+ dosym mailx /usr/bin/mail |
117 |
+ dosym mailx /usr/bin/Mail |
118 |
+ |
119 |
+ dosym s-nail.1 /usr/share/man/man1/mailx.1 |
120 |
+ dosym mailx.1 /usr/share/man/man1/mail.1 |
121 |
+ dosym mailx.1 /usr/share/man/man1/Mail.1 |
122 |
+} |