From owner-cvs-all Tue Jan 22 14:44:56 2002 Delivered-To: cvs-all@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 6540737B404; Tue, 22 Jan 2002 14:44:41 -0800 (PST) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.11.6/8.11.6) with UUCP id g0MMidA41160; Tue, 22 Jan 2002 22:44:39 GMT (envelope-from mark@grondar.za) Received: from grondar.za (mark@localhost [127.0.0.1]) by grimreaper.grondar.org (8.11.6/8.11.6) with ESMTP id g0MMhht62061; Tue, 22 Jan 2002 22:43:43 GMT (envelope-from mark@grondar.za) Message-Id: <200201222243.g0MMhht62061@grimreaper.grondar.org> To: Dag-Erling Smorgrav Cc: Ruslan Ermilov , Mark Murray , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/mk bsd.libnames.mk References: In-Reply-To: ; from Dag-Erling Smorgrav "22 Jan 2002 23:21:36 +0100." Date: Tue, 22 Jan 2002 22:43:43 +0000 From: Mark Murray Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Mark Murray writes: > > The counter-aurgument is a libtelnet-style thing where you make the > > libraries but do not install them. Then, telnet can link against > > libtelnet.a and be done with it. > > That's exactly what I don't understand: why link libssh statically > into ssh, sshd etc? I can't see that we save anything by doing that - > quite to the contrary, we increase the size of these binaries as well > as their memory footprint when more than one of them is running at the > same time. Not counting PAM, we have nine binaries in the system that > link with libssh (scp, sftp, ssh, ssh-add, ssh-agent, ssh-keygen, > ssh-keyscan, sshd, sftp-server). Zigactly! > BTW, I just noticed that the attached patch is necessary (as a > supplement to my commit) to make dependency tracking work correctly. Perfectly sensible, IMO. I haven't tested this, but it looks sane to me. If it works, I'd say, commit it! (Realistically, lets give Ruslan a chance to respond) M > Index: secure/Makefile.inc > Index: share/mk/bsd.libnames.mk -- o Mark Murray \_ FreeBSD Services Limited O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message