Paul Vojta | 3 Aug 09:47 2012
Picon

[PATCH] undefined reference to `SSLv2_client_method'

When compiling heirloom mailx on the latest Debian sid (unstable) with
amd64 architecture, I get:

	openssl.o: In function `ssl_select_method':
	openssl.c:(.text+0x38b): undefined reference to `SSLv2_client_method'

The following patch fixes the problem:

-------------- begin patch ----------------
--- cvs-nail/nail/openssl.c	2009-05-26 14:04:15.000000000 -0700
+++ nail/openssl.c	2012-08-03 00:31:49.907550626 -0700
 <at>  <at>  -216,9 +216,12  <at>  <at> 

 	cp = ssl_method_string(uhp);
 	if (cp != NULL) {
+#ifndef OPENSSL_NO_SSL2
 		if (equal(cp, "ssl2"))
 			method = SSLv2_client_method();
-		else if (equal(cp, "ssl3"))
+		else
+#endif
+		     if (equal(cp, "ssl3"))
 			method = SSLv3_client_method();
 		else if (equal(cp, "tls1"))
 			method = TLSv1_client_method();
-------------- end patch ----------------

--Paul Vojta, vojta@...

------------------------------------------------------------------------------
(Continue reading)

Steffen Daode Nurpmeso | 27 Aug 15:38 2012
Picon

New *quote-fold* option

Hi list,
i got so harried by non-folded lines in reply mode that i've
implemented a *quote-fold* option which does a somewhat fancy
linebreaking for those flowed lines.
It works well for me, but some power-user should stress it
since of course nail is in patch-by-patch mode from my point
of view, and only.
 <at> Dario: the power of the ultimate solution.
Ciao and have fun (please report problems if you see any!),

--steffen

    Implement *quote-fold* option..

    This option works together with *indentprefix* and,
    if used, turns on a somewhat fancy line breaking
    algorithm that compresses leading quotation marks
    and nicely handles follows lines of folded overlong
    lines.
---
 mailx.1 |   13 +++++++
 mime.c  |  114 ++++++++++++++++++++++++++++++++++++++++++++++++++++----------
 2 files changed, 108 insertions(+), 19 deletions(-)

diff --git a/mailx.1 b/mailx.1
index a12563a..b379d4f 100644
--- a/mailx.1
+++ b/mailx.1
(Continue reading)


Gmane