From c1604e5d196b714fd3239c88e55c692a628795ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sat, 25 Mar 2017 21:32:44 +0100 Subject: [PATCH] - up to 0.15.0 --- sysdig-linux4.patch | 13 ------------- sysdig.spec | 6 ++---- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 sysdig-linux4.patch diff --git a/sysdig-linux4.patch b/sysdig-linux4.patch deleted file mode 100644 index a8a841a..0000000 --- a/sysdig-linux4.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- sysdig-0.13.0/driver/main.c.orig 2016-12-20 16:58:06.000000000 +0100 -+++ sysdig-0.13.0/driver/main.c 2017-01-24 20:56:10.452973281 +0100 -@@ -1737,8 +1737,10 @@ - } - } - -+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 1) - int __access_remote_vm(struct task_struct *t, struct mm_struct *mm, unsigned long addr, - void *buf, int len, int write); -+#endif - - TRACEPOINT_PROBE(syscall_procexit_probe, struct task_struct *p) - { diff --git a/sysdig.spec b/sysdig.spec index 0b04896..86d4106 100644 --- a/sysdig.spec +++ b/sysdig.spec @@ -27,15 +27,14 @@ exit 1 Summary: sysdig, a system-level exploration and troubleshooting tool Summary(pl.UTF-8): sysdig - narzędzie do przeglądu i rozwiązywania problemów na poziomie systemowym Name: %{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel} -Version: 0.13.0 +Version: 0.15.0 Release: %{rel}%{?_pld_builder:%{?with_kernel:@%{_kernel_ver_str}}} License: GPL v2 Group: Applications/System #Source0Download: https://github.com/draios/sysdig/releases Source0: https://github.com/draios/sysdig/archive/%{version}/%{pname}-%{version}.tar.gz -# Source0-md5: a8658daee5277d2a3a0bbb8381fb020f +# Source0-md5: 72a6798e6ef842d00e985b3387fc5f49 Patch0: buildflags.patch -Patch1: %{pname}-linux4.patch URL: http://www.sysdig.org/ BuildRequires: rpmbuild(macros) >= 1.701 BuildRequires: cmake >= 2.8.2 @@ -162,7 +161,6 @@ Ten pakiet zawiera moduł sysdig-probe for jądra Linuksa.\ %prep %setup -q -n %{pname}-%{version} %patch0 -p1 -%patch1 -p1 %build install -d build -- 2.44.0