commit pmacct for openSUSE:Factory

2020-07-02 Thread root
Hello community,

here is the log from the commit of package pmacct for openSUSE:Factory checked 
in at 2020-07-03 00:09:56

Comparing /work/SRC/openSUSE:Factory/pmacct (Old)
 and  /work/SRC/openSUSE:Factory/.pmacct.new.3060 (New)


Package is "pmacct"

Fri Jul  3 00:09:56 2020 rev:8 rq:817802 version:1.7.5

Changes:

--- /work/SRC/openSUSE:Factory/pmacct/pmacct.changes2020-06-11 
15:01:10.696448521 +0200
+++ /work/SRC/openSUSE:Factory/.pmacct.new.3060/pmacct.changes  2020-07-03 
00:11:20.271853073 +0200
@@ -1,0 +2,8 @@
+Sun Jun 28 15:16:43 UTC 2020 - Martin Hauke 
+
+- Update to versino 1.7.5
+  * See /usr/share/doc/packages/pmacct/ChangeLog for all changes
+- Drop patch (addressed by upstream in 686495dd):
+  * pmacct-fix-overflow.patch
+
+---

Old:

  pmacct-1.7.4p1.tar.gz
  pmacct-fix-overflow.patch

New:

  pmacct-1.7.5.tar.gz



Other differences:
--
++ pmacct.spec ++
--- /var/tmp/diff_new_pack.8MkzGR/_old  2020-07-03 00:11:22.663860993 +0200
+++ /var/tmp/diff_new_pack.8MkzGR/_new  2020-07-03 00:11:22.663860993 +0200
@@ -24,7 +24,7 @@
 %bcond_with ndpi
 
 Name:   pmacct
-Version:1.7.4p1
+Version:1.7.5
 Release:0
 Summary:Accounting and aggregation toolsuite for IPv4 and IPv6
 License:GPL-2.0-only
@@ -41,7 +41,6 @@
 Source11:   pmacctd.conf
 Source12:   sfacctd.conf
 Source20:   pmacct.1
-Patch0: pmacct-fix-overflow.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libmysqlclient-devel
@@ -73,8 +72,7 @@
 export data to tools like RRDtool, GNUPlot, Net-SNMP, MRTG, and Cacti.
 
 %prep
-%setup -q -n %{name}-1.7.4
-%patch0 -p1
+%setup -q -n %{name}-%{version}
 
 # fix permissions
 chmod -x sql/pmacct-*

++ pmacct-1.7.4p1.tar.gz -> pmacct-1.7.5.tar.gz ++
 56854 lines of diff (skipped)




commit pmacct for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package pmacct for openSUSE:Factory checked 
in at 2020-06-11 15:01:05

Comparing /work/SRC/openSUSE:Factory/pmacct (Old)
 and  /work/SRC/openSUSE:Factory/.pmacct.new.3606 (New)


Package is "pmacct"

Thu Jun 11 15:01:05 2020 rev:7 rq:813451 version:1.7.4p1

Changes:

--- /work/SRC/openSUSE:Factory/pmacct/pmacct.changes2020-03-30 
23:04:04.284199349 +0200
+++ /work/SRC/openSUSE:Factory/.pmacct.new.3606/pmacct.changes  2020-06-11 
15:01:10.696448521 +0200
@@ -1,0 +2,5 @@
+Sun Jun  7 20:37:36 UTC 2020 - Martin Hauke 
+
+- Set CFLAGS+=-fcommon
+
+---



Other differences:
--
++ pmacct.spec ++
--- /var/tmp/diff_new_pack.BqOldP/_old  2020-06-11 15:01:12.024452549 +0200
+++ /var/tmp/diff_new_pack.BqOldP/_new  2020-06-11 15:01:12.024452549 +0200
@@ -81,7 +81,7 @@
 
 %build
 autoreconf -fiv
-export CFLAGS="%{optflags} -Wno-return-type"
+export CFLAGS="%{optflags} -Wno-return-type -fcommon"
 %configure \
 --sysconfdir=%{_sysconfdir}/%{name} \
 --docdir="%{_docdir}/%{name}" \




commit pmacct for openSUSE:Factory

2020-03-30 Thread root
Hello community,

here is the log from the commit of package pmacct for openSUSE:Factory checked 
in at 2020-03-30 23:03:58

Comparing /work/SRC/openSUSE:Factory/pmacct (Old)
 and  /work/SRC/openSUSE:Factory/.pmacct.new.3160 (New)


Package is "pmacct"

Mon Mar 30 23:03:58 2020 rev:6 rq:789671 version:1.7.4p1

Changes:

--- /work/SRC/openSUSE:Factory/pmacct/pmacct.changes2020-02-19 
12:43:00.371909469 +0100
+++ /work/SRC/openSUSE:Factory/.pmacct.new.3160/pmacct.changes  2020-03-30 
23:04:04.284199349 +0200
@@ -1,0 +2,6 @@
+Mon Mar 30 07:47:03 UTC 2020 - Marcus Meissner 
+
+- pmacct-fix-overflow.patch: fixed bufferoverflow in sfacctd.
+- reenable _FORTIFY_SOURCE that showed that failure
+
+---

New:

  pmacct-fix-overflow.patch



Other differences:
--
++ pmacct.spec ++
--- /var/tmp/diff_new_pack.VQXYMl/_old  2020-03-30 23:04:06.460200589 +0200
+++ /var/tmp/diff_new_pack.VQXYMl/_new  2020-03-30 23:04:06.464200591 +0200
@@ -41,6 +41,7 @@
 Source11:   pmacctd.conf
 Source12:   sfacctd.conf
 Source20:   pmacct.1
+Patch0:pmacct-fix-overflow.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libmysqlclient-devel
@@ -73,13 +74,14 @@
 
 %prep
 %setup -q -n %{name}-1.7.4
+%patch0 -p1
 
 # fix permissions
 chmod -x sql/pmacct-*
 
 %build
 autoreconf -fiv
-export CFLAGS="%{optflags} -Wno-return-type -D_FORTIFY_SOURCE=0"
+export CFLAGS="%{optflags} -Wno-return-type"
 %configure \
 --sysconfdir=%{_sysconfdir}/%{name} \
 --docdir="%{_docdir}/%{name}" \

++ pmacct-fix-overflow.patch ++
Index: pmacct-1.7.4/src/sfacctd.c
===
--- pmacct-1.7.4.orig/src/sfacctd.c
+++ pmacct-1.7.4/src/sfacctd.c
@@ -2045,7 +2045,7 @@ void finalizeSample(SFSample *sample, st
 
 int SF_find_id(struct id_table *t, struct packet_ptrs *pptrs, pm_id_t *tag, 
pm_id_t *tag2)
 {
-  struct sockaddr sa_local;
+  struct sockaddr_storage sa_local;
   struct sockaddr_in *sa4 = (struct sockaddr_in *) _local;
   struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) _local;
   SFSample *sample = (SFSample *)pptrs->f_data; 
@@ -2086,13 +2086,13 @@ int SF_find_id(struct id_table *t, struc
   if (sample->agent_addr.type == SFLADDRESSTYPE_IP_V4) {
 begin = 0;
 end = t->ipv4_num;
-sa_local.sa_family = AF_INET;
+sa_local.ss_family = AF_INET;
 sa4->sin_addr.s_addr = sample->agent_addr.address.ip_v4.s_addr;
   }
   else if (sample->agent_addr.type == SFLADDRESSTYPE_IP_V6) {
 begin = t->num-t->ipv6_num;
 end = t->num;
-sa_local.sa_family = AF_INET6;
+sa_local.ss_family = AF_INET6;
 memcpy(sa6->sin6_addr.s6_addr, sample->agent_addr.address.ip_v6.s6_addr, 
16);
   }
 



commit pmacct for openSUSE:Factory

2020-02-19 Thread root
Hello community,

here is the log from the commit of package pmacct for openSUSE:Factory checked 
in at 2020-02-19 12:42:51

Comparing /work/SRC/openSUSE:Factory/pmacct (Old)
 and  /work/SRC/openSUSE:Factory/.pmacct.new.26092 (New)


Package is "pmacct"

Wed Feb 19 12:42:51 2020 rev:5 rq:776204 version:1.7.4p1

Changes:

--- /work/SRC/openSUSE:Factory/pmacct/pmacct.changes2020-01-07 
23:54:09.580056420 +0100
+++ /work/SRC/openSUSE:Factory/.pmacct.new.26092/pmacct.changes 2020-02-19 
12:43:00.371909469 +0100
@@ -1,0 +2,7 @@
+Sun Feb  9 10:02:46 UTC 2020 - Martin Hauke 
+
+- Update to version 1.7.4p1
+  fix, pre_tag_map: a memory leak in pretag_entry_process() has been
+  introduced in 1.7.4.
+
+---

Old:

  pmacct-1.7.4.tar.gz

New:

  pmacct-1.7.4p1.tar.gz



Other differences:
--
++ pmacct.spec ++
--- /var/tmp/diff_new_pack.jCQv9p/_old  2020-02-19 12:43:02.199912989 +0100
+++ /var/tmp/diff_new_pack.jCQv9p/_new  2020-02-19 12:43:02.203912997 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pmacct
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 %bcond_with ndpi
 
 Name:   pmacct
-Version:1.7.4
+Version:1.7.4p1
 Release:0
 Summary:Accounting and aggregation toolsuite for IPv4 and IPv6
 License:GPL-2.0-only
@@ -72,7 +72,7 @@
 export data to tools like RRDtool, GNUPlot, Net-SNMP, MRTG, and Cacti.
 
 %prep
-%setup -q
+%setup -q -n %{name}-1.7.4
 
 # fix permissions
 chmod -x sql/pmacct-*




commit pmacct for openSUSE:Factory

2020-01-07 Thread root
Hello community,

here is the log from the commit of package pmacct for openSUSE:Factory checked 
in at 2020-01-07 23:53:36

Comparing /work/SRC/openSUSE:Factory/pmacct (Old)
 and  /work/SRC/openSUSE:Factory/.pmacct.new.6675 (New)


Package is "pmacct"

Tue Jan  7 23:53:36 2020 rev:4 rq:761347 version:1.7.4

Changes:

--- /work/SRC/openSUSE:Factory/pmacct/pmacct.changes2019-11-10 
22:52:05.934345002 +0100
+++ /work/SRC/openSUSE:Factory/.pmacct.new.6675/pmacct.changes  2020-01-07 
23:54:09.580056420 +0100
@@ -1,0 +2,10 @@
+Thu Jan  2 11:41:34 UTC 2020 - Martin Hauke 
+
+- Update to version 1.7.4
+  + Introduced support for the 'vxlan' VXLAN/VNI primitive in all
+traffic daemons 
+  + BMP daemon: added support for Peer Up message namespace for TLVs
+  + sfprobe plugin: added support for IPv6 transport for sFlow export.  
+  See /usr/share/doc/packages/pmacct/ChangeLog for all changes
+
+---

Old:

  pmacct-1.7.3.tar.gz

New:

  pmacct-1.7.4.tar.gz



Other differences:
--
++ pmacct.spec ++
--- /var/tmp/diff_new_pack.0mDvf9/_old  2020-01-07 23:54:10.124056703 +0100
+++ /var/tmp/diff_new_pack.0mDvf9/_new  2020-01-07 23:54:10.136056709 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pmacct
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 %bcond_with ndpi
 
 Name:   pmacct
-Version:1.7.3
+Version:1.7.4
 Release:0
 Summary:Accounting and aggregation toolsuite for IPv4 and IPv6
 License:GPL-2.0-only

++ pmacct-1.7.3.tar.gz -> pmacct-1.7.4.tar.gz ++
 58146 lines of diff (skipped)




commit pmacct for openSUSE:Factory

2019-11-10 Thread root
Hello community,

here is the log from the commit of package pmacct for openSUSE:Factory checked 
in at 2019-11-10 22:52:04

Comparing /work/SRC/openSUSE:Factory/pmacct (Old)
 and  /work/SRC/openSUSE:Factory/.pmacct.new.2990 (New)


Package is "pmacct"

Sun Nov 10 22:52:04 2019 rev:3 rq:747206 version:1.7.3

Changes:

--- /work/SRC/openSUSE:Factory/pmacct/pmacct.changes2019-05-27 
08:39:13.015051524 +0200
+++ /work/SRC/openSUSE:Factory/.pmacct.new.2990/pmacct.changes  2019-11-10 
22:52:05.934345002 +0100
@@ -1,0 +2,10 @@
+Thu Nov  7 20:08:48 UTC 2019 - Martin Hauke 
+
+- Do not longer build with support for the obsolete GeoIP
+  The GeoIP-interface has been discontinued by Maxmind. See
+  https://support.maxmind.com/geolite-legacy-discontinuation-notice/
+  for details. Without the database GeoIP is useless.
+  pmacct is now build with support for libmaxminddb (GeoIPv2) that
+  provides the same features but with a new supported interface.
+
+---



Other differences:
--
++ pmacct.spec ++
--- /var/tmp/diff_new_pack.lruLqw/_old  2019-11-10 22:52:07.374348044 +0100
+++ /var/tmp/diff_new_pack.lruLqw/_new  2019-11-10 22:52:07.378348052 +0100
@@ -51,7 +51,6 @@
 BuildRequires:  postgresql-devel
 BuildRequires:  sqlite-devel >= 3.0.0
 BuildRequires:  systemd-rpm-macros
-BuildRequires:  pkgconfig(geoip)
 BuildRequires:  pkgconfig(jansson)
 BuildRequires:  pkgconfig(libmaxminddb)
 BuildRequires:  pkgconfig(libzmq)
@@ -92,7 +91,7 @@
 %if %{with ndpi}
 --enable-ndpi \
 %endif
---enable-geoip \
+--enable-geoipv2 \
 %if 0%{?suse_version} >= 1310 && 0%{?is_opensuse} == 1
 --enable-jansson \
 %endif




commit pmacct for openSUSE:Factory

2019-05-27 Thread root
Hello community,

here is the log from the commit of package pmacct for openSUSE:Factory checked 
in at 2019-05-27 08:38:54

Comparing /work/SRC/openSUSE:Factory/pmacct (Old)
 and  /work/SRC/openSUSE:Factory/.pmacct.new.5148 (New)


Package is "pmacct"

Mon May 27 08:38:54 2019 rev:2 rq:705313 version:1.7.3

Changes:

--- /work/SRC/openSUSE:Factory/pmacct/pmacct.changes2019-01-08 
12:28:43.696255805 +0100
+++ /work/SRC/openSUSE:Factory/.pmacct.new.5148/pmacct.changes  2019-05-27 
08:39:13.015051524 +0200
@@ -1,0 +2,147 @@
+Thu May 16 18:02:07 UTC 2019 - Martin Hauke 
+
+- Update to version 1.7.3
+  + Introduced the RPKI daemon to build a ROA database and check prefixes
+validation status and coverages. Resource Public Key Infrastructure
+(RPKI) is a specialized public key infrastructure (PKI) framework
+designed to secure the Internet routing. RPKI uses certificates to
+allow Local Internet Registries (LIRs) to list the Internet number
+resources they hold. These attestations are called Route Origination
+Authorizations (ROAs). ROA information can be acquired in one of the
+two following ways: 1) importing it using the rpki_roas_file config
+directive from a file in the RIPE Validator format or 2) connecting
+to a RPKI RTR Cache for live ROA updates; the cache IP address/port
+being defined by the rpki_rtr_cache config directive (and a few more
+optional rpki_rtr_* directives are available and can be reviwed in
+the CONFIG-KEYS doc). The ROA fields will be populated with one of
+these five values: 'u' Unknown, 'v' Valid, 'i' Invalid no overlaps,
+'V' Invalid with a covering Valid prefix, 'U' Invalid with a covering
+Unknown prefix.
+  + Introducing pmgrpcd.py, written in Python, a daemon to handle gRPC-
+based Streaming Telemetry sessions and unmarshall GPB data. Code
+was mostly courtesy by Matthias Arnold ( @tbearma1 ). This is in
+addition (or feeding into) pmtelemetryd, written in C, a daemon to
+handle TCP/UDP-based Streaming Telemetry sessions with JSON-encoded
+data.
+  + pmacctd, uacctd: added support for CFP (Cisco FabricPath) and Cisco
+Virtual Network Tag protocols.
+  + print plugin: added 'custom' to print_output. This is to cover two
+main use-cases: 1) use JSON or Avro encodings but fix the format of
+the messages in a custom way and 2) use a different encoding than
+JSON or Avro. See also example in examples/custom and new directives
+print_output_custom_lib and print_output_custom_cfg_file. The patch
+was courtesy by Edge Intelligence ( @edge-intelligence ).
+  + Introducing mpls_pw_id aggregation primitive and mpls_pw_id key in
+pre_tag_map to filter on signalled L2 MPLS VPN Pseudowire IDs.
+  + BGP daemon: added bgp_disable_router_id knob to enable/disable BGP
+Router-ID check, both at BGP OPEN time and BGP lookup. Useful, for
+example, in scenarios with split BGP v4/v6 AFs over v4/v6 transports.
+  + BGP, BMP daemons: translate origin attribute numeric value into IGP
+(i), EGP (e) and Incomplete (u) strings.
+  + plugins: added new plugin_exit_any feature to make the daemon bail
+out if any (not all, which is the default behaviour) of the plugins
+exits.
+  + maps_index: improved selection of buckets for index hash structure
+by picking the closest prime number to the double of the entries of
+the map to be indexed in order to achieve better elements dispersion
+and hence better performances.
+  + nfacctd: added support for IPFIX templateId-scoped (IE 145) sampling
+information.
+  + pmacctd, uacctd, sfacctd, nfacctd: added a -M command-line option to
+set *_markers (ie. print_markers) to true and fixed -A command-line
+option to set print_output_file_append to align to true/false.
+  ! fix, BGP, BMP, Streaming Telemetry daemons: improved sequencing of
+dump events by assigning a single sequence number per event (ie. for
+streaming pipeline scenarios in order to reduce correlation with
+dump_init/dump_close messages). Also amount of record dumped was
+added to the close message.
+  ! fix, BGP, BMP, Streaming Telemetry daemons: removed hierarchical
+json_decref() since json_object_get() borrows reference. This was
+occasionaly leading to SEGVs.
+  ! fix, uacctd: dynamically allocate jumbo_container buffer size as
+packets larger than 10KB, previous static allocation, would lead to
+crashes.
+  ! fix, nfacctd: wired (BGP, BMP, ISIS, etc.) lookups to the NEL/NSEL 
+use-case.
+  ! fix, nfacctd: search for IE 408 (dataLinkFrameType) was leading to
+SEGVs. Also improved handling of variable-length IPFIX templates.  
+  ! fix, BMP daemon: solved an occasional truncation of the last message
+in a packet. 
+  ! fix, BGP daemon: when processing