eda019
Name:		kpatch
936957
Version:	0.6.1
ed31c7
Release:	6%{?dist}
eda019
Summary:	Dynamic kernel patch manager
eda019
eda019
Group:		System Environment/Kernel
eda019
License:	GPLv2
15e601
URL:		https://github.com/dynup/kpatch
15e601
Source0:	https://github.com/dynup/kpatch/archive/v%{version}.tar.gz
936957
Patch0:		0001-contrib-disable-upstart-kpatch.conf-install.patch
338c91
Patch1:		0002-contrib-service-don-t-unload-modules-on-stop.patch
338c91
Patch2:		0003-kpatch-script-don-t-fail-if-module-already-loaded-en.patch
ecb1a8
Patch3:		0004-kpatch-clarify-unload-unsupport.patch
ed31c7
Patch4:		0005-Fix-livepatch-enabled-kernel-detection-in-kpatch-scr.patch
eda019
de6b78
Requires:	bash kmod binutils
eda019
eda019
BuildArch:	noarch
eda019
eda019
eda019
%description
ed31c7
kpatch is a live kernel patch module manager.  It allows the user to manage
15e601
a collection of binary kernel patch modules which can be used to dynamically
15e601
patch the kernel without rebooting.
15e601
eda019
eda019
%prep
eda019
%setup -q
c6f9b2
%patch0 -p1
338c91
%patch1 -p1
338c91
%patch2 -p1
ecb1a8
%patch3 -p1
ed31c7
%patch4 -p1
eda019
eda019
eda019
%build
15e601
make -C man
eda019
eda019
eda019
%install
15e601
make install PREFIX=/usr DESTDIR=%{buildroot} -C kpatch
15e601
make install PREFIX=/usr DESTDIR=%{buildroot} -C man
15e601
make install PREFIX=/usr DESTDIR=%{buildroot} -C contrib
15e601
rm -f %{buildroot}/usr/share/man/man1/kpatch-build.1.gz
eda019
eda019
15e601
%files
15e601
%{_sbindir}/kpatch
8a849d
%{_usr}/lib/systemd/system/kpatch.service
15e601
%doc %{_mandir}/man1/kpatch.1.gz
eda019
eda019
15e601
%changelog
ed31c7
* Tue Sep 17 2019 Artem Savkov <asavkov@redhat.com> 0.6.1-6
ed31c7
- fix patch loading issue caused by recent kernel rebase (rhbz#1752698)
ed31c7
ed31c7
* Wed Aug 28 2019 Joe Lawrence <joe.lawrence@redhat.com> 0.6.1-5
ed31c7
- kpatch: clarify that "kpatch unload" isn't supported (rhbz#1746461)
ecb1a8
338c91
* Sun Jun 23 2019 Joe Lawrence <joe.lawrence@redhat.com> 0.6.1-3
338c91
- Rebuild with correct RHEL-7.7 bugzilla number (rhbz#1719309)
338c91
338c91
* Sun Jun 23 2019 Joe Lawrence <joe.lawrence@redhat.com> 0.6.1-3
338c91
- kpatch script: don't fail if module already loaded+enabled (rhbz#1719309)
338c91
338c91
* Wed Jun 12 2019 Joe Lawrence <joe.lawrence@redhat.com> 0.6.1-2
338c91
- kpatch: patches shouldn't be unloaded on system shutdown (rhbz#1719309)
338c91
936957
* Thu Jun 21 2018 Joe Lawrence <joe.lawrence@redhat.com> 0.6.1-1
936957
- update to 0.6.1 (rhbz#1562976)
936957
997f8e
* Thu Nov 16 2017 Joe Lawrence <joe.lawrence@redhat.com> 0.4.0-3
997f8e
- kpatch: better livepatch module support (rhbz#1504066)
997f8e
c6f9b2
* Wed Oct 18 2017 Josh Poimboeuf <jpoimboe@redhat.com> 0.4.0-2
c6f9b2
- fix backwards compatibility with RHEL 7.3 patches (rhbz#1497735)
c6f9b2
de6b78
* Mon Mar 13 2017 Josh Poimboeuf <jpoimboe@redhat.com> 0.4.0-1
de6b78
- update to 0.4.0 (rhbz#1427642)
de6b78
09d239
* Wed Jun 15 2016 Josh Poimboeuf <jpoimboe@redhat.com> 0.3.2-1
09d239
- update to 0.3.2 (rhbz#1282508)
09d239
8a849d
* Wed Nov 18 2015 Josh Poimboeuf <jpoimboe@redhat.com> 0.3.1-1
8a849d
- update to 0.3.1 (rhbz#1282508)
8a849d
df3aee
* Tue Sep 16 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-4
df3aee
- fix dracut dependencies (rhbz#1170369)
df3aee
576586
* Tue Sep 16 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-3
df3aee
- support re-enabling forced modules (rhbz#1140268)
576586
576586
* Thu Sep 11 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-2
df3aee
- support modprobe format names (rhbz#1133045)
576586
ffa013
* Thu Jul 31 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.10-1
ffa013
- update to kpatch 0.1.10
ffa013
ffa013
* Wed Jul 23 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.9-1
ffa013
- update to kpatch 0.1.9
ffa013
ffa013
* Tue Jul 15 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.8-1
ffa013
- update to kpatch 0.1.8
ffa013
15e601
* Wed May 21 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.2-1
15e601
- update to kpatch 0.1.2
eda019
15e601
* Mon May 19 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.1-2
15e601
- fix initramfs core module path
eda019
15e601
* Mon May 19 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.1-1
15e601
- rebase to kpatch 0.1.1
eda019
15e601
* Fri May 9 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.0-2
15e601
- modprobe core module
eda019
15e601
* Tue May 6 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.0-1
15e601
- Initial kpatch release 0.1.0
eda019
eda019
* Thu Jan 30 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.0-1
eda019
- Initial build