Date: Sat, 21 Jan 2006 15:00:05 -0700 (MST) From: Byung-Hee HWANG <bh@izb.knu.ac.kr> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92114: [PATCH] mail/thunderbird: platform name of User-Agent Message-ID: <20060121220005.3FF096613@viola.izb.knu.ac.kr> Resent-Message-ID: <200601212210.k0LMA5Fo045248@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92114 >Category: ports >Synopsis: [PATCH] mail/thunderbird: platform name of User-Agent >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: Sat Jan 21 22:10:04 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Byung-Hee HWANG >Release: FreeBSD 6.0-STABLE i386 >Organization: InZealBomb >Environment: System: FreeBSD viola.izb.knu.ac.kr 6.0-STABLE FreeBSD 6.0-STABLE #2: Sat Jan 7 01:43:50 MST 2006 bh@viola.izb.knu.ac.kr:/usr/src/sys/i386/compile/II82801BA i386 >Description: Yesterday, I installed Thunderbird via ports. BTW, platform name of that User-Agent is strange to me. And so, I suggest that the platform name should change to another thing. This patch corrects the platform name of User-Agent. See follow, for example: User-Agent: Thunderbird 1.5 (X11/20060121) // before patch User-Agent: Thunderbird 1.5 (FreeBSD/20060121) // after patch I love the word named "FreeBSD". >How-To-Repeat: After patch, I tried as follow: # cd /usr/ports/mail/thunderbird # make clean # make reinstall FORCE_PKG_REGISTER=yes It worked correctly. >Fix: Put it into ${FILESDIR}. Thanks! --- patch-nsMsgCompUtils.cpp begins here --- --- mailnews/compose/src/nsMsgCompUtils.cpp.orig 2006-01-21 00:29:31.227109818 -0700 +++ mailnews/compose/src/nsMsgCompUtils.cpp 2006-01-21 00:32:27.862441125 -0700 @@ -502,7 +502,7 @@ userAgentString += ' '; userAgentString += NS_STRINGIFY(MOZ_APP_VERSION); userAgentString += " ("; - userAgentString += platform; + userAgentString += "FreeBSD"; userAgentString += "/"; userAgentString += productSub; userAgentString += ")"; --- patch-nsMsgCompUtils.cpp ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060121220005.3FF096613>