Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446634 - net-wireless/ar9271-firmware-1.3 should not be mirror-restricted
Summary: net-wireless/ar9271-firmware-1.3 should not be mirror-restricted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-is-license
  Show dependency tree
 
Reported: 2012-12-09 18:30 UTC by Maxim Kammerer
Modified: 2012-12-17 14:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Kammerer 2012-12-09 18:30:56 UTC
net-wireless/ar9271-firmware ebuild sets:
LICENSE="as-is"
RESTRICT="mirror binchecks strip"

Not sure about which license is the proper one (following gentoo-dev discussions, "as-is" licenses should be replaced?), but mirror restriction should not be on for the package, because the same firmware is distributed in linux-firmware:

# tar tJvf /usr/portage/distfiles/linux-firmware-20120924.tar.xz | grep htc_9271
-rw-rw-r-- root/root     51272 2012-09-24 19:35 linux-firmware-236367d/htc_9271.fw
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-09 23:49:27 UTC
Also, the source should be unpacked when the src_unpack() phase is finished. Why is this done in src_prepare() instead?
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2012-12-10 07:44:16 UTC
Well, I've removed RESTRICT=mirror

> 10 Dec 2012; Sergei Trofimovich <slyfox@gentoo.org>
> ar9271-firmware-1.3.ebuild:
> Removed RESTRICT=mirror (per bug #446634 by Maxim Kammerer)

Thanks!

But, I didn't find a license for that firmware at the time i've packaged it.
I guess it's a 'freedist' one, but if it's not RESTRICT= should be in place.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2012-12-10 07:48:12 UTC
Changed to 'freedist' to reflect the minimal linux-firmware choice.

> 10 Dec 2012; Sergei Trofimovich <slyfox@gentoo.org>
> ar9271-firmware-1.3.ebuild:
> Changed LICENSE to 'freedist'.
Comment 4 Ulrich Müller gentoo-dev 2012-12-17 14:23:47 UTC
Just for reference, WHENCE in linux-firmware-20120924.tar.xz says:

   Driver: ath9k_htc - Atheros HTC devices (USB)
   [...]
   File: htc_9271.fw
   Version: 1.3
   [...]
   Licence: Redistributable. See LICENCE.atheros_firmware for details

So "freedist" is a reasonable choice.