diff --git a/.gitignore b/.gitignore index bee7efb..5dd2967 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/ecryptfs-5.14.tar.xz +SOURCES/ecryptfs-5.14.0-1.el9.tar.xz diff --git a/.kmod-ecryptfs.metadata b/.kmod-ecryptfs.metadata index 422392d..03c46ff 100644 --- a/.kmod-ecryptfs.metadata +++ b/.kmod-ecryptfs.metadata @@ -1 +1 @@ -08aa533a5772546e7b8a007917a1546696109906 SOURCES/ecryptfs-5.14.tar.xz +77170ba9dbf622fb2642e6c2024e6ddc6d6d5221 SOURCES/ecryptfs-5.14.0-1.el9.tar.xz diff --git a/SOURCES/9999-enable-ecryptfs.patch b/SOURCES/9999-enable-ecryptfs.patch new file mode 100644 index 0000000..ed82475 --- /dev/null +++ b/SOURCES/9999-enable-ecryptfs.patch @@ -0,0 +1,5 @@ +--- a/src/Makefile ++++ b/src/Makefile +@@ -6 +6 @@ +-obj-$(CONFIG_ECRYPT_FS) += ecryptfs.o ++obj-m += ecryptfs.o diff --git a/SPECS/kmod-ecryptfs.spec b/SPECS/kmod-ecryptfs.spec index 7eeaa7d..a82049f 100644 --- a/SPECS/kmod-ecryptfs.spec +++ b/SPECS/kmod-ecryptfs.spec @@ -1,6 +1,8 @@ %global pkg ecryptfs -%global kernel_version 5.14.0-41.el9 +%global driver_version 5.14.0-1.el9 + +%global kernel_version 5.14.0-31.el9 %global debug_package %{nil} @@ -14,14 +16,15 @@ Name: kmod-%{pkg} -Version: 5.14 -Release: 6%{?dist} +Version: 5.14.0.1 +Release: 1%{?dist} Summary: Encrypted filesystem that operates on the VFS layer License: GPLv2 URL: https://www.kernel.org/ -Source0: %{pkg}-%{version}.tar.xz +Source0: %{pkg}-%{driver_version}.tar.xz +Patch9999: 9999-enable-ecryptfs.patch ExclusiveArch: x86_64 aarch64 @@ -61,7 +64,7 @@ formatted with the Encrypted filesystem that operates on the VFS layer. %prep -%autosetup -p1 -n %{pkg}-%{version} +%autosetup -p1 -n %{pkg}-%{driver_version} %build @@ -123,20 +126,6 @@ fi %changelog -* Fri Jan 14 2022 Kmods SIG - 5.14-6 -- Rebuild for 5.14.0-41.el9 - -* Mon Jan 10 2022 Kmods SIG - 5.14-5 -- Rebuild for 5.14.0-39.el9 - -* Mon Jan 10 2022 Kmods SIG - 5.14-4 -- Rebuild for 5.14.0-37.el9 - -* Mon Jan 10 2022 Kmods SIG - 5.14-3 -- Rebuild for 5.14.0-36.el9 - -* Mon Jan 10 2022 Kmods SIG - 5.14-2 -- Rebuild for 5.14.0-34.el9 - -* Thu Jan 06 2022 Peter Georg - 5.14-1 -- Initial kABI tracking kmod package (kernel >= 5.14.0-31.el8) +* Thu Jan 13 2022 Kmods SIG - 5.14.0.1-1 +- Switch to EL kernel source and versioning +- kABI tracking kmod package (kernel >= 5.14.0-31.el9)