From 5dc5cfea1f4dc8febdd5274d99e277c17df06acc Mon Sep 17 00:00:00 2001 From: Solar Designer Date: Thu, 14 Sep 2023 04:38:28 +0200 Subject: [PATCH] LKRG 0.9.7 --- CHANGES | 2 +- README | 22 ++++++++++------------ debian/changelog | 6 ++++++ dkms.conf | 2 +- lkrg.spec | 4 ++-- 5 files changed, 20 insertions(+), 16 deletions(-) diff --git a/CHANGES b/CHANGES index cfcaa9f..1981b2a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -The following major changes have been since LKRG 0.9.6: +The following major changes have been made between LKRG 0.9.6 and 0.9.7: *) Support new mainline kernels 6.4 to 6.5.x, and hopefully beyond *) Support new RHEL 9.1 and 9.2 kernels, and hopefully beyond diff --git a/README b/README index 32b8c61..6846dd0 100644 --- a/README +++ b/README @@ -9,9 +9,7 @@ on top of a wide range of mainline and distros' kernels, without needing to patch those. We currently support kernel versions ranging from as far back as RHEL7's (and its many clones/revisions) and Ubuntu 16.04's to latest mainline and distros' kernels. We've tested this revision of LKRG with Linux kernels -up to and including 6.5, and slightly beyond. Our latest release, LKRG 0.9.6, -works on kernels up to 6.3 inclusive (but not 6.4+ nor latest RHEL 9 kernels, -for which you need this git revision of LKRG). +up to and including 6.5, and slightly beyond. LKRG currently supports the x86-64, 32-bit x86, AArch64 (ARM64), and 32-bit ARM CPU architectures. @@ -35,9 +33,9 @@ like the below: wget https://www.openwall.com/signatures/openwall-offline-signatures.asc gpg --import openwall-offline-signatures.asc - wget https://lkrg.org/download/lkrg-0.9.6.tar.gz.sign - wget https://lkrg.org/download/lkrg-0.9.6.tar.gz - gpg --verify lkrg-0.9.6.tar.gz.sign lkrg-0.9.6.tar.gz + wget https://lkrg.org/download/lkrg-0.9.7.tar.gz.sign + wget https://lkrg.org/download/lkrg-0.9.7.tar.gz + gpg --verify lkrg-0.9.7.tar.gz.sign lkrg-0.9.7.tar.gz Please preserve the GnuPG key above and also use it to verify future releases, which will most likely work in a similar manner. @@ -178,12 +176,12 @@ What this means in effect is that on kernel upgrades the module is rebuilt. You can install LKRG using DKMS as well. For instance, on Red Hat'ish distributions after following the shared download instructions above: - sudo tar -xzf lkrg-0.9.6.tar.gz -C /usr/src/ + sudo tar -xzf lkrg-0.9.7.tar.gz -C /usr/src/ sudo dnf update -y sudo dnf install kernel-devel dkms openssl - sudo dkms add -m lkrg -v 0.9.6 - sudo dkms build -m lkrg -v 0.9.6 - sudo dkms install -m lkrg -v 0.9.6 + sudo dkms add -m lkrg -v 0.9.7 + sudo dkms build -m lkrg -v 0.9.7 + sudo dkms install -m lkrg -v 0.9.7 The only difference on other distributions should be the installation of the kernel headers, the DKMS utility, and OpenSSL. Install the headers for the @@ -195,7 +193,7 @@ You can then query the status with: If everything is right, you should get similar output to the following: - lkrg/0.9.6, 5.18.9-200.fc36.x86_64, x86_64: installed + lkrg/0.9.7, 5.18.9-200.fc36.x86_64, x86_64: installed Please refer to the previous two sections for how to start the LKRG service or have it started on system bootup. If you wish to use the unit/init file, you @@ -214,7 +212,7 @@ while you're in the top level source code directory of the installed version. If you installed using DKMS, you'd uninstall with: - sudo dkms remove -m lkrg/0.9.6 --all + sudo dkms remove -m lkrg/0.9.7 --all You can also use the following command to temporarily stop the LKRG service without uninstalling it, for systemd: diff --git a/debian/changelog b/debian/changelog index 6d81f3a..b90fb76 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +lkrg (0.9.7-1) unstable; urgency=medium + + * New upstream release. + + -- Solar Designer Thu, 14 Sep 2023 05:00:00 +0200 + lkrg (0.9.6-1) unstable; urgency=medium * New upstream release. diff --git a/dkms.conf b/dkms.conf index 92a9f05..78356c5 100644 --- a/dkms.conf +++ b/dkms.conf @@ -1,5 +1,5 @@ PACKAGE_NAME="lkrg" -PACKAGE_VERSION="0.9.6" +PACKAGE_VERSION="0.9.7" #BUILT_MODULE_LOCATION[0]="output" BUILT_MODULE_NAME[0]="lkrg" DEST_MODULE_LOCATION[0]="/updates/dkms" diff --git a/lkrg.spec b/lkrg.spec index 4d24710..7e65abb 100644 --- a/lkrg.spec +++ b/lkrg.spec @@ -4,7 +4,7 @@ Summary: Linux Kernel Runtime Guard (LKRG) Name: lkrg -Version: 0.9.6 +Version: 0.9.7 Release: 1%{?dist} License: GPLv2 URL: https://lkrg.org @@ -55,7 +55,7 @@ echo 'To enable LKRG on bootup please use: systemctl enable lkrg' %_sysconfdir/sysctl.d/* %changelog -* Wed Sep 13 2023 Solar Designer 0.9.6-1 +* Thu Sep 14 2023 Solar Designer 0.9.7-1 - Wrote this rough RPM spec file for Red Hat'ish distros, seems to work fine on RHEL 7, 8, 9 rebuilds, but is only reliable when there's exactly one kernel-devel package installed at build time and it exactly matches the target