Hello community,
here is the log from the commit of package suse-module-tools for openSUSE:Factory checked in at 2016-06-12 18:50:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-module-tools (Old)
and /work/SRC/openSUSE:Factory/.suse-module-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-module-tools"
Changes:
--------
--- /work/SRC/openSUSE:Factory/suse-module-tools/suse-module-tools.changes 2016-05-19 12:02:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.suse-module-tools.new/suse-module-tools.changes 2016-06-12 18:50:17.000000000 +0200
@@ -1,0 +2,17 @@
+Fri May 27 13:14:36 UTC 2016 - mmarek@suse.cz
+
+- Run dos2unix on the modhash script.
+
+-------------------------------------------------------------------
+Thu May 26 07:36:58 UTC 2016 - jlee@suse.com
+
+- Add modhash tool to calculate hash of signed module.
+ It strips X.509 or PKCS#7 signature before hash kernel module.
+ (fate#319460)
+
+-------------------------------------------------------------------
+Wed May 25 13:23:35 UTC 2016 - mmarek@suse.cz
+
+- Remove -x bit from 50-kernel-uname_r.conf (bsc#981291).
+
+-------------------------------------------------------------------
New:
----
modhash
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ suse-module-tools.spec ++++++
--- /var/tmp/diff_new_pack.6GAOZz/_old 2016-06-12 18:50:18.000000000 +0200
+++ /var/tmp/diff_new_pack.6GAOZz/_new 2016-06-12 18:50:18.000000000 +0200
@@ -46,6 +46,7 @@
Source11: macros.initrd
Source12: regenerate-initrd-posttrans
Source13: 50-kernel-uname_r.conf
+Source14: modhash
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -94,10 +95,12 @@
install -d -m 755 "$b/usr/bin"
install -pm 755 %_sourcedir/modsign-verify "$b/usr/bin/"
install -pm 755 %_sourcedir/kmp-install "$b/usr/bin/"
+# modhash for calculating hash of signed kernel module
+install -pm 755 %_sourcedir/modhash "$b/usr/bin/"
# systemd service to load /boot/sysctl.conf-`uname -r`
install -d -m 755 "$b/usr/lib/systemd/system/systemd-sysctl.service.d"
-install -pm 755 %_sourcedir/50-kernel-uname_r.conf "$b/usr/lib/systemd/system/systemd-sysctl.service.d"
+install -pm 644 %_sourcedir/50-kernel-uname_r.conf "$b/usr/lib/systemd/system/systemd-sysctl.service.d"
%post
test_allow_on_install()
@@ -163,6 +166,7 @@
%config /etc/depmod.d/00-system.conf
%config /etc/rpm/macros.initrd
%_docdir/module-init-tools
+/usr/bin/modhash
/usr/bin/kmp-install
/usr/bin/modsign-verify
/usr/lib/module-init-tools
++++++ modhash ++++++
#!/usr/bin/perl
#
# Calculate the digest of the kernel module
# It will strip kernel modules signature before calculation.
#
# Based on modsign-verify, written by Michal Marek
# Authors:
# Gary Lin