Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2011 12:44:31 +0300
From:      Mikolaj Golub <trociny@freebsd.org>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        Pawel Tyll <ptyll@nitronet.pl>, freebsd-stable@freebsd.org, pjd@freebsd.org, Jeremy Chadwick <freebsd@jdc.parodius.com>
Subject:   Re: buildworld FAIL.
Message-ID:  <86mxjd1h4w.fsf@in138.ua3>
In-Reply-To: <20110423143838.GR91591@over-yonder.net> (Matthew D. Fuller's message of "Sat, 23 Apr 2011 09:38:39 -0500")
References:  <926783796.20110423022501@nitronet.pl> <20110423005422.GQ91591@over-yonder.net> <2910134705.20110423090442@nitronet.pl> <20110423125247.GA89102@icarus.home.lan> <20110423143838.GR91591@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=


On Sat, 23 Apr 2011 09:38:39 -0500 Matthew D. Fuller wrote:

 MDF> On Sat, Apr 23, 2011 at 05:52:47AM -0700 I heard the voice of
 MDF> Jeremy Chadwick, and lo! it spake thus:
 >> On Sat, Apr 23, 2011 at 09:04:42AM +0200, Pawel Tyll wrote:
 >> > So was NO_OPENSSL deprecated or something?
 >> 
 >> I think he's implying that hast indirectly relies upon OpenSSL.

 MDF> There's some conditionalization on MK_OPENSSL in the Makefile (and via
 MDF> that, in the code), but it's incomplete.  Whether that means it
 MDF> _should_ be buildable without OpenSSL and is just insufficiently
 MDF> tested, or whether it really just flat needs OpenSSL and the
 MDF> conditionalization is vestigial, I don't know.  pjd@ cc'd.

The attached patch should fix this.

-- 
Mikolaj Golub

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=hast_proto.c.HAVE_CRYPTO.patch

Index: sbin/hastd/hast_proto.c
===================================================================
--- sbin/hastd/hast_proto.c	(revision 221054)
+++ sbin/hastd/hast_proto.c	(working copy)
@@ -69,7 +69,9 @@ struct hast_pipe_stage {
 
 static struct hast_pipe_stage pipeline[] = {
 	{ "compression", compression_send, compression_recv },
+#ifdef HAVE_CRYPTO
 	{ "checksum", checksum_send, checksum_recv }
+#endif
 };
 
 /*

--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86mxjd1h4w.fsf>