Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
iproute2


Commits:
a03e0dad by Christian Hesse at 2025-07-31T08:48:46+02:00
upgpkg: 6.16.0-2: build from git sources

I had thought about that serveral times, but hesitated as the tags are
not signed. On the other hand we had several releases with various issues
with the release tarballs... So let's do the change.

Fixes: 
https://gitlab.archlinux.org/archlinux/packaging/packages/iproute2/-/issues/3

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
 pkgbase = iproute2
        pkgdesc = IP Routing Utilities
        pkgver = 6.16.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
        arch = x86_64
        license = GPL-2.0-or-later
+       makedepends = git
        makedepends = db5.3
        makedepends = linux-atm
        makedepends = iptables
@@ -20,13 +21,11 @@ pkgbase = iproute2
        optdepends = python: for routel
        provides = iproute
        options = !emptydirs
-       source = 
https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-6.16.0.tar.xz
-       source = 
https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-6.16.0.tar.sign
+       source = 
git+https://git.kernel.org/pub/scm/network/iproute2/iproute2.git#tag=v6.16.0
        source = 0001-make-iproute2-fhs-compliant.patch
        source = 0002-bdb-5-3.patch
        validpgpkeys = 9F6FC345B05BE7E766B83C8F80A77F6095CDE47E
-       sha256sums = 
5900ccc15f9ac3bf7b7eae81deb5937123df35e99347a7f11a22818482f0a8d0
-       sha256sums = SKIP
+       sha256sums = 
af5e499cde7f43985244fb63bb971f33ae8a0a1b460ece39e0ef3fc8b91b2c77
        sha256sums = 
758b82bd61ed7512d215efafd5fab5ae7a28fbfa6161b85e2ce7373285e56a5d
        sha256sums = 
611c1ad7946aab226a5f4059922d9430f51b3377e33911427f8fdf7f7d31f7d6
 


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=iproute2
 pkgver=6.16.0
-pkgrel=1
+pkgrel=2
 pkgdesc='IP Routing Utilities'
 arch=('x86_64')
 license=('GPL-2.0-or-later')
@@ -14,23 +14,22 @@ depends=('glibc'
          'libcap' 'libcap.so'
          'libelf'
          'libbpf' 'libbpf.so')
-makedepends=('db5.3' 'linux-atm' 'iptables')
+makedepends=('git' 'db5.3' 'linux-atm' 'iptables')
 optdepends=('db5.3: userspace arp daemon'
             'linux-atm: ATM support'
             'python: for routel')
 provides=('iproute')
 options=('!emptydirs')
 validpgpkeys=('9F6FC345B05BE7E766B83C8F80A77F6095CDE47E') # Stephen Hemminger
-source=("https://www.kernel.org/pub/linux/utils/net/${pkgname}/${pkgname}-${pkgver}.tar."{xz,sign}
+source=("git+https://git.kernel.org/pub/scm/network/${pkgname}/${pkgname}.git#tag=v${pkgver}";
         '0001-make-iproute2-fhs-compliant.patch'
         '0002-bdb-5-3.patch')
-sha256sums=('5900ccc15f9ac3bf7b7eae81deb5937123df35e99347a7f11a22818482f0a8d0'
-            'SKIP'
+sha256sums=('af5e499cde7f43985244fb63bb971f33ae8a0a1b460ece39e0ef3fc8b91b2c77'
             '758b82bd61ed7512d215efafd5fab5ae7a28fbfa6161b85e2ce7373285e56a5d'
             '611c1ad7946aab226a5f4059922d9430f51b3377e33911427f8fdf7f7d31f7d6')
 
 prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}/${pkgname}"
 
   # set correct fhs structure
   patch -Np1 -i "${srcdir}"/0001-make-iproute2-fhs-compliant.patch
@@ -40,14 +39,14 @@ prepare() {
 }
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}/${pkgname}"
 
   ./configure
   make DBM_INCLUDE='/usr/include/db5.3'
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}/${pkgname}"
 
   make DESTDIR="${pkgdir}" SBINDIR="/usr/bin" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/iproute2/-/commit/a03e0dadddf16e4b3efe4a48b1baae3298ff32ed

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/iproute2/-/commit/a03e0dadddf16e4b3efe4a48b1baae3298ff32ed
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to