0.12.0
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/pmacct?expand=0&rev=76
This commit is contained in:
committed by
Git OBS Bridge
parent
8646b8b97a
commit
c2fc5bc24a
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:60acece28b8d48a279b757bb7d7b4c2f89851ab9fe2c8d54b524fd8eee6e4d58
|
||||
size 331655
|
3
pmacct-0.12.0.tar.bz2
Normal file
3
pmacct-0.12.0.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f93156a29e157425db62d0fd61a18989cc5e226fdba279397947ca343eddae59
|
||||
size 414086
|
11
pmacct-fix_realloc.patch
Normal file
11
pmacct-fix_realloc.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- src/bgp/bgp.c.orig 2010-02-17 20:29:36.000000000 +0100
|
||||
+++ src/bgp/bgp.c 2010-02-17 20:30:54.000000000 +0100
|
||||
@@ -283,7 +283,7 @@
|
||||
}
|
||||
else {
|
||||
if (peer->buf.len > BGP_MAX_PACKET_SIZE) {
|
||||
- realloc(peer->buf.base, BGP_MAX_PACKET_SIZE);
|
||||
+ peer->buf.base = realloc(peer->buf.base, BGP_MAX_PACKET_SIZE);
|
||||
memset(peer->buf.base, 0, BGP_MAX_PACKET_SIZE);
|
||||
peer->buf.len = BGP_MAX_PACKET_SIZE;
|
||||
}
|
85
pmacct.changes
Normal file
85
pmacct.changes
Normal file
@@ -0,0 +1,85 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 17 00:00:00 UTC 2010 - pascal.bleser@opensuse.org
|
||||
|
||||
- update to 0.12.0:
|
||||
* the "is_symmetric" aggregation primitive has been implemented
|
||||
and is aimed at easing detection of asymmetric traffic
|
||||
* tagging is now possible on BGP primitives
|
||||
* various fixes are also included
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 21 00:00:00 UTC 2008 - peter+rpmspam@suntel.com.tr
|
||||
|
||||
- Update to version 0.11.5
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 17 00:00:00 UTC 2006 - peter+rpmspam@suntel.com.tr
|
||||
|
||||
- Changed the permissions of the conf files to writable
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 16 00:00:00 UTC 2006 - peter+rpmspam@suntel.com.tr
|
||||
|
||||
- Cleaned up SPEC file a some more and updated to 0.10.1
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 10 00:00:00 UTC 2006 - peter+rpmspam@suntel.com.tr
|
||||
|
||||
- Fixup spec file to work properly on SUSE Build system
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 27 00:00:00 UTC 2005 - silfreed@silfreed.net
|
||||
|
||||
- upgraded to 0.9.6
|
||||
- split database backends into separate binaries
|
||||
- added 64bit counter support by default
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 8 00:00:00 UTC 2005 - silfreed@silfreed.net
|
||||
|
||||
- upgraded to 0.9.5
|
||||
- removed shortver
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 13 00:00:00 UTC 2005 - silfreed@silfreed.net
|
||||
|
||||
- upgraded to 0.9.4
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 12 00:00:00 UTC 2005 - silfreed@silfreed.net
|
||||
|
||||
- upgraded to 0.9.3
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 23 00:00:00 UTC 2005 - silfreed@silfreed.net
|
||||
|
||||
- upgraded to 0.9.1
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 24 00:00:00 UTC 2005 - silfreed@silfreed.net
|
||||
|
||||
- changed 'libmysqlclient' Require to 'mysql'
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 00:00:00 UTC 2005 - silfreed@silfreed.net
|
||||
|
||||
- removed epoch (old versions won't upgrade correctly)
|
||||
- upgraded to 0.8.6
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 10 00:00:00 UTC 2004 - dwarner@ctinetworks.com
|
||||
|
||||
- Initial RPM release.
|
||||
|
||||
|
71
pmacct.spec
71
pmacct.spec
@@ -1,31 +1,38 @@
|
||||
Summary: Promiscuous mode IP Accounting package
|
||||
Name: pmacct
|
||||
Version: 0.11.6
|
||||
Version: 0.12.0
|
||||
Release: 0
|
||||
License: GPL
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
# http://www.pmacct.net/pmacct-%{version}.tar.gz
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: nfacctd.init
|
||||
Source2: pmacctd.init
|
||||
Source3: sfacctd.init
|
||||
Patch1: pmacct-fix_realloc.patch
|
||||
URL: http://www.pmacct.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
Requires: mysql-shared postgresql-libs sqlite
|
||||
|
||||
BuildRequires: mysql-devel postgresql-devel
|
||||
BuildRequires: sqlite-devel >= 3.0.0
|
||||
BuildRequires: libpcap-devel
|
||||
|
||||
%description
|
||||
pmacct is a small set of passive network monitoring tools to measure, account, classify and aggregate IPv4 and IPv6 traffic; a pluggable and flexible architecture allows to store the collected traffic data into memory tables or SQL (MySQL, SQLite, PostgreSQL) databases. pmacct supports fully customizable historical data breakdown, flow sampling, filtering and tagging, recovery actions, and triggers. Libpcap, sFlow v2/v4/v5 and NetFlow v1/v5/v7/v8/v9 are supported, both unicast and multicast. Also, a client program makes it easy to export data to tools like RRDtool, GNUPlot, Net-SNMP, MRTG, and Cacti.
|
||||
pmacct is a small set of passive network monitoring tools to measure, account,
|
||||
classify and aggregate IPv4 and IPv6 traffic; a pluggable and flexible
|
||||
architecture allows to store the collected traffic data into memory tables or
|
||||
SQL (MySQL, SQLite, PostgreSQL) databases. pmacct supports fully customizable
|
||||
historical data breakdown, flow sampling, filtering and tagging, recovery
|
||||
actions, and triggers. Libpcap, sFlow v2/v4/v5 and NetFlow v1/v5/v7/v8/v9 are
|
||||
supported, both unicast and multicast. Also, a client program makes it easy to
|
||||
export data to tools like RRDtool, GNUPlot, Net-SNMP, MRTG, and Cacti.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
chmod a+rx docs examples sql
|
||||
find docs examples sql -type f -print0 | xargs -r0 chmod -x
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
%configure \
|
||||
--sysconfdir=%{_sysconfdir}/%{name} \
|
||||
--enable-threads \
|
||||
@@ -33,9 +40,12 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
||||
--enable-mysql \
|
||||
--enable-pgsql \
|
||||
--enable-sqlite3 \
|
||||
--enable-ulog \
|
||||
--enable-ipv6 \
|
||||
--enable-v4-mapped \
|
||||
--with-pgsql-includes=/usr/include/pgsql/
|
||||
|
||||
make
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
@@ -67,50 +77,3 @@ touch %{buildroot}/%{_sysconfdir}/pmacct/sfacctd.conf
|
||||
%attr(600,root,root) %config(noreplace) %{_sysconfdir}/pmacct/sfacctd.conf
|
||||
|
||||
%changelog
|
||||
* Mon Jul 21 2008 Peter Nixon 0.11.5
|
||||
- Update to version 0.11.5
|
||||
|
||||
* Fri Nov 17 2006 Peter Nixon <peter+rpmspam@suntel.com.tr> 0.10.1
|
||||
- Changed the permissions of the conf files to writable
|
||||
|
||||
* Tue May 16 2006 Peter Nixon <peter+rpmspam@suntel.com.tr> 0.10.1
|
||||
- Cleaned up SPEC file a some more and updated to 0.10.1
|
||||
|
||||
* Wed May 10 2006 Peter Nixon <peter+rpmspam@suntel.com.tr> 0.10.0
|
||||
- Fixup spec file to work properly on SUSE Build system
|
||||
|
||||
* Tue Dec 27 2005 Douglas E. Warner <silfreed@silfreed.net> 0.9.6-2
|
||||
- fixed package descriptions and conflicts for alldb
|
||||
|
||||
* Tue Dec 27 2005 Douglas E. Warner <silfreed@silfreed.net> 0.9.6-1
|
||||
- upgraded to 0.9.6
|
||||
- split database backends into separate binaries
|
||||
- added 64bit counter support by default
|
||||
|
||||
* Fri Dec 08 2005 Douglas E. Warner <silfreed@silfreed.net> 0.9.5-1
|
||||
- upgraded to 0.9.5
|
||||
- removed shortver
|
||||
|
||||
* Mon Nov 13 2005 Douglas E. Warner <silfreed@silfreed.net> 0.9.4p1-1
|
||||
- upgraded to 0.9.4p1
|
||||
- defined shortver since directory didn't change
|
||||
|
||||
* Mon Nov 13 2005 Douglas E. Warner <silfreed@silfreed.net> 0.9.4-1
|
||||
- upgraded to 0.9.4
|
||||
|
||||
* Tue Oct 12 2005 Douglas E. Warner <silfreed@silfreed.net> 0.9.3-1
|
||||
- upgraded to 0.9.3
|
||||
|
||||
* Tue Aug 23 2005 Douglas E. Warner <silfreed@silfreed.net> 0.9.1-1
|
||||
- upgraded to 0.9.1
|
||||
|
||||
* Tue May 24 2005 Douglas E. Warner <silfreed@silfreed.net> 0.8.6-2
|
||||
- changed 'libmysqlclient' Require to 'mysql'
|
||||
|
||||
* Mon May 23 2005 Douglas E. Warner <silfreed@silfreed.net> 0.8.6-1
|
||||
- removed epoch (old versions won't upgrade correctly)
|
||||
- upgraded to 0.8.6
|
||||
|
||||
* Sat Apr 10 2004 Douglas E. Warner <dwarner@ctinetworks.com>
|
||||
- Initial RPM release.
|
||||
|
||||
|
Reference in New Issue
Block a user