Minor cleanups for version setting and url conformance (#9211)

* Correct the version of netavark

* Rework version setting in linux_sources

* Fix typo in nss version setting

* Fix version in rust

* Fix commit length in asmc and xorg_intel_driver
This commit is contained in:
Maximilian Downey Twiss
2024-01-25 16:22:40 +11:00
committed by GitHub
parent b313a6675b
commit 0abf04bf77
6 changed files with 6 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ class Asmc < Package
homepage 'https://github.com/nidud/asmc'
license 'GPL-2.0'
@_commit = '3663995a73c333742c6c3bd022ba7ba33e4f5155'
version "2.33.27-#{@_commit[0..7]}"
version "2.33.27-#{@_commit[0..6]}"
compatibility 'all'
source_url "https://github.com/nidud/asmc/raw/#{@_commit}/bin/asmc"
source_sha256 '90d227fa76ceba80da6aa63e90b945577daf7c13d93c3a08b76b9d488875d4a0'

View File

@@ -3,8 +3,7 @@ require 'package'
class Linux_sources < Package
description 'Sources for the Linux kernel'
homepage 'https://kernel.org/'
@version = CREW_KERNEL_VERSION == '4.14' ? "#{CREW_KERNEL_VERSION}-1" : CREW_KERNEL_VERSION
version @version
version ARCH == 'i686' ? '3.8' : '4.14-1'
license 'GPL-2'
compatibility 'all'
source_url 'https://chromium.googlesource.com/chromiumos/third_party/kernel.git'

View File

@@ -6,7 +6,7 @@ require 'package'
class Netavark < Package
description 'Container network stack'
homepage 'https://github.com/containers/netavark'
version '1.4.0'
version '1.0.1'
license 'Apache'
compatibility 'all'
source_url 'https://github.com/containers/netavark.git'

View File

@@ -5,7 +5,7 @@ class Nss < Package
homepage 'https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS'
@nss_ver = '3.69.1'
@nspr_ver = '4.32'
version "nss.#{@nss_ver}.nspr.#{@nss_ver}"
version "nss.#{@nss_ver}.nspr.#{@nspr_ver}"
license 'MPL-2.0, GPL-2 or LGPL-2.1'
compatibility 'all'
source_url 'https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_69_1_RTM/src/nss-3.69.1-with-nspr-4.32.tar.gz'

View File

@@ -3,7 +3,7 @@ require 'package'
class Rust < Package
description 'Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.'
homepage 'https://www.rust-lang.org/'
version '1.75.0'
version '1.74.1'
license 'Apache-2.0 and MIT'
compatibility 'all'
source_url 'https://github.com/rust-lang/rustup.git'

View File

@@ -6,7 +6,7 @@ class Xorg_intel_driver < Package
description 'The Xorg Intel Driver package contains the X.Org Video Driver for Intel integrated video chips including 8xx, 9xx, Gxx, Qxx, HD, Iris, and Iris Pro graphics processors.'
homepage 'https://01.org/linuxgraphics/'
@_ver = '31486f40f8e8f8923ca0799aea84b58799754564'
version "2.99.917+916+g#{@_ver[0..7]}"
version "2.99.917+916+g#{@_ver[0..6]}"
license 'MIT and ISC'
compatibility 'x86_64'
source_url "https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/archive/#{@_ver}/xf86-video-intel-#{@_ver}.tar.gz"