Bug 253311 - net/rtg: Update to 0.7.5
Summary: net/rtg: Update to 0.7.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Rainer Hurling
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2021-02-06 20:33 UTC by Daniel Austin
Modified: 2021-02-08 09:28 UTC (History)
2 users (show)

See Also:
freebsd-ports: maintainer-feedback+


Attachments
Update rtg to 0.7.5 (83.37 KB, patch)
2021-02-06 20:33 UTC, Daniel Austin
freebsd-ports: maintainer-approval+
Details | Diff
patch with reorganized Makefile and pkg-plist (89.59 KB, patch)
2021-02-07 17:39 UTC, Rainer Hurling
freebsd-ports: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Austin 2021-02-06 20:33:25 UTC
Created attachment 222226 [details]
Update rtg to 0.7.5

Update RTG to 0.7.5.

- Remove SF as master site (I have code access but no access to roll tarballs there)
- Add dependancy for libgd as removed the old bundled version
- Remove default 'web' selection so no longer pulls other dependancies as default.
- Remove various patches as they have been incorporated into the source.

Poudriere testport logs for 11/12 amd64/i386 located at:

https://pkg-builder.dan.net.uk/poudriere/data/latest-per-pkg/rtg/0.7.5/
Comment 1 Rainer Hurling freebsd_committer freebsd_triage 2021-02-07 17:39:47 UTC
Created attachment 222244 [details]
patch with reorganized Makefile and pkg-plist

- pkg-message should only be printed, if option WEB is enabled, shouldn't it?
- OPTIONS_DEFAULT completely removed, since it is empty now
- Reordered Makefile vars, as suggested by portclippy
- Reordered pkg-plist

Could you please check these changes and toggle the maintainerflag again, if you agree?
Many thanks :)
Comment 2 Daniel Austin 2021-02-07 17:42:04 UTC
Comment on attachment 222244 [details]
patch with reorganized Makefile and pkg-plist

sounds good - please proceed.
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-02-08 09:26:19 UTC
A commit references this bug:

Author: rhurlin
Date: Mon Feb  8 09:25:20 UTC 2021
New revision: 564684
URL: https://svnweb.freebsd.org/changeset/ports/564684

Log:
  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

Changes:
  head/net/rtg/Makefile
  head/net/rtg/distinfo
  head/net/rtg/files/patch-cgilib-0.4_cgi.c
  head/net/rtg/files/patch-config_config.h.in
  head/net/rtg/files/patch-configure
  head/net/rtg/files/patch-etc_95.php
  head/net/rtg/files/patch-etc_95.pl
  head/net/rtg/files/patch-etc_Makefile.in
  head/net/rtg/files/patch-etc_SNMP__util.pm
  head/net/rtg/files/patch-etc_common.php.in
  head/net/rtg/files/patch-etc_createdb.in
  head/net/rtg/files/patch-etc_report.pl
  head/net/rtg/files/patch-etc_rtg.conf
  head/net/rtg/files/patch-etc_rtg.php
  head/net/rtg/files/patch-etc_rtgtargmkr.pl.in
  head/net/rtg/files/patch-etc_view.php
  head/net/rtg/files/patch-man_rtgplot.1
  head/net/rtg/files/patch-man_rtgpoll.1
  head/net/rtg/files/patch-src_rtg.h
  head/net/rtg/files/patch-src_rtgplot.c
  head/net/rtg/files/patch-src_rtgplot.h
  head/net/rtg/files/patch-src_rtgpoll.c
  head/net/rtg/files/patch-src_rtgsnmp.c
  head/net/rtg/files/patch-src_rtgutil.c
  head/net/rtg/files/rtgpoll.in
  head/net/rtg/pkg-plist
Comment 4 Rainer Hurling freebsd_committer freebsd_triage 2021-02-08 09:28:47 UTC
Committed, thanks :)