svn commit: r444956 - in head/ports-mgmt/fbsdmon: . files
Mathieu Arnold
mat at FreeBSD.org
Wed Jul 5 06:47:25 UTC 2017
Le 05/07/2017 à 07:36, Kubilay Kocak a écrit :
> 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) ?
When a port is DEPRECATED it automatically gets a bonus added to its
pkg-message, so no need to do it twice. See
Mk/Scripts/create-manifest.sh near the end.
--
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20170705/d152ac27/attachment.sig>
More information about the svn-ports-head
mailing list