FS#9971 - list of packages in core and extra without license information
Attached to Project:
Arch Linux
Opened by Ronald van Haren (pressh) - Wednesday, 26 March 2008, 08:46 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 21 May 2009, 00:59 GMT
Opened by Ronald van Haren (pressh) - Wednesday, 26 March 2008, 08:46 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 21 May 2009, 00:59 GMT
|
Details
Description:
see summary Additional info: see attached file for the list Steps to reproduce: ################################################# #!/bin/bash # remove old file rm ~/nolicense-$1.txt # extract information find -name "PKGBUILD" | grep -rl "license" * >> /tmp/with find -name "PKGBUILD" | grep -rl "depends" * >> /tmp/all diff -Naur /tmp/with /tmp/all >> /tmp/changed sed -n '/@@/!p' /tmp/changed >> /tmp/changed2 sed -n '/+/p' /tmp/changed2 >> ~/nolicense-$1.txt sed -i 's/+//' ~/nolicense-$1.txt # removed temp files rm /tmp/{with,all,changed,changed2} echo "the required information is location in ~/nolicense-$1.txt" ########################################### |
This task depends upon
Closed by Eric Belanger (Snowman)
Thursday, 21 May 2009, 00:59 GMT
Reason for closing: Fixed
Additional comments about closing: see my last comment
Thursday, 21 May 2009, 00:59 GMT
Reason for closing: Fixed
Additional comments about closing: see my last comment
just making sure you get an answer here, the developers have an internal TODO list for missing licenses. BTW. I didn't look into your code much but there are false positives, such as courier-maildrop which got licenses added 5 month ago. But we are on it.
Well, as you guys have your own list I won't bother too much with it, but apart from above issue only the packages with /path/to/PKGBUILD in the list had missing licenses in my ABS tree.
Courier-maildrop has a license field added, but it is wrong:
licecnse=('GPL2')
Don't get me wrong here, I appreciate your report, just wanted to let the users know that we are on this task. It just takes time.
As for your question. abs checks out only what is tagged as "CURRENT". Sometimes, as in courier-maildrop's case the cvs HEAD is different since changes are checked in to be honoured in the next build but not tagged as CURRENT yet because no new binary package was build, This is why the web interface can be different from an abs checkout.
IIRC there was a lot of license updates in past months.
Does someone have current stats?
find /var/abs/core -name PKGBUILD | xargs grep -L license
However this is probably better run against the svn tree, and only the trunk directories, to only check the latest PKGBUILDs.
there are four packages in [core] without licenses and quite a large number
in [extra] as well.
Also I think it should be made impossible to upload a community or extra
package without a license. If there's no license for the software, then
it should not exist in an official Arch binary repository.
infrequent releases; in that case a new package with the updated
license should be uploaded.
I haven't done a svn checkout (only ABS) so the numbers I'm reporting
are certainly upper bounds. Doing a full svn checkout would be excessive
just to check for missing licenses.
in my abs checkout have licenses in trunk.
1) Not install any "LICENSE" file like others packages that have "BSD" as license.
2) The LICENSE file include some comments about that some files are GPL2, others are under BSD (original but the note about the clause 3), and others under MIT/X11.
This bug is for missing license meta-data. I'll just go ahead and close it. The license rebuild is done except a few packages that will be fixed/removed: http://www.archlinux.org/pipermail/arch-dev-public/2009-May/011407.html