From 445c4e4745102a0f399e061702abf52f4e14b16b Mon Sep 17 00:00:00 2001 From: Alejandro Date: Sun, 17 Apr 2016 15:18:45 -0500 Subject: [PATCH] Added path fix for bug 1283773 --- .gitignore | 1 + iptraf-ng.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e0f6c4e..17df152 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /iptraf-ng-1.1.2.tar.gz /iptraf-ng-1.1.3.1.tar.gz /iptraf-ng-1.1.4.tar.gz +/0001-fix-segfault-in-adding-interface.patch diff --git a/iptraf-ng.spec b/iptraf-ng.spec index b0dceb2..0f9269a 100644 --- a/iptraf-ng.spec +++ b/iptraf-ng.spec @@ -1,7 +1,7 @@ Summary: A console-based network monitoring utility Name: iptraf-ng Version: 1.1.4 -Release: 10%{?dist} +Release: 11%{?dist} Source0: https://fedorahosted.org/releases/i/p/iptraf-ng/%{name}-%{version}.tar.gz Source1: %{name}-logrotate.conf Source2: %{name}-tmpfiles.conf @@ -13,6 +13,7 @@ Obsoletes: iptraf < 3.1 Provides: iptraf = 3.1 Patch01: 0001-BUGFIX-fix-Floating-point-exception-in-tcplog_flowra.patch Patch02: 0002-Makefile-add-Werror-format-security.patch +Patch03: 0001-fix-segfault-in-adding-interface.patc %description IPTraf-ng is a console-based network monitoring utility. IPTraf gathers @@ -36,6 +37,7 @@ on a wide variety of supported network cards. %setup -q %patch01 -p1 %patch02 -p1 +%patch03 -p1 %build make %{?_smp_mflags} V=1 CFLAGS="-g -O2 -Wall -W -std=gnu99 -Werror=format-security %{optflags}" @@ -76,6 +78,9 @@ rm -rf %{buildroot} %{_prefix}/lib/tmpfiles.d/%{name}.conf %changelog +* Fri Apr 15 2016 Phil Cameron - 1.1.4-11 +- fix 1283773 + bugfix-positionptr-properly-allocate-newly-create * Thu Feb 04 2016 Fedora Release Engineering - 1.1.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 8da450f..b339235 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -de27cfeeede96e2acfb0edc8439b034a iptraf-ng-1.1.4.tar.gz +3cdebfcb6c55cb6ddf1829e2df79f7e7 0001-fix-segfault-in-adding-interface.patch