upg kmod nfs-utils

This commit is contained in:
joborun linux 2024-08-22 20:02:11 +03:00
parent ad3a5a1483
commit c178c01f1d
8 changed files with 73 additions and 84 deletions

View file

@ -7,34 +7,34 @@
pkgname=kmod
pkgver=33
pkgrel=01
pkgrel=02
pkgdesc="Linux kernel module management tools and library"
url='https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'
depends=('glibc' 'zlib' 'openssl' 'xz')
makedepends=('scdoc')
makedepends=('git' 'scdoc')
checkdepends=('linux-headers' 'libelf')
#options=('strip' 'debug')
options=(strip)
provides=('module-init-tools=3.16' 'libkmod.so')
conflicts=('module-init-tools')
replaces=('module-init-tools')
source=("https://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign}
'0001-test-user-path.patch'
provides=('libkmod.so')
#source=("https://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign}
# '0001-test-user-path.patch'
source=("git+https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git#tag=v${pkgver}?signed"
'depmod-search.conf'
'depmod.hook'
'depmod.script')
prepare() {
cd "$pkgname-$pkgver"
patch -Np1 < ../0001-test-user-path.patch
cd $pkgname
touch libkmod/docs/gtk-doc.make
autoreconf --force --install --symlink
}
build() {
cd "$pkgname-$pkgver"
cd $pkgname
./configure \
--sysconfdir=/etc \
--with-module-directory=/usr/lib/modules \
--with-xz \
--with-zlib \
--without-zstd \
@ -59,11 +59,11 @@ check() {
local kver kdir=${kdirs[0]%/Makefile}
IFS=/ read _ _ _ kver _ <<<"$kdir"
make -C "$pkgname-$pkgver" check KDIR="$kdir" KVER="$kver"
make -C "$pkgname" check KDIR="$kdir" KVER="$kver"
}
package() {
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
make -C "$pkgname" DESTDIR="$pkgdir" install
# extra directories
install -dm755 "$pkgdir"/{etc,usr/lib}/{depmod,modprobe}.d
@ -88,19 +88,17 @@ license=('LGPL-2.1-or-later' 'GPL-2.0-or-later')
validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi
md5sums=('c451c4aa61521adbe8af147f498046f8'
'SKIP'
'0360aff69475ebf35b1e85eac2602708'
md5sums=('621c84906429cdf0b8b7f6826f142c8d'
'dd62cbf62bd8f212f51ef8c43bec9a77'
'e179ace75721e92b04b2e145b69dab29'
'b00253ca0d4ebfb2414e4596597bdebd')
sha256sums=(dc768b3155172091f56dc69430b5481f2d76ecd9ccb54ead8c2540dbcf5ea9bc # kmod-33.tar.xz
e958b88d3d43ae2f73f3753e7e20a8eb07d2fba3a8145576a2a82796b318fbb0 # kmod-33.tar.sign
1297d45ba9cabb88edecebdbf4431b7b384bbab976d117d5ef1f44988a04895d # 0001-test-user-path.patch
sha256sums=(f5795fe50a747609d70f764244e645cd946074e70a7e51de0f82bd2e4d0612c8 # kmod 33
# e958b88d3d43ae2f73f3753e7e20a8eb07d2fba3a8145576a2a82796b318fbb0 # kmod-33.tar.sign
# 1297d45ba9cabb88edecebdbf4431b7b384bbab976d117d5ef1f44988a04895d # 0001-test-user-path.patch
1a92bfeae870f61ce814577e69d2a147a9c0caf6aed1131243e4179241fcc4a8 # depmod-search.conf
c11c2a0f66ea405493e8617689ca10818dc81dd1dddc19bdb220c8b2917119c1 # depmod.hook
d2cd04a09feba30e1376144a8110ec7521892acb0940c3c4ba459aeecf0452ed) # depmod.script
## cf292522138b964aba38e582875ca4a58118042a83070ed0d6cf0ed62cc12015 kmod-33-01-x86_64.pkg.tar.lz
## 26ec04bfd151f63443634f7af3ca6bcc54107502fdcff3195ccb174ca97d89b1 kmod-33-02-x86_64.pkg.tar.lz

View file

@ -2,49 +2,38 @@
pkgname=kmod
pkgver=33
pkgrel=1
pkgrel=2
pkgdesc="Linux kernel module management tools and library"
arch=('x86_64')
url='https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'
license=('LGPL-2.1-or-later' 'GPL-2.0-or-later')
depends=('glibc' 'zlib' 'openssl' 'xz' 'zstd')
makedepends=('scdoc')
makedepends=('git' 'scdoc')
checkdepends=('linux-headers' 'libelf')
options=('strip')
provides=('module-init-tools=3.16' 'libkmod.so')
conflicts=('module-init-tools')
replaces=('module-init-tools')
provides=('libkmod.so')
validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi
source=("https://www.kernel.org/pub/linux/utils/kernel/${pkgname}/${pkgname}-${pkgver}.tar."{xz,sign}
'0001-test-user-path.patch'
source=("git+https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git#tag=v${pkgver}?signed"
'depmod-search.conf'
'depmod.hook'
'depmod.script')
md5sums=('c451c4aa61521adbe8af147f498046f8'
'SKIP'
'0360aff69475ebf35b1e85eac2602708'
'dd62cbf62bd8f212f51ef8c43bec9a77'
'e179ace75721e92b04b2e145b69dab29'
'b00253ca0d4ebfb2414e4596597bdebd')
sha256sums=('dc768b3155172091f56dc69430b5481f2d76ecd9ccb54ead8c2540dbcf5ea9bc'
'SKIP'
'1297d45ba9cabb88edecebdbf4431b7b384bbab976d117d5ef1f44988a04895d'
sha256sums=('f5795fe50a747609d70f764244e645cd946074e70a7e51de0f82bd2e4d0612c8'
'1a92bfeae870f61ce814577e69d2a147a9c0caf6aed1131243e4179241fcc4a8'
'c11c2a0f66ea405493e8617689ca10818dc81dd1dddc19bdb220c8b2917119c1'
'd2cd04a09feba30e1376144a8110ec7521892acb0940c3c4ba459aeecf0452ed')
prepare() {
cd "${pkgname}-${pkgver}"
cd "${pkgname}"
patch -Np1 < ../0001-test-user-path.patch
touch libkmod/docs/gtk-doc.make
autoreconf --force --install --symlink
}
build() {
cd "${pkgname}-${pkgver}"
cd "${pkgname}"
./configure \
--sysconfdir='/etc' \
--with-module-directory='/usr/lib/modules' \
--with-xz \
--with-zlib \
--with-zstd \
@ -69,11 +58,11 @@ check() {
local kver kdir="${kdirs[0]%/Makefile}"
IFS=/ read _ _ _ kver _ <<<"${kdir}"
make -C "${pkgname}-${pkgver}" check KDIR="${kdir}" KVER="${kver}"
make -C "${pkgname}" check KDIR="${kdir}" KVER="${kver}"
}
package() {
make -C "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" install
make -C "${pkgname}" DESTDIR="${pkgdir}" install
# extra directories
install -dm0755 "${pkgdir}"/{etc,usr/lib}/{depmod,modprobe}.d

View file

@ -1 +1 @@
rm -rf {src,pkg,*tar.xz*,*.sign}
rm -rf {src,pkg,kmod}

View file

@ -1,3 +1,4 @@
git
linux-headers
automake
autoconf

View file

@ -8,7 +8,7 @@
pkgbase=nfs-utils
pkgdesc="Support programs for Network File Systems - w/o ipv6 gssproxy & systemd "
pkgname=('nfs-utils' 'nfsidmap')
pkgver=2.6.4
pkgver=2.7.1
pkgrel=01
url='http://nfs.sourceforge.net'
makedepends=('libevent' 'sqlite' 'rpcsvc-proto' 'device-mapper')
@ -63,12 +63,13 @@ check() {
package_nfs-utils() {
pkgdesc="Support programs for Network File Systems - w/o ipv6 & systemd"
license=('GPL2')
backup=(etc/{exports,nfs.conf,nfsmount.conf}
var/lib/nfs/{etab,rmtab})
depends=('rpcbind' 'nfsidmap' 'libevent' 'device-mapper')
optdepends=('sqlite: for nfsdcltrack and fsidd usage'
depends=('rpcbind' 'nfsidmap' 'gssproxy' 'libevent' 'device-mapper'
'libxml2' 'libtirpc' 'e2fsprogs' 'keyutils' 'util-linux-libs'
'krb5' 'libcap' 'gcc-libs' 'glibc' 'sh')
optdepends=('sqlite: for nfsdcltrack and fsidd usage'
'python: for rpcctl, nfsiostat, nfsdclnts and mountstats usage')
cd "${pkgbase}"-${pkgver}
@ -109,10 +110,9 @@ optdepends=('sqlite: for nfsdcltrack and fsidd usage'
package_nfsidmap() {
pkgdesc="Library to help mapping IDs, mainly for NFSv4 - w/o ipv6 & systemd"
license=('GPL2')
backup=(etc/idmapd.conf)
depends=('libldap' 'krb5')
depends=('libldap' 'krb5' 'glibc')
cd "${pkgbase}"-${pkgver}
make -C support DESTDIR="$pkgdir" install
@ -130,19 +130,19 @@ package_nfsidmap() {
arch=(x86_64)
license=('GPL2')
license=('GPL-2.0-or-later')
validpgpkeys=('E1B71E339E20A10A676F7CB69AFB1D681A125177') # Steve Dickson <steved@redhat.com>
## 38d89e853a71d3c560ff026af3d969d75e24f782ff68324e76261fe0344459e1 nfs-utils-2.6.3.tar.xz
## 885c948a84a58bca4148f459588f9a7369dbb40dcc466f04e455c6b10fd0aa48 nfs-utils-2.7.1.tar.xz
# https://mirrors.edge.kernel.org/pub/linux/utils/nfs-utils/$pkgver/sha256sums.asc
# https://mirrors.edge.kernel.org/pub/linux/utils/nfs-utils/2.6.4/sha256sums.asc
sha256sums=(01b3b0fb9c7d0bbabf5114c736542030748c788ec2fd9734744201e9b0a1119d # nfs-utils-2.6.4.tar.xz
f879706266e8463972e36437d729a332db11932d0f05f9a5cce9d15e7aa1c21e # nfs-utils-2.6.4.tar.sign
sha256sums=(885c948a84a58bca4148f459588f9a7369dbb40dcc466f04e455c6b10fd0aa48 # nfs-utils-2.7.1.tar.xz
dc36c76908429e9f6f2ed4097da206d521f16d86fe10c3a85a5d1bc29814a3f4 # nfs-utils-2.7.1.tar.sign
b8238b74179f7e1626db2b637671ddc17288a1c5b7692954ae6d2fbb1be3788d # exports
8e1b6aa59cf5539b9da13cfec217b3ca7b6c32e08df3b0a204901ed2891b2ded # sysusers.d
0c5e4a749886bc1141e2c38ef6658f855a6162a4eb9ed90d887a2f093a8cd170) # sha256sums
cfe9c28ff2c418bf45bb1ea7fa9814c67c78551e5cacf3b4dadfa406bcd54f5a) # sha256sums
## d1adeafc105c7fc3018d3a9d2f8032ff6b4377267a0c604e67abaa0f89f97f99 nfsidmap-2.6.4-01-x86_64.pkg.tar.lz
## d7b2aea85bf3bab890fba6b8163df27aff72652a91aec659d01cf69651226f7c nfs-utils-2.6.4-01-x86_64.pkg.tar.lz
## ac5b688f2f839753439dce9bc7d094451af4ef045ae3f961c6468c9071f5a614 nfsidmap-2.7.1-01-x86_64.pkg.tar.lz
## 702d8419a8a5ecd016b08b0d87854149319cf49d8cfbf482e58f5ead69e2484a nfs-utils-2.7.1-01-x86_64.pkg.tar.lz

View file

@ -7,17 +7,18 @@
pkgbase=nfs-utils
pkgname=('nfs-utils' 'nfsidmap')
pkgver=2.6.4
pkgver=2.7.1
pkgrel=1
arch=('x86_64')
url='http://nfs.sourceforge.net'
license=('GPL-2.0-or-later')
makedepends=('libevent' 'sqlite' 'rpcsvc-proto' 'device-mapper')
# http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=summary
source=(https://www.kernel.org/pub/linux/utils/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.{xz,sign}
exports
sysusers.d)
# https://mirrors.edge.kernel.org/pub/linux/utils/nfs-utils/2.6.4/sha256sums.asc
sha256sums=('01b3b0fb9c7d0bbabf5114c736542030748c788ec2fd9734744201e9b0a1119d'
sha256sums=('885c948a84a58bca4148f459588f9a7369dbb40dcc466f04e455c6b10fd0aa48'
'SKIP'
'b8238b74179f7e1626db2b637671ddc17288a1c5b7692954ae6d2fbb1be3788d'
'8e1b6aa59cf5539b9da13cfec217b3ca7b6c32e08df3b0a204901ed2891b2ded')
@ -62,11 +63,11 @@ check() {
package_nfs-utils() {
pkgdesc="Support programs for Network File Systems"
license=('GPL2')
backup=(etc/{exports,nfs.conf,nfsmount.conf}
var/lib/nfs/{etab,rmtab})
depends=('rpcbind' 'nfsidmap' 'gssproxy' 'libevent' 'device-mapper')
depends=('rpcbind' 'nfsidmap' 'gssproxy' 'libevent' 'device-mapper'
'libxml2' 'libtirpc' 'e2fsprogs' 'keyutils' 'util-linux-libs'
'krb5' 'libcap' 'gcc-libs' 'glibc' 'sh')
optdepends=('sqlite: for nfsdcltrack and fsidd usage'
'python: for rpcctl, nfsiostat, nfsdclnts and mountstats usage')
@ -109,9 +110,8 @@ package_nfs-utils() {
package_nfsidmap() {
pkgdesc="Library to help mapping IDs, mainly for NFSv4"
license=('GPL2')
backup=(etc/idmapd.conf)
depends=('libldap' 'krb5')
depends=('libldap' 'krb5' 'glibc')
cd "${pkgbase}"-${pkgver}
make -C support DESTDIR="$pkgdir" install

View file

@ -1,23 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
fe1f0fb3980d12e94c19ad20bfab5db71594c22f0bb601f11ae4ad6cf35c2993 2.6.3-Changelog
d90d6c9c140d576682dda3d2c56982f6830e35d830655e0db5eebe45926523f5 nfs-utils-2.6.3.tar.gz
38d89e853a71d3c560ff026af3d969d75e24f782ff68324e76261fe0344459e1 nfs-utils-2.6.3.tar.xz
55747d3d39f1b59e1fff5d15f9a2265acb3871d4c7acb48b72ea1b0e57b93c91 2.7.1-Changelog
1ad1808bd1b18635d21e0f5eb3fa7a3c27954540dece301b82531e0634e464a7 nfs-utils-2.7.1.tar.gz
885c948a84a58bca4148f459588f9a7369dbb40dcc466f04e455c6b10fd0aa48 nfs-utils-2.7.1.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBCAAGBQJkQB2RAAoJEGMtOgZYnaaxxP4QAJ5UnTbifX6fpWd9G7d0gjh1
NZZiQseS50b44+VtNPL/MVj89msmw91JWFqdI3MYCXwKbfE4pXZmcNqLX57fwtS3
ttFrBbFaXUztdCfBswzJQKIgAMrCF/lakPcf7CQMEHl6hupvil6q5pIdaqy6I5x1
3BxmQCgOe/ITnwuy+eZCiWFQbnqr/ewXTxjCRIzWYrrE3dyyswpwc9kJauFx6nAt
cq5t/dD61c9RYijebC0Afe1W+TbP47mmQoBPMEBBJwnlhfBiPB9ew76V9P7ZOzLP
qOhiE4HoNaEspquNNwxjPcvQjzcsSCHEBvn4jO3joDKK+9SfKPEZK4L0Ty2cfL5b
SoWj0VKCi+titOkDA2K25hsJ0w71dlayvngCU43lFC0ZY4MIl3NdfFh9rdE86/7y
axtJNx5z7uqB1KalNmMg3HgyKe93zl3tVjk75HLPEbzMq0H77bIpYcEyyYR/ZFYO
Ual9vdmVitcKfzi6T9/lYYei3mZ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