]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - linux-firmware/linux-firmware.nm
unbound: Use /run instead of /var/run
[ipfire-3.x.git] / linux-firmware / linux-firmware.nm
index ec5766d15c4ca93e88a71626844cb0488896ac81..08b6e9b1d73bddb976c7d05fee332099c4fba2d1 100644 (file)
@@ -4,33 +4,36 @@
 ###############################################################################
 
 name       = linux-firmware
-version    = 20110311
-release    = 2
+version    = 20221214
+release    = 1
 arch       = noarch
 
 maintainer = Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
 groups     = System/Libraries
-url        = http://www.kernel.org/pub/linux/kernel/people/dwmw2/firmware/
+url        = https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
 license    = Non-GPL
 summary    = Firmware Binaries for some Devices.
 
 description
-       linux-firmware provides some firmware binaries that \
-       are loaded into the devices at startup. \
-       For detailed license info check the WHENCE and LICENSE.* texts \
+       linux-firmware provides some firmware binaries that
+       are loaded into the devices at startup.
+       For detailed license info check the WHENCE and LICENSE.* texts
        for the specific firmware.
 end
 
-source_dl  =
+source_dl  = https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/
 
 build
        build
                : # Nothing to do.
        end
 
-       install
-               mkdir -pv %{BUILDROOT}/lib/firmware
-               cp -prv * %{BUILDROOT}/lib/firmware
+       make_install_targets += FIRMWAREDIR=%{firmwaredir}
+
+       install_cmds
+               # Remove executable bits from any files
+               find %{BUILDROOT}%{firmwaredir} -type f \
+                       -executable -print | xargs chmod -v a-x
        end
 end