Date: Thu, 18 Mar 2010 17:57:23 +0100 (CET) From: Klaus T Aehlig <aehlig@linta.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/144858: www/uzbl [maintainer][patch] use `uname` instead of `uname -o` in default configuration Message-ID: <20100318165723.4F542395A7@schoenfinkel.linta.de> Resent-Message-ID: <201003181700.o2IH0FJx041353@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144858 >Category: ports >Synopsis: www/uzbl [maintainer][patch] use `uname` instead of `uname -o` in default configuration >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Mar 18 17:00:15 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Klaus T Aehlig >Release: FreeBSD 8.0-STABLE i386 >Organization: >Environment: System: FreeBSD schoenfinkel.linta.de 8.0-STABLE FreeBSD 8.0-STABLE #6: Thu Jan 7 10:07:51 CET 2010 aehlig@schoenfinkel.linta.de:/usr/obj/usr/src/sys/SCHOENFINKEL i386 >Description: In the default configuration file for www/uzbl, the useragent is set to contain `uname -o` and `uname -m`. However, uname(1) on FreeBSD does not have an option -o. This bug has been reported to me by Tobias Lott. >How-To-Repeat: Start uzbl-core or uzbl-browser as a user that does *not* have a custom uzbl configuration file and see the error message; additionally, look at the User-Agent: line in any http request made by the browser---it will contain the hardware architecture, but not the operating system. >Fix: Put the following patch in the files subdirectory of the www/uzbl port. --- patch-config begins here --- --- examples/config/config.orig 2010-03-18 15:48:18.000000000 +0100 +++ examples/config/config 2010-03-18 15:48:39.000000000 +0100 @@ -120,7 +120,7 @@ # === Core settings ========================================================== -set useragent = Uzbl (Webkit @WEBKIT_MAJOR.@WEBKIT_MINOR.@WEBKIT_MICRO) (@(+uname -o)@ @(+uname -m)@ [@ARCH_UZBL]) (Commit @COMMIT) +set useragent = Uzbl (Webkit @WEBKIT_MAJOR.@WEBKIT_MINOR.@WEBKIT_MICRO) (@(+uname)@ @(+uname -m)@ [@ARCH_UZBL]) (Commit @COMMIT) set fifo_dir = /tmp set socket_dir = /tmp --- patch-config ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100318165723.4F542395A7>