Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2000 12:35:25 +0200 (SAT)
From:      John Hay <jhay@mikom.csir.co.za>
To:        kris@FreeBSD.ORG (Kris Kennaway)
Cc:        current@FreeBSD.ORG
Subject:   Re: NO_DESCRYPT patch
Message-ID:  <200002271035.MAA56704@zibbi.mikom.csir.co.za>
In-Reply-To: <Pine.BSF.4.21.0002261619120.1739-100000@freefall.freebsd.org> from Kris Kennaway at "Feb 26, 2000 04:21:24 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> This is something which has been requested a fair bit..it will disable the
> building of the DES CRYPT libraries even if you have the crypto sources
> installed, so you can e.g. get OpenSSL/OpenSSH without having to deal with
> the pitfalls of libdescrypt. It seems to work fine for me..if I hear any
> other positive feedback I'll commit it.

Why not let them (libdes) be installed, but leave the symlinks to point
to libscrypt. That way things that for some reason need the des stuff
can still get to it. Something like this:

John
-- 
John Hay -- John.Hay@mikom.csir.co.za


Index: secure/lib/libcrypt/Makefile
===================================================================
RCS file: /home/ncvs/src/secure/lib/libcrypt/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- secure/lib/libcrypt/Makefile	2000/01/09 21:12:39	1.20
+++ secure/lib/libcrypt/Makefile	2000/02/27 09:49:28
@@ -49,7 +49,11 @@
 
 .include <bsd.lib.mk>
 
+.if defined(NO_DESCRYPT)
+noafterinstall:
+.else
 afterinstall:
+.endif
 .if !defined(NOPIC)
 	@cd ${DESTDIR}${SHLIBDIR}; \
 	rm -f ${LCRYPTSO}; \


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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