openSUSE Commits
Threads by month
- ----- 2024 -----
- July
- 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
April 2010
- 2 participants
- 1248 discussions
Hello community,
here is the log from the commit of package apparmor-parser for openSUSE:Factory
checked in at Wed Apr 28 22:46:47 CEST 2010.
--------
--- apparmor-parser/apparmor-parser.changes 2010-03-15 20:40:13.000000000 +0100
+++ apparmor-parser/apparmor-parser.changes 2010-04-28 16:49:44.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Apr 28 16:49:12 CEST 2010 - jeffm(a)suse.de
+
+- Updated translations.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
apparmor-parser-string-fixes
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apparmor-docs.spec ++++++
--- /var/tmp/diff_new_pack.z72lif/_old 2010-04-28 22:44:30.000000000 +0200
+++ /var/tmp/diff_new_pack.z72lif/_new 2010-04-28 22:44:30.000000000 +0200
@@ -32,7 +32,7 @@
%endif
Summary: AppArmor Documentation package
Version: 2.3.1
-Release: 15
+Release: 16
Group: Documentation/Other
Source0: apparmor-parser-%{version}-1365.tar.gz
Patch1: apparmor-docs-techdoc-grammar-fixes
++++++ apparmor-parser.spec ++++++
--- /var/tmp/diff_new_pack.z72lif/_old 2010-04-28 22:44:30.000000000 +0200
+++ /var/tmp/diff_new_pack.z72lif/_new 2010-04-28 22:44:30.000000000 +0200
@@ -32,7 +32,7 @@
%endif
Summary: AppArmor userlevel parser utility
Version: 2.3.1
-Release: 15
+Release: 16
Group: Productivity/Networking/Security
Source0: %{name}-%{version}-1365.tar.gz
Patch: apparmor-init.patch
@@ -41,7 +41,8 @@
Patch4: apparmor-parser-line-numbers
Patch5: apparmor-parser-removal-whitespace-fix
Patch6: apparmor-parser-support-dry-run
-Patch7: apparmor-parser-translations
+Patch7: apparmor-parser-string-fixes
+Patch8: apparmor-parser-translations
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://forge.novell.com/modules/xfmod/project/?apparmor
@@ -80,6 +81,7 @@
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
%build
make clean
++++++ apparmor-parser-string-fixes ++++++
From: Jeff Mahoney <jeffm(a)suse.com>
Subject: apparmor-parser: Fix up translations
References: bnc#586070
---
parser_interface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/parser_interface.c
+++ b/parser_interface.c
@@ -78,7 +78,7 @@ static void print_error(int error)
PERROR(_("Out of memory\n"));
break;
case -EFAULT:
- PERROR(_("Couldn't copy profile Bad memory address\n"));
+ PERROR(_("Couldn't copy profile: Bad memory address\n"));
break;
case -EPROTO:
PERROR(_("Profile doesn't conform to protocol\n"));
++++++ apparmor-parser-translations ++++++
++++ 5979 lines (skipped)
++++ between apparmor-parser/apparmor-parser-translations
++++ and apparmor-parser/apparmor-parser-translations
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
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 NetworkManager-kde4 for openSUSE:Factory
checked in at Wed Apr 28 22:45:15 CEST 2010.
--------
--- KDE/NetworkManager-kde4/NetworkManager-kde4.changes 2009-12-02 16:12:59.000000000 +0100
+++ NetworkManager-kde4/NetworkManager-kde4.changes 2010-04-26 05:42:11.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Apr 23 10:20:23 UTC 2010 - bili(a)novell.com
+
+- Add a general frontend dbus configuration in NetworkManager
+ so delete the conf in knetworkmanager, bili(a)novell.com(bnc#476502).
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ NetworkManager-kde4.spec ++++++
--- /var/tmp/diff_new_pack.z0nQCM/_old 2010-04-28 22:43:49.000000000 +0200
+++ /var/tmp/diff_new_pack.z0nQCM/_new 2010-04-28 22:43:49.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package NetworkManager-kde4 (Version 0.9.svn1057339)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 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,8 +21,8 @@
Name: NetworkManager-kde4
BuildRequires: NetworkManager-devel kdebase4-workspace-devel
Version: 0.9.svn1057339
-Release: 1
-License: GPLv2+
+Release: 2
+License: LGPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/GUI/KDE
Summary: NetworkManager client for KDE 4
@@ -161,6 +161,9 @@
%kde_post_install
mkdir -p $RPM_BUILD_ROOT%_kde4_sharedir/env
install -m 755 %{S:2} $RPM_BUILD_ROOT%_kde4_sharedir/env
+ # Add a general frontend dbus configuration in NetworkManager
+ # so delete the conf in knetworkmanager, bili(a)novell.com(bnc#476502).
+ rm $RPM_BUILD_ROOT/etc/dbus-1/system.d/NetworkManager-kde4.conf
%ifarch s390 s390x
rm -f $RPM_BUILD_ROOT/%_kde4_modules/networkmanagement_openvpnui.so
rm -f $RPM_BUILD_ROOT/%{_datadir}/kde4/services/networkmanagement_openvpnui.desktop
@@ -202,7 +205,6 @@
%{_datadir}/icons/oxygen/128x128/devices/
%{_datadir}/icons/hicolor/32x32/apps/knetworkmanager.png
%{_libdir}/kde4/libexec/networkmanagement_configshell
-%config /etc/dbus-1/system.d/NetworkManager-kde4.conf
%files -n plasmoid-networkmanagement
%defattr(-,root,root)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
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 cyrus-sasl for openSUSE:Factory
checked in at Wed Apr 28 22:43:15 CEST 2010.
--------
--- cyrus-sasl/cyrus-sasl-saslauthd.changes 2009-12-16 09:11:34.000000000 +0100
+++ cyrus-sasl/cyrus-sasl-saslauthd.changes 2010-04-28 22:41:58.317530000 +0200
@@ -1,0 +2,7 @@
+Wed Apr 28 09:24:11 UTC 2010 - rhafer(a)novell.com
+
+- Removed the /var/run/sasl2 directory from cyrus-sasl.spec.
+ It will now be created on demand by the saslauthd init script.
+- Adjusted init script headers to silence rpmlint warning/errors.
+
+-------------------------------------------------------------------
cyrus-sasl.changes: same change
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cyrus-sasl-saslauthd.spec ++++++
--- /var/tmp/diff_new_pack.7NeoZV/_old 2010-04-28 22:42:10.000000000 +0200
+++ /var/tmp/diff_new_pack.7NeoZV/_new 2010-04-28 22:42:10.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package cyrus-sasl-saslauthd (Version 2.1.23)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 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
@@ -28,7 +28,7 @@
Provides: cyrus-sasl2:/usr/sbin/saslauthd
Summary: The SASL Authentication Server
Version: 2.1.23
-Release: 4
+Release: 5
Source: cyrus-sasl-%{version}.tar.bz2
Source1: cyrus-sasl-rc.tar.bz2
Patch: cyrus-sasl.dif
@@ -68,7 +68,7 @@
%package -n cyrus-sasl-sqlauxprop
License: BSD4c(or similar)
-Summary: cyrus-sasl SQL auxprop plugin
+Summary: SQL auxprop plugin for cyrus-sasl
AutoReqProv: on
Group: Development/Libraries/C and C++
Requires: cyrus-sasl
@@ -147,6 +147,7 @@
cd ..
cd saslauthd
make DESTDIR=$RPM_BUILD_ROOT sasldir=%{_libdir}/sasl2 install
+install -m 755 -d $RPM_BUILD_ROOT/var/run/sasl2
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
install -m 644 saslauthd.mdoc $RPM_BUILD_ROOT/%{_mandir}/man8/saslauthd.8
mkdir -p $RPM_BUILD_ROOT/usr/bin
@@ -178,6 +179,7 @@
%files
%defattr(-,root,root)
/var/adm/fillup-templates/sysconfig.saslauthd
+%ghost /var/run/sasl2
%config /etc/init.d/saslauthd
/sbin/rcsaslauthd
/usr/sbin/*
++++++ cyrus-sasl.spec ++++++
--- /var/tmp/diff_new_pack.7NeoZV/_old 2010-04-28 22:42:10.000000000 +0200
+++ /var/tmp/diff_new_pack.7NeoZV/_new 2010-04-28 22:42:10.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package cyrus-sasl (Version 2.1.23)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 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
@@ -20,7 +20,7 @@
Name: cyrus-sasl
Version: 2.1.23
-Release: 4
+Release: 5
BuildRequires: db-devel krb5-mini-devel openssl-devel opie pam-devel
Obsoletes: cyrus-sasl2 <= %{version}
Provides: cyrus-sasl2 = %{version}
@@ -264,7 +264,6 @@
%install
make DESTDIR=$RPM_BUILD_ROOT sasldir=%{_libdir}/sasl2 install
-install -m 755 -d $RPM_BUILD_ROOT/var/run/sasl2
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/etc/sasl2
install -m 755 sample/.libs/client $RPM_BUILD_ROOT/usr/bin/cyrus_sasl_sample_client
@@ -294,8 +293,6 @@
%{_libdir}/libsasl2.so.*
/usr/sbin/*
/usr/bin/*
-%dir %attr(0755,root,root) /var/run/sasl2
-#%doc %{_mandir}/cat8
%doc %{_mandir}/man3/sasl.*.gz
%doc %{_mandir}/man8/*.gz
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README doc
++++++ cyrus-sasl-rc.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SuSE/rc.saslauthd new/SuSE/rc.saslauthd
--- old/SuSE/rc.saslauthd 2008-08-18 09:51:20.000000000 +0200
+++ new/SuSE/rc.saslauthd 2010-04-28 11:17:17.000000000 +0200
@@ -1,16 +1,20 @@
#! /bin/sh
# Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany.
+# Copyright (c) 2010 Novell Inc.
#
# Author: Carsten Hoeger, Ralf Haferkamp
#
# /etc/init.d/saslauthd
#
### BEGIN INIT INFO
-# Provides: saslauthd
-# Required-Start: $network $remote_fs
-# Required-Stop: $network $remote_fs
-# Default-Start: 3 5
-# Description: cyrus-sasl auth daemon
+# Provides: saslauthd
+# Required-Start: $network $remote_fs
+# Required-Stop: $network $remote_fs
+# Default-Start: 3 5
+# Default-Stop: 0 1 2 4 6
+# Short-Description: cyrus-sasl auth daemon
+# Description: saslauthd is a daemon process that handles plaintext
+# authentication requests on behalf of the SASL library.
### END INIT INFO
@@ -53,6 +57,10 @@
case "$1" in
start)
echo -n "Starting service saslauthd"
+
+ # /var/run might be a tmpfs
+ test -d /var/run/sasl2 || mkdir -m0755 /var/run/sasl2
+
## Start daemon with startproc(8). If this fails
## the echo return value is set appropriate.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
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 rpmlint-Factory for openSUSE:Factory
checked in at Wed Apr 28 22:42:17 CEST 2010.
--------
--- rpmlint-Factory/rpmlint-Factory.changes 2010-04-26 13:12:07.000000000 +0200
+++ rpmlint-Factory/rpmlint-Factory.changes 2010-04-28 11:27:39.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Apr 28 11:27:13 CEST 2010 - dmueller(a)suse.de
+
+- remove dir-or-file-in-tmp badness again
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rpmlint-Factory.spec ++++++
--- /var/tmp/diff_new_pack.nh0lK4/_old 2010-04-28 22:42:00.000000000 +0200
+++ /var/tmp/diff_new_pack.nh0lK4/_new 2010-04-28 22:42:00.000000000 +0200
@@ -22,7 +22,7 @@
Requires: rpmlint-mini
Summary: Rpm correctness checker - Factory configuration
Version: 1.0
-Release: 52
+Release: 53
Url: http://rpmlint.zarb.org/
License: GPLv2+
Group: System/Packages
++++++ config ++++++
--- /var/tmp/diff_new_pack.nh0lK4/_old 2010-04-28 22:42:00.000000000 +0200
+++ /var/tmp/diff_new_pack.nh0lK4/_new 2010-04-28 22:42:00.000000000 +0200
@@ -53,7 +53,8 @@
setBadness('binary-in-etc', 900)
setBadness('dir-or-file-in-var-run', 900)
-setBadness('dir-or-file-in-tmp', 900)
+# too many failures for now
+#setBadness('dir-or-file-in-tmp', 900)
#fatal checks
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
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 rpmlint for openSUSE:Factory
checked in at Wed Apr 28 22:41:45 CEST 2010.
--------
--- rpmlint/rpmlint.changes 2010-04-26 12:05:27.000000000 +0200
+++ rpmlint/rpmlint.changes 2010-04-28 11:24:38.000000000 +0200
@@ -1,0 +2,12 @@
+Wed Apr 28 11:16:25 CEST 2010 - dmueller(a)suse.de
+
+- fix exception in interpreter check
+- restrict shlib-fixed-dependency to shlib-policy packages
+- allow files in /tmp to be listed as %ghost
+
+-------------------------------------------------------------------
+Tue Apr 27 17:00:08 CEST 2010 - dmueller(a)suse.de
+
+- tighten pkg-config check
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rpmlint.spec ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:04.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:04.000000000 +0200
@@ -23,7 +23,7 @@
BuildRequires: rpm-python
Summary: Rpm correctness checker
Version: 0.95
-Release: 4
+Release: 5
Source0: %{name}-%{version}.tar.bz2
Source1: config
Source1001: config.in
++++++ LibraryPolicyCheck.py ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -589,12 +589,13 @@
if os.path.isdir(pkg.dirName()+f):
dirs.add(f)
- # Verify it doesn't have hard dependency on non-lib packages
- for dep in pkg.requires():
- if (dep[0].startswith('rpmlib(')):
- continue
- if (dep[2] & (rpm.RPMSENSE_GREATER | rpm.RPMSENSE_EQUAL)) == rpm.RPMSENSE_EQUAL:
- printWarning(pkg, "shlib-fixed-dependency", Pkg.formatRequire(dep[0], dep[1], dep[2]))
+ # Verify shared lib policy package doesn't have hard dependency on non-lib packages
+ if std_lib_package:
+ for dep in pkg.requires():
+ if (dep[0].startswith('rpmlib(')):
+ continue
+ if (dep[2] & (rpm.RPMSENSE_GREATER | rpm.RPMSENSE_EQUAL)) == rpm.RPMSENSE_EQUAL:
+ printWarning(pkg, "shlib-fixed-dependency", Pkg.formatRequire(dep[0], dep[1], dep[2]))
# Verify non-lib stuff does not add dependencies
if libs:
++++++ avoid-mismatched-libregex.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -1,6 +1,8 @@
---- FilesCheck.py
+Index: FilesCheck.py
+===================================================================
+--- FilesCheck.py.orig
+++ FilesCheck.py
-@@ -184,7 +184,7 @@
+@@ -658,7 +658,7 @@ buildconfig_rpath_regex = re.compile('(?
sofile_regex = re.compile('/lib(64)?/(.+/)?lib[^/]+\.so$')
devel_regex = re.compile('(.*)-(debug(info)?|devel|headers|source|static)$')
debuginfo_package_regex = re.compile('-debug(info)?$')
++++++ better-wrong-script.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- FilesCheck.py.orig
+++ FilesCheck.py
-@@ -1470,7 +1470,10 @@ customize an executable, make it for exa
+@@ -1617,7 +1617,10 @@ executed.''',
executed.''',
'wrong-script-interpreter',
++++++ buildroot-doc.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- SpecCheck.py.orig
+++ SpecCheck.py
-@@ -539,7 +539,7 @@ allow building the package as non root o
+@@ -612,7 +612,7 @@ versions you can ignore this warning.'''
'hardcoded-path-in-buildroot-tag',
'''A path is hardcoded in your Buildroot tag. It should be replaced
++++++ buildroot-in-scripts.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -1,6 +1,8 @@
---- SpecCheck.py
+Index: SpecCheck.py
+===================================================================
+--- SpecCheck.py.orig
+++ SpecCheck.py
-@@ -59,7 +59,10 @@
+@@ -60,7 +60,10 @@ suse_version_regex = re.compile('%suse_v
section_regexs = dict(
([x, re.compile('^%' + x + '(?:\s|$)')]
for x in ('build', 'changelog', 'check', 'clean', 'description', 'files',
@@ -12,7 +14,7 @@
# Only check for /lib, /usr/lib, /usr/X11R6/lib
# TODO: better handling of X libraries and modules.
-@@ -264,7 +267,9 @@
+@@ -265,7 +268,9 @@ class SpecCheck(AbstractCheck.AbstractCh
continue
++++++ dependency-parsing.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- SpecCheck.py.orig
+++ SpecCheck.py
-@@ -112,7 +112,7 @@ def deptokens(line):
+@@ -117,7 +117,7 @@ def deptokens(line):
elif wantmore:
tmp += ' ' + tok
wantmore = False
++++++ description-check.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -1,6 +1,8 @@
---- TagsCheck.py
+Index: TagsCheck.py
+===================================================================
+--- TagsCheck.py.orig
+++ TagsCheck.py
-@@ -660,6 +660,9 @@
+@@ -676,6 +676,9 @@ class TagsCheck(AbstractCheck.AbstractCh
if not description:
printError(pkg, 'no-description-tag')
else:
@@ -10,7 +12,7 @@
if not pkg[rpm.RPMTAG_HEADERI18NTABLE]:
self._unexpanded_macros(pkg, '%description', description)
else:
-@@ -928,6 +931,10 @@
+@@ -946,6 +949,10 @@ Name tag.''',
'''The major number of the library isn't included in the package's name.
''',
++++++ devel-provide-is-devel-package.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- FilesCheck.py.orig
+++ FilesCheck.py
-@@ -761,6 +761,10 @@ class FilesCheck(AbstractCheck.AbstractC
+@@ -813,6 +813,10 @@ class FilesCheck(AbstractCheck.AbstractC
# Check if the package is a development package
devel_pkg = devel_regex.search(pkg.name)
++++++ docdata-examples.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- FilesCheck.py.orig
+++ FilesCheck.py
-@@ -651,6 +651,7 @@ bin_regex = re.compile('^(/usr)?/s?bin/'
+@@ -652,6 +652,7 @@ bin_regex = re.compile('^(/usr)?/s?bin/'
includefile_regex = re.compile('\.(c|h)(pp|xx)?$', re.IGNORECASE)
develfile_regex = re.compile('\.(a|cmxa?|mli?)$')
buildconfigfile_regex = re.compile('(\.pc|/bin/.+-config)$')
@@ -10,7 +10,7 @@
# room for improvement with catching more -R, but also for false positives...
buildconfig_rpath_regex = re.compile('(?:-rpath|Wl,-R)\\b')
sofile_regex = re.compile('/lib(64)?/(.+/)?lib[^/]+\.so$')
-@@ -1035,7 +1036,7 @@ class FilesCheck(AbstractCheck.AbstractC
+@@ -1151,7 +1152,7 @@ class FilesCheck(AbstractCheck.AbstractC
includefile_regex.search(f) or \
develfile_regex.search(f) or \
logrotate_regex.search(f)
@@ -19,7 +19,7 @@
printWarning(pkg, 'spurious-executable-perm', f)
elif f.startswith('/etc/'):
if f not in config_files and f not in ghost_files:
-@@ -1346,7 +1347,10 @@ included in your package.''',
+@@ -1491,7 +1492,10 @@ included in your package.''',
'spurious-executable-perm',
'''The file is installed with executable permissions, but was identified as one
that probably should not be executable. Verify if the executable bits are
++++++ fix-buildroot-test.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- SpecCheck.py.orig
+++ SpecCheck.py
-@@ -29,7 +29,7 @@ applied_patch_regex = re.compile("^%patc
+@@ -35,7 +35,7 @@ applied_patch_regex = re.compile("^%patc
applied_patch_p_regex = re.compile("\s-P\s+(\d+)\\b")
source_dir_regex = re.compile("^[^#]*(\$RPM_SOURCE_DIR|%{?_sourcedir}?)")
obsolete_tags_regex = re.compile("^(Copyright|Serial)\s*:\s*([^\s]+)")
++++++ invalid-filerequires.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- TagsCheck.py.orig
+++ TagsCheck.py
-@@ -402,6 +402,7 @@ invalid_version_regex = re.compile('([0-
+@@ -419,6 +419,7 @@ invalid_version_regex = re.compile('([0-
# () are here for grouping purpose in the regexp
forbidden_words_regex = re.compile('(' + Config.getOption('ForbiddenWords') + ')', re.IGNORECASE)
valid_buildhost_regex = re.compile(Config.getOption('ValidBuildHost'))
@@ -10,7 +10,7 @@
epoch_regex = re.compile('^[0-9]+:')
use_epoch = Config.getOption('UseEpoch', False)
use_utf8 = Config.getOption('UseUTF8', Config.USEUTF8_DEFAULT)
-@@ -484,6 +485,9 @@ class TagsCheck(AbstractCheck.AbstractCh
+@@ -580,6 +581,9 @@ class TagsCheck(AbstractCheck.AbstractCh
if d[0].startswith('/usr/local/'):
printError(pkg, 'invalid-dependency', d[0])
@@ -20,7 +20,7 @@
if not devel_depend and not is_devel and not is_source:
if FilesCheck.devel_regex.search(d[0]):
printError(pkg, 'devel-dependency', d[0])
-@@ -902,6 +906,12 @@ explicit Requires: tags.''',
+@@ -1040,6 +1044,12 @@ explicit Requires: tags.''',
'''This package provides 2 times the same capacity. It should only provide it
once.''',
++++++ no-doc-for-lib.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- FilesCheck.py.orig
+++ FilesCheck.py
-@@ -778,7 +778,7 @@ class FilesCheck(AbstractCheck.AbstractC
+@@ -830,7 +830,7 @@ class FilesCheck(AbstractCheck.AbstractC
debuginfo_srcs = False
debuginfo_debugs = False
++++++ rpmgroup-checks.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -1,6 +1,8 @@
---- TagsCheck.py
+Index: TagsCheck.py
+===================================================================
+--- TagsCheck.py.orig
+++ TagsCheck.py
-@@ -653,6 +653,8 @@
+@@ -686,6 +686,8 @@ class TagsCheck(AbstractCheck.AbstractCh
self._unexpanded_macros(pkg, 'Group', group)
if not group:
printError(pkg, 'no-group-tag')
@@ -9,7 +11,7 @@
elif VALID_GROUPS and group not in VALID_GROUPS:
printWarning(pkg, 'non-standard-group', group)
-@@ -949,6 +951,10 @@
+@@ -985,6 +987,10 @@ won't fool the specfile parser, and rebu
'''There is no Group tag in your package. You have to specify a valid group
in your spec file using the Group tag.''',
++++++ rpmlint-suse.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -1,6 +1,8 @@
---- FilesCheck.py
+Index: FilesCheck.py
+===================================================================
+--- FilesCheck.py.orig
+++ FilesCheck.py
-@@ -174,7 +174,7 @@
+@@ -175,7 +175,7 @@ compr_regex = re.compile('\.(gz|z|Z|zip|
absolute_regex = re.compile('^/([^/]+)')
absolute2_regex = re.compile('^/?([^/]+)')
points_regex = re.compile('^\.\./(.*)')
@@ -9,9 +11,11 @@
bin_regex = re.compile('^(/usr)?/s?bin/')
includefile_regex = re.compile('\.(c|h)(pp|xx)?$', re.IGNORECASE)
develfile_regex = re.compile('\.(a|cmxa?|mli?)$')
---- I18NCheck.py
+Index: I18NCheck.py
+===================================================================
+--- I18NCheck.py.orig
+++ I18NCheck.py
-@@ -67,7 +67,7 @@
+@@ -67,7 +67,7 @@ CORRECT_SUBDIRS = (
)
package_regex = re.compile('-(' + '|'.join((x[0:2] for x in CORRECT_SUBDIRS)) + ')$')
++++++ script-interpreter-only-for-exec-scripts.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -1,6 +1,8 @@
---- FilesCheck.py
+Index: FilesCheck.py
+===================================================================
+--- FilesCheck.py.orig
+++ FilesCheck.py
-@@ -818,7 +818,7 @@
+@@ -1292,7 +1292,7 @@ class FilesCheck(AbstractCheck.AbstractC
interpreter = None
if res:
interpreter = res.group(1)
++++++ sourced-dirs.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:05.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:05.000000000 +0200
@@ -1,6 +1,8 @@
---- FilesCheck.py
+Index: FilesCheck.py
+===================================================================
+--- FilesCheck.py.orig
+++ FilesCheck.py
-@@ -212,7 +212,7 @@
+@@ -684,7 +684,7 @@ manifest_perl_regex = re.compile('^/usr/
shebang_regex = re.compile('^#!\s*(\S*)')
interpreter_regex = re.compile('^/(usr/)?(s?bin|games|libexec(/.+)?|(lib(64)?|share)/.+)/[^/]+$')
script_regex = re.compile('^/((usr/)?s?bin|etc/(rc\.d/init\.d|X11/xinit\.d|cron\.(hourly|daily|monthly|weekly)))/')
++++++ stricter-interpreter-check.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -1,11 +1,12 @@
--- FilesCheck.py
+++ FilesCheck.py
-@@ -826,7 +826,7 @@
+@@ -826,7 +826,8 @@
f.endswith('.la')):
printError(pkg, 'script-without-shebang', f)
- if mode & 0111 == 0 and not is_doc:
-+ if mode & 0111 == 0 and not is_doc and interpreter.startswith("/"):
++ if mode & 0111 == 0 and not is_doc and \
++ interpreter and interpreter.startswith("/"):
printError(pkg, 'non-executable-script', f,
oct(perm), interpreter)
if line.endswith('\r\n') or line.endswith('\r'):
++++++ suse-check-optional-dependencies.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -1,6 +1,8 @@
---- FilesCheck.py
+Index: FilesCheck.py
+===================================================================
+--- FilesCheck.py.orig
+++ FilesCheck.py
-@@ -428,6 +428,16 @@
+@@ -907,6 +907,16 @@ class FilesCheck(AbstractCheck.AbstractC
if res.group(1) != pkg.name:
printError(pkg, 'incoherent-logrotate-file', f)
@@ -17,7 +19,7 @@
if link != '':
ext = compr_regex.search(link)
if ext:
-@@ -1186,6 +1196,24 @@
+@@ -1677,6 +1687,24 @@ consequences), or other compiler flags w
extraction not working as expected. Verify that the binaries are not
unexpectedly stripped and that the intended compiler flags are used.''',
++++++ suse-debuginfo.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -1,6 +1,8 @@
---- BinariesCheck.py
+Index: BinariesCheck.py
+===================================================================
+--- BinariesCheck.py.orig
+++ BinariesCheck.py
-@@ -37,6 +37,8 @@
+@@ -37,6 +37,8 @@ class BinaryInfo:
unused_regex = re.compile('^\s+(\S+)')
exit_call_regex = re.compile('\s+FUNC\s+.*?\s+(_?exit(?:@\S+)?)(?:\s|$)')
fork_call_regex = re.compile('\s+FUNC\s+.*?\s+(fork(?:@\S+)?)(?:\s|$)')
@@ -9,7 +11,7 @@
def __init__(self, pkg, path, file, is_ar, is_shlib):
self.readelf_error = False
-@@ -51,6 +53,8 @@
+@@ -51,6 +53,8 @@ class BinaryInfo:
self.exec_stack = False
self.exit_calls = []
fork_called = False
@@ -18,7 +20,7 @@
self.tail = ''
is_debug = path.endswith('.debug')
-@@ -103,6 +107,14 @@
+@@ -103,6 +107,14 @@ class BinaryInfo:
fork_called = True
continue
@@ -33,7 +35,7 @@
if self.non_pic:
self.non_pic = 'TEXTREL' in res[1]
-@@ -254,6 +266,17 @@
+@@ -259,6 +271,17 @@ class BinariesCheck(AbstractCheck.Abstra
bin_info = BinaryInfo(
pkg, pkgfile.path, fname, is_ar, is_shlib)
@@ -51,7 +53,7 @@
# so name in library
if is_shlib:
has_lib = True
-@@ -485,6 +508,14 @@
+@@ -509,6 +532,14 @@ with the intended shared libraries only.
'ldd-failed',
'''Executing ldd on this file failed, all checks could not be run.''',
++++++ suse-file-var-run.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -1,5 +1,14 @@
--- FilesCheck.py
+++ FilesCheck.py
+@@ -392,7 +392,7 @@
+ is_kernel_package:
+ printError(pkg, "kernel-modules-not-in-kernel-packages", f)
+
+- if tmp_regex.search(f):
++ if tmp_regex.search(f) and f not in ghost_files:
+ printError(pkg, 'dir-or-file-in-tmp', f)
+ elif f.startswith('/mnt/'):
+ printError(pkg, 'dir-or-file-in-mnt', f)
@@ -402,6 +402,8 @@
printError(pkg, 'dir-or-file-in-usr-local', f)
elif f.startswith('/var/local/'):
@@ -9,7 +18,7 @@
elif sub_bin_regex.search(f):
printError(pkg, 'subdir-in-bin', f)
elif f.startswith('/home/'):
-@@ -945,6 +947,12 @@
+@@ -945,6 +948,12 @@
'''A file in the package is located in /var/local. It's not permitted
for packages to install files in this directory.''',
++++++ suse-filesystem.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- FilesCheck.py.orig
+++ FilesCheck.py
-@@ -27,65 +27,114 @@ STANDARD_DIRS = (
+@@ -28,65 +28,114 @@ STANDARD_DIRS = (
'/',
'/bin',
'/boot',
@@ -144,7 +144,7 @@
'/usr/local/lib',
'/usr/local/lib64',
'/usr/local/man',
-@@ -101,24 +150,415 @@ STANDARD_DIRS = (
+@@ -102,24 +151,415 @@ STANDARD_DIRS = (
'/usr/local/man/mann',
'/usr/local/sbin',
'/usr/local/share',
@@ -571,7 +571,7 @@
'/usr/share/man',
'/usr/share/man/man1',
'/usr/share/man/man2',
-@@ -130,28 +570,60 @@ STANDARD_DIRS = (
+@@ -131,28 +571,60 @@ STANDARD_DIRS = (
'/usr/share/man/man8',
'/usr/share/man/man9',
'/usr/share/man/mann',
++++++ suse-hide-unstripped-outside-build.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -1,4 +1,6 @@
---- BinariesCheck.py
+Index: BinariesCheck.py
+===================================================================
+--- BinariesCheck.py.orig
+++ BinariesCheck.py
@@ -10,6 +10,7 @@
@@ -8,7 +10,7 @@
import rpm
-@@ -247,7 +248,9 @@
+@@ -264,7 +265,9 @@ class BinariesCheck(AbstractCheck.Abstra
# stripped ?
if not is_ocaml_native and not unstrippable.search(fname):
++++++ suse-no-run-ldconfig.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -1,6 +1,8 @@
---- SpecCheck.py
+Index: SpecCheck.py
+===================================================================
+--- SpecCheck.py.orig
+++ SpecCheck.py
-@@ -421,6 +421,10 @@
+@@ -444,6 +444,10 @@ class SpecCheck(AbstractCheck.AbstractCh
printWarning(pkg, 'comparison-operator-in-deptoken',
conf)
@@ -11,7 +13,7 @@
if current_section == 'changelog':
for match in AbstractCheck.macro_regex.findall(line):
res = re.match('%+', match)
-@@ -684,6 +688,14 @@
+@@ -711,6 +715,14 @@ may break short circuit builds.''',
'''Make check or other automated regression test should be run in %check, as
they can be disabled with a rpm macro for short circuiting purposes.''',
++++++ suse-pkg-config-check.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -1,6 +1,16 @@
---- TagsCheck.py
+Index: TagsCheck.py
+===================================================================
+--- TagsCheck.py.orig
+++ TagsCheck.py
-@@ -603,10 +603,12 @@
+@@ -414,6 +414,7 @@ lib_devel_number_regex = re.compile('^li
+ invalid_url_regex = re.compile(Config.getOption('InvalidURL'), re.IGNORECASE)
+ lib_package_regex = re.compile('(?:^(?:compat-)?lib.*?(\.so.*)?|libs?[\d-]*)$', re.IGNORECASE)
+ leading_space_regex = re.compile('^\s+')
++pkg_config_regex = re.compile('^/usr/(?:lib\d*|share)/pkgconfig/')
+ license_regex = re.compile('\(([^)]+)\)|\s(?:and|or)\s')
+ invalid_version_regex = re.compile('([0-9](?:rc|alpha|beta|pre).*)', re.IGNORECASE)
+ # () are here for grouping purpose in the regexp
+@@ -607,10 +608,12 @@ class TagsCheck(AbstractCheck.AbstractCh
base = is_devel.group(1)
dep = None
has_so = False
@@ -9,12 +19,12 @@
if fname.endswith('.so'):
has_so = True
- break
-+ if fname.endswith('.pc'):
++ if pkg_config_regex.match(fname) and fname.endswith('.pc'):
+ has_pc = True
if has_so:
base_or_libs = base + '/' + base + '-libs/lib' + base
# try to match *%_isa as well (e.g. "(x86-64)", "(x86-32)")
-@@ -643,6 +645,15 @@
+@@ -647,6 +650,15 @@ class TagsCheck(AbstractCheck.AbstractCh
if prov not in (x[0] for x in pkg.provides()):
printWarning(pkg, 'no-provides', prov)
@@ -30,7 +40,7 @@
# List of words to ignore in spell check
ignored_words = [x.split('/')[-1] for x in pkg.files()]
-@@ -1049,6 +1060,11 @@
+@@ -1059,6 +1071,11 @@ instead or require a file in bin or /etc
'no-url-tag',
'''The URL tag is missing.''',
++++++ suse-shlib-devel-dependency.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -1,7 +1,9 @@
---- TagsCheck.py
+Index: TagsCheck.py
+===================================================================
+--- TagsCheck.py.orig
+++ TagsCheck.py
-@@ -610,10 +610,10 @@
- if fname.endswith('.pc'):
+@@ -615,10 +615,10 @@ class TagsCheck(AbstractCheck.AbstractCh
+ if pkg_config_regex.match(fname) and fname.endswith('.pc'):
has_pc = True
if has_so:
- base_or_libs = base + '/' + base + '-libs/lib' + base
++++++ suse-version.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -1,8 +1,8 @@
Index: SpecCheck.py
===================================================================
---- SpecCheck.py.orig 2010-02-19 12:02:55.000000000 +0100
-+++ SpecCheck.py 2010-02-19 12:05:18.000000000 +0100
-@@ -50,6 +50,7 @@ libdir_regex = re.compile('%{?_lib(?:dir
+--- SpecCheck.py.orig
++++ SpecCheck.py
+@@ -56,6 +56,7 @@ libdir_regex = re.compile('%{?_lib(?:dir
comment_or_empty_regex = re.compile('^\s*(#|$)')
defattr_regex = re.compile('^\s*%defattr\\b')
attr_regex = re.compile('^\s*%attr\\b')
@@ -10,7 +10,7 @@
section_regexs = dict(
([x, re.compile('^%' + x + '(?:\s|$)')]
for x in ('build', 'changelog', 'check', 'clean', 'description', 'files',
-@@ -362,6 +363,12 @@ class SpecCheck(AbstractCheck.AbstractCh
+@@ -386,6 +387,12 @@ class SpecCheck(AbstractCheck.AbstractCh
if res:
package_noarch[current_package] = True
@@ -23,7 +23,7 @@
res = prereq_regex.search(line)
if res:
printError(pkg, 'prereq-use', res.group(2))
-@@ -677,6 +684,15 @@ set which may result in security issues
+@@ -749,6 +756,15 @@ set which may result in security issues
depending on the system where the package is built. Add default attributes
using %defattr before it in the %files section, or use per line %attr's.''',
++++++ usr-arch.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -1,6 +1,8 @@
---- BinariesCheck.py
+Index: BinariesCheck.py
+===================================================================
+--- BinariesCheck.py.orig
+++ BinariesCheck.py
-@@ -178,6 +178,7 @@
+@@ -190,6 +190,7 @@ usr_lib_exception_regex = re.compile(Con
srcname_regex = re.compile('(.*?)-[0-9]')
invalid_dir_ref_regex = re.compile('/(home|tmp)(\W|$)')
ocaml_mixed_regex = re.compile('^Caml1999X0\d\d$')
@@ -8,7 +10,7 @@
def dir_base(path):
res = path_regex.search(path)
-@@ -238,7 +239,7 @@
+@@ -250,7 +251,7 @@ class BinariesCheck(AbstractCheck.Abstra
fname)
else:
# in /usr/share ?
++++++ version-control-internal-file.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -3,7 +3,7 @@
===================================================================
--- FilesCheck.py.orig
+++ FilesCheck.py
-@@ -662,7 +662,7 @@ ldconfig_regex = re.compile('^[^#]*ldcon
+@@ -663,7 +663,7 @@ ldconfig_regex = re.compile('^[^#]*ldcon
depmod_regex = re.compile('^[^#]*depmod', re.MULTILINE)
install_info_regex = re.compile('^[^#]*install-info', re.MULTILINE)
perl_temp_file_regex = re.compile('.*perl.*/(\.packlist|perllocal\.pod)$')
++++++ yast-provides.diff ++++++
--- /var/tmp/diff_new_pack.m8CJ4R/_old 2010-04-28 22:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.m8CJ4R/_new 2010-04-28 22:38:06.000000000 +0200
@@ -1,6 +1,8 @@
---- TagsCheck.py
+Index: TagsCheck.py
+===================================================================
+--- TagsCheck.py.orig
+++ TagsCheck.py
-@@ -739,7 +739,7 @@
+@@ -774,7 +774,7 @@ class TagsCheck(AbstractCheck.AbstractCh
printWarning(pkg, 'no-url-tag')
obs_names = [x[0] for x in pkg.obsoletes()]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
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 byzanz for openSUSE:Factory
checked in at Wed Apr 28 22:38:38 CEST 2010.
--------
New Changes file:
--- /dev/null 2010-04-12 17:03:46.000000000 +0200
+++ byzanz/byzanz.changes 2010-03-24 02:25:38.000000000 +0100
@@ -0,0 +1,42 @@
+-------------------------------------------------------------------
+Wed Mar 24 02:19:36 CET 2010 - vuntz(a)opensuse.org
+
+- Update to version 0.2.2:
+ + Features:
+ - Updated translations
+ + Bugfixes:
+ - Record the cursor properly on 64bit machines
+- Changes from version 0.2.1:
+ + Features:
+ - Allow recording audio with Theora video.
+ - Add an internal debugging format
+ - Cache recording on disk. Slow encoders will not consume all
+ memory anymore.
+- Changes from version 0.2.0:
+ + Features:
+ - Rework the user interface
+ - Support saving to Ogg Theora and Flash Screen video formats
+ - Update to latest technologies (Cairo instead of GDK, gvfs
+ instead of gnome-vfs)
+ +Bugfixes:
+ - Work on 16bpp and 8bpp displays (anything that's supported by
+ Cairo)
+ - Properly be translucent on panels
+- Remove gnome-vfs2-devel and libgnomeui-devel BuildRequires.
+- Add gstreamer-0_10-plugins-base-devel BuildRequires.
+
+-------------------------------------------------------------------
+Mon Aug 3 14:26:51 CEST 2009 - vuntz(a)novell.com
+
+- Use libexecdir instead of libdir.
+
+-------------------------------------------------------------------
+Sun Jun 14 07:50:13 CEST 2009 - vuntz(a)novell.com
+
+- Clean up packaging for Contrib.
+
+-------------------------------------------------------------------
+Tue Oct 02 12:00:00 CEST 2007 - wberrier(a)gmail.com
+
+- New package, based on the auto debian port
+
calling whatdependson for head-i586
New:
----
byzanz-0.2.2.tar.bz2
byzanz.changes
byzanz.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ byzanz.spec ++++++
#
# spec file for package byzanz (Version 0.2.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 wberrier(a)gmail.com
#
# 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/
#
# norootforbuild
Name: byzanz
Version: 0.2.2
Release: 1
License: GPLv2+
Summary: Tool to record a running X desktop to an animated GIF file
Group: Productivity/Multimedia/Video/Editors and Convertors
Url: http://people.freedesktop.org/~company/byzanz/
Source: %{name}-%{version}.tar.bz2
BuildRequires: gconf2
BuildRequires: gtk2-devel
BuildRequires: gnome-panel-devel
BuildRequires: gstreamer-0_10-plugins-base-devel
BuildRequires: intltool
BuildRequires: xorg-x11-devel
Requires: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
%description
Byzanz is a simple tool to record a running X desktop to an animated GIF file.
It is implemented as a GNOME applet. A command line tool for testing purposes
is also available.
%lang_package
%prep
%setup -q
%build
%configure \
--disable-schemas-install
%__make %{?jobs: -j%jobs}
%install
%makeinstall
%find_lang %{name}
%find_gconf_schemas
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%clean
rm -rf %{buildroot}
%files -f %{name}.schemas_list
%defattr(-, root, root)
%{_bindir}/byzanz-playback
%{_bindir}/byzanz-record
%{_libdir}/bonobo/servers/ByzanzApplet.server
%{_libexecdir}/byzanz-applet
%{_datadir}/gnome-2.0/ui/byzanzapplet.xml
%{_datadir}/icons/hicolor/*/apps/byzanz*
%{_mandir}/man*/*.*
%files lang -f %{name}.lang
%changelog
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
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 emacs for openSUSE:Factory
checked in at Wed Apr 28 22:37:35 CEST 2010.
--------
--- emacs/emacs.changes 2010-04-05 18:34:03.000000000 +0200
+++ emacs/emacs.changes 2010-04-27 16:24:24.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr 27 16:19:58 CEST 2010 - werner(a)suse.de
+
+- Avoid segfault with newer gcc 4.5.0, see Emacs bug #6031 on
+ debbugs.gnu.org
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ emacs.spec ++++++
--- /var/tmp/diff_new_pack.0RXRiQ/_old 2010-04-28 22:36:37.000000000 +0200
+++ /var/tmp/diff_new_pack.0RXRiQ/_new 2010-04-28 22:36:37.000000000 +0200
@@ -25,7 +25,7 @@
License: GPLv2+
Group: Productivity/Editors/Emacs
Version: 23.1
-Release: 12
+Release: 13
Obsoletes: ge_exec ge_site emac_nox emacmisc emacsbin emacsger emacs-url Mule-UCS emacs-calc erc
Requires: emacs-info = %{version}
Requires: emacs_program = %{version}-%{release}
@@ -307,6 +307,7 @@
cflags -Wno-unused-variable CFLAGS
cflags -Wno-unused-label CFLAGS
cflags -Wno-unprototyped-calls CFLAGS
+ cflags -fno-optimize-sibling-calls CFLAGS
cflags -Wl,-O2 LDFLAGS
cflags -Wl,--hash-size=65521 LDFLAGS
%ifarch ia64
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
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 brasero for openSUSE:Factory
checked in at Wed Apr 28 22:37:12 CEST 2010.
--------
--- GNOME/brasero/brasero.changes 2010-03-29 23:04:28.000000000 +0200
+++ brasero/brasero.changes 2010-04-28 16:59:59.000000000 +0200
@@ -1,0 +2,11 @@
+Wed Apr 28 12:19:12 UTC 2010 - guido+opensuse.org(a)berhoerster.name
+
+- Added Supplements clause to brasero-nautilus in order to trigger
+ automatic installation when selecting brasero and nautilus.
+
+-------------------------------------------------------------------
+Wed Apr 28 04:45:14 UTC 2010 - guido+opensuse.org(a)berhoerster.name
+
+- Split off brasero-nautilus.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ brasero.spec ++++++
--- /var/tmp/diff_new_pack.W9Q5Og/_old 2010-04-28 22:35:07.000000000 +0200
+++ /var/tmp/diff_new_pack.W9Q5Og/_new 2010-04-28 22:35:07.000000000 +0200
@@ -20,7 +20,7 @@
Name: brasero
Version: 2.30.0
-Release: 1
+Release: 2
# FIXME: add tracker-devel BuildRequires when we have a tracker package ready
License: GPLv2+
Group: Productivity/Multimedia/CD/Record
@@ -110,6 +110,16 @@
It supports creating audio discs, data discs, burning ISO and other
image files, and duplicating discs.
+%package nautilus
+License: GPLv2+
+Group: Productivity/Multimedia/CD/Record
+Summary: Brasero CD/DVD burning extension for Nautilus
+Requires: %{name} = %{version}
+Supplements: packageand(brasero:nautilus)
+
+%description nautilus
+This package provides the Brasero extension for Nautilus.
+
%lang_package
%prep
%setup -q
@@ -175,11 +185,11 @@
%{_datadir}/brasero
%{_libdir}/brasero
%{_bindir}/brasero
-%{_datadir}/applications/brasero*.desktop
+%{_datadir}/applications/brasero-copy-medium.desktop
+%{_datadir}/applications/brasero.desktop
%{_datadir}/icons/hicolor/*/apps/brasero.*
%{_datadir}/mime/packages/brasero.xml
%doc %{_mandir}/man?/*.*
-%{_libdir}/nautilus/extensions-2.0/*.so
# No need to split this one in a new package, according to upstream
%{_libdir}/libbrasero-utils.so.*
@@ -207,6 +217,11 @@
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
+%files nautilus
+%defattr(-,root,root)
+%{_libdir}/nautilus/extensions-2.0/*.so
+%{_datadir}/applications/brasero-nautilus.desktop
+
%files lang -f %{name}.lang
%changelog
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
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:Factory
checked in at Wed Apr 28 22:36:10 CEST 2010.
--------
--- glibc/glibc.changes 2010-02-14 15:34:47.000000000 +0100
+++ glibc/glibc.changes 2010-04-26 22:10:59.000000000 +0200
@@ -1,0 +2,68 @@
+Mon Apr 26 22:09:40 CEST 2010 - pbaudis(a)suse.cz
+
+- Remove stale resolv.dynamic.diff patch file
+
+-------------------------------------------------------------------
+Thu Apr 22 08:30:50 CEST 2010 - meissner(a)suse.de
+
+- for powerpc32 build a generic library and also a power4 library
+ to allow older 32bit powerpc to work. bnc#596271
+
+-------------------------------------------------------------------
+Tue Apr 20 13:15:19 CEST 2010 - pbaudis(a)suse.cz
+
+- Consider private IPv4 addresses as global-scope in gai.conf [bnc#597616]
+
+-------------------------------------------------------------------
+Wed Mar 24 13:04:12 CET 2010 - pbaudis(a)suse.cz
+
+- Fix get_nprocs() large CPU count handling [bnc#590665]
+
+-------------------------------------------------------------------
+Tue Mar 23 15:09:09 CET 2010 - pbaudis(a)suse.cz
+
+- Fix interference of STB_GNU_UNIQUE and prelink [bnc#586979]
+- Make time() use VDSO on PPC64 [bnc#590216]
+- Make pthread_cond_timedway() use VDSO on PPC64 [bnc#590517]
+
+-------------------------------------------------------------------
+Thu Mar 18 14:45:34 CET 2010 - pbaudis(a)suse.cz
+
+- Add PreReq for cat to glibc-locale [bnc#588997]
+
+-------------------------------------------------------------------
+Thu Mar 18 14:29:42 CET 2010 - pbaudis(a)suse.cz
+
+- Fix /etc/resolv.conf change detection for multi-threaded applications
+ (by Sebastian Kienzl)
+
+-------------------------------------------------------------------
+Fri Mar 5 12:59:44 CET 2010 - pbaudis(a)suse.cz
+
+- Fix spurious mapping from lowercase sharp s to uppercase sharp S
+ which is less standard and causes problems for ISO encodings [bnc#541773]
+
+-------------------------------------------------------------------
+Mon Mar 1 18:55:37 CET 2010 - pbaudis(a)suse.cz
+
+- Fix spurious overflow messages on some R_X86_64_PC32 relocations,
+ patch by Richard Guenther [bnc#583019]
+
+-------------------------------------------------------------------
+Wed Feb 24 11:53:41 CET 2010 - pbaudis(a)suse.cz
+
+- Fix assertion failures within valloc(), patch by Michael Matz
+ [bnc#581391]
+
+-------------------------------------------------------------------
+Wed Feb 17 12:02:24 CET 2010 - pbaudis(a)suse.cz
+
+- S/390: Disable two UTF conversion instructions due to the hardware
+ mishandling some error conditions in the input stream [bnc#579871]
+
+-------------------------------------------------------------------
+Mon Feb 15 22:34:29 CET 2010 - pbaudis(a)suse.cz
+
+- Further fix previous power5 fix
+
+-------------------------------------------------------------------
@@ -4,0 +73,29 @@
+
+-------------------------------------------------------------------
+Thu Feb 11 21:36:32 CET 2010 - pbaudis(a)suse.cz
+
+- Fix another upgrade problem on power5 and older - correctly remove
+ the old optimized libraries; found out by matz(a)suse.de [bnc#563978]
+
+-------------------------------------------------------------------
+Fri Feb 5 21:07:54 CET 2010 - pbaudis(a)suse.cz
+
+- Final fix for memchr() overflow on IA64 provided by upstream
+ [bnc#567516]
+
+-------------------------------------------------------------------
+Thu Jan 28 17:11:59 CET 2010 - pbaudis(a)suse.cz
+
+- Fix another memchr() overflow on IA64; another known one still
+ remains a mystery [bnc#567516]
+
+-------------------------------------------------------------------
+Wed Jan 27 02:49:46 CET 2010 - pbaudis(a)suse.cz
+
+- Remove now-obsolete powerpc-cpu addon usage [bnc#572819]
+- Fix statfs64() on IA64 in 32-bit mode ia32el [bnc#534828]
+
+-------------------------------------------------------------------
+Tue Jan 26 03:33:38 CET 2010 - pbaudis(a)suse.cz
+
+- Fix upgrade from previous distributions on power5 and older [bnc#563978]
calling whatdependson for head-i586
Old:
----
glibc-2.5-ppc-llrintl.diff
minmem
powerpc-cpu.tar.bz2
resolv.dynamic.diff
New:
----
glibc-dl-x86-64-pc32.diff
glibc-gai-private4.diff
glibc-getnprocs.diff
glibc-memchr-ia64.diff
glibc-ppc64-vdso-time.diff
glibc-resolv-reload.diff
glibc-sap-captialsharps.diff
glibc-statfs64-ia64.diff
glibc-utf-s390.diff
glibc-valloc-assert.diff
ld-prelink-unique.diff
nptl-ppc64-vdso-timedwait.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ glibc.spec ++++++
--- /var/tmp/diff_new_pack.HSbOO6/_old 2010-04-28 22:34:41.000000000 +0200
+++ /var/tmp/diff_new_pack.HSbOO6/_new 2010-04-28 22:34:41.000000000 +0200
@@ -28,8 +28,15 @@
%define enable_stackguard_randomization 1
%ifarch ppc ppc64
%define optimize_power 1
+ %ifarch ppc
+ %define powerpc_optimize_base power3
+ %define powerpc_optimize_tune power3
+ %define powerpc_optimize_cpu_power4 1
+ %else
%define powerpc_optimize_base power4
%define powerpc_optimize_tune power5
+ %define powerpc_optimize_cpu_power4 0
+ %endif
# We are not building Power CPU specific optimizations for openSUSE.
%define powerpc_optimize_cpu_power6 0
%define powerpc_optimize_cpu_power7 0
@@ -37,11 +44,12 @@
%else
%define optimize_power 0
%define powerpc_optimize_base 0
+ %define powerpc_optimize_cpu_power4 0
%define powerpc_optimize_cpu_power6 0
%define powerpc_optimize_cpu_power7 0
%define powerpc_optimize_cpu_cell 0
%endif # ppc, ppc64
-License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
+License: GPLv2+
Summary: Standard Shared Libraries (from the GNU C Library)
Group: System/Libraries
Obsoletes: ngpt <= 2.2.2 ngpt-devel <= 2.2.2
@@ -56,7 +64,7 @@
Provides: rtld(GNU_HASH)
AutoReqProv: on
Version: 2.11.1
-Release: 2
+Release: 3
Url: http://www.gnu.org/software/libc/libc.html
PreReq: filesystem
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -70,7 +78,6 @@
Source10: bindresvport.blacklist
Source11: ctype_b.c
Source12: glibc_post_upgrade.c
-Source14: powerpc-cpu.tar.bz2
Source15: glibc.rpmlintrc
Source16: baselibs.conf
%if %_target_cpu == "i686"
@@ -82,7 +89,7 @@
Patch0: glibc-2.3-SuSE.diff
Patch1: glibc-2.3.90-noversion.diff
Patch2: glibc-2.3.90-fnmatch.diff
-Patch3: resolv.dynamic.diff
+Patch3: glibc-resolv-reload.diff
Patch4: glibc-2.3.locales.diff.bz2
Patch5: crypt_blowfish-1.0-suse.diff
Patch7: glibc-version.diff
@@ -106,7 +113,6 @@
Patch25: glibc-2.3.5-nscd-zeronegtimeout.diff
Patch26: glibc-2.3.90-langpackdir.diff
Patch27: glibc-nptl-2.4-nofixsyscallnr.diff
-Patch29: glibc-2.5-ppc-llrintl.diff
Patch30: glibc-2.6-configure.diff
Patch31: glibc-2.2-sunrpc.diff
Patch32: glibc-2.8-getconf.diff
@@ -125,6 +131,17 @@
Patch47: libm-x86-64-exceptions.diff
Patch48: glibc-uio-cell.diff
Patch50: glibc-nameserver-localhost.diff
+Patch54: glibc-statfs64-ia64.diff
+Patch55: glibc-memchr-ia64.diff
+Patch56: glibc-utf-s390.diff
+Patch57: glibc-valloc-assert.diff
+Patch58: glibc-dl-x86-64-pc32.diff
+Patch59: glibc-sap-captialsharps.diff
+Patch60: ld-prelink-unique.diff
+Patch61: glibc-ppc64-vdso-time.diff
+Patch62: nptl-ppc64-vdso-timedwait.diff
+Patch63: glibc-getnprocs.diff
+Patch64: glibc-gai-private4.diff
Patch500: ARM_glibc-2.10.1-local-eabi-wchar.diff
Patch501: ARM_glibc-2.10.1-local-hwcap-updates.diff
Patch502: ARM_glibc-2.10.1-local-lowlevellock.diff
@@ -184,6 +201,7 @@
Summary: Locale Data for Localized Programs
Group: System/Libraries
Requires: glibc = %{version}
+PreReq: /bin/cat
AutoReqProv: on
# bug437293
%ifarch ppc64
@@ -278,10 +296,10 @@
# add glibc-ports for arm
# this is CURRENTLY BROKEN; ARM-interested contributors need to provide
# new tested glibc-ports source
-%setup -n glibc-%{version} -q -a 2 -a 3 -a 4 -a 14
+%setup -n glibc-%{version} -q -a 2 -a 3 -a 4
%else
# any other leave out ports
-%setup -n glibc-%{version} -q -a 3 -a 4 -a 14
+%setup -n glibc-%{version} -q -a 3 -a 4
%endif
%patch0
# libNoVersion part is only active on ix86
@@ -320,7 +338,6 @@
rm nscd/s-stamp
%patch26
%patch27
-%patch29
%patch30
%patch31
%patch32
@@ -339,6 +356,17 @@
%patch47
%patch48 -p1
%patch50 -p1
+%patch54
+%patch55 -p1
+%patch56 -p1
+%patch57 -p1
+%patch58
+%patch59
+%patch60 -p1
+%patch61 -p1
+%patch62 -p1
+%patch63 -p1
+%patch64
%ifarch %arm armv5tel armv7l
%patch500
%patch501
@@ -364,6 +392,7 @@
#
rm -fv sysdeps/powerpc/powerpc32/power4/hp-timing.c sysdeps/powerpc/powerpc32/power4/hp-timing.h
find . -name configure | xargs touch
+
#######################################################################
###
### BUILD
@@ -441,6 +470,7 @@
# fails to build otherwise - need to recheck and fix
%define enable_stackguard_randomization 0
%endif
+
configure_and_build_glibc() {
local dirname="$1"; shift
local cflags="$1"; shift
@@ -464,6 +494,7 @@
make $PARALLEL
cd ..
}
+
%if !%{optimize_power}
#
# Build base glibc
@@ -475,9 +506,17 @@
#
# First, base build:
pBuildFlags="$BuildFlags -mcpu=%{powerpc_optimize_base} -mtune=%{powerpc_optimize_tune}"
- configure_and_build_glibc base "$pBuildFlags" "$add_ons,powerpc-cpu" --with-cpu=%{powerpc_optimize_base}
+ %if %{powerpc_optimize_base} != "power3"
+ configure_and_build_glibc base "$pBuildFlags" "$add_ons" --with-cpu=%{powerpc_optimize_base}
+ %else
+ # Use no default CPU
+ configure_and_build_glibc base "$pBuildFlags" "$add_ons"
+ %endif
# Then other power variants:
for pcpu in \
+ %if %{powerpc_optimize_cpu_power4}
+ power4 \
+ %endif
%if %{powerpc_optimize_cpu_power6}
power6 \
%endif
@@ -485,7 +524,7 @@
power7 \
%endif
; do
- configure_and_build_glibc $pcpu "$BuildFlags -mcpu=$pcpu" "$add_ons,powerpc-cpu" \
+ configure_and_build_glibc $pcpu "$BuildFlags -mcpu=$pcpu" "$add_ons" \
--with-cpu=$pcpu --disable-runbinaries
done
# Eventually, special Cell variant:
@@ -493,17 +532,22 @@
configure_and_build_glibc ppc-cell-be "$BuildFlags -mcpu=cell" "$add_ons" --disable-runbinaries
%endif
%endif # optimize_power
+
#
# Build html documentation
#
make -C cc-base html
+
#
# Build glibc_post_upgrade binary
#
$BuildCC -static -Os -g $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_post_upgrade \
-Lcc-base -Bcc-base/csu \
- '-DREMOVE_TLS_DIRS' \
+ '-DREMOVE_TLS_DIRS' '-DREMOVE_PPC_OPTIMIZE_POWER5' \
%ifarch ppc ppc64
+ %if !%{powerpc_optimize_cpu_power4}
+ '-DREMOVE_PPC_OPTIMIZE_POWER4' \
+ %endif
%if !%{powerpc_optimize_cpu_power6}
'-DREMOVE_PPC_OPTIMIZE_POWER6' \
%endif
@@ -515,6 +559,7 @@
%endif
%endif
'-DLIBDIR="/%{_lib}"' '-DGCONV_MODULES_DIR="%{_prefix}/%{_lib}/gconv"'
+
#######################################################################
###
### CHECK
@@ -536,6 +581,7 @@
%endif
%endif
make -C cc-base check-abi || echo check-abi failed
+
#######################################################################
###
### INSTALL
@@ -553,12 +599,15 @@
# debugging tools currently require these sections directly inside the main
# files - specifically valgrind and PurifyPlus.
export STRIP_KEEP_SYMTAB=*.so*
+
# Make sure we will create the gconv-modules.cache
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gconv
touch $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.cache
+
# Install base glibc
# Do not install in parallel, timezone Makefile will fail
make install_root=$RPM_BUILD_ROOT install -C cc-base
+
# Install power-optimized glibc
%if %{optimize_power}
# run ldconfig to create the library symlinks
@@ -566,6 +615,9 @@
# it may contain instructions not suitable for the cpu on the builhost
my_ldconfig=/sbin/ldconfig
for pcpu in \
+ %if %{powerpc_optimize_cpu_power4}
+ power4 \
+ %endif
%if %{powerpc_optimize_cpu_power6}
power6 \
%endif
@@ -597,6 +649,7 @@
fi
%endif
%endif # optimize_power
+
# Install locales
%if %{build_locales}
# Do not install locales in parallel!
@@ -606,31 +659,43 @@
%endif
# Create file list for glibc-locale package
%{find_lang} libc
+
# Prepare obsolete/, used only on some architectures:
export RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_lib}/obsolete
+
# NPTL <bits/stdio-lock.h> is not usable outside of glibc, so include
# the generic one (RH#162634)
cp -av bits/stdio-lock.h $RPM_BUILD_ROOT%{_prefix}/include/bits/stdio-lock.h
+
%ifarch s390x
# s390x is different ...
mkdir $RPM_BUILD_ROOT/lib
ln -sf ../%{_lib}/ld-%{version}.so $RPM_BUILD_ROOT/lib/ld64.so.1
%endif
+
# Miscelanna:
+
install -m 0700 glibc_post_upgrade $RPM_BUILD_ROOT%{_sbindir}
+
install -m 644 $RPM_SOURCE_DIR/bindresvport.blacklist $RPM_BUILD_ROOT/etc
install -m 644 $RPM_SOURCE_DIR/nsswitch.conf $RPM_BUILD_ROOT/etc
install -m 644 posix/gai.conf $RPM_BUILD_ROOT/etc
+
mkdir -p $RPM_BUILD_ROOT/etc/default
install -m 644 nis/nss $RPM_BUILD_ROOT/etc/default/
+
mkdir -p $RPM_BUILD_ROOT/usr/include/resolv
install -m 0644 resolv/mapv4v6addr.h $RPM_BUILD_ROOT/usr/include/resolv/
install -m 0644 resolv/mapv4v6hostent.h $RPM_BUILD_ROOT/usr/include/resolv/
+
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/glibc
cp -p manual/libc/*.html $RPM_BUILD_ROOT/usr/share/doc/glibc
+
cd manpages; make install_root=$RPM_BUILD_ROOT install; cd ..
+
# nscd tools:
+
cp nscd/nscd.conf $RPM_BUILD_ROOT/etc
mkdir -p $RPM_BUILD_ROOT/etc/apparmor.d
cp $RPM_SOURCE_DIR/usr.sbin.nscd $RPM_BUILD_ROOT/etc/apparmor.d
@@ -640,6 +705,7 @@
mkdir -p $RPM_BUILD_ROOT/var/run/nscd
touch $RPM_BUILD_ROOT/var/run/nscd/{passwd,group,hosts}
touch $RPM_BUILD_ROOT/var/run/nscd/{socket,nscd.pid}
+
#
# Create ld.so.conf
#
@@ -679,23 +745,28 @@
# Empty the ld.so.cache:
rm -f $RPM_BUILD_ROOT/etc/ld.so.cache
touch $RPM_BUILD_ROOT/etc/ld.so.cache
+
# libNoVersion belongs only to glibc-obsolete:
%ifarch %ix86
rm -f $RPM_BUILD_ROOT%{_libdir}/libNoVersion*
mkdir -p $RPM_BUILD_ROOT/%{_lib}/obsolete/noversion
mv -v $RPM_BUILD_ROOT/%{_lib}/libNoVersion* $RPM_BUILD_ROOT/%{_lib}/obsolete/noversion/
%endif
+
# Don't look at ldd! We don't wish a /bin/sh requires
chmod 644 $RPM_BUILD_ROOT/usr/bin/ldd
+
# Remove timezone data, now coming in standalone package:
for i in sbin/sln usr/bin/tzselect usr/sbin/zic usr/sbin/zdump etc/localtime; do
rm -f $RPM_BUILD_ROOT/$i
done
rm -rf $RPM_BUILD_ROOT/usr/share/zoneinfo
+
# Remove the buildflags tracking section and the build-id
for o in $RPM_BUILD_ROOT/%{_libdir}/crt[1in].o $RPM_BUILD_ROOT/%{_libdir}/lib*_nonshared.a; do
objcopy -R ".comment.SUSE.OPTs" -R ".note.gnu.build-id" $o
done
+
#######################################################################
###
### ...
@@ -732,11 +803,13 @@
%restart_on_update nscd
%insserv_cleanup
exit 0
+
#######################################################################
###
### FILES
###
#######################################################################
+
# glibc
%files
@@ -833,6 +906,9 @@
/%{_lib}/%1/librt.so.1\
/%{_lib}/%1/libthread_db-1.0.so\
/%{_lib}/%1/libthread_db.so.1
+ %if %{powerpc_optimize_cpu_power4}
+ %{optimized_libs power4}
+ %endif
%if %{powerpc_optimize_cpu_power6}
%{optimized_libs power6}
%{optimized_libs power6x}
++++++ glibc-dl-x86-64-pc32.diff ++++++
--- sysdeps/x86_64/dl-machine.h~ 2010-03-01 18:51:13.914317000 +0100
+++ sysdeps/x86_64/dl-machine.h 2010-03-01 18:52:01.258038000 +0100
@@ -453,7 +453,7 @@
case R_X86_64_PC32:
value += reloc->r_addend - (Elf64_Addr) reloc_addr;
*(unsigned int *) reloc_addr = value;
- if (__builtin_expect (value != (unsigned int) value, 0))
+ if (__builtin_expect (value != (int) value, 0))
{
fmt = "\
%s: Symbol `%s' causes overflow in R_X86_64_PC32 relocation\n";
++++++ glibc-gai-private4.diff ++++++
Pending acceptance upstream when this gets RFC'd:
http://sourceware.org/bugzilla/show_bug.cgi?id=11438
--- posix/gai.conf~ 2010-04-20 13:05:50.197813000 +0200
+++ posix/gai.conf 2010-04-20 13:08:46.472675000 +0200
@@ -66,3 +66,68 @@
#scopev4 ::ffff:172.16.0.0/108 5
#scopev4 ::ffff:192.168.0.0/112 5
#scopev4 ::ffff:0.0.0.0/96 14
+
+
+# Back in 2003, the sorting algorithm used by getaddrinfo() was defined in RFC
+# 3484. However, this document did not take into account (or foresee) the
+# ubiquity of IPv4 NAT on today's internet. This in turn causes some real
+# operational problems that's hindering the deployment of IPv6 for content
+# providers.
+#
+# The problem scenario is the following:
+#
+# An end user is located in a network numbered with private (RFC 1918) IPv4
+# addresses and transitional 6to4 (RFC 3056) IPv6 addresses. The network is
+# connected to the internet by a CPE/SOHO device implementing NAT for IPv4 and
+# anycasted 6to4 (RFC 3068) for IPv6.
+#
+# When the user attempts to connect to a server whose hostname has both IPv4
+# and IPv6 addresses published in DNS, an IPv6 connection using the
+# transitional 6to4 service will be preferred. This happens because the scope
+# comparsion fails for IPv4, the RFC 1918 addresses are assumed to have
+# site-local scope, which is smaller than the global scope of the server's IPv4
+# address. For IPv6, both the server's and the client's (6to4) address have
+# global scope.
+#
+# Unfortunately, the operational reality is that a transitional technique such
+# as 6to4 is much less reliable than IPv4. The relay routers might be located
+# far away from the optimal IPv4 path, and thus cause a significant latency
+# increase, or they might not even work optimally (they're usually operated by
+# voulenteering third parties on a best-effort basis), and finally some ISPs
+# simply filter away all proto-41 traffic. Transitional techniques are useful
+# to give end users with IPv4-only service a real shot at accessing IPv6-only
+# content, but it should never be preferred over IPv4 service when accessing
+# dual-stacked content.
+#
+# RFC 3484 even acknowledges this, by saying to "�avoid the use of transitional
+# addresses when native addresses are available"�.
+#
+# An IETF draft document which describes the problem in a much more detailed
+# manner than I have is available here:
+#
+# http://tools.ietf.org/html/draft-denis-v6ops-nat-addrsel-00
+#
+# There's also an IETF draft that aims to revise RFC 3484 in order to fix this
+# problem (amongst others):
+#
+# http://tools.ietf.org/html/draft-arifumi-6man-rfc3484-revise-02
+#
+# Quoting from this document:
+#
+# > 2.7. To change private IPv4 address scope
+# >
+# > As detailed in Remi's draft [I-D.denis-v6ops-nat-addrsel], when a
+# > host is in NATed site, and has a private IPv4 address and
+# > transitional addresses like 6to4 and Teredo, the host chooses
+# > transitional IPv6 address to access most of the dual-stack servers.
+# >
+# > This is because private IPv4 address is defined to be site-local
+# > scope, and as in RFC 3484, the scope matching rules (Rule 2) set
+# > lower priority for private IPv4 address.
+# >
+# > By changing the address scope of private IPv4 address to global, this
+# > problem can be solved.
+
+scopev4 ::ffff:10.0.0.0/104 14
+scopev4 ::ffff:172.16.0.0/108 14
+scopev4 ::ffff:192.168.0.0/112 14
++++++ glibc-getnprocs.diff ++++++
This bug is in reference to a bug introduced in glibc 2.11 but present in glibc
HEAD by the following patch set:
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=6a3d03ff58742430a252b…
The patch came from this bugzilla bug:
https://bugzilla.redhat.com/show_bug.cgi?id=494631
Which simply proposed the first part:
+ nl = memchr (*cp, '\n', *re - *cp);
+ while (nl == NULL && *re == buffer_end)
+ {
+ /* Truncate too long lines. */
+ *re = buffer + 3 * (buffer_end - buffer) / 4;
+ n = read_not_cancel (fd, *re, buffer_end - *re);
+ if (n < 0)
+ return NULL;
+
+ nl = memchr (*re, '\n', n);
+ **re = '\n';
+ *re += n;
+ }
}
+ else
+ nl = memchr (*cp, '\n', *re - *cp);
This was checked in with a second part:
else if (nl + 5 >= *re)
{
memmove (buffer, nl, *re - nl);
*re = buffer + (*re - nl);
nl = *cp = buffer;
ssize_t n = read_not_cancel (fd, *re, buffer_end - *re);
if (n < 0)
return NULL;
*re += n;
}
Which is meant to determine whether there's enough room at the end of the
buffer to hold "cpu*\n".
else if (nl + 5 >= *re)
{
memmove (buffer, nl, *re - nl);
*re = buffer + (*re - nl);
nl = *cp = buffer;
ssize_t n = read_not_cancel (fd, *re, buffer_end - *re);
if (n < 0)
return NULL;
*re += n;
}
*cp = nl + 1;
This second block is erroneous (and redundant). If there's not enough room to
complete a cpu[:digit:] line it'll try to move what's partially in the end of
the buffer to the front (preserving that portion) and then read in a bunch
more, assuming that a \n is in the next read.
But it actually ends up overwriting the current line with the contents of the
second line.
Consider the following line
| C | P | U | 1 | \n | C | P | U | 2 | \n | C | P | U | 3 | F | O | O | B | A |
R | F | O | O | B |
A | R | \n | ...
where sizeof(buffer) == 12.
The first time through 'buffer' is filled as follows:
| C | P | U | 1 | \n | C | P | U | 2 | \n | C | P |
and 'cpu1' is the line that is returned. The second time through 'cpu2' is the
line that is supposed to be returned but this problematic branch is hit and the
last C P is copied to the front of the buffer over top of C P U 2. Following
this U 3 F O O B A R F O is read into the rest of 'buffer':
| C | P ||| U | 3 | F | O | O | B | A | R | F | O |
This throws off the whole incrementing calculation.
This second else block isn't necessary. Jakub's first part covers the scenario
shown in the example above quite well:
The following test case:
#include<stdio.h>
#include<sys/sysinfo.h>
int main()
{
int lcpus=get_nprocs();
printf("logical cpus = %d\n",lcpus);
return 0;
}
Can be run against the attached /proc/stat file which is known to reproduce the
problem:
This stat file can be used with the testcase by bind mounting it over
/proc/stat:
cp stat /dev/shm/stat
mount --bind /dev/shm/stat /proc/stat
When run this should show:
logical cpus = 1024
since cpu1024 is high cpu number. But it shows something like:
logical cpus = 137
Also attached is a patch which removes the erroneous else block.
When re-run against with this patch it reports the correct number of cpus.
Thanks to Milton Miller for describing this problem.
--- glibc-2.11.1/sysdeps/unix/sysv/linux/getsysstats.c 2010-01-18 11:01:41.000000000 -0600
+++ glibc-2.11.1-new/sysdeps/unix/sysv/linux/getsysstats.c 2010-03-23 08:00:26.000000000 -0500
@@ -117,18 +117,6 @@
if (nl == NULL)
nl = *re - 1;
}
- else if (nl + 5 >= *re)
- {
- memmove (buffer, nl, *re - nl);
- *re = buffer + (*re - nl);
- nl = *cp = buffer;
-
- ssize_t n = read_not_cancel (fd, *re, buffer_end - *re);
- if (n < 0)
- return NULL;
-
- *re += n;
- }
*cp = nl + 1;
assert (*cp <= *re);
++++++ glibc-memchr-ia64.diff ++++++
2010-02-05 H.J. Lu <hongjiu.lu(a)intel.com>
PR libc/11230
* sysdeps/ia64/memchr.S: Don't read beyond the last byte
during recovery.
diff --git a/sysdeps/ia64/memchr.S b/sysdeps/ia64/memchr.S
index cdd71ca..56d8056 100644
--- a/sysdeps/ia64/memchr.S
+++ b/sysdeps/ia64/memchr.S
@@ -47,7 +47,7 @@
#define saved_lc r16
#define chr r17
#define len r18
-#define pos0 r20
+#define last r20
#define val r21
#define tmp r24
#define chrx8 r25
@@ -67,6 +67,7 @@ ENTRY(__memchr)
mov saved_pr = pr // save the predicates
.body
mov ret0 = str
+ add last = str, in2 // last byte
and tmp = 7, str // tmp = str % 8
cmp.ne p7, p0 = r0, r0 // clear p7
extr.u chr = in1, 0, 8 // chr = (unsigned char) in1
@@ -143,7 +144,10 @@ ENTRY(__memchr)
ld8 tmp = [ret0];; // load the first unchecked 8byte
xor aux[1] = tmp, chrx8;;
czx1.r poschr[1] = aux[1];;
- cmp.ne p7, p0 = 8, poschr[1]
+ cmp.ne p7, p0 = 8, poschr[1];;
+(p7) add ret0 = addr[MEMLAT+2], poschr[1];;
+(p7) cmp.geu p6, p7 = ret0, last // don't go over the last byte
+(p6) br.cond.spnt .notfound;;
(p7) br.cond.spnt .foundit;;
adds ret0 = 8, ret0 // load the next unchecked 8byte
br.sptk .l4;;
++++++ glibc-ppc64-vdso-time.diff ++++++
2010-03-04 Carlos Eduardo Seo <cseo(a)linux.vnet.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/time.c: New file.
Index: src/sysdeps/unix/sysv/linux/powerpc/powerpc64/time.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ src/sysdeps/unix/sysv/linux/powerpc/powerpc64/time.c 2010-03-04 20:02:23.000000000 -0300
@@ -0,0 +1,19 @@
+/* Copyright (C) 2010 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <sysdeps/unix/time.c>
++++++ glibc-resolv-reload.diff ++++++
>From libc-alpha-return-22754-pasky=ucw.cz(a)sourceware.org Tue Mar 16 00:47:00 2010
Return-Path: <libc-alpha-return-22754-pasky=ucw.cz(a)sourceware.org>
X-Original-To: pasky(a)pasky.or.cz
Delivered-To: pasky(a)pasky.or.cz
Received: from nikam.ms.mff.cuni.cz (nikam-dmz.ms.mff.cuni.cz [195.113.20.16])
by machine.or.cz (Postfix) with ESMTPS id C1B8586202A
for <pasky(a)pasky.or.cz>; Tue, 16 Mar 2010 00:47:00 +0100 (CET)
Received: by nikam.ms.mff.cuni.cz (Postfix)
id 9CDEC9AC7A4; Tue, 16 Mar 2010 00:47:00 +0100 (CET)
Delivered-To: pasky(a)kam.mff.cuni.cz
Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [89.250.246.4])
by nikam.ms.mff.cuni.cz (Postfix) with ESMTP id 99F0E9AC77B
for <pasky(a)kam.mff.cuni.cz>; Tue, 16 Mar 2010 00:47:00 +0100 (CET)
Received: from sourceware.org (server1.sourceware.org [209.132.180.131])
by jabberwock.ucw.cz (Postfix) with SMTP id 14E1ACF040
for <pasky(a)ucw.cz>; Tue, 16 Mar 2010 00:46:59 +0100 (CET)
Received: (qmail 18956 invoked by alias); 15 Mar 2010 23:46:58 -0000
Delivered-To: moderator for libc-alpha(a)sourceware.org
Received: (qmail 15843 invoked by uid 22791); 15 Mar 2010 17:23:15 -0000
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0
tests=BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B9E6CFA.7020002(a)riot.org>
Date: Mon, 15 Mar 2010 18:23:06 +0100
From: Sebastian Kienzl <seb(a)riot.org>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: libc-alpha(a)sourceware.org
Subject: Reloading of /etc/resolv.conf
Content-Type: multipart/mixed;
boundary="------------060407080409020101000002"
Mailing-List: contact libc-alpha-help(a)sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <libc-alpha.sourceware.org>
List-Unsubscribe: <mailto:libc-alpha-unsubscribe-pasky=ucw.cz@sourceware.org>
List-Subscribe: <mailto:libc-alpha-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/libc-alpha/>
List-Post: <mailto:libc-alpha@sourceware.org>
List-Help: <mailto:libc-alpha-help@sourceware.org>, <http://sourceware.org/ml/#faqs>
Sender: libc-alpha-owner(a)sourceware.org
Delivered-To: mailing list libc-alpha(a)sourceware.org
This is a multi-part message in MIME format.
--------------060407080409020101000002
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Hello!
There's a patch in the wild against the resolver which makes it reload
/etc/resolv.conf on change, see
http://sources.redhat.com/ml/libc-alpha/2004-09/msg00130.html
However, this patch actually doesn't work properly for multi-threaded
programs, as only one thread will notice the change and refresh its
resolver state. I've attached a proper patch. It's for 2.5 but it should
work with current versions, too.
Even though the patch may not be interesting for upstream, I decided to
let you know about this problem, since the mentioned patch seems to be
used by at least Debian and Ubuntu.
Regards,
Seb.
--------------060407080409020101000002
Content-Type: text/plain;
name="glibc-2.5-resolvconf.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="glibc-2.5-resolvconf.patch"
diff -ur resolv.orig/res_libc.c resolv/res_libc.c
--- resolv.orig/res_libc.c 2005-11-01 01:06:40.000000000 +0100
+++ resolv/res_libc.c 2010-03-15 14:13:18.000000000 +0100
@@ -22,7 +22,7 @@
#include <arpa/nameser.h>
#include <resolv.h>
#include <bits/libc-lock.h>
-
+#include <sys/stat.h>
/* The following bit is copied from res_data.c (where it is #ifdef'ed
out) since res_init() should go into libc.so but the rest of that
@@ -89,12 +89,34 @@
return (__res_vinit(&_res, 1));
}
+static time_t resconf_mtime;
+__libc_lock_define_initialized (static, resconf_mtime_lock);
+
+/* Check if the modification time of resolv.conf has changed.
+ If so, have all threads re-initialize their resolver states */
+static void
+__res_check_resconf (void)
+{
+ struct stat statbuf;
+ if (stat (_PATH_RESCONF, &statbuf) == 0) {
+ __libc_lock_lock (resconf_mtime_lock);
+ if (statbuf.st_mtime != resconf_mtime) {
+ resconf_mtime = statbuf.st_mtime;
+ atomicinclock (lock);
+ atomicinc (__res_initstamp);
+ atomicincunlock (lock);
+ }
+ __libc_lock_unlock (resconf_mtime_lock);
+ }
+}
+
/* Initialize resp if RES_INIT is not yet set or if res_init in some other
thread requested re-initializing. */
int
__res_maybe_init (res_state resp, int preinit)
{
if (resp->options & RES_INIT) {
+ __res_check_resconf ();
if (__res_initstamp != resp->_u._ext.initstamp) {
if (resp->nscount > 0)
__res_iclose (resp, true);
--------------060407080409020101000002--
++++++ glibc-sap-captialsharps.diff ++++++
--- localedata/locales/i18n~ 2010-01-19 03:51:14.208960000 +0100
+++ localedata/locales/i18n 2010-01-19 03:51:24.444040000 +0100
@@ -928,7 +928,7 @@
(<U006D>,<U004D>);(<U006E>,<U004E>);(<U006F>,<U004F>);(<U0070>,<U0050>);/
(<U0071>,<U0051>);(<U0072>,<U0052>);(<U0073>,<U0053>);(<U0074>,<U0054>);/
(<U0075>,<U0055>);(<U0076>,<U0056>);(<U0077>,<U0057>);(<U0078>,<U0058>);/
- (<U0079>,<U0059>);(<U007A>,<U005A>);(<U00B5>,<U039C>);(<U00DF>,<U1E9E>);/
+ (<U0079>,<U0059>);(<U007A>,<U005A>);(<U00B5>,<U039C>);/
(<U00E0>,<U00C0>);/
(<U00E1>,<U00C1>);(<U00E2>,<U00C2>);(<U00E3>,<U00C3>);(<U00E4>,<U00C4>);/
(<U00E5>,<U00C5>);(<U00E6>,<U00C6>);(<U00E7>,<U00C7>);(<U00E8>,<U00C8>);/
++++++ glibc-statfs64-ia64.diff ++++++
--- sysdeps/unix/sysv/linux/statfs64.c~ 2010-01-27 02:47:32.884315000 +0100
+++ sysdeps/unix/sysv/linux/statfs64.c 2010-01-27 02:49:17.943657000 +0100
@@ -24,6 +24,9 @@
#include <sysdep.h>
#include <kernel-features.h>
+/* On IA64, ia32el does not provide wrapper for statfs64() for some reason.
+ Force the compatibility code to get compiled in. [bnc#534828] */
+#undef __ASSUME_STATFS64
# if __ASSUME_STATFS64 == 0
int __no_statfs64 attribute_hidden;
++++++ glibc-utf-s390.diff ++++++
Hi,
unfortunately it turned out that the UTF-16 to UTF-32 and UTF-16 to
UTF-8 conversion instructions fail to recognize certain conditions if
the input stream is corrupted.
The attached patch disables these instructions and adjusts the
software implementation in order to take care of the error condition.
Hopefully we can re-enable them if a millicode fix becomes available.
Tested without regressions on s390x.
Please apply if you think it is ok.
Bye,
-Andreas-
2010-02-11 Andreas Krebbel <Andreas.Krebbel(a)de.ibm.com>
* sysdeps/s390/s390-64/utf8-utf16-z9.c: Disable hardware
instructions cu21 and cu24. Add well-formedness checking
parameter and adjust the software implementation.
* sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
Index: libc/sysdeps/s390/s390-64/utf8-utf16-z9.c
===================================================================
--- libc.orig/sysdeps/s390/s390-64/utf8-utf16-z9.c
+++ libc/sysdeps/s390/s390-64/utf8-utf16-z9.c
@@ -345,9 +345,12 @@ gconv_end (struct __gconv_step *data)
Operation. */
#define BODY \
{ \
- if (GLRO (dl_hwcap) & HWCAP_S390_ETF3EH) \
+ /* The hardware instruction currently fails to report an error for \
+ isolated low surrogates so we have to disable the instruction \
+ until this gets resolved. */ \
+ if (0) /* (GLRO (dl_hwcap) & HWCAP_S390_ETF3EH) */ \
{ \
- HARDWARE_CONVERT ("cu21 %0, %1"); \
+ HARDWARE_CONVERT ("cu21 %0, %1, 1"); \
if (inptr != inend) \
{ \
/* Check if the third byte is \
@@ -388,7 +391,7 @@ gconv_end (struct __gconv_step *data)
\
outptr += 2; \
} \
- else if (c >= 0x0800 && c <= 0xd7ff) \
+ else if ((c >= 0x0800 && c <= 0xd7ff) || c > 0xdfff) \
{ \
/* Three byte UTF-8 char. */ \
\
Index: libc/sysdeps/s390/s390-64/utf16-utf32-z9.c
===================================================================
--- libc.orig/sysdeps/s390/s390-64/utf16-utf32-z9.c
+++ libc/sysdeps/s390/s390-64/utf16-utf32-z9.c
@@ -203,7 +203,10 @@ gconv_end (struct __gconv_step *data)
swapping). */
#define BODY \
{ \
- if (GLRO (dl_hwcap) & HWCAP_S390_ETF3EH) \
+ /* The hardware instruction currently fails to report an error for \
+ isolated low surrogates so we have to disable the instruction \
+ until this gets resolved. */ \
+ if (0) /* (GLRO (dl_hwcap) & HWCAP_S390_ETF3EH) */ \
{ \
HARDWARE_CONVERT ("cu24 %0, %1, 1"); \
if (inptr != inend) \
@@ -229,6 +232,12 @@ gconv_end (struct __gconv_step *data)
} \
else \
{ \
+ /* An isolated low-surrogate was found. This has to be \
+ considered ill-formed. */ \
+ if (__builtin_expect (u1 >= 0xdc00, 0)) \
+ { \
+ STANDARD_FROM_LOOP_ERR_HANDLER (2); \
+ } \
/* It's a surrogate character. At least the first word says \
it is. */ \
if (__builtin_expect (inptr + 4 > inend, 0)) \
++++++ glibc-valloc-assert.diff ++++++
Index: glibc-2.11.1/malloc/malloc.c
===================================================================
--- glibc-2.11.1.orig/malloc/malloc.c 2010-01-18 18:01:41.000000000 +0100
+++ glibc-2.11.1/malloc/malloc.c 2010-02-23 13:47:59.000000000 +0100
@@ -3933,9 +3933,10 @@ public_vALLOc(size_t bytes)
if(!p) {
/* Maybe the failure is due to running out of mmapped areas. */
if(ar_ptr != &main_arena) {
- (void)mutex_lock(&main_arena.mutex);
- p = _int_memalign(&main_arena, pagesz, bytes);
- (void)mutex_unlock(&main_arena.mutex);
+ ar_ptr = &main_arena;
+ (void)mutex_lock(&ar_ptr->mutex);
+ p = _int_memalign(ar_ptr, pagesz, bytes);
+ (void)mutex_unlock(&ar_ptr->mutex);
} else {
#if USE_ARENAS
/* ... or sbrk() has failed and there is still a chance to mmap() */
@@ -3978,9 +3979,10 @@ public_pVALLOc(size_t bytes)
if(!p) {
/* Maybe the failure is due to running out of mmapped areas. */
if(ar_ptr != &main_arena) {
- (void)mutex_lock(&main_arena.mutex);
- p = _int_memalign(&main_arena, pagesz, rounded_bytes);
- (void)mutex_unlock(&main_arena.mutex);
+ ar_ptr = &main_arena;
+ (void)mutex_lock(&ar_ptr->mutex);
+ p = _int_memalign(ar_ptr, pagesz, rounded_bytes);
+ (void)mutex_unlock(&ar_ptr->mutex);
} else {
#if USE_ARENAS
/* ... or sbrk() has failed and there is still a chance to mmap() */
++++++ glibc_post_upgrade.c ++++++
--- /var/tmp/diff_new_pack.HSbOO6/_old 2010-04-28 22:34:42.000000000 +0200
+++ /var/tmp/diff_new_pack.HSbOO6/_new 2010-04-28 22:34:42.000000000 +0200
@@ -34,6 +34,9 @@
char initpath[256];
struct stat root, init_root;
+ /* First, get rid of platform-optimized libraries. We remove any we have
+ ever built, since otherwise we might end up using some old leftover
+ libraries when new ones aren't installed in their place anymore. */
#ifdef REMOVE_TLS_DIRS
const char *library[] = {"libc.so.6", "libc.so.6.1", "libm.so.6",
"libm.so.6.1", "librt.so.1", "librtkaio.so.1",
@@ -43,6 +46,14 @@
"/lib/i686/",
#endif
#ifdef __powerpc64__
+#ifdef REMOVE_PPC_OPTIMIZE_POWER4
+ "/lib64/power4/",
+ "/lib64/ppc970/",
+#endif
+#ifdef REMOVE_PPC_OPTIMIZE_POWER5
+ "/lib64/power5/",
+ "/lib64/power5+/",
+#endif
#ifdef REMOVE_PPC_OPTIMIZE_POWER6
"/lib64/power6/",
"/lib64/power6x/",
@@ -55,6 +66,14 @@
#endif
#endif /* __powerpc64__ */
#ifdef __powerpc__
+#ifdef REMOVE_PPC_OPTIMIZE_POWER4
+ "/lib/power4/",
+ "/lib/ppc970/",
+#endif
+#ifdef REMOVE_PPC_OPTIMIZE_POWER5
+ "/lib/power5/",
+ "/lib/power5+/",
+#endif
#ifdef REMOVE_PPC_OPTIMIZE_POWER6
"/lib/power6/",
"/lib/power6x/",
++++++ ld-prelink-unique.diff ++++++
2010-03-23 Jakub Jelinek <jakub(a)redhat.com>
* elf/dl-lookup.c (do_lookup_x): If tab->entries is NULL,
but tab->size != 0, just unlock and goto success, without
allocating anything or entering anything into the hash table.
(_dl_debug_bindings): Temporarily set tab->entries to NULL
around do_lookup_x in undef_map->l_local_scope[0].
--- libc/elf/dl-lookup.c.jj 2009-12-16 00:10:37.000000000 +0100
+++ libc/elf/dl-lookup.c 2010-03-23 11:03:45.850560036 +0100
@@ -1,5 +1,6 @@
/* Look up a symbol in the loaded objects.
- Copyright (C) 1995-2005, 2006, 2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1995-2005, 2006, 2007, 2009, 2010
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -414,6 +415,20 @@ do_lookup_x (const char *undef_name, uin
assert (!RTLD_CHECK_FOREIGN_CALL);
#endif
+#ifdef SHARED
+ /* If tab->entries is NULL, but tab->size is not, it means
+ this is the second, conflict finding, lookup for
+ LD_TRACE_PRELINKING in _dl_debug_bindings. Don't
+ allocate anything and don't enter anything into the
+ hash table. */
+ if (__builtin_expect (tab->size, 0))
+ {
+ assert (GLRO(dl_debug_mask) & DL_DEBUG_PRELINK);
+ __rtld_lock_unlock_recursive (tab->lock);
+ goto success;
+ }
+#endif
+
#define INITIAL_NUNIQUE_SYM_TABLE 31
size = INITIAL_NUNIQUE_SYM_TABLE;
entries = calloc (sizeof (struct unique_sym), size);
@@ -917,13 +932,17 @@ _dl_debug_bindings (const char *undef_na
{
const uint_fast32_t new_hash = dl_new_hash (undef_name);
unsigned long int old_hash = 0xffffffff;
+ struct unique_sym *saved_entries
+ = GL(dl_ns)[LM_ID_BASE]._ns_unique_sym_table.entries;
+ GL(dl_ns)[LM_ID_BASE]._ns_unique_sym_table.entries = NULL;
do_lookup_x (undef_name, new_hash, &old_hash, *ref, &val,
undef_map->l_local_scope[0], 0, version, 0, NULL,
type_class, undef_map);
if (val.s != value->s || val.m != value->m)
conflict = 1;
+ GL(dl_ns)[LM_ID_BASE]._ns_unique_sym_table.entries = saved_entries;
}
if (value->s)
++++++ nptl-ppc64-vdso-timedwait.diff ++++++
Index: glibc-2.11.1/nptl/pthread_cond_timedwait.c
===================================================================
--- glibc-2.11.1.old/nptl/pthread_cond_timedwait.c
+++ glibc-2.11.1/nptl/pthread_cond_timedwait.c
@@ -27,6 +27,15 @@
#include <shlib-compat.h>
+#ifndef HAVE_CLOCK_GETTIME_VSYSCALL
+# undef INTERNAL_VSYSCALL
+# define INTERNAL_VSYSCALL INTERNAL_SYSCALL
+# undef INLINE_VSYSCALL
+# define INLINE_VSYSCALL INLINE_SYSCALL
+#else
+# include <bits/libc-vdso.h>
+#endif
+
/* Cleanup handler, defined in pthread_cond_wait.c. */
extern void __condvar_cleanup (void *arg)
@@ -102,7 +111,7 @@ __pthread_cond_timedwait (cond, mutex, a
#ifdef __NR_clock_gettime
INTERNAL_SYSCALL_DECL (err);
int ret;
- ret = INTERNAL_SYSCALL (clock_gettime, err, 2,
+ ret = INTERNAL_VSYSCALL (clock_gettime, err, 2,
(cond->__data.__nwaiters
& ((1 << COND_NWAITERS_SHIFT) - 1)),
&rt);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
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 attica for openSUSE:Factory
checked in at Wed Apr 28 22:34:46 CEST 2010.
--------
--- KDE/attica/attica.changes 2010-01-14 23:04:52.000000000 +0100
+++ attica/attica.changes 2010-04-26 12:29:46.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Apr 26 12:29:26 CEST 2010 - ro(a)suse.de
+
+- try to fix version in pkgconfig file
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
attica-pkconfig.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ attica.spec ++++++
--- /var/tmp/diff_new_pack.s7QK1p/_old 2010-04-28 22:34:07.000000000 +0200
+++ /var/tmp/diff_new_pack.s7QK1p/_new 2010-04-28 22:34:07.000000000 +0200
@@ -21,7 +21,7 @@
BuildRequires: cmake kde4-filesystem libqt4-devel
Url: http://websvn.kde.org/trunk/kdesupport/attica
Version: 0.1.2
-Release: 1
+Release: 2
License: LGPLv2.1+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/GUI/KDE
@@ -29,6 +29,7 @@
Requires: libqt4 > 4.4
Source: attica-%{version}.tar.bz2
Source99: baselibs.conf
+Patch0: attica-pkconfig.patch
Requires: libattica0 = %{version}
%description
@@ -73,6 +74,7 @@
%prep
%setup -q -n attica-%{version}
+%patch0
%build
%cmake_kde4 -d build
++++++ attica-pkconfig.patch ++++++
--- lib/cmake/libattica.pc.cmake
+++ lib/cmake/libattica.pc.cmake
@@ -6,7 +6,7 @@
Name: libattica
Description: Qt library to access Open Collaboration Services
#Requires:
-Version: ${ATTICA_VERSION_MAJOR}.${ATTICA_VERSION_MINOR}.${ATTICA_VERSION_PATCH}
+Version: ${CMAKE_LIBATTICA_VERSION_MAJOR}.${CMAKE_LIBATTICA_VERSION_MINOR}.${CMAKE_LIBATTICA_VERSION_PATCH}
Libs: -L${LIB_DESTINATION} -lattica
Cflags: -I${CMAKE_INSTALL_PREFIX}/include
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0