From owner-freebsd-current@FreeBSD.ORG Sun Feb 1 17:13:16 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DECB106566C for ; Sun, 1 Feb 2009 17:13:16 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id D87498FC14 for ; Sun, 1 Feb 2009 17:13:15 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id n11HDBJQ001064; Sun, 1 Feb 2009 17:13:11 GMT Received: from ury.york.ac.uk ([144.32.108.81]) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LTfsd-0005c6-E6; Sun, 01 Feb 2009 17:13:11 +0000 Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.14.3/8.14.3) with ESMTP id n11HDBfV029685; Sun, 1 Feb 2009 17:13:11 GMT (envelope-from gavin@FreeBSD.org) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.14.3/8.14.3/Submit) with ESMTP id n11HDAXF029675; Sun, 1 Feb 2009 17:13:10 GMT (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Sun, 1 Feb 2009 17:13:10 +0000 (GMT) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: "Pedro F. Giffuni" In-Reply-To: <87223.61659.qm@web32707.mail.mud.yahoo.com> Message-ID: <20090201164154.V97967@ury.york.ac.uk> References: <87223.61659.qm@web32707.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: Mark Linimon , Sean Cavanaugh , freebsd-current@FreeBSD.org, bf2006a@yahoo.com Subject: Re: Alternatives to gcc (was Re: gcc 4.3: when will it becomestandard compiler?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2009 17:13:16 -0000 On Sat, 31 Jan 2009, Pedro F. Giffuni wrote: > --- On Sat, 1/31/09, Mark Linimon wrote: > > On Sat, Jan 31, 2009 at 01:08:54PM -0800, Pedro F. Giffuni wrote: >>> The effort didn't go far enough. Why haven't we removed GNU readline ? >> >> Probably either because someone hasn't written a BSD-licensed one, or >> someone hasn't done the work to test-compile src and ports on all the >> appropriate architectures. > > Wrong on both: > > - libedit has a readline compatibility mode that has replaced GNU readline in the other BSDs. > - If you look in the archives you will find patches. > > If there really was any effort to remove GPL'd stuff from the tree it > missed this big time: GNU readline is a library under the GPL (not > LGPL), it should be dead long ago. As far as I can see, in the base system, there are five things linked against readline which would not otherwise be under the GPL: kadmin, ktutil, gvinum, ntpq, ntpdc Of these, gvinum is a surprise. I'm not sure what it needs readline for, and cannot see why this isn't able to use the copy of libedit in the base system. ntpq and ntpdc are being built with the option to use libreadline commented out, so I'm not sure why they are being linked with it. I don't know about the Kerberos programs, but given they are contrib I suspect that may be a reaon why they are still using libedit rather than readline. I may be wrong (feel free to correct me) but I can't see what the real issue is with having readline in the base, if only code that is already GPL is linking against it. Obviously it would be good if the five utilities above could be linked against libedit rather than readline. Gavin