notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

non port: net/rtg/files/patch-etc_createdb.in

Number of commits found: 5

Monday, 8 Feb 2021
09:25 rhurlin search for other commits by this committer
net/rtg: Update to 0.7.5

* 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
Original commitRevision:564684 
Tuesday, 23 Jul 2019
14:47 rodrigo search for other commits by this committer
Patch createdb script to avoid race condition / file tampering

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
Original commitRevision:507219 
Friday, 31 May 2019
12:58 rodrigo search for other commits by this committer
Fix net/rtg with modern perl and php

 * 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)
Original commitRevision:503172 
Wednesday, 7 Nov 2018
20:24 mat search for other commits by this committer
Revert r484406, it was never approved.

Pointy hat:	mfechner
With hat:	portmgr
Original commitRevision:484408 
19:41 mfechner search for other commits by this committer
* Fix runtime PHP errors that stop the code working if short_opentag is 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
Original commitRevision:484406 

Number of commits found: 5