aboutsummaryrefslogtreecommitdiff
path: root/net/rtg
Commit message (Collapse)AuthorAgeFilesLines
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-061-2/+0
|
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* net/rtg: Update to 0.7.5Rainer Hurling2021-02-0826-1811/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated to latest cgilib (0.7) * Removed old GD/PNG/ZLIB bundled libraries for ease of upgrading * Added -b (background/daemonise) flag to rtgpoll * Added -p <file> (PID file) flag to rtgpoll * Added graph titles and legends to rtgplot * Updated PHP scripts from ancient mysql to newer mysqli library * Fixed many potential SQL injection and other vulnerabilities * Updated MySQL support to compile against MySQL 8.0+ * Updated MySQL support to use mysql_config to pull in CFLAGS/LDFLAGS required depending on MySQL build * Updated MySQL table schemas to support clustered MySQL setups * Updated MySQL table schemas to improve speed (indexes) * Added MySQL option to auto-reconnect if MySQL server goes away * Changed default SNMP version to 2 * Removed deprecated SNMP library options * Added 'Update_desc' option to rtg.con to auto-update interface descriptions * Fixed all compilation warnings, even when compiling with -pedantic -Wall -Werror * Push config into sysconfdir and web utils into htmldir * Added -u <user> -g <group> options for rtgpoll to run as user instead of root * Added -r <path> chroot option No changelog, only NEWS file PR: 253311 Submitted by: Daniel Austin <freebsd-ports@dan.me.uk> (maintainer) Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D28523 Notes: svn path=/head/; revision=564684
* Fix build with -fno-commonStefan Eßer2020-09-225-17/+64
| | | | Notes: svn path=/head/; revision=549572
* Add more missing USES=phpTobias Kortkamp2019-11-181-2/+2
| | | | Notes: svn path=/head/; revision=517860
* Convert to UCL & cleanup pkg-message (categories n)Mathieu Arnold2019-08-141-0/+6
| | | | | | | (and missed 3 missed files from previous categories.) Notes: svn path=/head/; revision=508903
* Patch createdb script to avoid race condition / file tamperingRodrigo Osorio2019-07-232-9/+23
| | | | | | | | | | | | | | | | | | | | | During the initialization net/rtg uses the /tmp/mysql.sql and /tmp/rtg.sql to store the SQL commands executed in the database with special user privileges. Using well known files can lead to a race condition between two process who uses the same file names and allow file tampering by a malicious user. This fix uses mktemp command to create temporary files in a safe way PR: 238262 Submitted by: rodrigo Approved by: freebsd-ports@dan.me.uk (maintainer timeout) MFH: 2019Q3 Notes: svn path=/head/; revision=507219
* Fix net/rtg with modern perl and phpRodrigo Osorio2019-05-3125-352/+1353
| | | | | | | | | | | | | | | | | | | * Fix runtime PHP errors if short_opentag is disabled (default) * Remove most PHP warnings/notices that go to error_log * Fix HTML output to be valid * Fix quoting of SQL objects * Fix escaping of user-provided SQL data (potential sql injection) * Widen fields in 95.php and 95.pl for interface and router names * Fix warnings in perl modules in newer perl versions * Fix createdb script to use CREATE USER/GRANT not manipulate user db directly * Add "Update_desc" config entry to auto-update port descriptions from snmp * Update default SNMP version to 2 PR: 227376 Submitted by: <freebsd-ports@dan.me.uk> (maintainer) Notes: svn path=/head/; revision=503172
* net/rtg: Drop nop WANT_PERLTobias Kortkamp2019-05-281-3/+2
| | | | | | | Perl seems to be wanted so add USES=perl5 instead. Notes: svn path=/head/; revision=502862
* Revert r484406, it was never approved.Mathieu Arnold2018-11-0725-1366/+359
| | | | | | | | Pointy hat: mfechner With hat: portmgr Notes: svn path=/head/; revision=484408
* * Fix runtime PHP errors that stop the code working if short_opentag is ↵Matthias Fechner2018-11-0725-359/+1366
| | | | | | | | | | | | | | | | | | | | | | | | | | | disabled (default!) * Remove most PHP warnings/notices that go to error_log * Convert patches to new format where needed * Fix HTML output to be valid * Fix quoting of SQL objects * Fix escaping of user-provided SQL data (potential sql injection) * Widen fields in 95.php and 95.pl for interface and router names * Fix warnings in perl modules in newer perl versions * Fix createdb script to use CREATE USER/GRANT not manipulate user db directly * Add "Update_desc" config entry to auto-update port descriptions from snmp * Update default SNMP version to 2 * Although this doesn't reference any CVE's, it does contain fixes for potential security issues PR: 227376 Submitted by: freebsd-ports@dan.me.uk (maintainer) Reported by: freebsd-ports@dan.me.uk (maintainer) Reviewed by: mfechner Approved by: mentors (timeout), portmgr (timeout) MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D17637 Notes: svn path=/head/; revision=484406
* Patch based off of revision 434135Matthew Seaman2017-04-115-3/+62
| | | | | | | | | | | | | | | | Fix configuration paths in CGIs and reports to include /usr/local/etc/rtg. Affects common.php, reports.pl, and 95.pl. This will fix the CGIs to almost work out of the box. Improve rtgtargmkr.pl to skip unresponsive routers rather than dying. Add USES=ssl PR: 217108 Submitted by: andrew.fengler@scaleengine.com Approved by: maintainer timeout (15 days) Notes: svn path=/head/; revision=438250
* Improve RTG portMatthew Seaman2016-10-2614-69/+82
| | | | | | | | | | | | | | | | | | Summary: Add 'rtg' user and group in UIDs/GIDs. Use daemon(8) to daemonize rtgpoll. Add prestart commands to set correct permissions for RTG's files. Reviewers: swills, allanjude, xmj, andrew.fengler_scaleengine.com, #contributor_reviewers_ports, matthew Reviewed By: #contributor_reviewers_ports, matthew Subscribers: matthew, mat Differential Revision: https://reviews.freebsd.org/D7486 Notes: svn path=/head/; revision=424678
* Unmark broken on powerpc64Steve Wills2016-09-151-2/+0
| | | | | | | These ports built successfully Notes: svn path=/head/; revision=422175
* - Fix trailing whitespace in pkg-descrs, categories [g-n]*Dmitry Marakasov2016-05-191-8/+8
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=415499
* many ports: mark broken on powerpc64Steve Wills2016-04-211-0/+2
| | | | Notes: svn path=/head/; revision=413746
* Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.Mathieu Arnold2016-04-011-3/+3
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412348
* - Fix shebangsDmitry Marakasov2015-07-131-2/+2
| | | | | | | | Approved by: portmgr blanket MFH: 2015Q3 (blanket) Notes: svn path=/head/; revision=391947
* Remove OSVERSION checks that do not make sense any more.Mathieu Arnold2015-04-031-5/+1
| | | | | | | | | | | | | For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true, as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107). Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when it is always needed, I renamed it, in one case, I merged two patches. Differential Revision: https://reviews.freebsd.org/D2209 Notes: svn path=/head/; revision=383107
* net category: Remove $PTHREAD_LIBSJohn Marino2015-03-251-3/+0
| | | | | | | | | | | openafs did not pass check-plist (pre-existing) so fixed and bumped. Also, pkg-plist was sorted. mediatomb and spread also fail plist-checks but they weren't fixed. approved by: PTHREAD blanket Notes: svn path=/head/; revision=382278
* Cleanup plistAntoine Brodin2014-11-221-3/+0
| | | | Notes: svn path=/head/; revision=373063
* Remove indefinite articles and trailing periods from COMMENT, plus minorJimmy Olgeni2014-07-101-1/+1
| | | | | | | | | | | | COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Category N. CR: D307 Approved by: portmgr (bapt) Notes: svn path=/head/; revision=361440
* - Update to use PHP mysqli extensions (as mysql extension is deprecatedRaphael Kubo da Costa2014-06-224-11/+258
| | | | | | | | | | | | | | these days) - Fix runtime dependencies to pull in perl's DBI and DBD::mysql modules for target maker. - Add some options to pull in dependencies for mysql server and php web modules if needed. PR: 191276 Submitted by: Daniel Austin <freebsd-ports@dan.me.uk> (maintainer) Notes: svn path=/head/; revision=358821
* - Add a backup mirrorMartin Wilke2014-06-151-1/+2
| | | | | | | PR: 191013 Notes: svn path=/head/; revision=357853
* - Convert to STAGEPhilippe Audeoud2014-05-304-25/+33
| | | | | | | | PR: ports/189620 Submitted by: maintainer Notes: svn path=/head/; revision=355800
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-5/+2
| | | | | | | net) Notes: svn path=/head/; revision=327755
* In the rc.d scripts, change assignments to rcvar to use theDoug Barton2012-01-141-1/+1
| | | | | | | | | | | | | | literal name_enable wherever possible, and ${name}_enable when it's not, to prepare for the demise of set_rcvar(). In cases where I had to hand-edit unusual instances also modify formatting slightly to be more uniform (and in some cases, correct). This includes adding some $FreeBSD$ tags, and most importantly moving rcvar= to right after name= so it's clear that one is derived from the other. Notes: svn path=/head/; revision=289156
* - Chase net-snmp shlib version bump.Sylvio Cesar Teixeira2011-07-281-1/+1
| | | | Notes: svn path=/head/; revision=278482
* - Get Rid MD5 supportMartin Wilke2011-03-201-1/+0
| | | | Notes: svn path=/head/; revision=271346
* Bump PORTREVISION for ports linking to default libmysqlclient.Alex Dupre2011-03-191-1/+1
| | | | Notes: svn path=/head/; revision=271309
* - Use .sample for sample config so that upgrades dont overwriteLi-Wen Hsu2010-08-0410-9/+268
| | | | | | | | | | | | | user-modified config files - Added note to explain where/how to use rtgplot - Added graph titles and friendly legend tags - Modified rc script to load after mysql PR: ports/148363 Submitted by: Daniel Austin MBCS <freebsd-ports AT dan.me.uk> (maintainer) Notes: svn path=/head/; revision=258759
* - Add rc.d script.Stefan Walter2010-06-305-5/+138
| | | | | | | | | | | | | | - Optimise db table creation with indexes. - Add PID file option. - Fix a few warnings in the Makefile. - Assign maintainership to submitter. PR: 145924 Submitted by: Daniel Austin <freebsd-ports@dan.me.uk> Feature safe: yes Notes: svn path=/head/; revision=257226
* - Chase net-snmp shlib bumpSylvio Cesar Teixeira2010-06-021-2/+2
| | | | Notes: svn path=/head/; revision=255579
* - Fix custom LOCALBASE buildMartin Wilke2009-09-191-3/+5
| | | | | | | | | | | | - USE_MYSQL macro unless there is a reason to depend specifically on mysql41 - Use SF MASTER_SITES abbreviation PR: 136678 Submitted by: Sahil Tandon <sahil@tandon.net> Feature safe: yes Notes: svn path=/head/; revision=241750
* - Switch SourceForge ports to the new File Release System: categories ↵Dmitry Marakasov2009-08-221-2/+1
| | | | | | | starting with N Notes: svn path=/head/; revision=240073
* - Chase shlib version of net-mgmt/net-snmp which I've forgotten.Jun Kuriyama2008-03-291-2/+2
| | | | | | | - Bump PORTREVISIONs again. Notes: svn path=/head/; revision=210063
* - Chase shlib version of net-mgmt/net-snmp.Jun Kuriyama2008-03-271-1/+1
| | | | | | | - Bump PORTREVISIONs. Notes: svn path=/head/; revision=209941
* - Bump shlib version to libnetsnmp.so.10 and bump $PORTREVISION.Jun Kuriyama2007-02-281-2/+2
| | | | Notes: svn path=/head/; revision=186174
* Remove USE_REINPLACE from all categories starting with NEdwin Groothuis2006-05-111-1/+0
| | | | Notes: svn path=/head/; revision=162141
* Try to clean up www/dataKris Kennaway2006-02-051-0/+1
| | | | Notes: svn path=/head/; revision=155276
* - Drop maintainership. ENOTIME for ports, so let someone else take better carePav Lucistnik2006-01-231-1/+1
| | | | | | | | | of them. Submitted by: Brad Davis <so14k@so14k.com> Notes: svn path=/head/; revision=154280
* SHA256ifyEdwin Groothuis2006-01-221-0/+1
| | | | | | | Approved by: krion@ Notes: svn path=/head/; revision=154193
* Chase shlib version bump of net-snmp.Jun Kuriyama2005-11-301-1/+2
| | | | Notes: svn path=/head/; revision=149997
* - Makefile cleanupPav Lucistnik2005-05-174-6/+53
| | | | | | | | | | | | - Silence build warnings - Fix plist PR: ports/81007 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> Approved by: Brad Davis <so14k@so14k.com> (maintainer) Notes: svn path=/head/; revision=135510
* SIZEify (maintainer timeout)Trevor Johnson2004-03-311-0/+1
| | | | Notes: svn path=/head/; revision=105747
* Say hello to the new "net-mgmt" category. There are probably moreGarrett Wollman2004-02-231-1/+1
| | | | | | | | | | ports that belong here than the ones I have identified and moved in this, first, pass. Approved in principle by: marcus Notes: svn path=/head/; revision=101812
* Add rtg 0.7.4, a flexible, high-performance SNMP statistics monitoringWill Andrews2004-01-076-0/+142
system. Submitted by: Brad Davis <so14k@so14k.com> Notes: svn path=/head/; revision=97541