svn commit: r444960 - in branches/2017Q3/ports-mgmt/fbsdmon: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Jul 3 14:58:36 UTC 2017
Author: amdmi3
Date: Mon Jul 3 14:58:35 2017
New Revision: 444960
URL: https://svnweb.freebsd.org/changeset/ports/444960
Log:
MFH: r444956
Commit the patch forgotten in the previous commit:
"- Modify the port to never send data to fbsdmon.org, bump PORTREVISION"
PR: 217099
Submitted by: asomers
Approved by: ports-secteam (with hat)
Added:
branches/2017Q3/ports-mgmt/fbsdmon/files/patch-src_io.c
- copied unchanged from r444956, head/ports-mgmt/fbsdmon/files/patch-src_io.c
Modified:
branches/2017Q3/ports-mgmt/fbsdmon/Makefile
Directory Properties:
branches/2017Q3/ (props changed)
Modified: branches/2017Q3/ports-mgmt/fbsdmon/Makefile
==============================================================================
--- branches/2017Q3/ports-mgmt/fbsdmon/Makefile Mon Jul 3 14:57:59 2017 (r444959)
+++ branches/2017Q3/ports-mgmt/fbsdmon/Makefile Mon Jul 3 14:58:35 2017 (r444960)
@@ -3,7 +3,7 @@
PORTNAME= fbsdmon
PORTVERSION= 1.01
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ports-mgmt sysutils
MASTER_SITES= LOCAL/gblach/
Copied: branches/2017Q3/ports-mgmt/fbsdmon/files/patch-src_io.c (from r444956, head/ports-mgmt/fbsdmon/files/patch-src_io.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2017Q3/ports-mgmt/fbsdmon/files/patch-src_io.c Mon Jul 3 14:58:35 2017 (r444960, copy of r444956, head/ports-mgmt/fbsdmon/files/patch-src_io.c)
@@ -0,0 +1,18 @@
+--- src/io.c.orig 2014-09-06 23:04:23 UTC
++++ src/io.c
+@@ -16,6 +16,15 @@ extern char *fbsdmon_url(char *path)
+ if(NULL != prefix) prefix = strdup(prefix);
+ else prefix = strdup("http://fbsdmon.org/");
+
++ if (strstr(prefix, "fbsdmon.org") != NULL) {
++ fprintf(stderr, "fbsdmon is no longer supported, and the "
++ "web site it sends data to (http://fbsdmon.org/), "
++ "has been taken over by cybersquatters. Refusing "
++ "to send system info to an unknown party. Please "
++ "deinstall fbsdmon package.\n\n");
++ exit(1);
++ }
++
+ char *url = malloc(strlen(prefix) + strlen(path) + 1);
+ bzero(url, 1);
+ strcat(url, prefix);
More information about the svn-ports-branches
mailing list