[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Monday, September 7, 2020 @ 12:32:47 Author: eworm Revision: 395540 upgpkg: kmod 27-2: rebuild Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-09-07 12:02:27 UTC (rev 395539) +++ PKGBUILD2020-09-07 12:32:47 UTC (rev 395540) @@ -2,7 +2,7 @@ pkgname=kmod pkgver=27 -pkgrel=1 +pkgrel=2 pkgdesc="Linux kernel module management tools and library" arch=('x86_64') url='https://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary'
[arch-commits] Commit in kmod/trunk (PKGBUILD depmod.hook)
Date: Saturday, February 22, 2020 @ 20:35:43 Author: heftig Revision: 376059 alpm-hooks should use Type = Path, not File Modified: kmod/trunk/PKGBUILD kmod/trunk/depmod.hook -+ PKGBUILD|2 +- depmod.hook |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-02-22 20:34:13 UTC (rev 376058) +++ PKGBUILD2020-02-22 20:35:43 UTC (rev 376059) @@ -21,7 +21,7 @@ md5sums=('3973a74786670d3062d89a827e266581' 'SKIP' 'dd62cbf62bd8f212f51ef8c43bec9a77' - '72ce5e14ee3ad8bc06945e0ad4c642ce' + 'e179ace75721e92b04b2e145b69dab29' '18fb3d1f6024a5a84514c8276cb3ebff') build() { Modified: depmod.hook === --- depmod.hook 2020-02-22 20:34:13 UTC (rev 376058) +++ depmod.hook 2020-02-22 20:35:43 UTC (rev 376059) @@ -1,5 +1,5 @@ [Trigger] -Type = File +Type = Path Operation = Install Operation = Upgrade Operation = Remove
[arch-commits] Commit in kmod/trunk (PKGBUILD depmod.hook depmod.script)
Date: Tuesday, October 29, 2019 @ 00:45:52 Author: grazzolini Revision: 365986 upgpkg: kmod 26-3 Add a new pacman hook that runs depmod for the kernels, instead of having the hooks on each kernel. Added: kmod/trunk/depmod.hook kmod/trunk/depmod.script Modified: kmod/trunk/PKGBUILD ---+ PKGBUILD | 11 +-- depmod.hook | 13 + depmod.script |9 + 3 files changed, 31 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-10-28 21:20:49 UTC (rev 365985) +++ PKGBUILD2019-10-29 00:45:52 UTC (rev 365986) @@ -2,7 +2,7 @@ pkgname=kmod pkgver=26 -pkgrel=2 +pkgrel=3 pkgdesc="Linux kernel module management tools and library" arch=('x86_64') url='https://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary' @@ -16,11 +16,14 @@ replaces=('module-init-tools') validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi source=("https://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign} -"depmod-search.conf" +'depmod-search.conf' +'depmod.hook' 'depmod.script' '0001-Link-against-libcrypto-not-all-of-openssl.patch') md5sums=('1129c243199bdd7db01b55a61aa19601' 'SKIP' 'dd62cbf62bd8f212f51ef8c43bec9a77' + '72ce5e14ee3ad8bc06945e0ad4c642ce' + '18fb3d1f6024a5a84514c8276cb3ebff' 'e918bef174c1057fa13a5ba8c4a30a46') prepare() { @@ -75,6 +78,10 @@ # install depmod.d file for search/ dir install -Dm644 "$srcdir/depmod-search.conf" "$pkgdir/usr/lib/depmod.d/search.conf" + + # hook + install -Dm644 "$srcdir/depmod.hook" "$pkgdir/usr/share/libalpm/hooks/60-depmod.hook" + install -Dm755 "$srcdir/depmod.script" "$pkgdir/usr/share/libalpm/scripts/depmod" } # vim: ft=sh syn=sh et Added: depmod.hook === --- depmod.hook (rev 0) +++ depmod.hook 2019-10-29 00:45:52 UTC (rev 365986) @@ -0,0 +1,13 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +Operation = Remove +Target = usr/lib/modules/*/ +Target = !usr/lib/modules/*/?* + +[Action] +Description = Updating module dependencies... +When = PostTransaction +Exec = /usr/share/libalpm/scripts/depmod +NeedsTargets Added: depmod.script === --- depmod.script (rev 0) +++ depmod.script 2019-10-29 00:45:52 UTC (rev 365986) @@ -0,0 +1,9 @@ +#!/bin/bash + +while read -r f; do + if [[ -e ${f}vmlinuz ]]; then +depmod $(basename "$f") + fi +done + +# vim:set ft=sh sw=2 et:
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Friday, February 8, 2019 @ 16:10:37 Author: dreisner Revision: 345653 upgpkg: kmod 26-1 - add openssl as dependency for new sig-parsing features Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-02-08 16:09:34 UTC (rev 345652) +++ PKGBUILD2019-02-08 16:10:37 UTC (rev 345653) @@ -1,7 +1,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=25 +pkgver=26 pkgrel=1 pkgdesc="Linux kernel module management tools and library" arch=('x86_64') @@ -17,7 +17,7 @@ validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi source=("https://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign} "depmod-search.conf") -md5sums=('34f325cab568f842fdde4f8b2182f220' +md5sums=('1129c243199bdd7db01b55a61aa19601' 'SKIP' 'dd62cbf62bd8f212f51ef8c43bec9a77') @@ -29,7 +29,8 @@ --sysconfdir=/etc \ --enable-gtk-doc \ --with-xz \ ---with-zlib +--with-zlib \ +--with-openssl make }
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Sunday, May 20, 2018 @ 11:23:16 Author: dreisner Revision: 324620 upgpkg: kmod 25-1 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-05-20 09:41:28 UTC (rev 324619) +++ PKGBUILD2018-05-20 11:23:16 UTC (rev 324620) @@ -2,7 +2,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=24 +pkgver=25 pkgrel=1 pkgdesc="Linux kernel module management tools and library" arch=('x86_64') @@ -18,7 +18,7 @@ validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi source=("https://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign} "depmod-search.conf") -md5sums=('08297dfb6f2b3f625f928ca3278528af' +md5sums=('34f325cab568f842fdde4f8b2182f220' 'SKIP' 'dd62cbf62bd8f212f51ef8c43bec9a77')
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Friday, November 24, 2017 @ 22:29:46 Author: jelle Revision: 310832 Update source to https://www.kernel.org ftp:// is dead Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-11-24 20:14:02 UTC (rev 310831) +++ PKGBUILD2017-11-24 22:29:46 UTC (rev 310832) @@ -16,7 +16,7 @@ conflicts=('module-init-tools') replaces=('module-init-tools') validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi -source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign} +source=("https://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign} "depmod-search.conf") md5sums=('08297dfb6f2b3f625f928ca3278528af' 'SKIP'
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Friday, February 24, 2017 @ 14:07:43 Author: eworm Revision: 289483 upgpkg: kmod 24-1 new upstream release Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-02-24 13:15:52 UTC (rev 289482) +++ PKGBUILD2017-02-24 14:07:43 UTC (rev 289483) @@ -2,7 +2,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=23 +pkgver=24 pkgrel=1 pkgdesc="Linux kernel module management tools and library" arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign} "depmod-search.conf") -md5sums=('3cf469f40ec2ed51f56ba45ea03793e7' +md5sums=('08297dfb6f2b3f625f928ca3278528af' 'SKIP' 'dd62cbf62bd8f212f51ef8c43bec9a77')
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Wednesday, July 20, 2016 @ 15:30:24 Author: dreisner Revision: 272073 upgpkg: kmod 23-1 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-20 15:21:11 UTC (rev 272072) +++ PKGBUILD2016-07-20 15:30:24 UTC (rev 272073) @@ -2,7 +2,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=22 +pkgver=23 pkgrel=1 pkgdesc="Linux kernel module management tools and library" arch=('i686' 'x86_64') @@ -10,7 +10,7 @@ license=('GPL2') depends=('glibc' 'zlib' 'xz') makedepends=('gtk-doc') -checkdepends=('linux-headers') +checkdepends=('linux-headers' 'libelf') options=('strip' 'debug') provides=('module-init-tools=3.16' 'libkmod.so') conflicts=('module-init-tools') @@ -18,7 +18,7 @@ validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign} "depmod-search.conf") -md5sums=('4371b847f3fbfaa4e9aa890ad616748f' +md5sums=('3cf469f40ec2ed51f56ba45ea03793e7' 'SKIP' 'dd62cbf62bd8f212f51ef8c43bec9a77')
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Saturday, June 13, 2015 @ 15:55:08 Author: dreisner Revision: 240728 upgpkg: kmod 21-1 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-06-13 11:40:22 UTC (rev 240727) +++ PKGBUILD2015-06-13 13:55:08 UTC (rev 240728) @@ -2,7 +2,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=20 +pkgver=21 pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign} "depmod-search.conf") -md5sums=('d6f4fef718a50bd88080de6a43bc64d8' +md5sums=('ee246fab2e1cba9fbdcad6a86ec31531' 'SKIP' 'dd62cbf62bd8f212f51ef8c43bec9a77')
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Sunday, March 1, 2015 @ 19:58:25 Author: dreisner Revision: 232390 upgpkg: kmod 20-1 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-03-01 17:44:50 UTC (rev 232389) +++ PKGBUILD2015-03-01 18:58:25 UTC (rev 232390) @@ -2,7 +2,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=19 +pkgver=20 pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') @@ -10,13 +10,16 @@ license=('GPL2') depends=('glibc' 'zlib' 'xz') makedepends=('gtk-doc') +checkdepends=('linux-headers') options=('strip' 'debug') provides=('module-init-tools=3.16' 'libkmod.so') conflicts=('module-init-tools') replaces=('module-init-tools') -source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"; -"depmod-search.conf") -md5sums=('a08643f814aa4efc12211c6e5909f4d9' +validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi +source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign} +"depmod-search.conf") +md5sums=('d6f4fef718a50bd88080de6a43bc64d8' + 'SKIP' 'dd62cbf62bd8f212f51ef8c43bec9a77') @@ -33,7 +36,22 @@ } check() { - make -C "$pkgname-$pkgver" check + # As of kmod v20, the test suite needs to build some kernel modules, and thus + # needs headers available in order to run. We depend on linux-headers, but + # this is really only to try and make sure that *some* useable tree of kernel + # headers exist. The first useable tree we find is good enough, as these + # modules will never be loaded by tests. + + local kdirs=(/usr/lib/modules/*/build/Makefile) + if [[ ! -f ${kdirs[0]} ]]; then +printf '==> Unable to find kernel headers to build modules for tests\n' >&2 +return 1 + fi + + local kver kdir=${kdirs[0]%/Makefile} + IFS=/ read _ _ _ kver _ <<<"$kdir" + + make -C "$pkgname-$pkgver" check KDIR="$kdir" KVER="$kver" } package() {
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Saturday, June 14, 2014 @ 19:39:30 Author: dreisner Revision: 215140 upgpkg: kmod 18-1 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-06-14 17:13:04 UTC (rev 215139) +++ PKGBUILD2014-06-14 17:39:30 UTC (rev 215140) @@ -2,7 +2,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=17 +pkgver=18 pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ replaces=('module-init-tools') source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"; "depmod-search.conf") -md5sums=('bc36d28b12dcb2b664a35411560c5610' +md5sums=('82835c7f01983634e06ca72b4ee30cc6' 'dd62cbf62bd8f212f51ef8c43bec9a77') build() {
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Monday, April 7, 2014 @ 14:39:44 Author: dreisner Revision: 209866 upgpkg: kmod 17-1 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-04-07 12:32:47 UTC (rev 209865) +++ PKGBUILD2014-04-07 12:39:44 UTC (rev 209866) @@ -2,7 +2,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=16 +pkgver=17 pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ replaces=('module-init-tools') source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"; "depmod-search.conf") -md5sums=('3006a0287211212501cdfe1211b29f09' +md5sums=('bc36d28b12dcb2b664a35411560c5610' 'dd62cbf62bd8f212f51ef8c43bec9a77') build() {
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Monday, December 23, 2013 @ 00:49:43 Author: dreisner Revision: 202633 upgpkg: kmod 16-1 - add debug pkg (hosted elsewhere) Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-12-22 22:43:06 UTC (rev 202632) +++ PKGBUILD2013-12-22 23:49:43 UTC (rev 202633) @@ -2,7 +2,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=15 +pkgver=16 pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') @@ -10,12 +10,13 @@ license=('GPL2') depends=('glibc' 'zlib') makedepends=('gtk-doc') +options=('strip' 'debug') provides=('module-init-tools=3.16' 'libkmod.so') conflicts=('module-init-tools') replaces=('module-init-tools') source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"; "depmod-search.conf") -md5sums=('d03372179ed2cfa0c52b6672cf438901' +md5sums=('3006a0287211212501cdfe1211b29f09' 'dd62cbf62bd8f212f51ef8c43bec9a77') build() {
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Thursday, August 22, 2013 @ 16:09:57 Author: dreisner Revision: 193528 upgpkg: kmod 15-1 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-08-22 11:59:31 UTC (rev 193527) +++ PKGBUILD2013-08-22 14:09:57 UTC (rev 193528) @@ -2,7 +2,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=14 +pkgver=15 pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ replaces=('module-init-tools') source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"; "depmod-search.conf") -md5sums=('38009d0d6f10678a3ec22ccd29210d13' +md5sums=('d03372179ed2cfa0c52b6672cf438901' 'dd62cbf62bd8f212f51ef8c43bec9a77') build() {
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Wednesday, July 3, 2013 @ 19:51:56 Author: dreisner Revision: 189628 upgpkg: kmod 14-1 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-07-03 17:08:48 UTC (rev 189627) +++ PKGBUILD2013-07-03 17:51:56 UTC (rev 189628) @@ -2,8 +2,8 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=13 -pkgrel=2 +pkgver=14 +pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') url='http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary' @@ -16,7 +16,7 @@ replaces=('module-init-tools') source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"; "depmod-search.conf") -md5sums=('d5aba43b9370cd52f3cb35e82a1aa595' +md5sums=('38009d0d6f10678a3ec22ccd29210d13' 'dd62cbf62bd8f212f51ef8c43bec9a77') build() {
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Thursday, May 30, 2013 @ 14:31:06 Author: dreisner Revision: 18 upgpkg: kmod 13-2 - move symlinks to /usr/bin Modified: kmod/trunk/PKGBUILD --+ PKGBUILD | 12 1 file changed, 4 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-30 12:26:35 UTC (rev 186665) +++ PKGBUILD2013-05-30 12:31:06 UTC (rev 18) @@ -3,7 +3,7 @@ pkgname=kmod pkgver=13 -pkgrel=1 +pkgrel=2 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') url='http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary' @@ -11,7 +11,7 @@ depends=('glibc' 'zlib') makedepends=('gtk-doc') options=('!libtool') -provides=('module-init-tools=3.16') +provides=('module-init-tools=3.16' 'libkmod.so') conflicts=('module-init-tools') replaces=('module-init-tools') source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"; @@ -38,13 +38,9 @@ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install # extra directories - install -dm755 "$pkgdir"/{etc,usr/lib}/{depmod,modprobe}.d "$pkgdir/sbin" + install -dm755 "$pkgdir"/{etc,usr/lib}/{depmod,modprobe}.d - # add symlinks to kmod - ln -s ../usr/bin/kmod "$pkgdir/sbin/modprobe" - ln -s ../usr/bin/kmod "$pkgdir/sbin/depmod" - - for tool in {ins,ls,rm}mod modinfo; do + for tool in {ins,ls,rm,dep}mod mod{probe,info}; do ln -s kmod "$pkgdir/usr/bin/$tool" done
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Wednesday, April 10, 2013 @ 15:44:36 Author: dreisner Revision: 182420 upgpkg: kmod 13-1 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-04-10 13:31:59 UTC (rev 182419) +++ PKGBUILD2013-04-10 13:44:36 UTC (rev 182420) @@ -2,7 +2,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=12 +pkgver=13 pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ replaces=('module-init-tools') source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"; "depmod-search.conf") -md5sums=('3d63b146c8ee5a04dfbef4be97f8226b' +md5sums=('d5aba43b9370cd52f3cb35e82a1aa595' 'dd62cbf62bd8f212f51ef8c43bec9a77') build() {
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Thursday, November 15, 2012 @ 10:48:16 Author: dreisner Revision: 171031 tests all pass, dont mask errors Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-11-15 14:34:29 UTC (rev 171030) +++ PKGBUILD2012-11-15 15:48:16 UTC (rev 171031) @@ -31,8 +31,7 @@ } check() { - # testsuite is broken on 32-bit because of an unhandled EEXIST on mkdir_p - make -C "$pkgname-$pkgver" check || : + make -C "$pkgname-$pkgver" check } package() {
[arch-commits] Commit in kmod/trunk (PKGBUILD kmod.install)
Date: Friday, September 7, 2012 @ 09:56:29 Author: dreisner Revision: 166389 upgpkg: kmod 10-1 - remove rootprefix - add gtk-doc Modified: kmod/trunk/PKGBUILD Deleted: kmod/trunk/kmod.install --+ PKGBUILD | 12 ++-- kmod.install |9 - 2 files changed, 6 insertions(+), 15 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-09-07 13:33:52 UTC (rev 166388) +++ PKGBUILD2012-09-07 13:56:29 UTC (rev 166389) @@ -2,21 +2,21 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=9 -pkgrel=2 +pkgver=10 +pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') url='http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary' license=('GPL2') depends=('glibc' 'zlib') +makedepends=('gtk-doc') options=('!libtool') provides=('module-init-tools=3.16') conflicts=('module-init-tools') replaces=('module-init-tools') -install=kmod.install source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"; "depmod-search.conf") -md5sums=('c8ae2d2694fbca2b28e238b30543a0cd' +md5sums=('e2a883c4df15a50f78a7a61d5b64089f' 'dd62cbf62bd8f212f51ef8c43bec9a77') build() { @@ -24,8 +24,8 @@ ./configure \ --sysconfdir=/etc \ ---with-zlib \ ---with-rootprefix=/usr +--enable-gtk-doc \ +--with-zlib make } Deleted: kmod.install === --- kmod.install2012-09-07 13:33:52 UTC (rev 166388) +++ kmod.install2012-09-07 13:56:29 UTC (rev 166389) @@ -1,9 +0,0 @@ -#!/bin/sh - -post_upgrade() { - if [ "$(vercmp 9-2 "$2")" -eq 1 ]; then -echo "==> Kernel modules are now only read from /usr/lib/modules, all custom" -echo "built kernels and modules must be moved there before rebooting." - fi -} -
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Thursday, April 19, 2012 @ 19:16:55 Author: dreisner Revision: 156502 upgpkg: kmod 8-1 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-04-19 23:08:56 UTC (rev 156501) +++ PKGBUILD2012-04-19 23:16:55 UTC (rev 156502) @@ -2,8 +2,8 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=7 -pkgrel=2 +pkgver=8 +pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') url='http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary' @@ -17,7 +17,7 @@ "depmod-search.conf" "0001-split-usr-read-configs-from-lib-depmod.d-modprobe.d.patch" "0002-config-hardcode-the-path-to-modules-to-be-lib-module.patch") -md5sums=('7bd916ae1c8a38e7697fdd8118bc98eb' +md5sums=('d4e3d038b5370b1e8ff237c55666aa64' 'dd62cbf62bd8f212f51ef8c43bec9a77' 'ba73b9e98db1abbf41274f922fcfbd55' 'c9af56636c5667cf4ce3a31ea56e03d9')
[arch-commits] Commit in kmod/trunk (PKGBUILD depmod-search.conf)
Date: Monday, March 19, 2012 @ 08:36:16 Author: dreisner Revision: 153750 upgpkg: kmod 7-1 - remove --with-rootprefix config option (should be a NOOP, but isn't, and breaks the test suite in a chroot) - fix header in search.conf Modified: kmod/trunk/PKGBUILD kmod/trunk/depmod-search.conf + PKGBUILD |6 +++--- depmod-search.conf |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-03-19 11:14:51 UTC (rev 153749) +++ PKGBUILD2012-03-19 12:36:16 UTC (rev 153750) @@ -2,7 +2,7 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=6 +pkgver=7 pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') @@ -15,8 +15,8 @@ replaces=('module-init-tools') source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"; "depmod-search.conf") -md5sums=('bad08102fad212cd34405136d9a7eb94' - '4b8cbcbc54b9029c99fd730e257d4436') +md5sums=('7bd916ae1c8a38e7697fdd8118bc98eb' + '09d8af2ba37c5902d904275cb27f1b09') build() { cd "$pkgname-$pkgver" Modified: depmod-search.conf === --- depmod-search.conf 2012-03-19 11:14:51 UTC (rev 153749) +++ depmod-search.conf 2012-03-19 12:36:16 UTC (rev 153750) @@ -1,5 +1,5 @@ # -# /lib/depmod.d/depmod.conf +# /lib/depmod.d/search.conf # search updates extramodules built-in
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Wednesday, February 15, 2012 @ 19:05:05 Author: dreisner Revision: 150254 upgpkg: kmod 5-4 - move depmod symlink back to /sbin until kernel is patched Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-02-16 00:02:19 UTC (rev 150253) +++ PKGBUILD2012-02-16 00:05:05 UTC (rev 150254) @@ -3,7 +3,7 @@ pkgname=kmod pkgver=5 -pkgrel=3 +pkgrel=4 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') url="http://git.profusion.mobi/cgit.cgi/kmod.git"; @@ -51,7 +51,9 @@ # add symlinks to kmod ln -s ../usr/bin/kmod "$pkgdir/sbin/modprobe" - for tool in {dep,ins,ls,rm}mod modinfo; do + ln -s ../usr/bin/kmod "$pkgdir/sbin/depmod" + + for tool in {ins,ls,rm}mod modinfo; do ln -s kmod "$pkgdir/usr/bin/$tool" done
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Sunday, February 12, 2012 @ 18:22:30 Author: dreisner Revision: 150122 remove debug build flags Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2012-02-12 22:43:39 UTC (rev 150121) +++ PKGBUILD2012-02-12 23:22:30 UTC (rev 150122) @@ -26,7 +26,7 @@ # fix modprobe --show-depends failures on loaded modules patch -Np1 <"$srcdir/0001-libkmod-module-probe-Fix-ignore-loaded-flag-not-bein.patch" - CFLAGS+=' -g -O0' ./configure \ + ./configure \ --sysconfdir=/etc \ --with-rootprefix= \ --with-zlib
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Monday, January 16, 2012 @ 14:19:14 Author: dreisner Revision: 146696 upgpkg: kmod 4-1 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-01-16 19:04:05 UTC (rev 146695) +++ PKGBUILD2012-01-16 19:19:14 UTC (rev 146696) @@ -2,9 +2,8 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=3 -pkgrel=6 -_snapdt=20120112 +pkgver=4 +pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') url="http://git.profusion.mobi/cgit.cgi/kmod.git"; @@ -15,21 +14,17 @@ provides=('module-init-tools=3.16') conflicts=('module-init-tools') replaces=('module-init-tools') -options=('!strip') -source=(#"http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz"; - "ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.$_snapdt.tar.xz"; +source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz"; "depmod-search.conf") -md5sums=('78252871325d3950bb132cde81c488b0' +md5sums=('e14450a066a48accd0af1995b3c0232d' '4b8cbcbc54b9029c99fd730e257d4436') build() { cd "$pkgname-$pkgver" - CFLAGS+=' -g' ./configure \ + ./configure \ --sysconfdir=/etc \ ---enable-debug \ --with-rootprefix= \ ---with-rootlibdir=/lib \ --with-zlib make
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Thursday, January 12, 2012 @ 18:16:37 Author: dreisner Revision: 146548 add docbook2x as makedep Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |1 + 1 file changed, 1 insertion(+) Modified: PKGBUILD === --- PKGBUILD2012-01-12 21:46:06 UTC (rev 146547) +++ PKGBUILD2012-01-12 23:16:37 UTC (rev 146548) @@ -10,6 +10,7 @@ url="http://git.profusion.mobi/cgit.cgi/kmod.git"; license=('GPL2') depends=('glibc' 'zlib') +makedepends=('docbook2x') options=('!libtool') provides=('module-init-tools=3.16') conflicts=('module-init-tools')
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Friday, January 6, 2012 @ 05:56:25 Author: dreisner Revision: 146224 upgpkg: kmod 3-4 - fix sysconfdir configure path Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2012-01-06 10:32:50 UTC (rev 146223) +++ PKGBUILD2012-01-06 10:56:25 UTC (rev 146224) @@ -3,7 +3,7 @@ pkgname=kmod pkgver=3 -pkgrel=3 +pkgrel=4 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') url="http://git.profusion.mobi/cgit.cgi/kmod.git"; @@ -26,6 +26,7 @@ patch -Np1 <"$srcdir/return-non-zero-on-fail.patch" ./configure \ +--sysconfdir=/etc \ --with-rootprefix= \ --with-rootlibdir=/lib \ --with-zlib
[arch-commits] Commit in kmod/trunk (PKGBUILD return-non-zero-on-fail.patch)
Date: Thursday, January 5, 2012 @ 23:24:13 Author: dreisner Revision: 146215 upgpkg: kmod 3-3 - backport upstream patches to correct exit codes - fix depmod.d config dir creation Added: kmod/trunk/return-non-zero-on-fail.patch Modified: kmod/trunk/PKGBUILD ---+ PKGBUILD | 12 return-non-zero-on-fail.patch | 30 ++ 2 files changed, 38 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-01-06 04:08:36 UTC (rev 146214) +++ PKGBUILD2012-01-06 04:24:13 UTC (rev 146215) @@ -3,7 +3,7 @@ pkgname=kmod pkgver=3 -pkgrel=2 +pkgrel=3 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') url="http://git.profusion.mobi/cgit.cgi/kmod.git"; @@ -14,13 +14,17 @@ conflicts=('module-init-tools') replaces=('module-init-tools') source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz"; -"depmod-search.conf") +"depmod-search.conf" +"return-non-zero-on-fail.patch") md5sums=('bc0e69f75c2ac22c091f05e166e86c5d' - '4b8cbcbc54b9029c99fd730e257d4436') + '4b8cbcbc54b9029c99fd730e257d4436' + '4be6f783a7fc2d1747ccaa2536d2e88f') build() { cd "$pkgname-$pkgver" + patch -Np1 <"$srcdir/return-non-zero-on-fail.patch" + ./configure \ --with-rootprefix= \ --with-rootlibdir=/lib \ @@ -40,7 +44,7 @@ install -dm755 "$pkgdir"/{,s}bin # configuration directories - install -dm755 "$pkgdir"/{etc,usr/lib}/{depmod,modprobe}.d + install -dm755 "$pkgdir"/{etc,lib}/{depmod,modprobe}.d # add symlinks to kmod ln -s /usr/bin/kmod "$pkgdir/bin/lsmod" Added: return-non-zero-on-fail.patch === --- return-non-zero-on-fail.patch (rev 0) +++ return-non-zero-on-fail.patch 2012-01-06 04:24:13 UTC (rev 146215) @@ -0,0 +1,30 @@ +diff --git a/tools/kmod-modinfo.c b/tools/kmod-modinfo.c +index b6af26f..8506193 100644 +--- a/tools/kmod-modinfo.c b/tools/kmod-modinfo.c +@@ -279,6 +279,12 @@ static int modinfo_alias_do(struct kmod_ctx *ctx, const char *alias) + LOG("Module alias %s not found.\n", alias); + return err; + } ++ ++ if (list == NULL) { ++ LOG("Module %s not found.\n", alias); ++ return -ENOENT; ++ } ++ + kmod_list_foreach(l, list) { + struct kmod_module *mod = kmod_module_get_module(l); + int r = modinfo_do(mod); +diff --git a/tools/kmod-modprobe.c b/tools/kmod-modprobe.c +index 8286b9b..6ca94f2 100644 +--- a/tools/kmod-modprobe.c b/tools/kmod-modprobe.c +@@ -856,7 +856,7 @@ static int insmod_alias(struct kmod_ctx *ctx, const char *alias, const char *ext + + if (list == NULL) { + LOG("Module %s not found.\n", alias); +- return err; ++ return -ENOENT; + } + + if (use_blacklist) {
[arch-commits] Commit in kmod/trunk (PKGBUILD kmod.install)
Date: Thursday, January 5, 2012 @ 21:35:57 Author: dreisner Revision: 146203 upgpkg: kmod 3-2 remove install scriptlet Modified: kmod/trunk/PKGBUILD Deleted: kmod/trunk/kmod.install --+ PKGBUILD |3 +-- kmod.install | 10 -- 2 files changed, 1 insertion(+), 12 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-01-06 00:42:46 UTC (rev 146202) +++ PKGBUILD2012-01-06 02:35:57 UTC (rev 146203) @@ -3,7 +3,7 @@ pkgname=kmod pkgver=3 -pkgrel=1 +pkgrel=2 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') url="http://git.profusion.mobi/cgit.cgi/kmod.git"; @@ -15,7 +15,6 @@ replaces=('module-init-tools') source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz"; "depmod-search.conf") -install='kmod.install' md5sums=('bc0e69f75c2ac22c091f05e166e86c5d' '4b8cbcbc54b9029c99fd730e257d4436') Deleted: kmod.install === --- kmod.install2012-01-06 00:42:46 UTC (rev 146202) +++ kmod.install2012-01-06 02:35:57 UTC (rev 146203) @@ -1,10 +0,0 @@ -#!/bin/sh - -post_upgrade() { - echo "Updating module dependency files" - depmod -A -} - -post_install() { - post_upgrade -}
[arch-commits] Commit in kmod/trunk (PKGBUILD depmod-search.conf kmod.install)
Date: Thursday, January 5, 2012 @ 19:39:06 Author: dreisner Revision: 146199 upgpkg: kmod 3-1 Added: kmod/trunk/depmod-search.conf kmod/trunk/kmod.install Modified: kmod/trunk/PKGBUILD + PKGBUILD | 37 +++-- depmod-search.conf |5 + kmod.install | 10 ++ 3 files changed, 46 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-01-06 00:36:54 UTC (rev 146198) +++ PKGBUILD2012-01-06 00:39:06 UTC (rev 146199) @@ -2,21 +2,31 @@ # Maintainer: Dave Reisner pkgname=kmod -pkgver=2 -pkgrel=2 -pkgdesc="A set of tools to handle common tasks with Linux kernel modules" +pkgver=3 +pkgrel=1 +pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') url="http://git.profusion.mobi/cgit.cgi/kmod.git"; license=('GPL2') depends=('glibc' 'zlib') options=('!libtool') -source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz";) -md5sums=('6017364434377f6724f749d7a28c5d7a') +provides=('module-init-tools=3.16') +conflicts=('module-init-tools') +replaces=('module-init-tools') +source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz"; +"depmod-search.conf") +install='kmod.install' +md5sums=('bc0e69f75c2ac22c091f05e166e86c5d' + '4b8cbcbc54b9029c99fd730e257d4436') build() { cd "$pkgname-$pkgver" - ./configure --enable-zlib + ./configure \ +--with-rootprefix= \ +--with-rootlibdir=/lib \ +--with-zlib + make } @@ -26,6 +36,21 @@ package() { make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install + + # binary directories + install -dm755 "$pkgdir"/{,s}bin + + # configuration directories + install -dm755 "$pkgdir"/{etc,usr/lib}/{depmod,modprobe}.d + + # add symlinks to kmod + ln -s /usr/bin/kmod "$pkgdir/bin/lsmod" + for tool in {ins,rm,dep}mod mod{info,probe}; do +ln -s ../usr/bin/kmod "$pkgdir/sbin/$tool" + done + + # install depmod.d file for search/ dir + install -Dm644 "$srcdir/depmod-search.conf" "$pkgdir/lib/depmod.d/search.conf" } # vim: ft=sh syn=sh et Added: depmod-search.conf === --- depmod-search.conf (rev 0) +++ depmod-search.conf 2012-01-06 00:39:06 UTC (rev 146199) @@ -0,0 +1,5 @@ +# +# /etc/depmod.d/depmod.conf +# + +search updates extramodules built-in Added: kmod.install === --- kmod.install(rev 0) +++ kmod.install2012-01-06 00:39:06 UTC (rev 146199) @@ -0,0 +1,10 @@ +#!/bin/sh + +post_upgrade() { + echo "Updating module dependency files" + depmod -A +} + +post_install() { + post_upgrade +}
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Tuesday, December 20, 2011 @ 21:42:37 Author: dreisner Revision: 145284 upgpkg: kmod 2-2 Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2011-12-21 02:41:54 UTC (rev 145283) +++ PKGBUILD2011-12-21 02:42:37 UTC (rev 145284) @@ -3,7 +3,7 @@ pkgname=kmod pkgver=2 -pkgrel=1 +pkgrel=2 pkgdesc="A set of tools to handle common tasks with Linux kernel modules" arch=('i686' 'x86_64') url="http://git.profusion.mobi/cgit.cgi/kmod.git";
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Tuesday, December 20, 2011 @ 21:41:54 Author: dreisner Revision: 145283 move libdir to /usr/lib Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2011-12-21 02:27:58 UTC (rev 145282) +++ PKGBUILD2011-12-21 02:41:54 UTC (rev 145283) @@ -16,7 +16,7 @@ build() { cd "$pkgname-$pkgver" - ./configure --libdir=/lib --enable-zlib + ./configure --enable-zlib make }
[arch-commits] Commit in kmod/trunk (PKGBUILD)
Date: Tuesday, December 20, 2011 @ 21:27:58 Author: dreisner Revision: 145282 tidy up pkgurl and desc Modified: kmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-12-21 02:17:47 UTC (rev 145281) +++ PKGBUILD2011-12-21 02:27:58 UTC (rev 145282) @@ -4,9 +4,9 @@ pkgname=kmod pkgver=2 pkgrel=1 -pkgdesc="interface to kernel module operations" +pkgdesc="A set of tools to handle common tasks with Linux kernel modules" arch=('i686' 'x86_64') -url="http://git.profusion.mobi/cgit.cgi/lucas/kmod/"; +url="http://git.profusion.mobi/cgit.cgi/kmod.git"; license=('GPL2') depends=('glibc' 'zlib') options=('!libtool')