not so nice hack to match upstream Firefox' useragent/buildid (measurement against fingerprinting)
authorWolfgang Rosenauer <wr@rosenauer.org>
Tue, 01 Mar 2011 09:58:05 +0100
changeset 232 156406e2b62d
parent 231 bb385ce8c773
child 236 a4f5954df3a3
not so nice hack to match upstream Firefox' useragent/buildid (measurement against fingerprinting)
mozilla-xulrunner20/mozilla-xulrunner20.changes
mozilla-xulrunner20/mozilla-xulrunner20.spec
--- a/mozilla-xulrunner20/mozilla-xulrunner20.changes	Tue Mar 01 09:55:56 2011 +0100
+++ b/mozilla-xulrunner20/mozilla-xulrunner20.changes	Tue Mar 01 09:58:05 2011 +0100
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Mon Feb 28 12:03:35 UTC 2011 - wr@rosenauer.org
+
+- set useragent buildid to branded Firefox default
+
 -------------------------------------------------------------------
 Wed Feb 23 07:51:12 UTC 2011 - wr@rosenauer.org
 
--- a/mozilla-xulrunner20/mozilla-xulrunner20.spec	Tue Mar 01 09:55:56 2011 +0100
+++ b/mozilla-xulrunner20/mozilla-xulrunner20.spec	Tue Mar 01 09:58:05 2011 +0100
@@ -226,6 +226,9 @@
   echo fix kde helper version in the .spec file
   exit 1
 fi
+source other-licenses/branding/firefox/configure.sh
+unset MOZ_APP_DISPLAYNAME
+export MOZ_UA_BUILDID
 MOZ_APP_DIR=%{_libdir}/xulrunner-%{version_internal}
 export MOZ_BUILD_DATE=%{releasedate}
 export CFLAGS="$RPM_OPT_FLAGS -Os -fno-strict-aliasing"