2014-03-24 16:53:42 +00:00
|
|
|
Name: kpatch
|
|
|
|
Summary: Dynamic kernel patching
|
2014-12-03 15:02:55 +00:00
|
|
|
Version: 0.2.2
|
2014-03-24 16:53:42 +00:00
|
|
|
License: GPLv2
|
|
|
|
Group: System Environment/Kernel
|
|
|
|
URL: http://github.com/dynup/kpatch
|
2014-05-24 12:51:11 +00:00
|
|
|
Release: 1%{?dist}
|
2014-03-24 16:53:42 +00:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
Requires: kmod bash
|
|
|
|
BuildRequires: gcc kernel-devel elfutils elfutils-devel
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
|
|
|
|
# needed for the kernel specific module
|
|
|
|
%define KVER %(uname -r)
|
|
|
|
|
|
|
|
%description
|
|
|
|
kpatch is a Linux dynamic kernel patching tool which allows you to patch a
|
|
|
|
running kernel without rebooting or restarting any processes. It enables
|
|
|
|
sysadmins to apply critical security patches to the kernel immediately, without
|
|
|
|
having to wait for long-running tasks to complete, users to log off, or
|
|
|
|
for scheduled reboot windows. It gives more control over up-time without
|
|
|
|
sacrificing security or stability.
|
|
|
|
|
|
|
|
|
|
|
|
%package runtime
|
|
|
|
Summary: Dynamic kernel patching
|
|
|
|
Buildarch: noarch
|
|
|
|
Provides: %{name} = %{version}
|
|
|
|
%description runtime
|
|
|
|
kpatch is a Linux dynamic kernel patching tool which allows you to patch a
|
|
|
|
running kernel without rebooting or restarting any processes. It enables
|
|
|
|
sysadmins to apply critical security patches to the kernel immediately, without
|
|
|
|
having to wait for long-running tasks to complete, users to log off, or
|
|
|
|
for scheduled reboot windows. It gives more control over up-time without
|
|
|
|
sacrificing security or stability.
|
|
|
|
|
|
|
|
|
|
|
|
%package build
|
|
|
|
Requires: %{name}
|
|
|
|
Summary: Dynamic kernel patching
|
|
|
|
%description build
|
|
|
|
kpatch is a Linux dynamic kernel patching tool which allows you to patch a
|
|
|
|
running kernel without rebooting or restarting any processes. It enables
|
|
|
|
sysadmins to apply critical security patches to the kernel immediately, without
|
|
|
|
having to wait for long-running tasks to complete, users to log off, or
|
|
|
|
for scheduled reboot windows. It gives more control over up-time without
|
|
|
|
sacrificing security or stability.
|
|
|
|
|
|
|
|
%package %{KVER}
|
|
|
|
Requires: %{name}
|
|
|
|
Summary: Dynamic kernel patching
|
|
|
|
%description %{KVER}
|
|
|
|
kpatch is a Linux dynamic kernel patching tool which allows you to patch a
|
|
|
|
running kernel without rebooting or restarting any processes. It enables
|
|
|
|
sysadmins to apply critical security patches to the kernel immediately, without
|
|
|
|
having to wait for long-running tasks to complete, users to log off, or
|
|
|
|
for scheduled reboot windows. It gives more control over up-time without
|
|
|
|
sacrificing security or stability.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
make %{_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2015-04-29 14:56:26 +00:00
|
|
|
PREFIX=/usr make install DESTDIR=%{buildroot}
|
2014-03-24 16:53:42 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files runtime
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING README.md
|
|
|
|
%{_sbindir}/kpatch
|
2014-03-25 07:36:20 +00:00
|
|
|
%{_mandir}/man1/kpatch.1*
|
2015-04-29 14:43:50 +00:00
|
|
|
%{_usr}/lib/systemd/system/*
|
2014-03-24 16:53:42 +00:00
|
|
|
|
|
|
|
%files %{KVER}
|
|
|
|
%defattr(-,root,root,-)
|
2014-07-28 21:05:31 +00:00
|
|
|
%{_usr}/lib/kpatch/%{KVER}
|
2014-03-24 16:53:42 +00:00
|
|
|
|
|
|
|
%files build
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libexecdir}/*
|
|
|
|
%{_datadir}/%{name}
|
2014-03-25 07:36:20 +00:00
|
|
|
%{_mandir}/man1/kpatch-build.1*
|
2014-03-24 16:53:42 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-12-03 15:02:55 +00:00
|
|
|
* Wed Dec 3 2014 Josh Poimboeuf <jpoimboe@redhat.com> - 0.2.2-1
|
|
|
|
- rebased to current version
|
|
|
|
|
2014-09-02 16:11:14 +00:00
|
|
|
* Tue Sep 2 2014 Josh Poimboeuf <jpoimboe@redhat.com> - 0.2.1-1
|
|
|
|
- rebased to current version
|
|
|
|
|
2014-07-28 21:05:31 +00:00
|
|
|
* Mon Jul 28 2014 Josh Poimboeuf <jpoimboe@redhat.com> - 0.1.9-1
|
|
|
|
- moved core module to /usr/lib/kpatch
|
|
|
|
- rebased to current version
|
|
|
|
|
2014-07-07 20:08:54 +00:00
|
|
|
* Mon Jul 07 2014 Udo Seidel <udoseidel@gmx.de> - 0.1.7-1
|
|
|
|
- rebased to current version
|
|
|
|
|
2014-05-24 12:51:11 +00:00
|
|
|
* Sat May 24 2014 Udo Seidel <udoseidel@gmx.de> - 0.1.1-1
|
|
|
|
- rebased to current version
|
|
|
|
|
2014-09-05 05:27:42 +00:00
|
|
|
* Thu Apr 10 2014 Udo Seidel <udoseidel@gmx.de> - 0.0.1-3
|
2014-04-10 21:53:45 +00:00
|
|
|
- added dracut module
|
|
|
|
|
2014-03-25 07:36:20 +00:00
|
|
|
* Tue Mar 25 2014 Udo Seidel <udoseidel@gmx.de> - 0.0.1-2
|
|
|
|
- added man pages
|
|
|
|
|
2014-03-24 16:53:42 +00:00
|
|
|
* Sat Mar 22 2014 Udo Seidel <udoseidel@gmx.de> - 0.0.1-1
|
|
|
|
- initial release
|