Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2017 15:36:51 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Dmitry Marakasov <amdmi3@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r444956 - in head/ports-mgmt/fbsdmon: . files
Message-ID:  <c4d3324f-923b-fee5-0c92-26ebcb7e7c14@FreeBSD.org>
In-Reply-To: <201707031409.v63E92TB028382@repo.freebsd.org>
References:  <201707031409.v63E92TB028382@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/4/17 12:09 AM, Dmitry Marakasov wrote:
> Author: amdmi3
> Date: Mon Jul  3 14:09:02 2017
> New Revision: 444956
> URL: https://svnweb.freebsd.org/changeset/ports/444956
> 
> Log:
>   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
> 
> Added:
>   head/ports-mgmt/fbsdmon/files/patch-src_io.c   (contents, props changed)
> Modified:
>   head/ports-mgmt/fbsdmon/Makefile
> 
> Modified: head/ports-mgmt/fbsdmon/Makefile
> ==============================================================================
> --- head/ports-mgmt/fbsdmon/Makefile	Mon Jul  3 13:42:50 2017	(r444955)
> +++ head/ports-mgmt/fbsdmon/Makefile	Mon Jul  3 14:09:02 2017	(r444956)
> @@ -3,7 +3,7 @@
>  
>  PORTNAME=	fbsdmon
>  PORTVERSION=	1.01
> -PORTREVISION=	1
> +PORTREVISION=	2
>  CATEGORIES=	ports-mgmt sysutils
>  MASTER_SITES=	LOCAL/gblach/
>  
> 
> Added: head/ports-mgmt/fbsdmon/files/patch-src_io.c
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/ports-mgmt/fbsdmon/files/patch-src_io.c	Mon Jul  3 14:09:02 2017	(r444956)
> @@ -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);
> 

Could this port also use DEPRECATED + EXPIRATION_DATE and pkg-message to
get more notice (before running it) ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c4d3324f-923b-fee5-0c92-26ebcb7e7c14>