openSUSE Commits
Threads by month
- ----- 2024 -----
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
February 2015
- 1 participants
- 1390 discussions
Hello community,
here is the log from the commit of package seamonkey.3449 for openSUSE:13.1:Update checked in at 2015-02-02 11:21:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/seamonkey.3449 (Old)
and /work/SRC/openSUSE:13.1:Update/.seamonkey.3449.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "seamonkey.3449"
Changes:
--------
New Changes file:
--- /dev/null 2014-12-25 22:38:16.200041506 +0100
+++ /work/SRC/openSUSE:13.1:Update/.seamonkey.3449.new/seamonkey.changes 2015-02-02 11:21:18.000000000 +0100
@@ -0,0 +1,3238 @@
+-------------------------------------------------------------------
+Sat Jan 17 17:59:50 UTC 2015 - wr(a)rosenauer.org
+
+- update to SeaMonkey 2.32 (bnc#910669)
+ * MFSA 2015-01/CVE-2014-8634/CVE-2014-8635
+ Miscellaneous memory safety hazards
+ * MFSA 2015-02/CVE-2014-8637 (bmo#1094536)
+ Uninitialized memory use during bitmap rendering
+ * MFSA 2015-03/CVE-2014-8638 (bmo#1080987)
+ sendBeacon requests lack an Origin header
+ * MFSA 2015-04/CVE-2014-8639 (bmo#1095859)
+ Cookie injection through Proxy Authenticate responses
+ * MFSA 2015-05/CVE-2014-8640 (bmo#1100409)
+ Read of uninitialized memory in Web Audio
+ * MFSA 2015-06/CVE-2014-8641 (bmo#1108455)
+ Read-after-free in WebRTC
+ * MFSA 2015-07/CVE-2014-8643 (bmo#1114170) (Windows-only)
+ Gecko Media Plugin sandbox escape
+ * MFSA 2015-08/CVE-2014-8642 (bmo#1079658)
+ Delegated OCSP responder certificates failure with
+ id-pkix-ocsp-nocheck extension
+ * MFSA 2015-09/CVE-2014-8636 (bmo#987794)
+ XrayWrapper bypass through DOM objects
+- rebased patches
+- removed obsolete mozilla-seamonkey-sdk.patch
+- added mozilla-openaes-decl.patch to fix implicit declarations
+
+-------------------------------------------------------------------
+Thu Jan 1 22:53:33 UTC 2015 - wr(a)rosenauer.org
+
+- use GStreamer 1.0 from 13.2 on
+- removed package support for distributions older than 12.3
+ * removed mozilla-sle11.patch
+
+-------------------------------------------------------------------
+Mon Dec 8 10:49:06 UTC 2014 - meissner(a)suse.com
+
+- seamonkey-fix-signed-char.patch: fix build on platforms
+ where char is unsigned (power/arm). (bmo#1085151)
+- mozilla-fix-prototype.patch: add string.h includes
+ for memcpy prototype (as used on bigendian architectures).
+
+-------------------------------------------------------------------
+Thu Dec 4 23:52:37 UTC 2014 - pcerny(a)suse.com
+
+- enable some extensions using the addons sdk (e.g. Ghostery)
+ (mozilla-seamonkey-sdk.patch) (bmo#1071048)
+
+-------------------------------------------------------------------
+Wed Dec 3 06:53:08 UTC 2014 - wr(a)rosenauer.org
+
+- update to SeaMonkey 2.31 (bnc#908009)
+ * requires NSS 3.17.2
+ * MFSA 2014-83/CVE-2014-1587/CVE-2014-1588
+ Miscellaneous memory safety hazards
+ * MFSA 2014-84/CVE-2014-1589 (bmo#1043787)
+ XBL bindings accessible via improper CSS declarations
+ * MFSA 2014-85/CVE-2014-1590 (bmo#1087633)
+ XMLHttpRequest crashes with some input streams
+ * MFSA 2014-86/CVE-2014-1591 (bmo#1069762)
+ CSP leaks redirect data via violation reports
+ * MFSA 2014-87/CVE-2014-1592 (bmo#1088635)
+ Use-after-free during HTML5 parsing
+ * MFSA 2014-88/CVE-2014-1593 (bmo#1085175)
+ Buffer overflow while parsing media content
+ * MFSA 2014-89/CVE-2014-1594 (bmo#1074280)
+ Bad casting from the BasicThebesLayer to BasicContainerLayer
+- rebased patches
+
+-------------------------------------------------------------------
+Fri Nov 21 10:43:11 UTC 2014 - wr(a)rosenauer.org
+
+- use platform specific build flags as in Firefox
+ (including _constraints)
+- define /usr/share/myspell as additional dictionary location
+ and remove add-plugins.sh finally (bnc#900639)
+
+-------------------------------------------------------------------
+Wed Nov 19 22:13:00 UTC 2014 - Led <ledest(a)gmail.com>
+
+- fix bashisms in mozilla.sh and add-plugins.sh scripts
+
+-------------------------------------------------------------------
+Tue Oct 14 21:06:22 UTC 2014 - wr(a)rosenauer.org
+
+- update to SeaMonkey 2.30 (bnc#900941)
+ * venkman debugger removed from application and therefore
+ obsolete package seamonkey-venkman
+ * MFSA 2014-74/CVE-2014-1574/CVE-2014-1575
+ Miscellaneous memory safety hazards
+ * MFSA 2014-75/CVE-2014-1576 (bmo#1041512)
+ Buffer overflow during CSS manipulation
+ * MFSA 2014-76/CVE-2014-1577 (bmo#1012609)
+ Web Audio memory corruption issues with custom waveforms
+ * MFSA 2014-77/CVE-2014-1578 (bmo#1063327)
+ Out-of-bounds write with WebM video
+ * MFSA 2014-78/CVE-2014-1580 (bmo#1063733)
+ Further uninitialized memory use during GIF rendering
+ * MFSA 2014-79/CVE-2014-1581 (bmo#1068218)
+ Use-after-free interacting with text directionality
+ * MFSA 2014-80/CVE-2014-1582/CVE-2014-1584 (bmo#1049095, bmo#1066190)
+ Key pinning bypasses
+ * MFSA 2014-81/CVE-2014-1585/CVE-2014-1586 (bmo#1062876, bmo#1062981)
+ Inconsistent video sharing within iframe
+ * MFSA 2014-82/CVE-2014-1583 (bmo#1015540)
+ Accessing cross-origin objects via the Alarms API
+ (only relevant for installed web apps)
+- requires NSPR 4.10.7
+- requires NSS 3.17.1
+- removed obsolete patches:
+ * mozilla-ppc.patch
+ * mozilla-libproxy-compat.patch
+
+-------------------------------------------------------------------
+Sat Sep 20 14:53:01 UTC 2014 - wr(a)rosenauer.org
+
+- update to SeaMonkey 2.29 (bnc#894370)
+ * based on Gecko 32.0 including all security fixes outlined here
+ https://www.mozilla.org/security/known-vulnerabilities/
+ * removed obsolete patches
+ mozilla-aarch64-bmo-810631.patch, mozilla-aarch64-bmo-962488.patch,
+ mozilla-aarch64-bmo-963023.patch, mozilla-aarch64-bmo-963024.patch,
+ mozilla-aarch64-bmo-963027.patch
+ mozilla-ppc64le-build.patch, mozilla-ppc64le-javascript.patch,
+ mozilla-ppc64le-libffi.patch, mozilla-ppc64le-mfbt.patch,
+ mozilla-ppc64le-webrtc.patch, mozilla-ppc64le-xpcom.patch
+ * rebased patches
+- requires NSS 3.16.4
+- build with --disable-optimize for 13.1 and above for i586 to
+ workaround miscompilations (bnc#896624)
+
+-------------------------------------------------------------------
+Mon Jun 16 09:04:38 UTC 2014 - wr(a)rosenauer.org
+
+- update to SeaMonkey 2.26.1 (bnc#881874)
+ * MFSA 2014-48/CVE-2014-1533/CVE-2014-1534
+ (bmo#921622, bmo#967354, bmo#969517, bmo#969549, bmo#973874,
+ bmo#978652, bmo#978811, bmo#988719, bmo#990868, bmo#991981,
+ bmo#992274, bmo#994907, bmo#995679, bmo#995816, bmo#995817,
+ bmo#996536, bmo#996715, bmo#999651, bmo#1000598,
+ bmo#1000960, bmo#1002340, bmo#1005578, bmo#1007223,
+ bmo#1009952, bmo#1011007)
+ Miscellaneous memory safety hazards (rv:30.0)
+ * MFSA 2014-49/CVE-2014-1536/CVE-2014-1537/CVE-2014-1538
+ (bmo#989994, bmo#999274, bmo#1005584)
+ Use-after-free and out of bounds issues found using Address
+ Sanitizer
+ * MFSA 2014-50/CVE-2014-1539 (bmo#995603)
+ Clickjacking through cursor invisability after Flash interaction
+ * MFSA 2014-51/CVE-2014-1540 (bmo#978862)
+ Use-after-free in Event Listener Manager
+ * MFSA 2014-52/CVE-2014-1541 (bmo#1000185)
+ Use-after-free with SMIL Animation Controller
+ * MFSA 2014-53/CVE-2014-1542 (bmo#991533)
+ Buffer overflow in Web Audio Speex resampler
+ * MFSA 2014-54/CVE-2014-1543 (bmo#1011859)
+ Buffer overflow in Gamepad API
+ * MFSA 2014-55/CVE-2014-1545 (bmo#1018783)
+ Out of bounds write in NSPR
+- requires NSPR 4.10.6
+- build require makeinfo
+
+-------------------------------------------------------------------
+Tue May 13 09:05:18 UTC 2014 - wr(a)rosenauer.org
+
+- fix translations packaging (bnc#877263)
+
+-------------------------------------------------------------------
+Tue Apr 29 06:43:16 UTC 2014 - wr(a)rosenauer.org
+
+- update to SeaMonkey 2.26 (bnc#875378)
+ * MFSA 2014-34/CVE-2014-1518/CVE-2014-1519
+ Miscellaneous memory safety hazards
+ * MFSA 2014-36/CVE-2014-1522 (bmo#995289)
+ Web Audio memory corruption issues
+ * MFSA 2014-37/CVE-2014-1523 (bmo#969226)
+ Out of bounds read while decoding JPG images
+ * MFSA 2014-38/CVE-2014-1524 (bmo#989183)
+ Buffer overflow when using non-XBL object as XBL
+ * MFSA 2014-39/CVE-2014-1525 (bmo#989210)
+ Use-after-free in the Text Track Manager for HTML video
+ * MFSA 2014-41/CVE-2014-1528 (bmo#963962)
+ Out-of-bounds write in Cairo
+ * MFSA 2014-42/CVE-2014-1529 (bmo#987003)
+ Privilege escalation through Web Notification API
+ * MFSA 2014-43/CVE-2014-1530 (bmo#895557)
+ Cross-site scripting (XSS) using history navigations
+ * MFSA 2014-44/CVE-2014-1531 (bmo#987140)
+ Use-after-free in imgLoader while resizing images
+ * MFSA 2014-45/CVE-2014-1492 (bmo#903885)
+ Incorrect IDNA domain name matching for wildcard certificates
+ (fixed by NSS 3.16)
+ * MFSA 2014-46/CVE-2014-1532 (bmo#966006)
+ Use-after-free in nsHostResolver
+ * MFSA 2014-47/CVE-2014-1526 (bmo#988106)
+ Debugger can bypass XrayWrappers with JavaScript
+- rebased patches
++++ 3041 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:13.1:Update/.seamonkey.3449.new/seamonkey.changes
New:
----
_constraints
compare-locales.tar.bz2
create-tar.sh
find-external-requires.sh
l10n-2.32.tar.bz2
mozilla-fix-prototype.patch
mozilla-icu-strncat.patch
mozilla-language.patch
mozilla-nongnome-proxies.patch
mozilla-ntlm-full-path.patch
mozilla-openaes-decl.patch
mozilla-prefer_plugin_pref.patch
mozilla-shared-nss-db.patch
mozilla-ua-locale.patch
mozilla.sh.in
seamonkey-2.32-source.tar.bz2
seamonkey-desktop.tar.bz2
seamonkey-fix-signed-char.patch
seamonkey-rpmlintrc
seamonkey-ua-locale.patch
seamonkey.changes
seamonkey.spec
search-addons.tar.bz2
spellcheck.js
suse-default-prefs.js
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ seamonkey.spec ++++++
#
# spec file for package seamonkey
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 2006-2015 Wolfgang Rosenauer
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%if 0%{?suse_version} > 1310
%define gstreamer_ver 1.0
%define gstreamer 1
%else
%define gstreamer_ver 0.10
%endif
Name: seamonkey
BuildRequires: Mesa-devel
BuildRequires: autoconf213
BuildRequires: dbus-1-glib-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: hunspell-devel
BuildRequires: libgnomeui-devel
BuildRequires: libidl-devel
BuildRequires: libiw-devel
BuildRequires: libnotify-devel
BuildRequires: libproxy-devel
BuildRequires: makeinfo
BuildRequires: nss-shared-helper-devel
BuildRequires: python
BuildRequires: startup-notification-devel
BuildRequires: unzip
BuildRequires: update-desktop-files
BuildRequires: xorg-x11-libXt-devel
BuildRequires: yasm
BuildRequires: zip
BuildRequires: pkgconfig(gstreamer-%gstreamer_ver)
BuildRequires: pkgconfig(gstreamer-app-%gstreamer_ver)
BuildRequires: pkgconfig(gstreamer-plugins-base-%gstreamer_ver)
BuildRequires: pkgconfig(libpulse)
%if 0%{?gstreamer} == 1
Requires: libgstreamer-1_0-0
Recommends: gstreamer-fluendo-mp3
Recommends: gstreamer-plugins-libav
%else
Requires: libgstreamer-0_10-0
Recommends: gstreamer-0_10-fluendo-mp3
Recommends: gstreamer-0_10-plugins-ffmpeg
%endif
Provides: web_browser
Provides: browser(npapi)
Version: 2.32
Release: 0
%define releasedate 2015011400
Summary: The successor of the Mozilla Application Suite
License: MPL-2.0
Group: Productivity/Networking/Web/Browsers
Url: http://www.mozilla.org/projects/seamonkey
Source: seamonkey-%{version}-source.tar.bz2
Source1: seamonkey-desktop.tar.bz2
Source2: spellcheck.js
Source3: mozilla.sh.in
Source4: suse-default-prefs.js
Source5: l10n-%{version}.tar.bz2
Source6: search-addons.tar.bz2
Source7: seamonkey-rpmlintrc
Source8: find-external-requires.sh
Source9: create-tar.sh
Source10: compare-locales.tar.bz2
Patch1: mozilla-nongnome-proxies.patch
Patch2: mozilla-prefer_plugin_pref.patch
Patch3: mozilla-shared-nss-db.patch
Patch5: mozilla-language.patch
Patch7: mozilla-ntlm-full-path.patch
Patch8: mozilla-ua-locale.patch
Patch11: mozilla-icu-strncat.patch
Patch12: mozilla-openaes-decl.patch
Patch13: mozilla-fix-prototype.patch
Patch100: seamonkey-ua-locale.patch
Patch101: seamonkey-fix-signed-char.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: /bin/sh coreutils
Provides: seamonkey-mail = %{version}
Obsoletes: seamonkey-mail <= 2.0
Provides: seamonkey-spellchecker = %{version}
Obsoletes: seamonkey-spellchecker <= 2.0
# venkman is discontinued and removed (not merged)
Provides: seamonkey-venkman = %{version}
Obsoletes: seamonkey-venkman <= 2.29
Recommends: libcanberra0
Recommends: libpulse0
%define progname %{name}
%define prefix /usr
%define progdir %_libdir/%{progname}
%define libgssapi libgssapi_krb5.so.2
### build options
%define has_system_cairo 0
%define localize 1
### build options end
%define _use_internal_dependency_generator 0
%define __find_requires sh %{SOURCE8}
%global provfind sh -c "grep -v '.so' | %__find_provides"
%global __find_provides %provfind
# the following conditions are always met in Factory by definition
# so using %opensuse_bs is secure for now
BuildRequires: mozilla-nspr-devel >= 4.10.7
PreReq: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr)
BuildRequires: mozilla-nss-devel >= 3.17.2
PreReq: mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss)
%description
Originally based on the Netscape Communicator source, the SeaMonkey
project grew to be the most advanced web browser currently available.
It supports new techniques like CSS2, MathML, SVG, XML, transparent
PNGs, and its look is fully theme-able.
%package irc
Summary: IRC for SeaMonkey
Group: Productivity/Networking/IRC
PreReq: %{name} = %{version}
%description irc
An IRC Client (Chatzilla) for SeaMonkey.
%package venkman
Summary: The SeaMonkey JavaScript Debugger
Group: Development/Tools/Debuggers
PreReq: %{name} = %{version}
%description venkman
A javascript debugger for the SeaMonkey web browser.
%package dom-inspector
Summary: The SeaMonkey DOM Inspector
Group: Development/Tools/Navigators
PreReq: %{name} = %{version}
%description dom-inspector
This is a tool that allows you to inspect the DOM for web pages in
SeaMonkey. This is of great use to people who are doing SeaMonkey
chrome development or web page development.
%if %localize
%package translations-common
Summary: Common translations for SeaMonkey
Group: System/Localization
Provides: locale(%{name}:ca;cs;de;en_GB;es_AR;es_ES;fi;fr;hu;it;ja;nb_NO;nl;pl;pt_PT;ru;sv_SE;zh_CN)
PreReq: %{name} = %{version}
%description translations-common
This package contains several optional languages for the user interface
of SeaMonkey.
%package translations-other
Summary: Extra translations for SeaMonkey
Group: System/Localization
Provides: locale(%{name}:be;gl;lt;sk;tr;uk)
PreReq: %{name} = %{version}
%description translations-other
This package contains several optional languages for the user interface
of SeaMonkey.
%endif
%prep
%if %localize
%setup -n seamonkey -b 1 -b 5 -b 10 -q
%else
%setup -n seamonkey -b 1 -q
%endif
# mozilla patches
pushd mozilla
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch5 -p1
%patch7 -p1
%patch8 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
popd
# comm patches
%patch100 -p1
%patch101 -p1
%build
# no need to add build time to binaries
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
TIME="\"$(date -d "${modified}" "+%%R")\""
find . -regex ".*\.c\|.*\.cpp\|.*\.h" \
-exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
#
export SUSE_ASNEEDED=0
export MOZ_BUILD_DATE=%{releasedate}
export MOZILLA_OFFICIAL=1
export BUILD_OFFICIAL=1
export CFLAGS="%{optflags} -fno-strict-aliasing"
%ifarch %arm
export CFLAGS="${CFLAGS/-g / }"
%endif
%ifarch %arm %ix86
# Limit RAM usage during link
export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
%endif
%ifarch ppc64 ppc64le
export CFLAGS="$CFLAGS -mminimal-toc"
%endif
export CXXFLAGS="$CFLAGS"
export MOZCONFIG=$RPM_BUILD_DIR/mozconfig
#
cat << EOF > $MOZCONFIG
mk_add_options MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZ_MILESTONE_RELEASE=1
mk_add_options MOZ_MAKE_FLAGS=%{?jobs:-j%jobs}
#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj
ac_add_options --enable-application=suite
ac_add_options --libdir=%{progdir}
ac_add_options --prefix=%{prefix}
%if %localize
ac_add_options --with-l10n-base=$RPM_BUILD_DIR/l10n
%endif
ac_add_options --disable-tests
ac_add_options --enable-release
ac_add_options --enable-stdcxx-compat
%ifarch %ix86 %arm
%if 0%{?suse_version} > 1230
ac_add_options --disable-optimize
%endif
%endif
%ifnarch ppc ppc64 ppc64le aarch64
ac_add_options --enable-elf-hack
%endif
ac_add_options --disable-debug --disable-dtd-debug
ac_add_options --enable-libxul
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-zlib
#ac_add_options --with-system-jpeg
# ac_add_options--with-system-png # no apng support
ac_add_options --enable-ldap-experimental
ac_add_options --disable-installer
ac_add_options --disable-mochitest
ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --enable-startup-notification
ac_add_options --enable-system-hunspell
#ac_add_options --enable-system-mozldap
%if %has_system_cairo
ac_add_options --enable-system-cairo
%endif
%if 0%{?gstreamer} == 1
ac_add_options --enable-gstreamer=1.0
%endif
ac_add_options --enable-libproxy
EOF
make -f client.mk build
#
%install
cd obj*
make -C suite/installer STRIP=/bin/true MOZ_PKG_FATAL_WARNINGS=0
# copy tree into RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{progdir}
cp -rf $RPM_BUILD_DIR/seamonkey/obj*/dist/seamonkey/* $RPM_BUILD_ROOT%{progdir}
# remove some executable permissions
find $RPM_BUILD_ROOT%{progdir} \
-name "*.js" -o \
-name "*.jsm" -o \
-name "*.rdf" -o \
-name "*.properties" -o \
-name "*.dtd" -o \
-name "*.txt" -o \
-name "*.xml" -o \
-name "*.css" \
| xargs chmod a-x
# remove mkdir.done files from installed base
find $RPM_BUILD_ROOT%{progdir} -name ".mkdir.done" | xargs rm -f
%if %localize
rm -f %{_tmppath}/translations.*
touch %{_tmppath}/translations.{common,other}
for locale in $(awk '{ print $1; }' ../suite/locales/shipped-locales); do
case $locale in
ja-JP-mac|en-US|gl)
;;
*)
pushd $RPM_BUILD_DIR/compare-locales
PYTHONPATH=lib \
scripts/compare-locales \
-m ../l10n-merged/$locale \
../seamonkey/suite/locales/l10n-moz2.0.ini ../l10n $locale
popd
LOCALE_MERGEDIR=$RPM_BUILD_DIR/l10n-merged/$locale \
make -C suite/locales langpack-$locale || continue
cp -rL dist/xpi-stage/locale-$locale \
$RPM_BUILD_ROOT%{progdir}/extensions/langpack-$locale(a)seamonkey.mozilla.org
rm $RPM_BUILD_ROOT%{progdir}/extensions/langpack-$locale(a)seamonkey.mozilla.org/chrome/.mkdir.done
# remove prefs and profile defaults from langpack
rm -rf $RPM_BUILD_ROOT%{progdir}/extensions/langpack-$locale(a)seamonkey.mozilla.org/defaults
# check against the fixed common list and sort into the right filelist
_matched=0
for _match in \
ar ca cs da de en-GB es-AR es-CL es-ES fi fr hu it ja ko nb-NO nl pl pt-BR pt-PT ru sv-SE zh-CN zh-TW;
do
[ "$_match" = "$locale" ] && _matched=1
done
[ $_matched -eq 1 ] && _l10ntarget=common || _l10ntarget=other
echo %{progdir}/extensions/langpack-$locale(a)seamonkey.mozilla.org \
>> %{_tmppath}/translations.$_l10ntarget
;;
esac
done
%endif
# overwrite the mozilla start-script and link it to /usr/bin
mkdir --parents $RPM_BUILD_ROOT%{_bindir}
sed "s:%%PREFIX:%{prefix}:g
s:%%PROGDIR:%{progdir}:g
s:%%APPNAME:seamonkey:g" \
%{SOURCE3} > $RPM_BUILD_ROOT%{progdir}/%{progname}.sh
chmod 755 $RPM_BUILD_ROOT%{progdir}/%{progname}.sh
ln -sf ../..%{progdir}/%{progname}.sh $RPM_BUILD_ROOT%{_bindir}/%{progname}
# apply SUSE defaults
sed -e 's,RPM_VERSION,%{version}-%{release},g
#s,GSSAPI,%{libgssapi},g' \
%{SOURCE4} > suse-default-prefs
cp suse-default-prefs $RPM_BUILD_ROOT%{progdir}/defaults/pref/all-openSUSE.js
rm suse-default-prefs
install -m 644 %{SOURCE2} %{buildroot}%{progdir}/defaults/pref/
# Desktop definition
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
install -m 644 $RPM_BUILD_DIR/*.desktop \
$RPM_BUILD_ROOT%{_datadir}/applications
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/
install -m 644 $RPM_BUILD_DIR/*.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
#
%suse_update_desktop_file seamonkey Network WebBrowser GTK
%suse_update_desktop_file seamonkey-mail Network Email GTK
%suse_update_desktop_file seamonkey-composer Network WebDevelopment GTK
# excludes
rm -f $RPM_BUILD_ROOT%{progdir}/license.txt
rm -f $RPM_BUILD_ROOT%{progdir}/README
rm -f $RPM_BUILD_ROOT%{progdir}/removed-files
rm -f $RPM_BUILD_ROOT%{progdir}/run-mozilla.sh
rm -f $RPM_BUILD_ROOT%{progdir}/seamonkey
rm -f $RPM_BUILD_ROOT%{progdir}/precomplete
rm -f $RPM_BUILD_ROOT%{progdir}/updater
rm -f $RPM_BUILD_ROOT%{progdir}/updater.ini
rm -f $RPM_BUILD_ROOT%{progdir}/update.locale
rm -f $RPM_BUILD_ROOT%{progdir}/update-settings.ini
rm -f $RPM_BUILD_ROOT%{progdir}/icons/updater.png
rm -f $RPM_BUILD_ROOT%{progdir}/dictionaries/*
# Some sites use different partitions for /usr/(lib|lib64) and /usr/share. Since you
# can't create hardlinks across partitions, we'll do this more than once.
%fdupes $RPM_BUILD_ROOT%{progdir}
%fdupes $RPM_BUILD_ROOT%{_datadir}
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{_tmppath}/translations.*
%files
%defattr(-,root,root)
%{_bindir}/%{progname}
%dir %{progdir}
%{progdir}/components/
%{progdir}/defaults/
%dir %{progdir}/dictionaries/
%dir %{progdir}/extensions/
%dir %{progdir}/chrome/
%dir %{progdir}/distribution/
%dir %{progdir}/distribution/extensions/
#%exclude %{progdir}/distribution/extensions/debugQA(a)mozilla.org.xpi
%{progdir}/chrome/icons
%{progdir}/extensions/modern(a)themes.mozilla.org.xpi
%{progdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
%{progdir}/isp/
%{progdir}/searchplugins/
%{progdir}/application.ini
%{progdir}/blocklist.xml
%{progdir}/chrome.manifest
%{progdir}/dependentlibs.list
%{progdir}/*.so
%{progdir}/mozilla-xremote-client
%{progdir}/omni.ja
%{progdir}/platform.ini
%{progdir}/plugin-container
%{progdir}/%{progname}.sh
%{progdir}/seamonkey-bin
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%files irc
%defattr(-,root,root)
%{progdir}/distribution/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}.xpi
%files dom-inspector
%defattr(-,root,root)
%{progdir}/distribution/extensions/inspector*.xpi
%if %localize
%files translations-common -f %{_tmppath}/translations.common
%defattr(-,root,root)
%files translations-other -f %{_tmppath}/translations.other
%defattr(-,root,root)
%endif
%changelog
++++++ create-tar.sh ++++++
#!/bin/bash
CHANNEL="release"
BRANCH="releases/comm-$CHANNEL"
RELEASE_TAG="SEAMONKEY_2_32_RELEASE"
VERSION="2.32"
echo "cloning $BRANCH..."
hg clone http://hg.mozilla.org/$BRANCH seamonkey
pushd seamonkey
hg update -r $RELEASE_TAG
echo "running client.py..."
[ "$RELEASE_TAG" == "default" ] || \
_extra="--comm-rev=$RELEASE_TAG --mozilla-rev=$RELEASE_TAG --inspector-rev=$RELEASE_TAG --venkman-rev=$RELEASE_TAG --chatzilla-rev=$RELEASE_TAG"
python client.py checkout $_extra --mozilla-repo=http://hg.mozilla.org/releases/mozilla-$CHANNEL
popd
echo "creating archive..."
tar cjf seamonkey-$VERSION-source.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS seamonkey
# l10n
echo "fetching locales..."
if [ -e shipped-locales ]; then
SHIPPED_LOCALES=shipped-locales
else
SHIPPED_LOCALES=seamonkey/suite/locales/shipped-locales
fi
test ! -d l10n && mkdir l10n
for locale in $(awk '{ print $1; }' $SHIPPED_LOCALES); do
case $locale in
ja-JP-mac|en-US)
;;
*)
hg clone http://hg.mozilla.org/releases/l10n/mozilla-$CHANNEL/$locale l10n/$locale
hg -R l10n/$locale up -C $RELEASE_TAG
;;
esac
done
echo "creating l10n archive..."
tar cjf l10n-$VERSION.tar.bz2 \
--exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=calendar \
--exclude=mail \
l10n
# compare-locales
hg clone http://hg.mozilla.org/build/compare-locales
tar cjf compare-locales.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg compare-locales
++++++ find-external-requires.sh ++++++
#!/bin/sh
# Finds requirements provided outside of the current file set
filelist=$( sed "s/[]['\"*?{}]/\\\\\&/g" )
provides=$( echo "$filelist" | /usr/lib/rpm/find-provides )
echo "$filelist" \
| /usr/lib/rpm/find-requires \
| grep -F -v "$provides" \
| sort -u
++++++ mozilla-fix-prototype.patch ++++++
Index: mozilla/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.c
===================================================================
--- mozilla.orig/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.c
+++ mozilla/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.c
@@ -12,6 +12,7 @@
#include "pcm16b.h"
#include <stdlib.h>
+#include <string.h>
#include "typedefs.h"
++++++ mozilla-icu-strncat.patch ++++++
# HG changeset patch
# Parent 29be2a4daa0f512d22bde85b97b5460839026571
# User Wolfgang Rosenauer <wr(a)rosenauer.org>
From: Jan Engelhardt <jengelh(a)inai.de>
Reference: http://bugs.icu-project.org/trac/ticket/7808
diff --git a/intl/icu/source/tools/pkgdata/pkgdata.cpp b/intl/icu/source/tools/pkgdata/pkgdata.cpp
--- a/intl/icu/source/tools/pkgdata/pkgdata.cpp
+++ b/intl/icu/source/tools/pkgdata/pkgdata.cpp
@@ -1975,22 +1975,22 @@ static void loadLists(UPKGOptions *o, UE
FILE *p = NULL;
size_t n;
static char buf[512] = "";
char cmdBuf[1024];
UErrorCode status = U_ZERO_ERROR;
const char cmd[] = "icu-config --incpkgdatafile";
/* #1 try the same path where pkgdata was called from. */
- findDirname(progname, cmdBuf, 1024, &status);
+ findDirname(progname, cmdBuf, sizeof(cmdBuf), &status);
if(U_SUCCESS(status)) {
if (cmdBuf[0] != 0) {
- uprv_strncat(cmdBuf, U_FILE_SEP_STRING, 1024);
+ uprv_strncat(cmdBuf, U_FILE_SEP_STRING, sizeof(cmdBuf)-1-strlen(cmdBuf));
}
- uprv_strncat(cmdBuf, cmd, 1024);
+ uprv_strncat(cmdBuf, cmd, sizeof(cmdBuf)-1-strlen(cmdBuf));
if(verbose) {
fprintf(stdout, "# Calling icu-config: %s\n", cmdBuf);
}
p = popen(cmdBuf, "r");
}
if(p == NULL || (n = fread(buf, 1, 511, p)) <= 0) {
++++++ mozilla-language.patch ++++++
# HG changeset patch
# User Wolfgang Rosenauer <wr(a)rosenauer.org>
# Parent 5a29924228527f8882c83cf62d470963ea1ce62e
Bug 583793 - Firefox interface language set to LANG, ignores LANGUAGE
diff --git a/intl/locale/nsLocaleService.cpp b/intl/locale/nsLocaleService.cpp
--- a/intl/locale/nsLocaleService.cpp
+++ b/intl/locale/nsLocaleService.cpp
@@ -122,16 +122,17 @@ nsLocaleService::nsLocaleService(void)
nsRefPtr<nsLocale> resultLocale(new nsLocale());
NS_ENSURE_TRUE_VOID(resultLocale);
#ifdef MOZ_WIDGET_QT
const char* lang = QLocale::system().name().toUtf8();
#else
// Get system configuration
const char* lang = getenv("LANG");
+ const char* language = getenv("LANGUAGE");
#endif
nsAutoString xpLocale, platformLocale;
nsAutoString category, category_platform;
int i;
for( i = 0; i < LocaleListLength; i++ ) {
nsresult result;
@@ -150,16 +151,21 @@ nsLocaleService::nsLocaleService(void)
} else {
CopyASCIItoUTF16(lang, platformLocale);
result = nsPosixLocale::GetXPLocale(lang, xpLocale);
}
}
if (NS_FAILED(result)) {
return;
}
+ // LANGUAGE is overriding LC_MESSAGES
+ if (i == LC_MESSAGES && language && *language) {
+ CopyASCIItoUTF16(language, platformLocale);
+ result = nsPosixLocale::GetXPLocale(language, xpLocale);
+ }
resultLocale->AddCategory(category, xpLocale);
resultLocale->AddCategory(category_platform, platformLocale);
}
mSystemLocale = do_QueryInterface(resultLocale);
mApplicationLocale = do_QueryInterface(resultLocale);
#endif // XP_UNIX
++++++ mozilla-nongnome-proxies.patch ++++++
From: Wolfgang Rosenauer
Subject: Do not use gconf for proxy settings if not running within Gnome
Index: toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
===================================================================
RCS file: /cvsroot/mozilla/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp,v
retrieving revision 1.1
diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
--- a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
+++ b/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
@@ -53,23 +53,27 @@ nsUnixSystemProxySettings::GetMainThread
// dbus prevents us from being threadsafe, but this routine should not block anyhow
*aMainThreadOnly = true;
return NS_OK;
}
nsresult
nsUnixSystemProxySettings::Init()
{
- mGSettings = do_GetService(NS_GSETTINGSSERVICE_CONTRACTID);
- if (mGSettings) {
- mGSettings->GetCollectionForSchema(NS_LITERAL_CSTRING("org.gnome.system.proxy"),
- getter_AddRefs(mProxySettings));
- }
- if (!mProxySettings) {
- mGConf = do_GetService(NS_GCONFSERVICE_CONTRACTID);
+ // only use GSettings if that is a GNOME session
+ const char* sessionType = PR_GetEnv("DESKTOP_SESSION");
+ if (sessionType && !strcmp(sessionType, "gnome")) {
+ mGSettings = do_GetService(NS_GSETTINGSSERVICE_CONTRACTID);
+ if (mGSettings) {
+ mGSettings->GetCollectionForSchema(NS_LITERAL_CSTRING("org.gnome.system.proxy"),
+ getter_AddRefs(mProxySettings));
+ }
+ if (!mProxySettings) {
+ mGConf = do_GetService(NS_GCONFSERVICE_CONTRACTID);
+ }
}
return NS_OK;
}
bool
nsUnixSystemProxySettings::IsProxyMode(const char* aMode)
{
++++++ mozilla-ntlm-full-path.patch ++++++
# HG changeset patch
# User Petr Cerny <pcerny(a)novell.com>
# Parent 7308e4a7c1f769f4bbbc90870b849cadd99495a6
Bug 634334 - call to the ntlm_auth helper fails
diff --git a/extensions/auth/nsAuthSambaNTLM.cpp b/extensions/auth/nsAuthSambaNTLM.cpp
--- a/extensions/auth/nsAuthSambaNTLM.cpp
+++ b/extensions/auth/nsAuthSambaNTLM.cpp
@@ -168,17 +168,17 @@ static uint8_t* ExtractMessage(const nsA
nsresult
nsAuthSambaNTLM::SpawnNTLMAuthHelper()
{
const char* username = PR_GetEnv("USER");
if (!username)
return NS_ERROR_FAILURE;
const char* const args[] = {
- "ntlm_auth",
+ "/usr/bin/ntlm_auth",
"--helper-protocol", "ntlmssp-client-1",
"--use-cached-creds",
"--username", username,
nullptr
};
bool isOK = SpawnIOChild(const_cast<char* const*>(args), &mChildPID, &mFromChildFD, &mToChildFD);
if (!isOK)
++++++ mozilla-openaes-decl.patch ++++++
# HG changeset patch
# Parent 33024abb3c58dab7239e32388df58e14f99defd5
# User Wolfgang Rosenauer <wr(a)rosenauer.org>
diff --git a/media/gmp-clearkey/0.1/openaes/oaes_lib.c b/media/gmp-clearkey/0.1/openaes/oaes_lib.c
--- a/media/gmp-clearkey/0.1/openaes/oaes_lib.c
+++ b/media/gmp-clearkey/0.1/openaes/oaes_lib.c
@@ -27,16 +27,17 @@
* POSSIBILITY OF SUCH DAMAGE.
* ---------------------------------------------------------------------------
*/
static const char _NR[] = {
0x4e,0x61,0x62,0x69,0x6c,0x20,0x53,0x2e,0x20,
0x41,0x6c,0x20,0x52,0x61,0x6d,0x6c,0x69,0x00 };
#include <stdlib.h>
+#include <stdio.h>
#include <stddef.h>
#include <time.h>
#include <string.h>
#ifdef WIN32
#include <process.h>
#endif
++++++ mozilla-prefer_plugin_pref.patch ++++++
From: Ubuntu
Subject: introduce a pref to prefer certain plugins for mime-types
diff --git a/dom/plugins/base/nsPluginHost.cpp b/dom/plugins/base/nsPluginHost.cpp
--- a/dom/plugins/base/nsPluginHost.cpp
+++ b/dom/plugins/base/nsPluginHost.cpp
@@ -1334,17 +1334,51 @@ nsPluginHost::FindPluginForType(const ch
if (!aMimeType) {
return nullptr;
}
LoadPlugins();
InfallibleTArray<nsPluginTag*> matchingPlugins;
+ char *preferredPluginPath = nullptr;
+ nsAutoCString mimetypePrefString ("modules.plugins.mimetype.");
+ mimetypePrefString.Append(aMimeType);
+ const char *mimetypePrefChar = mimetypePrefString.get();
+ nsAdoptingCString pluginPath = Preferences::GetCString(mimetypePrefChar);
+ preferredPluginPath = (char*) pluginPath.get();
+
nsPluginTag *plugin = mPlugins;
+
+ if(preferredPluginPath) {
+ while (plugin) {
+ if (!aCheckEnabled || plugin->IsEnabled()) {
+ if (0 == PL_strcasecmp(plugin->mFileName.get(), preferredPluginPath) ||
+ 0 == PL_strcasecmp(plugin->mFullPath.get(), preferredPluginPath)) {
+ matchingPlugins.AppendElement(plugin);
+ }
+ }
+ plugin = plugin->mNext;
+ }
+
+ // now lets search for substrings
+ plugin = mPlugins;
+ while (plugin) {
+ if (!aCheckEnabled || plugin->IsEnabled()) {
+ if (nullptr != PL_strstr(plugin->mFileName.get(), preferredPluginPath) ||
+ nullptr != PL_strstr(plugin->mFullPath.get(), preferredPluginPath)) {
+ matchingPlugins.AppendElement(plugin);
+ }
+ }
+ plugin = plugin->mNext;
+ }
+
+ return FindPreferredPlugin(matchingPlugins);
+ }
+
while (plugin) {
if (!aCheckEnabled || plugin->IsActive()) {
int32_t mimeCount = plugin->mMimeTypes.Length();
for (int32_t i = 0; i < mimeCount; i++) {
if (0 == PL_strcasecmp(plugin->mMimeTypes[i].get(), aMimeType)) {
matchingPlugins.AppendElement(plugin);
break;
}
++++++ mozilla-shared-nss-db.patch ++++++
From: Hans Petter Jansson <hpj(a)copyleft.no>
Wolfgang Rosenauer <wr(a)rosenauer.org>
Subject: use libnsssharedhelper if available at compile time
(can be disabled by exporting MOZ_XRE_NO_NSSHELPER=1)
References:
diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -8302,16 +8302,31 @@ if test "$MOZ_ENABLE_SKIA"; then
MOZ_ENABLE_SKIA_GPU=1
AC_DEFINE(USE_SKIA_GPU)
AC_SUBST(MOZ_ENABLE_SKIA_GPU)
fi
fi
AC_SUBST(MOZ_ENABLE_SKIA)
dnl ========================================================
+dnl Check for nss-shared-helper
+dnl ========================================================
+
+ PKG_CHECK_MODULES(NSSHELPER, nss-shared-helper,
+ [MOZ_ENABLE_NSSHELPER=1],
+ [MOZ_ENABLE_NSSHELPER=])
+
+if test "$MOZ_ENABLE_NSSHELPER"; then
+ AC_DEFINE(MOZ_ENABLE_NSSHELPER)
+fi
+AC_SUBST(MOZ_ENABLE_NSSHELPER)
+AC_SUBST_LIST(NSSHELPER_CFLAGS)
+AC_SUBST_LIST(NSSHELPER_LIBS)
+
+dnl ========================================================
dnl disable xul
dnl ========================================================
MOZ_ARG_DISABLE_BOOL(xul,
[ --disable-xul Disable XUL],
MOZ_XUL= )
if test "$MOZ_XUL"; then
AC_DEFINE(MOZ_XUL)
else
diff --git a/security/manager/ssl/src/moz.build b/security/manager/ssl/src/moz.build
--- a/security/manager/ssl/src/moz.build
+++ b/security/manager/ssl/src/moz.build
@@ -95,16 +95,19 @@ FAIL_ON_WARNINGS = True
FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
'../../../certverifier',
'../../../pkix/include',
]
+CXXFLAGS += sorted(CONFIG['NSSHELPER_CFLAGS'])
+OS_LIBS += sorted(CONFIG['NSSHELPER_LIBS'])
+
if CONFIG['NSS_DISABLE_DBM']:
DEFINES['NSS_DISABLE_DBM'] = '1'
DEFINES['SSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES'] = 'True'
DEFINES['NSS_ENABLE_ECC'] = 'True'
for var in ('DLL_PREFIX', 'DLL_SUFFIX'):
DEFINES[var] = '"%s"' % CONFIG[var]
diff --git a/security/manager/ssl/src/nsNSSComponent.cpp b/security/manager/ssl/src/nsNSSComponent.cpp
--- a/security/manager/ssl/src/nsNSSComponent.cpp
+++ b/security/manager/ssl/src/nsNSSComponent.cpp
@@ -1,14 +1,21 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#ifdef MOZ_ENABLE_NSSHELPER
+#pragma GCC visibility push(default)
+#include <nss-shared-helper.h>
+#pragma GCC visibility pop
+#include "prenv.h"
+#endif
+
#include "nsNSSComponent.h"
#include "ExtendedValidation.h"
#include "NSSCertDBTrustDomain.h"
#include "mozilla/Telemetry.h"
#include "nsCertVerificationThread.h"
#include "nsAppDirectoryServiceDefs.h"
#include "nsComponentManagerUtils.h"
@@ -945,17 +952,31 @@ nsNSSComponent::InitializeNSS()
if (NS_FAILED(rv)) {
nsPSMInitPanic::SetPanic();
return NS_ERROR_NOT_AVAILABLE;
}
SECStatus init_rv = SECFailure;
if (!profileStr.IsEmpty()) {
// First try to initialize the NSS DB in read/write mode.
- SECStatus init_rv = ::mozilla::psm::InitializeNSS(profileStr.get(), false);
+#ifdef MOZ_ENABLE_NSSHELPER
+ if (PR_GetEnv("MOZ_SM_NO_NSSHELPER")) {
+ init_rv = ::mozilla::psm::InitializeNSS(profileStr.get(), false);
+ } else {
+ uint32_t flags = NSS_INIT_NOROOTINIT | NSS_INIT_OPTIMIZESPACE;
+ init_rv = ::nsshelp_open_db ("Seamonkey", profileStr.get(), flags);
+
+ if (init_rv != SECSuccess) {
+ PR_LOG(gPIPNSSLog, PR_LOG_DEBUG, ("can not init NSS using nsshelp_open_db in %s\n", profileStr.get()));
+ init_rv = ::mozilla::psm::InitializeNSS(profileStr.get(), false);
+ }
+ }
+#else
+ init_rv = ::mozilla::psm::InitializeNSS(profileStr.get(), false);
+#endif
// If that fails, attempt read-only mode.
if (init_rv != SECSuccess) {
PR_LOG(gPIPNSSLog, PR_LOG_DEBUG, ("could not init NSS r/w in %s\n", profileStr.get()));
init_rv = ::mozilla::psm::InitializeNSS(profileStr.get(), true);
}
if (init_rv != SECSuccess) {
PR_LOG(gPIPNSSLog, PR_LOG_DEBUG, ("could not init in r/o either\n"));
}
diff --git a/toolkit/library/moz.build b/toolkit/library/moz.build
--- a/toolkit/library/moz.build
+++ b/toolkit/library/moz.build
@@ -213,16 +213,18 @@ if CONFIG['MOZ_B2G_CAMERA']:
'stagefright_omx',
]
if CONFIG['OS_ARCH'] == 'Linux' and CONFIG['OS_TARGET'] != 'Android':
OS_LIBS += [
'rt',
]
+OS_LIBS += sorted(CONFIG['NSSHELPER_LIBS'])
+
OS_LIBS += CONFIG['MOZ_CAIRO_OSLIBS']
OS_LIBS += CONFIG['MOZ_WEBRTC_X11_LIBS']
if CONFIG['MOZ_NATIVE_JPEG']:
OS_LIBS += CONFIG['MOZ_JPEG_LIBS']
if CONFIG['MOZ_NATIVE_PNG']:
OS_LIBS += CONFIG['MOZ_PNG_LIBS']
++++++ mozilla-ua-locale.patch ++++++
From: upstream
Subject: allow reading general.useragent.locale from user profile
References:
https://bugzilla.mozilla.org/show_bug.cgi?id=542999
http://bugzilla.novell.com/show_bug.cgi?id=582654
diff --git a/chrome/nsChromeRegistryChrome.cpp b/chrome/nsChromeRegistryChrome.cpp
--- a/chrome/nsChromeRegistryChrome.cpp
+++ b/chrome/nsChromeRegistryChrome.cpp
@@ -307,20 +307,21 @@ nsChromeRegistryChrome::OverrideLocalePa
}
return NS_OK;
}
nsresult
nsChromeRegistryChrome::SelectLocaleFromPref(nsIPrefBranch* prefs)
{
nsresult rv;
- bool matchOSLocale = false;
+ bool matchOSLocale = false, userLocaleOverride = false;
+ prefs->PrefHasUserValue(SELECTED_LOCALE_PREF, &userLocaleOverride);
rv = prefs->GetBoolPref(MATCH_OS_LOCALE_PREF, &matchOSLocale);
- if (NS_SUCCEEDED(rv) && matchOSLocale) {
+ if (NS_SUCCEEDED(rv) && matchOSLocale && !userLocaleOverride) {
// compute lang and region code only when needed!
nsAutoCString uiLocale;
rv = getUILangCountry(uiLocale);
if (NS_SUCCEEDED(rv))
mSelectedLocale = uiLocale;
}
else {
nsXPIDLCString provider;
++++++ mozilla.sh.in ++++++
#!/bin/sh
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is mozilla.org Code.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1998
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Wolfgang Rosenauer <wolfgang.rosenauer(a)suse.de>
# <wr(a)rosenauer.org>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
##
## Usage:
##
## $ mozilla [args]
##
## This script is meant to run a mozilla program from the mozilla
## rpm installation.
##
## The script will setup all the environment voodoo needed to make
## mozilla work.
cmdname=`basename $0`
##
## Variables
##
MOZ_DIST_BIN="%PREFIX"
MOZ_DIST_LIB="%PROGDIR"
MOZ_APPNAME="%APPNAME"
MOZ_PROGRAM="$MOZ_DIST_LIB/$MOZ_APPNAME-bin"
MOZ_APP_LAUNCHER="$MOZ_DIST_LIB/$MOZ_APPNAME.sh"
if [ "$0" = "$MOZ_APP_LAUNCHER" ]; then
[ -h "/usr/bin/$MOZ_APPNAME" ] && \
_link=$(readlink -f "/usr/bin/$MOZ_APPNAME")
if [ "$_link" = "$MOZ_APP_LAUNCHER" ]; then
export MOZ_APP_LAUNCHER="/usr/bin/$MOZ_APPNAME"
fi
else
export MOZ_APP_LAUNCHER="/usr/bin/$MOZ_APPNAME"
fi
mozilla_lib=`file $MOZ_PROGRAM`
LIB=lib
echo $mozilla_lib | grep -q -E 'ELF.64-bit.*(x86-64|S/390|PowerPC)' && LIB=lib64
BROWSER_PLUGIN_DIR=/usr/$LIB/browser-plugins
if [ ! -d $BROWSER_PLUGIN_DIR ]; then
BROWSER_PLUGIN_DIR=/opt/netscape/plugins
fi
MOZILLA_FIVE_HOME="$MOZ_DIST_LIB"
export MOZILLA_FIVE_HOME
LD_LIBRARY_PATH=$MOZ_DIST_LIB${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
# needed for SUN Java under Xorg >= 7.2
export LIBXCB_ALLOW_SLOPPY_LOCK=1
##
if [ -z "$MOZ_PLUGIN_PATH" ]; then
export MOZ_PLUGIN_PATH=$BROWSER_PLUGIN_DIR
else
# make sure that BROWSER_PLUGIN_DIR is in MOZ_PLUGIN_PATH
echo "$MOZ_PLUGIN_PATH" | grep "$BROWSER_PLUGIN_DIR" 2>&1 >/dev/null
_retval=$?
if [ ${_retval} -ne 0 ]; then
export MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:$BROWSER_PLUGIN_DIR
fi
fi
# disable Gnome crash dialog (doesn't make sense anyway)
export GNOME_DISABLE_CRASH_DIALOG=1
moz_debug=0
script_args=""
pass_arg_count=0
while [ $# -gt $pass_arg_count ]
do
case "$1" in
-d | --debugger)
moz_debugger=$2;
if [ "${moz_debugger}" != "" ]; then
shift 2
moz_debug=1
else
echo "-d requires an argument"
exit 1
fi
;;
*)
# Move the unrecognized argument to the end of the list.
arg="$1"
shift
set -- "$@" "$arg"
pass_arg_count=`expr $pass_arg_count + 1`
;;
esac
done
if [ $moz_debug -eq 1 ]; then
tmpfile=`mktemp /tmp/mozargs.XXXXXX` || { echo "Cannot create temporary file" >&2; exit 1; }
trap " [ -f \"$tmpfile\" ] && /bin/rm -f -- \"$tmpfile\"" 0 1 2 3 13 15
echo "set args ${1+"$@"}" > $tmpfile
echo "run" >> $tmpfile
echo "$moz_debugger $MOZ_PROGRAM -x $tmpfile"
$moz_debugger "$MOZ_PROGRAM" -x $tmpfile
else
$MOZ_PROGRAM "$@"
fi
exitcode=$?
exit $exitcode
++++++ seamonkey-fix-signed-char.patch ++++++
Bug 1085151 - char signed vs unsigned build failures
TM: 36
Index: seamonkey/mailnews/base/search/src/nsMsgFilterList.cpp
===================================================================
--- seamonkey.orig/mailnews/base/search/src/nsMsgFilterList.cpp
+++ seamonkey/mailnews/base/search/src/nsMsgFilterList.cpp
@@ -490,7 +490,7 @@ nsresult nsMsgFilterList::LoadValue(nsCS
valueStr += curChar;
curChar = ReadChar(aStream);
}
- while (curChar != -1);
+ while (curChar != (char)-1);
return NS_OK;
}
++++++ seamonkey-rpmlintrc ++++++
addFilter("no-jar-manifest")
++++++ seamonkey-ua-locale.patch ++++++
diff --git a/suite/locales/en-US/suite-l10n.js b/suite/locales/en-US/suite-l10n.js
--- a/suite/locales/en-US/suite-l10n.js
+++ b/suite/locales/en-US/suite-l10n.js
@@ -1,8 +1,8 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#filter substitution
-pref("general.useragent.locale", "@AB_CD@");
+pref("general.useragent.locale", "chrome://global/locale/intl.properties");
pref("spellchecker.dictionary", "@AB_CD@");
++++++ spellcheck.js ++++++
pref("spellchecker.dictionary_path", "/usr/share/myspell");
++++++ suse-default-prefs.js ++++++
pref("browser.display.use_system_colors", true);
pref("browser.startup.homepage_override.mstone", "ignore");
pref("general.smoothScroll", true);
pref("font.default", "sans-serif");
pref("network.negotiate-auth.gsslib", "GSSAPI");
pref("print.print_edge_top", 14); // 1/100 of an inch
pref("print.print_edge_left", 16); // 1/100 of an inch
pref("print.print_edge_right", 16); // 1/100 of an inch
pref("print.print_edge_bottom", 14); // 1/100 of an inch
pref("intl.locale.matchOS", true);
// do not disable system-global or app-global extensions
pref("extensions.autoDisableScopes", 3);
pref("extensions.shownSelectionUI", true);
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package mono-core for openSUSE:Factory checked in at 2015-02-02 10:18:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mono-core (Old)
and /work/SRC/openSUSE:Factory/.mono-core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mono-core"
Changes:
--------
--- /work/SRC/openSUSE:Factory/mono-core/mono-core.changes 2015-02-01 12:29:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mono-core.new/mono-core.changes 2015-02-02 10:18:35.000000000 +0100
@@ -2,85 +1,0 @@
-Sat Jan 24 09:41:00 UTC 2015 - mailaender(a)opensuse.org
-
-- update 3.12.0
- * Major performance and memory consumption improvements on SGen.
- * Improve the heuristic of the ThreadPool to maximize efficiency and minimize the number of Threads.
- * New cert-sync tool automatically syncs Mono’s certificate store against the OS certificate store on Linux
- * X86 code now generate pushless code. This is faster on modern CPUs.
- * Multiple fixes in the profiler to make statistical sampling reliable and functional without kernel assisted sampling.
- * Mono users no longer need to run mozroots to get SSL working.
- * Switched to adaptative hill climbing for sizing the pool.
- * The supervisor thread now goes into deep sleep when no new jobs are submitted for a while. This should save power on targets running on batteries.
- * Reorganized how major heap blocks are manipulated for increased efficiency of the major collection.
- * Reduced memory consumption by better sizing of allocation buckets.
- * Switched to a simpler heuristics for major heap sizing that is more stable and avoid unexpected spikes.
- * Removed the parallel collector, it was an experimental feature that did not provide an effective speedup. It will be brought back in the future with a functioning design.
- * Removed the fixed heap configuration, it was an experimental feature that did not deliver enough of a performance improvement.
- * Avoid asserts on shutdown when the appdomain unload callbacks are called on the debugger thread during shutdown. Fixes bxc#24342.
- * Fix the calculation of the epilog size for EH info. Fixes bxc#24577.
- * Fix a class initialization race which happens if a class initializer initializes a got slot before it finishes running. Fixes bxc#23242.
- * Fix OP_LOCALLOC on arm so it correctly adjusts sp with the param area size even if the size is large. Fixes bxc#24221.
- * Disable the extension of i8/i16 arguments to i32 on arm64, since the ios calling convention passes them differently than i32. Fixes bxc#22800.
- * Use NULLIFY_INS () to nullify instructions and use MONO_INST_NEW to create phi node instructions to avoid asserts in the spill pass. Fixes bxc#24006.
- * Rewrite the way direct calls are made between llvm methods. Previously all calls were made to plt entries and the plt entry symbols were aliased to point to the corresponding method if the method was directly callable using the .set assembler directive. This doesn’t seem to work with newer LLVM/CLANG versions, so do this completely on the LLVM side using Value::replaceAllUsesWith (). Fixes bxc#23976.
- * Make process handles non-shared. Fixes bxc#23423.
- * Fix the return of vtypes containing a single fp member from pinvoke methods on OS X/x86. Fixes bxc#23813.
- * Fix an SRE assert. Fixes bxc#19039.
- * Implement 5dbf97e66057f8626c53fcea30f1988d6627e5a2 for calls made from NEWOBJ too. Fixes bxc#23557.
- * Make each CASTCLASS_CACHE patch unique by generating a unique identifier from the method index and an per-method counter. Fixes bxc#23478.
- * Disallow generic classes with explicit layout. Fixes bxc#23438.
- * Add an option to make debugger invokes virtual. Part of the fix for #23385.
- * Allow renaming of threadpool threads. Fixes bxc#23206.
- * Fix the unregistration of our exception handler on Windows. Fixes bxc#23221.
- * Make calls from gshared to gsharedvt sharable methods indirect since otherwise at runtime we might find an instantiation and we cannot patch the call, leading to performance problems. Fixes bxc#23021.
- * Allow the SIZEOF opcode in gsharedvt code if it doesn’t reference a gsharedvt type. Fixes bxc#22711.
- * Fix mono_marshal_free_ccw (). Fixes bxc#22414.
- * Fixes DbEnumerator current property to clone read data. Fixes bxc#24452
- * Allow sending of text data longer than 4000 characters by using a different column type. Fixes bxc#21172.
- * Implement MonoGenericClass:GetCustomAttributes () for created types. Fixes bxc#23769.
- * Improved BlockingCollection.AddAny. Fixes bxc#22775.
- * Implement KnownTypes for DataContractJsonSerializer. Fixes bxc#23058
- * HttpQSCollection.ToString now url encodes values. Fixes bxc#22557.
- * Call SetupRequestAsync only after ContentType changes. Fixes bxc19529.
- * Notify parent task when child task uses NotOnFaulted. Fixes bxc#23594
- * Use TZ transitions when AdjustementRules are ignored. Fixes bxc#23170.
- * Timespan ticks formatting rewrite. Fixes bxc#23376
- * Improved Json deserialization of floating-point numbers. When DataContractJsonSerializer was created from type object, deserialization of floating.point numbers was not possible. Fixes 21583.
- * Test Json deserialization of a floating-point number as object. Covers bxc#21583.
- * Rss20ItemFormatter.ReadFrom now sets Id when guid is PermaLink. Fixes bxc#23262.
- * fix bxc#23318 - XComment.ToString() accepts “invalid” values.
- * Uri made from UNIX path and RelativeOrAbsolute is now relative. Fixes bxc#22954.
- * UriParseComponents no longer decodes ‘@’ in UserInfo. Fixes bxc#23246.
- * Update en-NZ designators. Fixes bxc#22212
- * Update to my last fix for bxc#22129.
- * Copy out/ref parameters on async call; bxc#22129.
- * If not specified assume that array items are nullable. Fixes bxc#19012.
- * Added optional serialization based on ShouldSerialize{V}. SerializationCodeGenerator and XmlSerializationWriterInterpreter will no longer serialize an attribute named {V} if its object has a method named ShouldSerialize{V}() that returns false. {V}Specified now is also checked to be true before serializating the attribute even if it is a property that is not settable. Fixes bxc#1852.
- * GMT DateTimeOffset is now properly parsed. Fixes bxc#22851. GMT date formats set useutc to true, so now useutc is checked to init DateTimeOffset with a zero offset.
- * Improved CalendricalCalculations fixed_from_dmy methods. Fixes bxc#21930. In some cases fixed_from_dmy is used with the month parameter greater than the number of months of that year. Year is now incremented until month parameter is valid.
- * Enumerate all subdirectories including the first one. Fixes bxc#22857
- * Encode ContentDisposition name. Fixes bxc#18422
- * When needed serialized objects are now implicitly converted. Fixes bxc#20403.
- * Fix ClientWebSocket.ReceiveAsync() with small buffer; bxc#22704.
- * Tokenize dash only in range values. Fixes bxc#22764
- * Added time format with only offset. Fixes bxc#22558.
- * fix bxc#6512 (by Mikkel Kruse Johnsen) - don’t deserialize GET parameters.
- * Added support for UriComponents.SerializationInfoString. Fixes bxc#21571.
- * Unify handling of default ctor and zero. Fixes bxc#22591
- * Make SendAsync state free to handle recursive calls. Fixes bxc#22724
- * Actually fix #22179 to allow concurrent requests.
- * DateTime.Parse now handles unlimited number of fractional digits. This change was made because .NET can parse ISO8601 format with an unlimited number of fractional digits. Fixes bxc#22417.
- * Added test ISO8601FractionalDigits. Covers #22417.
- * Delay reflection hit to actual execution point. Workarounds #22522
- * Update RequestMessage.RequestUri.AbsoluteUri after redirect. Fixes bxc#22383
- * Catch exceptions thrown by SerialPortStream.Dispose () when called from the finalizer. Fixes bxc#15514
- * KeyPairPersistence now tries to fix folder permissions. An exception is no longer thrown if the folder permissions can be fixed. Fixes bug bxc#19274.
- * A pointer-type may be used as the type of a volatile field. Fixes bxc#23770
- * Correctly identify constant switch section when value match is not section start. Fixes bxc#23475
- * Check for true/false user operators on unwrapped nullable type. Fixes bxc#23199
- * More tweaks to conditional tokenizer. Fixes bxc#23319
- * Populate inherited constraints member cache from types not only base types. Fixes bxc#23017
- * Fix removing incomplete generic types from eval cache. Fixes bxc#22393
- * Parsing of ternary expressions whose then condition is a lambda. Fixes bxc#22523
-- add gc-64bit-portability-warning.patch
-
--------------------------------------------------------------------
Old:
----
gc-64bit-portability-warning.patch
mono-3.12.0.tar.bz2
New:
----
mono-3.10.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mono-core.spec ++++++
--- /var/tmp/diff_new_pack.BrIekL/_old 2015-02-02 10:18:37.000000000 +0100
+++ /var/tmp/diff_new_pack.BrIekL/_new 2015-02-02 10:18:37.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package mono-core
#
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
%define sgen yes
Name: mono-core
-Version: 3.12.0
+Version: 3.10.0
Release: 0
Summary: Cross-platform, Open Source, .NET development framework
License: LGPL-2.1 and MIT and MS-PL
@@ -40,18 +40,14 @@
# PATCH-FIX-UPSTREAM resources/keyboards.resources exists on x86_64,
# so cp won't work, should add -r argument
Patch10: mono-3.x-keyboards.resources-cp_r.patch
-# PATCH-FIX-UPSTREAM https://github.com/mono/mono/commit/b27d0248772e0b3288fba4f7328bfea1a669368…
-Patch11: gc-64bit-portability-warning.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
-BuildRequires: ca-certificates
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: systemtap-sdt-devel
-BuildRequires: timezone
BuildRequires: pkgconfig(libgdiplus)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xinerama)
@@ -109,7 +105,6 @@
%patch9 -p1
%endif
%patch10 -p1
-%patch11 -p1
%build
./autogen.sh
@@ -1190,7 +1185,6 @@
Requires: libgdiplus-devel
Requires: mono-core = %{version}
# Required because they are referenced by .pc files
-Requires: ca-certificates
Requires: mono-data = %{version}
Requires: mono-data-oracle = %{version}
Requires: mono-extras = %{version}
@@ -1214,9 +1208,7 @@
Mono development tools.
-%post -n mono-devel
-/sbin/ldconfig
-cert-sync /etc/ssl/ca-bundle.pem
+%post -n mono-devel -p /sbin/ldconfig
%postun -n mono-devel -p /sbin/ldconfig
@@ -1226,7 +1218,6 @@
%{_bindir}/ccrewrite
%{_bindir}/cccheck
%{_bindir}/cert2spc
-%{_bindir}/cert-sync
%{_bindir}/dtd2rng
%{_bindir}/dtd2xsd
%{_bindir}/genxs
@@ -1357,7 +1348,6 @@
%{_prefix}/lib/mono/4.5/cccheck.exe*
%{_prefix}/lib/mono/4.5/ccrewrite.exe*
%{_prefix}/lib/mono/4.5/cert2spc.exe*
-%{_prefix}/lib/mono/4.5/cert-sync.exe*
%{_prefix}/lib/mono/4.5/dtd2rng.exe*
%{_prefix}/lib/mono/4.5/dtd2xsd.exe*
%{_prefix}/lib/mono/4.5/genxs.exe*
++++++ mono-3.12.0.tar.bz2 -> mono-3.10.0.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/mono-core/mono-3.12.0.tar.bz2 /work/SRC/openSUSE:Factory/.mono-core.new/mono-3.10.0.tar.bz2 differ: char 11, line 1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libmspack.3450 for openSUSE:13.1:Update checked in at 2015-02-02 09:18:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/libmspack.3450 (Old)
and /work/SRC/openSUSE:13.1:Update/.libmspack.3450.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmspack.3450"
Changes:
--------
New Changes file:
--- /dev/null 2014-12-25 22:38:16.200041506 +0100
+++ /work/SRC/openSUSE:13.1:Update/.libmspack.3450.new/libmspack.changes 2015-02-02 09:18:50.000000000 +0100
@@ -0,0 +1,106 @@
+-------------------------------------------------------------------
+Tue Jan 20 18:12:19 CET 2015 - sbrabec(a)suse.cz
+
+- Fix possible infinite loop caused DoS (bnc912214, CVE-2014-9556,
+ libmspack-qtmd_decompress-loop.patch).
+
+-------------------------------------------------------------------
+Mon Jun 24 10:13:52 UTC 2013 - werner(a)suse.de
+
+- Avoid Source URL for http://www.cabextract.org.uk/ as this does
+ not work
+
+-------------------------------------------------------------------
+Sat Jun 22 17:08:46 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 0.4alpha:
+ + This release adds support for the Microsoft Exchange Offline
+ Address Book (OAB) format, both compressed and incremental
+ variants.
+
+-------------------------------------------------------------------
+Wed Jul 18 18:35:42 UTC 2012 - aj(a)suse.de
+
+- Remove autoreconf call and libtool buildrequires, they are not
+ needed anymore.
+
+-------------------------------------------------------------------
+Wed Jul 18 19:12:53 CEST 2012 - sbrabec(a)suse.cz
+
+- Update to version 0.3alpha:
+ * code cleanup and build system update
+ * handle corrupted cabinet files better
+ * handle special cases of cabinet files
+- License update: LGPL-2.1 only.
+
+-------------------------------------------------------------------
+Mon Feb 27 15:14:56 UTC 2012 - cfarrell(a)suse.com
+
+- license update: LGPL-2.1+
+ No indication of GPL-2.0+ code in the package
+
+-------------------------------------------------------------------
+Mon Feb 13 10:48:55 UTC 2012 - coolo(a)suse.com
+
+- patch license to follow spdx.org standard
+
+-------------------------------------------------------------------
+Sun Nov 20 20:44:56 UTC 2011 - jengelh(a)medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+- Use %_smp_mflags for parallel building
+
+-------------------------------------------------------------------
+Sat Nov 19 20:42:31 UTC 2011 - coolo(a)suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Wed Dec 22 05:21:45 CET 2010 - andreas.hanke(a)gmx-topmail.de
+
+- update to version 0.2alpha (#660942):
+ * matches cabextract-1.3, fixing CVE-2010-2800 and CVE-2010-2801
+ * adds pkg-config support
+ * obsoletes half of libmspack-warnings.patch
+- remove self-obsoletion
+- drop -D_POSIX_SOURCE as it breaks the build with this version
+- drop empty NEWS file
+
+-------------------------------------------------------------------
+Tue Jan 15 17:30:34 CET 2008 - sbrabec(a)suse.cz
+
+- Applied shared library packaging policy.
+- Removed unneeded static library and .la file.
+
+-------------------------------------------------------------------
+Fri Oct 20 15:41:06 CEST 2006 - sbrabec(a)suse.cz
+
+- Updated to version 0.0.20060920alpha:
+ * Bug fixes.
+ * Write an mspack_system implementation that can handle normal
+ disk files, open file handles, open file descriptors and raw
+ memory all at the same time.
+ * Added a program for dumping useful data from CHM files.
+ * Added a new test example which shows an mspack_system
+ implementation that reads and writes from memory only.
+
+-------------------------------------------------------------------
+Wed Jan 25 21:37:34 CET 2006 - mls(a)suse.de
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Mon Nov 22 11:59:08 CET 2004 - ro(a)suse.de
+
+- "sed -i" does not work on older distributions
+
+-------------------------------------------------------------------
+Wed Apr 14 15:39:48 CEST 2004 - mcihar(a)suse.cz
+
+- include some documentation
+
+-------------------------------------------------------------------
+Wed Apr 14 11:06:06 CEST 2004 - mcihar(a)suse.cz
+
+- initial packaging
+
New:
----
libmspack-0.4alpha.tar.gz
libmspack-qtmd_decompress-loop.patch
libmspack.changes
libmspack.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libmspack.spec ++++++
#
# spec file for package libmspack
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libmspack
Version: 0.4
Release: 0
# "alpha" in the version string just says that it is an alpha version.
%define _version %{version}alpha
Summary: Library That Implements Different Microsoft Compressions
License: LGPL-2.1
Group: System/Libraries
Url: http://www.cabextract.org.uk/libmspack/
# Warning, OBS download service does not work at http://www.cabextract.org.uk/
#Source: http://www.cabextract.org.uk/libmspack/%{name}-%{_version}.tar.gz
Source: %{name}-%{_version}.tar.gz
# PATCH-FIX-SECURITY libmspack-qtmd_decompress-loop.patch bnc912214 CVE-2014-9556 sbrabec(a)suse.cz -- Fix possible infinite loop caused DoS.
Patch: libmspack-qtmd_decompress-loop.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config
%description
The purpose of libmspack is to provide both compression and
decompression of some loosely related file formats used by Microsoft.
Currently the most common formats are implemented.
%package -n libmspack0
Summary: Library That Implements Different Microsoft Compressions
Group: System/Libraries
# OpenSUSE <= 10.3, SLES <= 10:
Provides: libmspack = %{version}-%{release}
Obsoletes: libmspack < %{version}-%{release}
%description -n libmspack0
The purpose of libmspack is to provide both compression and
decompression of some loosely related file formats used by Microsoft.
Currently the most common formats are implemented.
%package devel
Summary: Static libraries, header files and documentation for libmspack
Group: Development/Libraries/C and C++
Requires: libmspack0 = %{version}
%description devel
The libmspack-devel package contains the header files and static
libraries necessary for developing programs using libmspack.
%prep
%setup -q -n %{name}-%{_version}
%patch -p3
%build
%configure\
--disable-static
make %{?_smp_mflags}
%install
%makeinstall
rm $RPM_BUILD_ROOT%{_libdir}/*.*a
%post -n libmspack0 -p /sbin/ldconfig
%postun -n libmspack0 -p /sbin/ldconfig
%files -n libmspack0
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc AUTHORS COPYING.LIB ChangeLog README TODO
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%changelog
++++++ libmspack-qtmd_decompress-loop.patch ++++++
>From a0449d2079c4ba5822e6567ad7094c10108f16cd Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <sebastian(a)breakpoint.cc>
Date: Tue, 23 Dec 2014 21:20:43 +0100
Subject: libmspack: qtmd: fix frame_end overflow
Debian bts #773041, #772891 contains a report of a .cab file which
causes an endless loop.
Eric Sharkey diagnosed the problem as frame_end is 32bit and overflows
and the result the loop makes no progress.
The problem seems that after the overflow, window_posn is larger than
frame_end and therefore we never enter the loop to make progress. But we
still have out_bytes >0 so we don't leave the outer loop either.
Andreas Cadhalpun suggested to instead makeing frame_end 64bit, we could
avoid the overflow by reordering the code the following way:
original, with just out_bytes (without (qtm->o_end - qtm->o_ptr))
| frame_end = window_posn + out_bytes;
| if ((window_posn + frame_todo) < frame_end) {
| frame_end = window_posn + frame_todo;
| }
replace frame_end in "if" with its content (and move the first frame_end
into the else path)
| if ((window_posn + frame_todo) < (window_posn + out_bytes))
| frame_end = window_posn + frame_todo;
| else
| frame_end = window_posn + out_bytes;
remove window_posn from "if" since it is the same both times.
| if (frame_todo < out_bytes)
| frame_end = window_posn + frame_todo;
| else
| frame_end = window_posn + out_bytes;
Andreas added:
|This works, because frame_todo is at most QTM_FRAME_SIZE = 32768.
Suggested-as-patch: Andreas Cadhalpun <andreas.cadhalpun(a)googlemail.com>
[sebastian@breakpoint: added patch description]
Signed-off-by: Sebastian Andrzej Siewior <sebastian(a)breakpoint.cc>
---
libclamav/libmspack-0.4alpha/mspack/qtmd.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libclamav/libmspack-0.4alpha/mspack/qtmd.c b/libclamav/libmspack-0.4alpha/mspack/qtmd.c
index 12b27f5..e584aef 100644
--- a/libclamav/libmspack-0.4alpha/mspack/qtmd.c
+++ b/libclamav/libmspack-0.4alpha/mspack/qtmd.c
@@ -296,9 +296,10 @@ int qtmd_decompress(struct qtmd_stream *qtm, off_t out_bytes) {
/* decode more, up to the number of bytes needed, the frame boundary,
* or the window boundary, whichever comes first */
- frame_end = window_posn + (out_bytes - (qtm->o_end - qtm->o_ptr));
- if ((window_posn + frame_todo) < frame_end) {
+ if (frame_todo < (out_bytes - (qtm->o_end - qtm->o_ptr))) {
frame_end = window_posn + frame_todo;
+ } else {
+ frame_end = window_posn + (out_bytes - (qtm->o_end - qtm->o_ptr));
}
if (frame_end > qtm->window_size) {
frame_end = qtm->window_size;
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package glibc for openSUSE:12.3:Update checked in at 2015-02-02 08:29:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/glibc (Old)
and /work/SRC/openSUSE:12.3:Update/.glibc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glibc"
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.f0Wkvc/_old 2015-02-02 08:29:48.000000000 +0100
+++ /var/tmp/diff_new_pack.f0Wkvc/_new 2015-02-02 08:29:48.000000000 +0100
@@ -1 +1 @@
-<link package='glibc.2977' cicount='copy' />
+<link package='glibc.3470' cicount='copy' />
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package glibc.i686 for openSUSE:12.3:Update checked in at 2015-02-02 08:29:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/glibc.i686 (Old)
and /work/SRC/openSUSE:12.3:Update/.glibc.i686.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glibc.i686"
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.hNttZS/_old 2015-02-02 08:29:42.000000000 +0100
+++ /var/tmp/diff_new_pack.hNttZS/_new 2015-02-02 08:29:42.000000000 +0100
@@ -1 +1 @@
-<link package='glibc.i686.2977' cicount='copy' />
+<link package='glibc.i686.3470' cicount='copy' />
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package glibc-utils for openSUSE:12.3:Update checked in at 2015-02-02 08:29:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/glibc-utils (Old)
and /work/SRC/openSUSE:12.3:Update/.glibc-utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glibc-utils"
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.hCtQdJ/_old 2015-02-02 08:29:37.000000000 +0100
+++ /var/tmp/diff_new_pack.hCtQdJ/_new 2015-02-02 08:29:37.000000000 +0100
@@ -1 +1 @@
-<link package='glibc-utils.2977' cicount='copy' />
+<link package='glibc-utils.3470' cicount='copy' />
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package glibc-testsuite for openSUSE:12.3:Update checked in at 2015-02-02 08:29:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/glibc-testsuite (Old)
and /work/SRC/openSUSE:12.3:Update/.glibc-testsuite.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glibc-testsuite"
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.PK4sxX/_old 2015-02-02 08:29:33.000000000 +0100
+++ /var/tmp/diff_new_pack.PK4sxX/_new 2015-02-02 08:29:33.000000000 +0100
@@ -1 +1 @@
-<link package='glibc-testsuite.2977' cicount='copy' />
+<link package='glibc-testsuite.3470' cicount='copy' />
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package compton for openSUSE:Factory checked in at 2015-02-01 12:30:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/compton (Old)
and /work/SRC/openSUSE:Factory/.compton.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "compton"
Changes:
--------
--- /work/SRC/openSUSE:Factory/compton/compton.changes 2014-11-02 16:45:35.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.compton.new/compton.changes 2015-02-01 12:30:51.000000000 +0100
@@ -1,0 +2,5 @@
+Sun Jan 25 17:32:09 UTC 2015 - sfalken(a)opensuse.org
+
+- Added conditionals to support building on Fedora
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ compton.spec ++++++
--- /var/tmp/diff_new_pack.4t5eFJ/_old 2015-02-01 12:30:52.000000000 +0100
+++ /var/tmp/diff_new_pack.4t5eFJ/_new 2015-02-01 12:30:52.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package compton
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,6 @@
BuildRequires: asciidoc
BuildRequires: gcc-c++
BuildRequires: git
-BuildRequires: libxslt-tools
BuildRequires: make
BuildRequires: pkg-config
BuildRequires: pkgconfig(dbus-1)
@@ -43,7 +42,10 @@
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xrender)
+BuildRequires: libxslt-tools
+%if 0%{?suse_version}
BuildRequires: update-desktop-files
+%endif
Requires(pre): desktop-file-utils
Requires(post): desktop-file-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -63,8 +65,13 @@
%__make docs
%install
+%if 0%{?suse_version}
%makeinstall
%suse_update_desktop_file compton Utility DesktopUtility
+%endif
+%if 0%{?fedora_version}
+make DESTDIR=$RPM_BUILD_ROOT install
+%endif
%post
%desktop_database_post
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package kolor-manager for openSUSE:Factory checked in at 2015-02-01 12:30:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kolor-manager (Old)
and /work/SRC/openSUSE:Factory/.kolor-manager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kolor-manager"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kolor-manager/kolor-manager.changes 2014-05-14 10:39:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kolor-manager.new/kolor-manager.changes 2015-02-01 12:30:48.000000000 +0100
@@ -1,0 +2,7 @@
+Fri Jan 30 22:02:23 UTC 2015 - sfalken(a)opensuse.org
+
+- Added 0001-fix_CMakeLists.patch, as the INCLUDES breaks building on
+ cmake3. Found solution from gentoo.
+ https://www.mail-archive.com/gentoo-commits@lists.gentoo.org/msg90105.html
+
+-------------------------------------------------------------------
New:
----
0001-fix_CMakeLists.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kolor-manager.spec ++++++
--- /var/tmp/diff_new_pack.nRESd6/_old 2015-02-01 12:30:49.000000000 +0100
+++ /var/tmp/diff_new_pack.nRESd6/_new 2015-02-01 12:30:49.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package kolor-manager
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010-2014 Kai-Uwe Behrmann <ku.b(a)gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -41,6 +41,8 @@
Version: 1.0.2
Release: 0
Source: %{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM 0001-fix_CMakeLists.patch sfalken(a)opensuse.org
+Patch0: 0001-fix_CMakeLists.patch
Requires: oyranos
BuildRequires: libXcm-devel >= 0.5.3
@@ -71,6 +73,7 @@
%prep
%setup -n %{name}-%{version} -q
+%patch0 -p1
%build
%cmake_kde4
++++++ 0001-fix_CMakeLists.patch ++++++
Index: kolor-manager-1.0.2/information/CMakeLists.txt
===================================================================
--- kolor-manager-1.0.2.orig/information/CMakeLists.txt
+++ kolor-manager-1.0.2/information/CMakeLists.txt
@@ -3,7 +3,6 @@
find_package(KDE4 REQUIRED)
include_directories(${KDE4_INCLUDES} ${kolor_manager_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
-INCLUDE( "../settings")
set(kminfo_PART_SRCS
kminfo.cpp
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package tlp for openSUSE:Factory checked in at 2015-02-01 12:30:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tlp (Old)
and /work/SRC/openSUSE:Factory/.tlp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tlp"
Changes:
--------
--- /work/SRC/openSUSE:Factory/tlp/tlp.changes 2014-11-24 11:08:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.tlp.new/tlp.changes 2015-02-01 12:30:44.000000000 +0100
@@ -1,0 +2,57 @@
+Sat Jan 31 23:32:42 UTC 2015 - sor.alexei(a)meowr.ru
+
+- Update to 0.7:
+ * Processor:
+ - Limit max/min P-state to control power dissipation of the
+ CPU (intel_pstate only)
+ - Set performance versus energy savings policy
+ (x86_energy_perf_policy)
+ * USB:
+ - USB_DRIVER_BLACKLIST: exclude devices assigned to the listed
+ drivers from USB autosuspend; default: usbhid
+ - USB_BLACKLIST_WWAN: match internal driver list instead of USB
+ vendor ids
+ - USB_WHITELIST: include devices into USB autosuspend even if
+ already excluded by the driver or WWAN blacklists
+ * Radio devices:
+ - DEVICES_TO_ENABLE_ON_AC/DISABLE_ON_BAT /
+ DISABLE_ON_BAT_NOT_IN_USE: enable/disable radio devices upon
+ change of power source (excluding connected devices)
+ * ThinkPad Battery:
+ - Issue #105: provide proper return codes for all battery
+ functions
+ - Issue #106: setcharge allowed on battery power
+ - Do not activate new thresholds with force_discharge anymore
+ (tp-smapi)
+ - tpacpi-bat: support for ThinkPad E325 charge thresholds
+ * Misc:
+ - RUNTIME_PM_DRIVER_BLACKLIST: exclude PCI(e) devices assigned
+ to drivers;
+ default: radeon, nouveau (solves issue #94)
+ - Support Dell Latitude docks
+ - Support for NM 0.9.10
+ - Issue #109: tlp-stat: report "unknown" power source when no
+ AC detected
+ - Issue #98: do not change autosuspend_delay_ms, keep kernel
+ default settings
+ - Exclude pseudo usb disks
+ * tlp-stat:
+ - New options -d|--disk, -e|--pcie, -p|--processor,
+ -s|--system, -u|--usb
+ - Show driver and connection state for all enabled radio
+ devices
+ - Show driver name in Runtime PM PCI(e) device list
+ - Show type and state of docks and device bays
+ - Show type of init system
+ - Check if TLP's systemd services are enabled
+ * udev:
+ - Run change of power source in a detached subshell to avoid
+ blocking udev
+ - Fix dock/undock event processing for ThinkPad Adv Mini Dock
+ and Ultrabase
+ - Make USB device event processing more robust
+ + Run in a detached subshell to avoid blocking udev
+ + Wait 2s for subdevices to populate for proper
+ black/whitelist detection
+
+-------------------------------------------------------------------
Old:
----
0.6.tar.gz
New:
----
tlp-0.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tlp.spec ++++++
--- /var/tmp/diff_new_pack.ylXEhE/_old 2015-02-01 12:30:45.000000000 +0100
+++ /var/tmp/diff_new_pack.ylXEhE/_new 2015-02-01 12:30:45.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package tlp
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,27 +18,26 @@
%define _name TLP
Name: tlp
-Version: 0.6
+Version: 0.7
Release: 0
Summary: Save battery power on laptops
License: GPL-2.0+ and GPL-3.0+
Group: Hardware/Mobile
Url: http://linrunner.de/tlp
-Source: https://github.com/linrunner/%{_name}/archive/%{version}.tar.gz
+Source: https://github.com/linrunner/%{_name}/archive/%{version}.tar.gz#/%{name}-%{…
BuildRequires: gzip
BuildRequires: systemd-rpm-macros
Requires: hdparm
+Requires: iw
Requires: pciutils
+Requires: rfkill
Requires: usbutils
Requires: util-linux >= 2.17
-Requires: wireless-tools
Recommends: %{name}-rdw = %{version}
Recommends: acpid
Recommends: ethtool
-Recommends: iw
Recommends: lsb-release
Recommends: smartmontools
-Recommends: wireless-tools
Suggests: acpi-call-kmp
Suggests: tp-smapi-kmp
BuildArch: noarch
@@ -95,7 +94,7 @@
%files
%defattr(-,root,root)
-%doc COPYING LICENSE README
+%doc AUTHORS COPYING LICENSE README
%dir %{_sysconfdir}/acpi/
%dir %{_sysconfdir}/acpi/events/
%config %{_sysconfdir}/acpi/events/thinkpad-radiosw
@@ -114,16 +113,15 @@
%dir %{_libexecdir}/udev/
%dir %{_libexecdir}/udev/rules.d/
%{_libexecdir}/udev/%{name}-usb-udev
-%{_libexecdir}/udev/rules.d/40-%{name}.rules
+%{_libexecdir}/udev/rules.d/85-%{name}.rules
%{_mandir}/man*/*
%files rdw
%defattr(-,root,root)
-%doc COPYING LICENSE README
%{_sysconfdir}/NetworkManager/
%dir %{_libexecdir}/udev/
%dir %{_libexecdir}/udev/rules.d/
-%{_libexecdir}/udev/rules.d/40-%{name}-rdw.rules
+%{_libexecdir}/udev/rules.d/85-%{name}-rdw.rules
%{_libexecdir}/udev/%{name}-rdw-udev
%changelog
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0