SHA256
1
0
forked from pool/kmod

Accepting request 141315 from Base:System

- Update to kmod-11
* Fix testsuite defining symbols twice on 32 bit systems
* Allow to check generated files against correct ones
* libkmod now keeps a file opened after the first call to
* kmod_module_get_{info,versions,symbols,dependency_symbols}. This
  reduces signficantly the amount of time depmod tool takes to
  execute. Particularly if compressed modules are used.
* Remove --with-rootprefix from build system. It was not a great
  idea after all and should not be use since it causes more harm
  than benefits.
* Hide --wait option on rmmod. This feature is being targeted for
  removal from kernel. rmmod still accepts this option, but it is
  hidden now: man page and usage() says nothing about it and if
  it is used, user will get a 10s sleep. This way we can check and
  help if anyone is using this feature.
* Refactor message logging on all tools, giving proper prefix,
  routing everything to syslog when asked for, etc.
* Fix parsing of modules.order when using compressed modules
* Usage messages go to stdout instead of stderr
* Fix memory leak in hash implementation

OBS-URL: https://build.opensuse.org/request/show/141315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kmod?expand=0&rev=12
This commit is contained in:
Stephan Kulow 2012-11-15 09:57:46 +00:00 committed by Git OBS Bridge
commit d0c39a5aae
6 changed files with 48 additions and 23 deletions

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAABAgAGBQJQSPkjAAoJEJuipaYwy+pTaEIP/jmc3hTYUDc8oo6Fiu2rBPX+
uIHqUWCHc20+UUlqBgd4py7T8MO7WbeJjrtoTOYouCenoN2H4BmOJ1AXXvCebYUy
I/GtiNqyFiylRBaGedHgedAOmNNU7H+DUTCJb86VkKsgdfSyIKChqghQX/wR8+6h
coQikuHnUPCjlfKQ68vpGsjigHvPhDdWaZXkcoB6HLN3P0C1K2ygYmcFBBZWgp8h
Y73tFmTbZ6pSi3ryhE5o9d6t4jTIoWDG6Gbi/Z8mKV1XFki7Sqmn8MCVLGZnY5wd
4vw2WU1CvMYsaoKHnTVlnY4uDwafKYI+ShTrkJMaLkqMpt0NaIyIZiJSoCrd9AZ0
vOTgHrgvs0AE3wvlzM0S7W4Goncl/LHvvjbN+KBrZeeVaumYwRMP75Azf9jjC+/3
T+ccQYsWuZAEopenGCBZ2L1kWjelZVmO2Fxnp3ihtXVFDarTlGDbI3KYSXZNrYod
HgpvKUG91q/Wsk5YuMsxyPZKpCi/v7UP2kjRfPX9MoOkKxZBFj1y037Jnuhah9j1
75WhaKirh5RJbb+zs899v+AMhkhEkyF+pEB32Wzup8TVDu/QdpEwi2Lrbs8+GMX1
Z3JupAOPP0e/G5veYAC/mmdHtr3I6KWpej7HlB0DegyKHnYi4RXxL3dc8xSFtaKk
6wP4K9SjqJtwDsMYja/n
=dUNy
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:deb80df9e6aa34f965ecf329fd07db462b57ce515b9077eae5cdfac5197a7bff
size 1125436

17
kmod-11.tar.sign Normal file
View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAABAgAGBQJQmzW4AAoJEJuipaYwy+pT3RkP/2R3GpGGiaDlk74H7Lzgv2Iw
4287R5HTN0sLx9MGFdxUvGFs2PLy+FORzN1aqbNzdGpyrPDZc62Fgyc4kjCwCVKh
cYkF/xsMnFUVnkWqOah+IYYV7TrHb1Vr+6d7CStVw6Z4JMEet0/eE54oJxGddXBJ
NyPYxzTvSKpDUU3Y7lC3SK5yNOPMPQ+HvDB7Vbe+YUU9oQMYmXZw/QQJnT/KvzUK
F196eNRjsCNLG6yQ/u/FH+Z5G6nxTbIDxzBgvV427ZZhKKg20C9XtNPluhkxQ+rf
HVZ8F44ol+nmrKQdtBJpCqKW7sDs7ULZLBdkEnttKZejWU2gToDu2eW0AKrMt8mE
8LYDpANU1sa6ZdNEb5nNB9fy+UakAa8f1rPKFtmPTVZpw3DvViIXIukvMT47H8zD
NAkxxMJa39V9+29Hqqz70971VmFaJCSGCMxTMihoiv7fTyAikOz8mK8esZLrLJku
1nmfTiVDD0TMNttTApESwPs4GuftGyO+0Te47JbrBK+fvWLKz7HR4FHBnEakbR7e
NslSlD6a8eNiDRSCxKS//0bSmR7KFHdrYVzRViVO3XB2fqshgXfgGtfwt9P2E96y
ZDbNYzPMxhpO0aWoHw4Z+8QWJ/zrHf5Qhbg38OosQNWWK5Hv08lMUxqYa+4VH3Ap
obmKGEwXDXdOPhoLDy6n
=XcLH
-----END PGP SIGNATURE-----

3
kmod-11.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28604e153833571ff6ebf34ad1722d3aca4d3d1760ad069a1f06d8fe5efd1de9
size 1274992

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Nov 10 15:07:54 UTC 2012 - hrvoje.senjan@gmail.com
- Update to kmod-11
* Fix testsuite defining symbols twice on 32 bit systems
* Allow to check generated files against correct ones
* libkmod now keeps a file opened after the first call to
* kmod_module_get_{info,versions,symbols,dependency_symbols}. This
reduces signficantly the amount of time depmod tool takes to
execute. Particularly if compressed modules are used.
* Remove --with-rootprefix from build system. It was not a great
idea after all and should not be use since it causes more harm
than benefits.
* Hide --wait option on rmmod. This feature is being targeted for
removal from kernel. rmmod still accepts this option, but it is
hidden now: man page and usage() says nothing about it and if
it is used, user will get a 10s sleep. This way we can check and
help if anyone is using this feature.
* Refactor message logging on all tools, giving proper prefix,
routing everything to syslog when asked for, etc.
* Fix parsing of modules.order when using compressed modules
* Usage messages go to stdout instead of stderr
* Fix memory leak in hash implementation
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 13 23:19:10 UTC 2012 - jengelh@inai.de Thu Sep 13 23:19:10 UTC 2012 - jengelh@inai.de

View File

@ -21,7 +21,7 @@ Name: kmod
Summary: Utilities to load modules into the kernel Summary: Utilities to load modules into the kernel
License: LGPL-2.1+ and GPL-2.0+ License: LGPL-2.1+ and GPL-2.0+
Group: System/Kernel Group: System/Kernel
Version: 10 Version: 11
Release: 0 Release: 0
Url: http://www.jonmasters.org/blog/2011/12/20/libkmod-replaces-module-init-tools/ Url: http://www.jonmasters.org/blog/2011/12/20/libkmod-replaces-module-init-tools/
#Announce: https://lwn.net/Articles/502622/ #Announce: https://lwn.net/Articles/502622/
@ -32,6 +32,7 @@ Source: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/%name-%version.
Source2: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/%name-%version.tar.sign Source2: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/%name-%version.tar.sign
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libxslt-tools
BuildRequires: pkgconfig >= 0.21 BuildRequires: pkgconfig >= 0.21
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(liblzma) >= 4.99 BuildRequires: pkgconfig(liblzma) >= 4.99
@ -129,7 +130,7 @@ mkdir -p "$b"/{bin,sbin,%_lib};
ln -s "%_bindir/kmod" "$b/bin/"; ln -s "%_bindir/kmod" "$b/bin/";
%if "%_libdir" != "/%_lib" %if "%_libdir" != "/%_lib"
ln -s "%_libdir/libkmod.so.2" "$b/%_lib/"; ln -s "%_libdir/libkmod.so.2" "$b/%_lib/";
ln -s "%_libdir/libkmod.so.2.2.0" "$b/%_lib/"; ln -s "%_libdir/libkmod.so.2.2.1" "$b/%_lib/";
%endif %endif
%check %check
@ -146,7 +147,6 @@ make check V=1 || :;
%_bindir/kmod %_bindir/kmod
%_libexecdir/%name %_libexecdir/%name
/bin/kmod /bin/kmod
%_mandir/man5/modules.dep.bin.5*
%files -n %lname %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
@ -180,6 +180,7 @@ make check V=1 || :;
%_mandir/man5/depmod.d.5* %_mandir/man5/depmod.d.5*
%_mandir/man5/modprobe.d.5* %_mandir/man5/modprobe.d.5*
%_mandir/man5/modules.dep.5* %_mandir/man5/modules.dep.5*
%_mandir/man5/modules.dep.bin.5*
%_mandir/man8/depmod.8* %_mandir/man8/depmod.8*
%_mandir/man8/insmod.8* %_mandir/man8/insmod.8*
%_mandir/man8/lsmod.8* %_mandir/man8/lsmod.8*