From trevor@FreeBSD.ORG  Mon Apr  5 21:49:20 2004
Return-Path: <trevor@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 855)
	id EE59216A4D0; Mon,  5 Apr 2004 21:49:20 -0700 (PDT)
Message-Id: <20040406044920.EE59216A4D0@hub.freebsd.org>
Date: Mon,  5 Apr 2004 21:49:20 -0700 (PDT)
From: Trevor Johnson <trevor@FreeBSD.ORG>
Reply-To: Trevor Johnson <trevor@FreeBSD.ORG>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: patch to obfuscate maintainers' addresses
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         65243
>Category:       ports
>Synopsis:       patch to obfuscate maintainers' addresses
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 05 21:50:12 PDT 2004
>Closed-Date:    Sat Jun 12 01:59:40 GMT 2004
>Last-Modified:  Sat Feb 18 21:57:18 UTC 2012
>Originator:     Trevor Johnson
>Release:        
>Organization:
>Environment:
bsd.port.mk 1.486
>Description:
	Maintainers' e-mail addresses are harvested by Web spiders.
>How-To-Repeat:
	Make an e-mail account and list it on a MAINTAINER line. :-)
>Fix:

	also available from
	<URL:http://people.freebsd.org/~trevor/ports/obfuscate-maintainer.diff>

Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.486
diff -u -r1.486 bsd.port.mk
--- bsd.port.mk	3 Apr 2004 23:59:50 -0000	1.486
+++ bsd.port.mk	6 Apr 2004 04:38:27 -0000
@@ -24,14 +24,22 @@
 
 FreeBSD_MAINTAINER=	portmgr@FreeBSD.org
 
-# For each port, the MAINTAINER variable is what you should consult for
-# contact information on the person(s) to contact if you have questions/
-# suggestions about that specific port.  By default (if no MAINTAINER
-# is listed), a port is maintained by the subscribers of the ports@FreeBSD.org
-# mailing list, and any correspondence should be directed there.
-#
-# MAINTAINER	- The e-mail address of the contact person for this port
-#				  (default: ports@FreeBSD.org).
+# If you have questions or suggestions about any port, contact its maintainer.
+# To find the e-mail address of the maintainer, do "make maintainer".  When
+# writing a new port, you can use the MAINTAINER, MAINT_USER and MAINT_HOST
+# variables.  For instance:
+# 
+# 	MAINTAINER=	someone@example.com
+# 
+# is equivalent to:
+# 
+# 	MAINT_USER=	someone
+# 	MAINT_HOST=	example.com
+# 
+# The second format is intended to reduce the chance that spammers will harvest
+# the address.  If none of these variables are set, the default address is
+# "ports@FreeBSD.org" which is a public mailing list.  If only MAINT_USER is
+# set, the hostname defaults to "FreeBSD.org".
 #
 # These are meta-variables that are automatically set to the system
 # you are running on.  These are provided in case you need to take
@@ -2573,6 +2581,13 @@
 EXTRACT_ONLY?=	${_DISTFILES}
 
 # Documentation
+.if defined (MAINT_USER)
+.if !defined (MAINT_HOST)
+MAINTAINER=${MAINT_USER}@FreeBSD.org
+.else
+MAINTAINER=${MAINT_USER}@${MAINT_HOST}
+.endif
+.endif
 MAINTAINER?=	ports@FreeBSD.org
 
 .if !target(maintainer)
>Release-Note:
>Audit-Trail:

From: Edwin Groothuis <edwin@mavetju.org>
To: Trevor Johnson <trevor@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/65243: patch to obfuscate maintainers' addresses
Date: Tue, 6 Apr 2004 22:19:55 +1000

 On Mon, Apr 05, 2004 at 09:49:20PM -0700, Trevor Johnson wrote:
 > +# 	MAINT_USER=	someone
 > +# 	MAINT_HOST=	example.com
 
 Call it MAINT_DOMAIN, not MAINT_HOST.
 
 Edwin
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr  
Responsible-Changed-By: krion 
Responsible-Changed-When: Tue Apr 6 07:04:19 PDT 2004 
Responsible-Changed-Why:  
Over...Over...Over... 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65243 

From: Trevor Johnson <trevor@jpj.net>
To: Edwin Groothuis <edwin@mavetju.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/65243: patch to obfuscate maintainers' addresses
Date: Tue, 6 Apr 2004 10:50:19 -0400 (EDT)

 > Call it MAINT_DOMAIN, not MAINT_HOST.
 
 MAINT_FQDN then
 -- 
 Trevor Johnson
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Sat Jun 12 01:59:26 GMT 2004 
State-Changed-Why:  
Feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65243 

From: Trevor Johnson <trevor@jpj.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc: Kris Kennaway <kris@FreeBSD.org>, portmgr@FreeBSD.org
Subject: Re: ports/65243: patch to obfuscate maintainers' addresses
Date: Fri, 18 Jun 2004 21:01:03 -0400 (EDT)

 Kris Kennaway wrote:
 
 > On May 18 I sent this:
 >
 > ----
 > [...] I did read the patch, and tried to guess what you were
 > hoping to achieve with it.  What does it solve?  I assumed it was part
 > of a larger plan of yours to obfuscate the address on the websites.
 >
 > Kris
 > ----
 >
 > You did not respond.
 
 Well, as I said in the Description line, maintainers' e-mail addresses are
 being harvested by Web spiders.  With this patch, maintainers can put
 their address into a form that isn't easily collected that way (from
 cvsweb).  The goal is to make it possible for someone to be listed as a
 port maintainer without guaranteed spam.  Certainly there are other places
 that could be looked at, such as the INDEX files, but posing a choice of
 removing remove all e-mail addresses from the Web site, versus doing
 nothing, would be a false dilemma.
 -- 
 Trevor Johnson
Responsible-Changed-From-To: portmgr->swills 
Responsible-Changed-By: swills 
Responsible-Changed-When: Sat Feb 18 21:56:44 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65243 
Responsible-Changed-From-To: swills->portmgr 
Responsible-Changed-By: swills 
Responsible-Changed-When: Sat Feb 18 21:56:56 UTC 2012 
Responsible-Changed-Why:  
Oops, typo caused me to take the wrong PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65243 
>Unformatted:
