From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 01:51:29 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 403F4106566B; Mon, 2 Feb 2009 01:51:29 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 141AA8FC17; Mon, 2 Feb 2009 01:51:29 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout1.cac.washington.edu (8.14.3+UW08.09/8.14.3+UW09.01) with ESMTP id n121pR0J022329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 1 Feb 2009 17:51:28 -0800 X-Auth-Received: from [192.168.10.3] (adsl-99-139-49-79.dsl.pltn13.sbcglobal.net [99.139.49.79]) (authenticated authid=youshi10) by smtp.washington.edu (8.14.3+UW08.09/8.14.3+UW09.01) with ESMTP id n121pQnl001577 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 1 Feb 2009 17:51:27 -0800 Message-Id: From: Garrett Cooper To: Gavin Atkinson In-Reply-To: <20090201164154.V97967@ury.york.ac.uk> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sun, 1 Feb 2009 17:56:27 -0800 References: <87223.61659.qm@web32707.mail.mud.yahoo.com> <20090201164154.V97967@ury.york.ac.uk> X-Mailer: Apple Mail (2.930.3) X-PMX-Version: 5.5.0.356843, Antispam-Engine: 2.6.1.350677, Antispam-Data: 2009.2.2.13721 X-Uwash-Spam: Gauge=IIIIIII, Probability=8%, Report='FORGED_FROM_GMAIL 0.1, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, __BOUNCE_CHALLENGE_SUBJ 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FRAUD_419_WEBMAIL 0, __FRAUD_419_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: freebsd-current@FreeBSD.org, Mark Linimon , Sean Cavanaugh , "Pedro F. Giffuni" , 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: Mon, 02 Feb 2009 01:51:29 -0000 On Feb 1, 2009, at 9:13 AM, Gavin Atkinson wrote: > 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 readline is also GPLv2, not LGPLv2.1, so AFAICT any changes that vendors make to any sources with readline support linked in would potentially force them to expose their proprietary secrets IF the copyright owner sued for GPLv2 infringement. Welcome to the wonderful world of FSF... -Garrett