net-mgmt/pmacct: fix build on big-endian architectures 1. pmacct.h redefines the system byte-order macros, which fails because of -Werror=macro-redefined. 2. POWER passes configure's unaligned test, but then Assign16(a,b) a=b truncates a 16-bit ethertype into a 1-byte lvalue. Force byte-copy Assign macros to fix it.5257c02573
Port details
net-mgmt/pmacct1.7.9
Accounting and aggregation tool for IPv4 and IPv6 traffic
- Maintainer
- pi@FreeBSD.org
- Packages
- pmacct 1.7.9
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- http://www.pmacct.net/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (144)
Revert "sysutils/edk2: fix network boot on bhyve" This reverts commit 3fcead9dc69a1fb01bf4200ce3b079e942b57f39. Wrongly added non-related files to previous commit.d6250b82ec
sysutils/edk2: fix network boot on bhyve NetworkPkg's DxeNetLib needs EFI_RNG_PROTOCOL, and the Bhyve build's only producer is VirtioRngDxe, which never binds since bhyve has no virtio-rng device. RngDxe uses RDRAND instead and needs no device. TcpDxe depexes gEfiHash2ServiceBindingProtocolGuid, so add Hash2DxeCrypto too; without TcpDxe there is no HttpServiceBinding. Also enable HTTP boot. PR: 298499 Approved by: manu Sponsored by: Netflix3fcead9dc6
net-mgmt/pmacct: update 1.7.8 -> 1.7.9 - Note: PGSQL option is broken - fixes build problem with libcdada PR: 298037 Reported-by: info@ubilling.net.ua Reported-by: olivierd8c2989dee
devel/avro-c: Update to 1.12.0 - Update MASTER_SITES - Update WWW - Bump PORTREVISION of dependent ports for shlib change Changes: https://github.com/apache/avro/releasesf8667c8515
net-mgmt/pmacct: unbreak with RABBITMQ=on PR: 273598d7663d4776
net-mgmt/pmacct: update 1.7.7 -> 1.7.8 - some new patches needed to make it build PR: 269896 Reported-by: olivier Sponsored-by: Nepustil.net Changes: https://github.com/pmacct/pmacct/releases/tag/v1.7.88e8ea047aa
net-mgmt/pmacct: bump PORTREVISION to fix rabbitmq-c deps breakage rabbitmq-c-devel was removed in 0ac8fd9 in favour of net/rabbitmq-c, which broke the index. Reported by: cperciva Sponsored by: SkunkWerks, GmbH03ed9d695d
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
net-mgmt: remove 'Created by' lines A big Thank You to the original contributors of these ports: * @BABOLO <.@babolo.ru> * Alex Samorukov, samm@freebsd.org * Alexander Kriventsov <avk@vl.ru> * Alexander Sulfrian <alexander@sulfrian.net> * Alexander Y. Grigoryev <alexander.4mail@gmail.com> * Alexandre Biancalana <ale@biancalanas.net> * Alexandre Snarskii <snar@paranoia.ru> * Alexandre Snarskii <snar@snar.spb.ru> * Alexey Bobkov <mr.deadlystorm@gmail.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alexey V. Degtyarev * Anders Nordby <anders@FreeBSD.org> * Anders Troback * Andreas Klemm <andreas@klemm.gtn.com> * Andrew 'derfi' Sidorov <derfi@vei.ru> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrew Thompson <andy@fud.org.nz> * Andrew Thompson <thompsa@freebsd.org> * Anton Berezin <tobez@FreeBSD.org> * Anton Berezin <tobez@tobez.org> * Athanasios Douitsis <aduitsis@cpan.org> * Babak Farrokhi <farrokhi@FreeBSD.org> * Bartlomiej Rutkowski <r@robakdesign.com> * Bill Fenner <fenner@FreeBSD.org> * Blaz Zupan <blaz@si.FreeBSD.org> * BluePex Security Solutions <freebsd-ports@bluepex.com> * Boris Samorodov <bsam@FreeBSDD.org> * Brad Davis <brd@FreeBSD.org> * Brad Hendrickse <bradh@uunet.co.za> * Brian Somers <brian@FreeBSD.org> * Bruce M Simpson <bms@FreeBSD.org> * Bruce Simpson * Chris S.J. Peron <maneo@bsdpro.com> * Chris St Denis <chris@smartt.com> * Christer Edwards <christer.edwards@gmail.com> * Christopher N. Harrell <cnh@ivmg.net> * Clement Laforet <sheepkiller@cultdeadsheep.org> * Corey Smith <corsmith@gmail.com> * Craig Boston <craig@yekse.gank.org> * Dave Cottlehuber <dch@FreeBSD.org> * Dave Cottlehuber <dch@skunkwerks.at> * David O'Brien (obrien@NUXI.com) * David Shane Holden <dpejesh@yahoo.com> * David Yeske <dyeske@gmail.com> * Denis Shaposhnikov <dsh@vlink.ru> * Dennis Herrmann <adox@mcx2.org> * Dikshie <dikshie@sfc.wide.ad.jp> * Dmitry Sivachenko <demon@FreeBSD.org> * Domas Mituzas <midom@dammit.lt> * Douglas Fraser <doug@idmf.net> * Douglas K. Rand <rand@iteris.com> * Douglas K. Rand <rand@meridian-enviro.com> * Edwin Groothuis <edwin@mavetju.org> * El Vampiro <vampiro@rootshell.ru> * Emanuel Haupt <ehaupt@FreeBSD.org> * Eric F Crist <ecrist@secure-computing.net> * Eric Turgeon <ericturgeon.bsd@gmail.org> * Eugene Grosbein <eugen@FreeBSD.org> * Fotis Zabaras <fotis@zabaras.eu> * Frank Wall <freebsd@moov.de> * Frank Wall <fw@moov.de> * Gea-Suan Lin <gslin@gslin.org> * Geoffroy Desvernay <dgeo@centrale-marseille.fr> * George Reid <greid@ukug.uk.freebsd.org> * Gerrit Beine <gerrit.beine@gmx.de> * Henrik Brix Andersen <henrik@brixandersen.dk> * Holger Lamm <holger@eit.uni-kl.de> * Hsin-Han You <hhyou@cs.nctu.edu.tw> * Hung-Yi Chen <gaod@hychen.org> * Inacio <nacho319+freebsdZilla@gmail.com> * J.R. Oldroyd <fbsd@opal.com> * JJ Behrens <jj@nttmcl.com> * Jake Smith <jake@xz.cx> * James FitzGibbon <jfitz@FreeBSD.org> * James Flemer <jflemer@acm.jhu.edu> * Janos Mohacsi <janos.mohacsi@bsd.hu> * Janos Mohacsi <mohacsi@niif.hu> * Janos.Mohacsi@bsd.hu * Janos.Mohacsi@dante.org.uk * Jason Helfman <jgh@FreeBSD.org> * Jeremy Chadwick <koitsu@FreeBSD.org> * Jerry A! <jerry@thehutt.org> * Jev Björsell <ports@ecadlabs.com> * Joe Clarke <marcus@marcuscom.com * Joe Clarke <marcus@marcuscom.com> * Johannes Jost Meixner <johannes@FreeBSD.org> * Johannes Jost Meixner <johannes@perceivon.net> * Josh Carroll <josh.carroll@gmail.com> * KIKUCHI Koichiro <koichiro@rworks.jp> * Kevin Hung <khung@nullaxiom.com> * Kian Mohageri <kian.mohageri@gmail.com> * Kimura Fuyuki <fuyuki@hadaly.org> * Kirill Ponomarew <ponomarew@oberon.net> * Kris Kennaway <kris@FreeBSD.org> * Lars Engels <lars.engels@0x20.net> * Lars Thegler <lars@thegler.dk> * Lawrence Chen <beastie@tardisi.com> * Lev Walkin <vlm@lionet.info> * Luca Pizzamiglio <pizzamig@FreeBSD.org> * Mahdi Mokhtari <mokhi63@gmail.com> * Manuel Kreutz <mk@nomtec.net> * Marcin Cieslak <saper@system.pl> * Mark Felder <feld@FreeBSD.org> * Mark Pulford <mark@kyne.com.au> * Martin Jackson <mhjacks@swbell.net> * Martin Matuska <mm@FreeBSD.org> * Mathieu Simon <freebsd@simweb.ch> * Matt Moriarity <matt@mattmoriarity.com> * Matt Peterson <matt@peterson.org> * Matthew Seaman <matthew@FreeBSD.org> * Michael L. Hostbaek (mich@freebsdcluster.org) * Michael Lyngbøl <lyngbol@wheel.dk> * Michael Reifenberger <mr@FreeBSD.org> * Michal Hanula <michal@hanu.la> * Mike Bristow <mike@urgle.com> * Mikhail T. <mi@aldan.algebra.com> * Mikolaj Golub <to.my.trociny@gmail.com> * Muhammad Moinur Rahman <5u623l20@gmail.com> * Muhammad Moinur Rahman <bofh@FreeBSD.org> * Nicholas Esborn <nick@netdot.net> * Nick F <ffault@gmail.com> * Nick Hilliard * Nick Hilliard <nick@foobar.org> * Pakhom Golynga <pg@pakhom.spb.ru> * Paul Chvostek <paul@it.ca> * Paul Dlug <paul@nerdlabs.com> * Paul Dlug<paul@nerdlabs.com> * Pavel I Volkov * Peter C. Lai <cowbert@gmail.com> * Phil Phillips * Pierre David <pdagog@gmail.com>, Jean Benoit <jean@unistra.fr> * Rihaz Jerrin <rihaz.jerrin@gmail.com> * Roar Pettersen <roar@uib.no> * Russell A. Jackson <rjackson@cserv62.csub.edu> * Ryan Steinmetz * Ryan Steinmetz <rpsfa@rit.edu> * Ryan Steinmetz <zi@FreeBSD.org> * Serge Maslov <serge@maslov.biz> * Sergey Skvortsov <skv@protey.ru> * Sevan Janiyan <venture37@geeklan.co.uk> * Shaun Amott <shaun@inerd.com> * Simon 'corecode' Schubert <corecode@corecode.ath.cx> * Stefan Esser <se@FreeBSD.org> * Stefan Lambrev <cheffo@freebsd-bg.org> * Stephen J. Roznowski <sjr@home.net> * Steve Wills <swills@FreeBSD.org> * Steven Kreuzer <skreuzer@FreeBSD.org> * Tassilo Philipp <tphilipp@potion-studios.com> * Thomas Spreng <spreng@socket.ch> * Tim Bishop <tdb@FreeBSD.org> * Timur I. Bakeyev <bat@cpan.org> * Tom Judge <tj@FreeBSD.org> * Tor Halvard "Squat" Furulund <squat@squat.no> * Tsung-Han Yeh <snowfly@yuntech.edu.tw> * Tsung-Han Yeh <snowfly@yunteche.du.tw> * Tuc <freebsd-ports@t-b-o-h.net> * Vaida Bogdan * Veniamin Gvozdikov <vg@FreeBSD.org> * Vladimir Ermakov <samflanker@gmail.com> * Vladimir Kotal <vlada@devnull.cz> * Wei-chun Chao * Xavier Beaudouin <kiwi@oav.net> * Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw> * Yuan-Chung Hsiao <ychsiao@ychsiao.org> * anarcat@anarcat.ath.cx * arved * babak@farrokhi.net * brock@cotcomsol.com * clement@FreeBSD.org * cnh@ivmg.net * dom@happygiraffe.net * dpejesh@yahoo.com * ecronin@gizmolabs.org * ehaupt@FreeBSD.org * gpalmer * gslin <gslin@gslin.org> * hr <holgerrepp@googlemail.com> * ijliao * itojun@itojun.org * jabley * jabley@clear.co.nz * jamrich.majo@gmail.com * janos.mohacsi@bsd.hu * joris * joseph@randomnetworks.com * marck@rinet.ru * mich@FreeBSD.org * mich@freebsdcluster.org * nbm * rea-fbsd@codelabs.ru * rflynn@acsalaska.net * salexanov@gmail.com * sanpei@FreeBSD.org * steinex * torstenb * trevor * vfom@narod.ru * # Created by Kevin Bowling <kbowling@FreeBSD.org> With hat: portmgr43ac3e28ab
net-mgmt/pmacct: fix build on armv7 PR: 260194 Author: Robert Clausecker <fuz@fuz.su>16f00133d9
net-mgmt/pmacct: update 1.7.5 -> 1.7.7 - remove -Werror as per policy - touch up patches - remove PLABEL option for feature removed in 1.7.6 PR: 260194 Changes: http://www.pmacct.net/ChangeLog-1.7.7c2da42cc80
net-mgmt/pmacct: mark unused but set variables with attributes
With clang 13, building net-mgmt/pmacct results in a number of warnings:
netflow9.c:2236:25: error: variable 'tot_len' set but not used [-Werror,-Wunused-but-set-variable]
u_int16_t flows = 0, tot_len = 0;
^
In this particular instance, the 'tot_len' variable does not seem to
have any purpose, nor does it have any further side-effects. There is
one more instance of a set but unused variable 'label' in src/sflow.c,
but the code there is also increasing a byte ptr, so it can't easily be
eliminated. For now mark these variables as unused, with an attribute.
Approved by: pi (maintainer)
PR: 258513
MFC: 2021Q3f508cdd3ccnet-mgmt/pmacct: Use opt_LIB_DEPENDS3455b276e6
net-mgmt/pmacct: Unbreak build with --enable-option-checking=fatal ===> Configuring for pmacct-1.7.5 configure: error: unrecognized options: --disable-, --enable-64bit There is no --enable-64bit option anymore. The --disable- is caused by the extra = after KAFKA_CONFIGURE_ENABLE= because the framework splits *_CONFIGURE_ENABLE on =. Arguably it should raise an error here instead of appending nonsense like --disable-. This took forever to find. :-( PR: 2552917069bc1a13
all: Remove all other $FreeBSD keywords.135fdeebb9
Remove # $FreeBSD$ from Makefiles.305f148f48
net-mgmt/pmacct: fix build with SQLITE3 option and with -fno-common PR: 249029 Submitted by: Olivier Cochard <olivier@freebsd.org>b2584aff1b
Fix build with -fno-common PR: 248880 Approved by: pi (maintainer)41b5d1258f
net-mgmt/pmacct: remove PLIST_SUB entry with KAFKA PR: 243455 Submitted by: mata3e2149ddb
net-mgmt/pmacct: update 1.7.4p1 -> 1.7.5 - added REDIS option, pmacct daemons can now connect to a Redis cache - fix SQLDOC pkg-plist substitute - fixed SQL headers/libs detection PR: 243455 Submitted by: Juraj Lutter <juraj@lutter.sk> Relnotes: https://github.com/pmacct/pmacct/releases/tag/v1.7.5de0521e608
net-mgmt/pmacct: update 1.7.3 -> 1.7.4p1 Relnotes: http://www.pmacct.net/ChangeLog-1.7.48462b53573
These ports now build on aarch64. While here, pet portlint. Approved by: portmgr (tier-2 blanket)3187b5cd97
Convert to UCL & cleanup pkg-message (categories n) (and missed 3 missed files from previous categories.)2614c95748
net-mgmt/pmacct: fix pkg-plist for the default case PR: 238464 Reported by: Michael Proto <mike@jellydonut.org>68ff9761a2
net-mgmt/pmacct: fix pkg-plist PR: 238383a0d190ca57
net-mgmt/pmacct: upgrade 1.7.0 -> 1.7.3, fix depends for RABBITMQ or KAFKA - lots of changes since 1.7.0 PR: 238383 Submitted by: pizzamig Relnotes: http://www.pmacct.net/ChangeLog-1.7.3739a673bc5
Remove GeoIP-related options. Where possible, replace GeoIP 1 defaults with GeoIP 2. Also, as suggested by zi, add an UPDATING note about this.2eb84a7a05
net-mgmt/pmacct: fix build with mariadb PR: 231345 Submitted by: Antonio.Trindade@gmail.com7d412d508f
These ports now build on powerpc64. Approved by: portmgr (tier-2 blanket)e19c44cecf
Add EXAMPLES options to ports that should have one. Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine4a3bebcae1
net-mgmt/pmacct: update 1.6.2 -> 1.7.0 Relnotes: http://www.pmacct.net/ChangeLog-1.7.0ace192c4cf
net-mgmt/pmacct: update 1.6.1 -> 1.6.2, allow per-interface instances PR: 200786 Submitted by: Niels Kristensen <niels@kristensen.io> Relnotes: http://www.pmacct.net/ChangeLog-1.6.25ed9400f04
Fix OPTIONS_DEFAULT: remove IPV6 which is added by framework Approved by: portmgr (blanket)f1c7ecb559
net-mgmt/pmacct: Fix build with SQLITE3 enabled PR: 219365 Submitted by: jeremy@smart-serv.netf7e254ad38
Mark some ports failing on power64. In cases where the error message was a stub, provide a real one. While here, pet portlint. Approved by: portmgr (tier-2 blanket)0a534ed4c7
Mark some ports failing on aarch64, and, in a few cases, other tier-2 archs. While here, pet portlint. Approved by: portmgr (tier-2 blanket)dab2f82d31
net-mgmt/pmacct: fix build for GEOIP option by adding USES=pkgconfig Submitted by: matb6be754431
net-mgmt/pmacct: provide plabel configure flags if option is selectedeb09736c24
net-mgmt/pmacct: update 0.14.3 -> 1.6.1 - take maintainership - MongoDB support is still broken. Version 1.6.1 as well as 0.14.3 requires legacy 0.8.1 mongo-c-driver which is no longer available in ports tree. - nflog support requires missing libraries, so it is disabled. - Other features like RabbitMQ or Kafka should work. PR: 217448 Changes: http://www.pmacct.net/ChangeLog-1.6.1 Submitted by: Alexander Shikov <a.shikov@itcons.net.ua> Approved by: zi (maintainer)c4fca44453
Mark as broken on aarch64: fails to link with sbrk. While here, pet portlint and remove stale ia64 lines. Approved by: portmgr (tier-2 blanket)631eab01cc
Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by default anyway and don't need to be listed Approved by: portmgr blanketc86e9d9724
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight8d6597e0bbConvert ports from s* t* and net* categories to USES=sqlite and USES=firebirdaf90420500
- Cleanup previous commit and fix dependency issuese927fede35
- Add LIB_DEPENDS for postgres support - Do not bump PORTREVISION as this is a NOOP by default PR: 200786 Submitted by: Niels Kristensen <niels@kristensen.io>36e1469aa7
Cleanup plistefc5cc0e55
Finally retire USE_PGSQL4cb60faedd
Bump PORTREVISION on all ports that depend on net/GeoIP for r364627. Approved by: portmgr (not really, but touches unstaged ports)e91f5afdf5