ports/144858: www/uzbl [maintainer][patch] use `uname` instead of `uname -o` in default configuration
Klaus T Aehlig
aehlig at linta.de
Thu Mar 18 17:00:16 UTC 2010
>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 at 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. at WEBKIT_MINOR.@WEBKIT_MICRO) (@(+uname -o)@ @(+uname -m)@ [@ARCH_UZBL]) (Commit @COMMIT)
+set useragent = Uzbl (Webkit @WEBKIT_MAJOR. at 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:
More information about the freebsd-ports-bugs
mailing list