ports/65243: patch to obfuscate maintainers' addresses
Trevor Johnson
trevor at FreeBSD.org
Tue Apr 6 04:50:47 UTC 2004
>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 at 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 at 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 at 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 at 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 at 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 at FreeBSD.org
.if !target(maintainer)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list