X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Message-ID: <4E5F0B15.7040408@cwilson.fastmail.fm> Date: Thu, 01 Sep 2011 00:33:25 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin package naming? References: <4E5EE340 DOT 6010009 AT cisra DOT canon DOT com DOT au> In-Reply-To: <4E5EE340.6010009@cisra.canon.com.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 8/31/2011 9:43 PM, Luke Kendall wrote: > I'm asking because I'm finding Cygwin packages that contain no license > information, at least in the compiled form (e.g. gawk, libiconv2). None of the "dll" packages contain license files; they are supposed to only contain the dll itself. Usually the license files wind up in the "main" package, or a "-doc" package. However I think your BEST bet would be to do the following...get setup.ini from $favorite_mirror. Every record beginning with '@ package' will have one or more 'source:' entries -- except for some _obsolete packages, but we don't care about those because they will just be empty tarballs, so no source necessary. Multiple '@ package' will refer to the same 'source:' With some judicious coding (*), you should be able to flip that around, and create a database that represents the information the other way: - @ package <1>- @ package <2>- @ package <3>- - [same "package", different version] @ package <1>- @ package <2>- @ package <3>- - @ package <4>- @ package <5>- I doubt the license would often change between versions of the same package, but it HAS been known to happen. Now, you can find the s for which you can't identify the license, and either (a) find another package in the same "family" -- e.g. derived from the same source -- for which you DO know the license. WIN! If *all* of the "child" packages of a given source have an unknown license, well -- then you can get the -src package itself and troll around in it, or check freshmeat. Usually the -src packages are named pretty simply: ---src.tar.* Watch out for this: some packages have different licenses for different pieces. The "libiconv" group of packages specifies that the *libraries* are LGPL, but the *app* is GPL. This means: libcharset1: LGPL libiconv2: LGPL libiconv: GPL Also, gettext group is similar; some of the libs and apps are GPL, and some of the apps and libs are LGPL. Fortunately, they are segregated in the cygwin packages: libasprintf0: LGPL libintl8: LGPL libgettextpo0: GPL gettext: LGPL gettext-devel GPL Fortunately, that sort of structure is rare. (*) Maybe borrow from genini, or upset? -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple