ports/68337: patch so that README.html files in ports don't cause unwitting users to post to mailing lists

Ben Crowell sendprcrowell04 at lightandmatter.com
Fri Jun 25 16:41:07 UTC 2004


>Number:         68337
>Category:       ports
>Synopsis:       patch so that README.html files in ports don't cause unwitting users to post to mailing lists
>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:   Fri Jun 25 16:40:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ben Crowell
>Release:        5.2
>Organization:
>Environment:
FreeBSD rintintin.Belkin 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004     root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Currently many README.html files for ports suggest e-mailing the maintainer, but the
mailto: link is actually to a mailing list such as ports at FreeBSD.org or gnome at FreeBSD.org.
These lists accept posts from nonsubscribers, so users are being encouraged to send an
e-mail that they don't realize is actually going to a list.

>How-To-Repeat:
      An example is the file /usr/ports/print/freetype2/README.html, which has a
mailto:gnome at FreeBSD.org with no indication that it's a mailing list.

>Fix:
Here's a proposed patch. Sorry about the mangling of the tabs in the makefile -- I can't seem to fix them in the browser, and I'm unable to use send-pr directly via e-mail.

*** bsd.port.mk.original        Thu Jun 24 14:41:44 2004
--- bsd.port.mk Thu Jun 24 14:52:50 2004
***************
*** 4461,4466 ****
--- 4461,4468 ----
                                        $${__softMAKEFLAGS} pretty-print-run-depends-list)"'|' \
                        -e 's|%%TOP%%|'"$$(${ECHO_CMD} ${CATEGORIES} | \
                                                           ${SED} -e 's| .*||' -e 's|[^/]*|..|g')"'/..|' \
+                       -e 's|"mailto:gnome at FreeBSD.org">maintainer</a> of this port|"mailto:gnome at FreeBSD.org">gnome at FreeBSD.org mailing list</a>|' \
+                       -e 's|"mailto:ports at FreeBSD.org">maintainer</a> of this port|"mailto:ports at FreeBSD.org">ports at FreeBSD.org mailing list</a>|' \
                ${TEMPLATES}/README.port >> $@
  
  # The following two targets require an up-to-date INDEX in ${PORTSDIR}
      
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list