Commit Graph

1194 Commits

Author SHA1 Message Date
Siddhesh Poyarekar
13a25e85c0 Define swap_endianness_p in build-locale-archive 2013-10-03 10:42:38 +05:30
Carlos O'Donell
9c4147aa9e Resolves: #1009145
- Allow ldconfig cached objects previously marked as hard or soft
  ABI to now become unmarked without raising an error. This works
  around a binutils bug that caused objects to become unmarked.
  (#1009145)
2013-10-02 21:34:56 -04:00
Siddhesh Poyarekar
4ef9594328 Fix PI mutex check for non-x86 and resync with upstream master 2013-10-01 20:23:50 +05:30
Carlos O'Donell
a9c7f8acc7 Resolves: #1009623
- Avoid the use of __block which is a reserved keyword for clang++
2013-09-24 02:01:06 -04:00
Siddhesh Poyarekar
bf5e654c21 Resync with upstream master 2013-09-23 13:22:23 +05:30
Carlos O'Donell
1a343f85fe Sync CVE-2013-4788 patch again (no NVR bump again). 2013-09-23 01:54:23 -04:00
Carlos O'Donell
593edbc2d5 Sync CVE-2013-4788 patch (no need for NVR bump). 2013-09-23 01:02:10 -04:00
Carlos O'Donell
2cd5135a96 Resolves: #985625
- Fix CVE-2013-4788: Static applications now support pointer mangling.
  Existing static applications must be recompiled (#985625).
2013-09-23 00:30:55 -04:00
Patsy Franklin
1939babb04 Resolves: #804768
-Require a specific version of binutils for s390/s390x support.
2013-09-19 10:23:27 -04:00
Siddhesh Poyarekar
fb87393c99 Resync with upstream master 2013-09-16 15:16:18 +05:30
Siddhesh Poyarekar
35b7508499 Resync with upstream master 2013-09-05 17:37:40 +05:30
Carlos O'Donell
db59a6354f Fix Power build (#997531). 2013-08-29 00:36:52 -04:00
Carlos O'Donell
b8280fad3d Fix indirect function support to avoid calling optimized routines
for the wrong hardware (#985342).
2013-08-28 00:34:43 -04:00
Siddhesh Poyarekar
97490e6a11 Initialize res_hconf in nscd 2013-08-26 12:23:11 +05:30
Siddhesh Poyarekar
25e270de7c Fix tst-aiod2 and tst-aiod3 test failures (#970865) 2013-08-22 15:08:00 +05:30
Siddhesh Poyarekar
735547c10e Fix an issue with the strcoll CVE patch
Expanded types for some variables to prevent overflow.
2013-08-22 11:10:25 +05:30
Siddhesh Poyarekar
e3b637cf01 Avoid inlining of cleanup function for kaio_suspend
Inlining of the function seems to be responsible for the unwind
function not adjusting the GOT pointer before calling the cleanup
function.
2013-08-22 11:07:15 +05:30
Siddhesh Poyarekar
615c1c4694 Remove non-ELF support in rtkaio 2013-08-20 10:14:34 +05:30
Siddhesh Poyarekar
f40b2eb05b Fix changelog and release number 2013-08-19 17:08:37 +05:30
Siddhesh Poyarekar
17b00fb789 Get rid of releng tarball
Add necessary files directly to the Fedora git tree and add rtkaio and
c_stubs bits as patches.
2013-08-19 17:05:59 +05:30
Siddhesh Poyarekar
f64a75b648 Fix buffer overflow in readdir_r (#995841, CVE-2013-4237) 2013-08-19 13:33:34 +05:30
Siddhesh Poyarekar
944ed516b0 Pull in systemd during build and use the tmpfilesdir macro. 2013-08-16 19:30:36 +05:30
Siddhesh Poyarekar
5817231d50 Upstream release 2.18 2013-08-16 19:26:44 +05:30
Carlos O'Donell
63769b1ddc Use %{_prefix} everywhere.
This patch fixes the spec file to use %{_prefix} everywhere that
is related to the package and subpackages. However, external
utilities are still referenced by their absolute path which
includes /usr.
2013-08-14 23:48:25 -04:00
Carlos O'Donell
5b97b46bb3 Use $rtkdestdir with alternate rtkaio libs.
Fix typo.
2013-08-14 15:51:47 -04:00
Carlos O'Donell
b8e4762c60 Revert `Move to /usr' transition.
The `Move to /usr' transition for glibc can not be completed
without support from RPM. There are too many Requires that
explicitly reference non-/usr paths in various spec files.
Reverting this patch is the only way forward until we find
a transitional way to support this.
2013-08-13 16:41:01 -04:00
Carlos O'Donell
62c3082486 Complete `Move to /usr' transition for package.
All relevant files are not installed to /usr, with the expectation
that the distribution will provide compatibility links from the
old paths to the new paths. All uses of a bare `/usr' have been
replaced with uses of `%{_prefix}' for files installed by the
package.
2013-08-13 13:18:15 -04:00
Carlos O'Donell
baa7ac6384 Fix typo in install_different local vars. 2013-08-09 00:48:21 -04:00
Carlos O'Donell
71c008f968 Refactor multilib install code.
Two large chunks of identical code are used to install the
non-default runtimes. This patch refactors that code into
the function `install_different' which is used to
conditionally install any libaries where different in the
new multilib (different from the default).
2013-08-09 00:41:01 -04:00
Carlos O'Donell
85447d4e89 Fix duplicate file warnings.
The find-debuginfo.sh script will return duplicate entries of
certain files even though the input is uinque. This results
in rpm build warnings like this:
~~~
Processing files: glibc-debuginfo-common-2.17.90-10.fc20.x86_64
warning: File listed twice: /usr/lib/debug/usr/sbin/build-locale-archive.debug
warning: File listed twice: /usr/lib/debug/usr/sbin/nscd.debug
warning: File listed twice: /usr/lib/debug/usr/sbin/zdump.debug
warning: File listed twice: /usr/lib/debug/usr/sbin/zic.debug
~~~

The solutions is to make the output file list uinque by post
processing it after it is output by find-debuginfo.sh.

The solution removes the warnings and produces no visible
change in the output rpms.
2013-08-08 12:29:39 -04:00
Carlos O'Donell
37b5e6be81 Avoid complex shell constructs.
Don't use subshells when not needed.

Don't use `|| :' to hide errors.
2013-08-08 11:24:25 -04:00
Karsten Hopp
f20c318f75 rebuild with the latest rpm to fix missing ld64.so provides on PPC 2013-08-07 15:18:48 +02:00
Carlos O'Donell
e009d66cdf 2.17.90-10
Bump version.

- Fix missing libbsd.a in debuginfo packages.
2013-07-29 14:36:48 -04:00
Carlos O'Donell
0d1d15d15b Use %{_libdir} instead of %{_prefix}/%{_lib}.
Using %{_libdir} is shorter to write and read and
means exactly the same thing. It also facilitates
experimenting with package layout by changing only
_libdir.
2013-07-29 14:34:27 -04:00
Carlos O'Donell
3bc8fa746f Reorder middle-phase install steps.
Testing showed that unstripped libbsd.a was missing from the list
of common debuginfo files. The fix is to move the "Misc" phase
to before the phase that adds files to the debuginfo. This way
the debuginfo files are computed after all files are in place.
2013-07-29 14:34:27 -04:00
Siddhesh Poyarekar
70cc4d3cc2 - Fix strcoll flaws (#855399, CVE-2012-4412, CVE-2012-4424). 2013-07-29 20:04:15 +05:30
Siddhesh Poyarekar
9a33c90499 Remove pt_chown and fix up spec file
I had forgotten to bump the release number and even add a changelog
entry earlier.  Do all that now.
2013-07-29 17:35:53 +05:30
Siddhesh Poyarekar
59f7846a1a Resync with upstream master 2013-07-29 16:47:41 +05:30
Carlos O'Donell
1d99c012ca Use -s' with truncate not -size'. 2013-07-25 20:30:58 -04:00
Carlos O'Donell
02e8252613 Remove obscure uses of shell redirections.
This patch makes the spec file slightly more friendly to non-shell
readers by changing "> foo" to "truncate -s 0 foo" and removes
the use of ">> foo". The use of ">> foo" is perhaps the most
interesting shell trick which is used to create a zero sized
debuginfocommon.filelist, but only if it doesn't already exist.
This allows the subsequent command to use debuginfocommon.filelist
without requiring it be wrapped in a check for
%{debuginfocommonarches}. That seems a little obtuse and certainly
confusing to the reader who expects such a check for anything
that is related to the debuginfo common package.
2013-07-25 20:17:30 -04:00
Carlos O'Donell
2eb150368a Second round of whitespace and indentation fixes. 2013-07-25 19:10:00 -04:00
Carlos O'Donell
d4d7effa6b Reindent functions and multi-line commands. 2013-07-25 18:53:13 -04:00
Carlos O'Donell
37714d015a Fix slowpow systemtap probe name.
- Correctly name the 240-bit slow path sytemtap probe slowpow_p10 for slowpow.
2013-07-25 15:46:20 -04:00
Carlos O'Donell
5a3b560f10 Reorganize the middle of the install phase.
The middle of the install phase is now clearly split into:
* Remove files we don't distribute.
* Install info files.
* Install locale files.
* Install configuration files for services.
* Install debug copies of unstripped static libs.
* Miscellaneous.
2013-07-24 23:00:43 -04:00
Carlos O'Donell
8c7b7c2248 Adjust comments. 2013-07-24 22:45:11 -04:00
Carlos O'Donell
dbc262b8ed Fix testsuite failures in static C++ tests.
Add build requirement on static libstdc++ library to fix testsuite failures
for static C++ tests.
2013-07-24 08:54:14 -04:00
Carlos O'Donell
9abcefa0aa Add extensive comments. 2013-07-24 07:58:38 -04:00
Carlos O'Donell
7e232bd35c Use pushd/popd for directory changes. 2013-07-24 01:27:35 -04:00
Carlos O'Donell
bf6cb48175 Remove trailing whitespace. 2013-07-24 01:22:37 -04:00
Siddhesh Poyarekar
a383e78f66 - Enable lock elision support (#982363).
- Depend on systemd instead of systemd-units (#983760).
2013-07-22 14:44:54 +05:30