Date: Mon, 5 Apr 2004 21:49:20 -0700 (PDT) From: Trevor Johnson <trevor@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65243: patch to obfuscate maintainers' addresses Message-ID: <20040406044920.EE59216A4D0@hub.freebsd.org> Resent-Message-ID: <200404060450.i364oCR2066092@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65243 >Category: ports >Synopsis: patch to obfuscate maintainers' addresses >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 05 21:50:12 PDT 2004 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040406044920.EE59216A4D0>