]> git.pld-linux.org Git - packages/flow-tools.git/commitdiff
- fix more shebangs, remove duplicate global var, rel 8 master auto/th/flow-tools-0.68.5-8
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 24 Oct 2021 19:18:19 +0000 (21:18 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 24 Oct 2021 19:18:19 +0000 (21:18 +0200)
duplicate-def.patch [new file with mode: 0644]
flow-tools.spec

diff --git a/duplicate-def.patch b/duplicate-def.patch
new file mode 100644 (file)
index 0000000..f71ea9f
--- /dev/null
@@ -0,0 +1,10 @@
+--- flow-tools-0.68.5/src/acl2.c~      2008-01-27 21:48:55.000000000 +0100
++++ flow-tools-0.68.5/src/acl2.c       2021-10-24 21:08:47.954287421 +0200
+@@ -46,7 +46,6 @@
+ #include "acl2.h"
+-struct acl_list acl_list;
+ #define E acl_list.acl_ip_ext[index]
index 1bf4bad66aa1240ffb0d24e249bd25d8ed44b3a2..221baafe03318193bde92ac2e0291be1b02fe9c7 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Collecting and processing NetFlow data
 Summary(pl.UTF-8):     Gromadzenie i przetwarzanie informacji o przepływie w sieci
 Name:          flow-tools
 Version:       0.68.5
-Release:       7
+Release:       8
 License:       BSD
 Group:         Applications/Networking
 Source0:       http://flow-tools.googlecode.com/files/%{name}-%{version}.tar.bz2
@@ -10,6 +10,7 @@ Source0:      http://flow-tools.googlecode.com/files/%{name}-%{version}.tar.bz2
 Patch0:                %{name}-shebang.patch
 Patch1:                format-security.patch
 Patch2:                openssl.patch
+Patch3:                duplicate-def.patch
 URL:           http://code.google.com/p/flow-tools/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -74,6 +75,12 @@ Statyczna biblioteka flow-tools.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+      bin/flow-log2rrd \
+      bin/flow-rpt2rrd \
+      bin/flow-rptfmt
 
 %build
 %{__libtoolize}
This page took 0.03498 seconds and 4 git commands to generate.