1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
Name: kmod-sign Version: 4.18 Release: alt2 Summary: kernel modules signing tools License: LGPL Group: System/Kernel and hardware BuildRequires: kernel-source-%version BuildRequires: openssl-devel Source0: kmod-gen-cert %description Set of tools for linux kernel modules signing %prep %setup -cT -n %name-%version tar -xf /usr/src/kernel/sources/kernel-source-%version.tar cp */scripts/{sign-file.c,extract-cert.c} ./ %build gcc -o sign-file sign-file.c -lcrypto gcc -o extract-cert extract-cert.c -lcrypto %install mkdir -p %buildroot%_bindir install sign-file extract-cert %buildroot%_bindir install %SOURCE0 %buildroot%_bindir %files %_bindir/* %changelog * Wed Sep 12 2018 Anton V. Boyarshinov <boyarsh@altlinux.org> 4.18-alt2 - script for key generation added * Tue Sep 11 2018 Anton V. Boyarshinov <boyarsh@altlinux.org> 4.18-alt1 - initial build