diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-07-03 22:09:02 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-07-03 22:09:02 +0800 |
commit | 5434606ea4dca696686b8d76dc44ac3281109dcd (patch) | |
tree | 7850db06fb84db61007a51a727e13541059a4a97 /ports-mgmt | |
parent | e351d4398956f4134997ec7e4d9e4d47938c5685 (diff) | |
download | freebsd-ports-gnome-5434606ea4dca696686b8d76dc44ac3281109dcd.tar.gz freebsd-ports-gnome-5434606ea4dca696686b8d76dc44ac3281109dcd.tar.zst freebsd-ports-gnome-5434606ea4dca696686b8d76dc44ac3281109dcd.zip |
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
MFH: 2017Q3
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/fbsdmon/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/fbsdmon/files/patch-src_io.c | 18 |
2 files changed, 19 insertions, 1 deletions
diff --git a/ports-mgmt/fbsdmon/Makefile b/ports-mgmt/fbsdmon/Makefile index a4347d93a7ea..fee6efbcd9f2 100644 --- a/ports-mgmt/fbsdmon/Makefile +++ b/ports-mgmt/fbsdmon/Makefile @@ -3,7 +3,7 @@ PORTNAME= fbsdmon PORTVERSION= 1.01 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= ports-mgmt sysutils MASTER_SITES= LOCAL/gblach/ diff --git a/ports-mgmt/fbsdmon/files/patch-src_io.c b/ports-mgmt/fbsdmon/files/patch-src_io.c new file mode 100644 index 000000000000..260471c80648 --- /dev/null +++ b/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); |