Project

General

Profile

Freedom issue #194

makepkg license check

tbirdz - over 7 years ago - . Updated over 5 years ago.

Status:
not-a-bug
Priority:
freedom issue
Assignee:
-
% Done:

0%


Description

I think it would be a really cool feature if Parabola GNU/Linux could make a makepkg-libre version with some additional features. The new makepkg could check the license field and warn the user if they are trying to make a package without a Free license. If the user had your-freedom installed they could even block them from installing it (though that could require more changes to pacman, your example).

This would come in handy because there are many useful software packages on the aur that could be used, but sometimes its easy to accidentally install a nonfree package by mistake. This would add an extra check to make sure that you knew what you were doing.

Also the license check should have an override. Some packages in the aur have the License mislabeled, or didn't define a license. Obviously the better solution would be to have all the packages in the aur keep themselves up to date with licensing, but that isn't as feasible as this license check.

This makepkg license check would really help when installing aur packages. There may still be some degree of risk of installing a nonfree package, like if a maintainer mislabels it as GPL when it is actually under a nonfree license, so installing packages from the aur shouldn't be officially supported/etc, but this is Arch Linux's policy towards the aur anyway.


Related issues

Related to Packages - Freedom issue #123: wanted: blacklist for nonfree aur packagesnot-a-bug

Actions

History

#2

Updated by fauno over 7 years ago

Have you checked libretools.git ? We have a tool called "aur" that does exactly this. There're also plans to make a your-freedom package including known aur unfree packages, that's a lot less work than forking pacman/makepkg IMO.

Lukeshu has also been hacking on pacman lately, maybe he has more input :)

#3

Updated by lukeshu almost 6 years ago

could make a makepkg-libre version with some additional features.

Exactly this exits. It is called "libremakepkg", and is part of the "libretools" package. The license check itself is "pkgbuild-check-nonfree".

I think configuring acceptable licenses in pacman would be a really cool, but not worth the effort of maintaining a fork.

#4

Updated by lukeshu over 5 years ago

  • Status changed from open to not-a-bug

Also available in: Atom PDF