Commit Graph

751 Commits

Author SHA1 Message Date
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
Siddhesh Poyarekar
9d560ee089 Resync with upstream master 2013-07-09 23:15:48 +05:30
Carlos O'Donell
5e06266896 Fix %changelog indentation. 2013-07-08 17:17:33 -04:00
Siddhesh Poyarekar
58028e9523 Resync with upstream master 2013-06-20 13:23:26 +05:30
Remi Collet
9a2e2fa7aa rebuild for new GD 2.1.0 2013-06-11 10:04:52 +02:00
Siddhesh Poyarekar
3cd9b9ce3d Resync with upstream master
Dropped upstreamed patches and adjusted others to apply to latest
upstream.
2013-06-04 22:23:45 +05:30
Siddhesh Poyarekar
1cb6060f99 Avoid crashing in LD_DEBUG when program name is unavailable
Resolves: #961238.
2013-05-14 20:18:28 +05:30
Patsy Franklin
e1a168f8a9 Resolves: #959034
- Fix _nl_find_msg malloc failure case, and callers. (#959034).
2013-05-05 20:19:47 -04:00
Patsy Franklin
3432a46817 Resolves: #952799
- Test init_fct for NULL, not result->__init_fct, after demangling (#952799).
2013-04-30 10:51:37 -04:00
Patsy Franklin
7f654232b1 Resolves: #892777 #952799
- Increase limits on xdr name and record requests (#892777).
  - Consistently MANGLE/DEMANGLE init_fct, end_fct and btow_fct (#952799).
2013-04-23 16:52:25 -04:00
Siddhesh Poyarekar
209568f516 Don't add input group during initgroups_dyn in hesiod (#921760) 2013-03-28 14:11:28 +05:30
Carlos O'Donell
bbd581848b Fix incorrect %changelog dates.
We had 16 incorrect %changelog dates that referenced
either the wrong day or wrong date for the day. All
such entries have been corrected using version control
information to determine the correct or most plausible
date. This fixes the Koji warnings about incorrect
dates in the %changelog.
2013-03-21 18:18:11 -04:00
Carlos O'Donell
37410dcf6c Remove duplicate comments in spec file. 2013-03-17 21:20:31 -04:00
Carlos O'Donell
b5a300152e 2.17-4
- Fixed i386 glibc builds (#917161).
  - Fixed multibyte character processing crash in regexp (#905877, CVE-2013-0242)
2013-03-17 20:13:38 -04:00
Carlos O'Donell
6cfdaac5b6 2.17-3
- Renamed release engineering directory to `releng' (#903754).
  - Fix building with gcc 4.8.0 (#911307).
2013-02-27 19:48:51 -05:00
Carlos O'Donell
db7fd60840 * Thu Feb 7 2013 Carlos O'Donell <carlos@redhat.com> - 2.17-2
- Fix ownership of /usr/lib[64]/audit (#894307).
  - Support unmarked ARM objects in ld.so.cache and aux cache (#905184).
2013-02-08 09:40:54 -05:00
Jeff Law
fb5a5a9b05 - Resync with official glibc-2.17 release 2013-01-01 08:00:53 -07:00
Jeff Law
48a6019250 - Resync with master 2012-12-21 13:50:00 -07:00
Jeff Law
01a2098723 + - Add rtld-debugger-interface.txt as documentation. (#872242) 2012-12-19 11:14:19 -07:00
Jeff Law
cdd3b0516c - Resync with master
- Drop patch for 731228 that is no longer needed.
2012-12-07 15:01:57 -07:00
Jeff Law
245f445471 Bump release. 2012-12-06 10:46:40 -07:00
Jeff Law
0a21292124 - Resync with master
- Patch for 697421 has been submitted upstream.
  - Drop local patch for 691912 that is no longer needed.
2012-12-06 10:45:03 -07:00
Jeff Law
7941460ddd Mark 731228 as having an upstream BZ (14898) 2012-12-04 09:11:08 -07:00
Jeff Law
4e1a9eb783 * Mon Dec 3 2012 Jeff Law <law@redhat.com> - 2.16.90-36
- Resync with master
  - Drop local patch for 657588 that is no longer needed.
  - Drop local patch for 740682 that is no longer needed.
  - Drop local patch for 770439 that is no longer needed.
  - Drop local patch for 789209 that is no longer needed.
  - Drop lotch patch for nss-files-overflow that seems
    useless.
  - Drop localedata-locales-fixes as they were rejected
    upstream.
  - Drop test-debug-gnuc-hack.patch that seems useless now.
  - Repack patchlist.
2012-12-03 13:37:41 -07:00
Jeff Law
d5297ae5f7 - Resync with master
- Drop local patch for 657588 that is no longer needed.
  - Drop lotch patch for nss-files-overflow that seems
    useless.
  - Repack patchlist.
2012-12-03 11:25:56 -07:00
Jeff Law
03545a8efd - Resync with master (#882137).
- Remove local patch for strict-aliasing warnings that
    is no longer needed.
  - Remove local patch for 730856 that is no longer needed.
  - Repack patchlist.
2012-11-30 14:01:46 -07:00
Jeff Law
f5dc60f992 - Remove local patch which "temporarily" re-added currences
obsoleted by the Euro.
2012-11-29 14:25:33 -07:00
Jeff Law
f0c53b1b9f - Remove hunks from strict-aliasing patch that are no longer
needed.
2012-11-29 14:20:27 -07:00
Jeff Law
e60d39c115 Fix typo in changelog 2012-11-29 10:59:46 -07:00
Jeff Law
e781949a22 - Resync with msater.
- Drop local patch for 788989.
  - Repack patchlist.
2012-11-29 10:56:43 -07:00
Jeff Law
e3a9f6982a - Resync with master.
- Drop local patch for 878913.
  - Drop local patch for 880666.
  - Drop local patch for 767693.
  - Repack patchlist.
2012-11-28 14:30:40 -07:00
Siddhesh Poyarekar
99d5069200 Bug fixes (878913, 880666)
- Ensure that hashtable size is greater than 3 (#878913).
  - fwrite returns 0 on EOF (#880666).
2012-11-27 21:31:22 +05:30
Jeff Law
0a6b9006e7 - Resync with upstream sources
- Drop local patch for getconf.
  - Repack patchlist.
2012-11-26 14:19:38 -07:00
Jeff Law
9625d850cd - Rsync with upstream sources
- Drop local patches for 803286, 791161, 790292, 790298
2012-11-16 06:33:25 -07:00
Jeff Law
91136bb3b9 - Resync with upstream sources (#873397) 2012-11-07 12:05:53 -07:00
Jeff Law
3a8f01ff81 Fix the subdirectory name in the -fedora tarball 2012-11-05 14:57:52 -07:00
Jeff Law
a7ee17d411 - Resync with upstream sources.
- Don't use distinct patches for 770869, 787201 and 688948
    as they all modify stuff under fedora/
  - Repack patchlist
2012-11-05 14:44:36 -07:00
Jeff Law
178231ee78 - Resync with upstream sources (#872336) 2012-11-02 12:08:02 -06:00
Jeff Law
1b5b2e3a41 - Rsync with upstream sources
- Drop 864820 patch as now that it's upstream.
  - Add sss to /etc/nsswitch.conf (#867473)
2012-10-22 10:00:55 -06:00
Jeff Law
69ddcb4ca7 - Rsync with upstream sources
- Drop local 552960-2 patch now that it's upstream.
  - Drop local 858274 patch now that the root problem is fixed upstream.
  - Repack patchlist.
2012-10-11 09:54:09 -06:00
Siddhesh Poyarekar
9589f53f78 Trivial spec fix: Today is not Friday 2012-10-10 17:20:38 +05:30
Siddhesh Poyarekar
609365c298 Fix Marathi names for Wednesday, September and October (#rh864820) 2012-10-10 14:48:01 +05:30
Jeff Law
665e71fb89 - Resync with upstream sources.
- Drop local stap patch now obsolete.
  - Drop local s390 patch which avoided problems with old assemblers
  - Drop old fortify source patch to deal with old compilers
2012-10-05 12:24:42 -06:00
Siddhesh Poyarekar
080a305bf2 Take mutex in cleanup only if it is not already taken (pr#14652) 2012-10-04 11:57:51 +05:30
Jeff Law
f6de48ac9d - Resync with upstream sources.
- Repack patchlist.
2012-10-02 06:41:58 -06:00
Jeff Law
66c0a7ea1d - Resync with upstream sources to pick up fma fixes 2012-10-01 06:37:36 -06:00
Jeff Law
b33c1d2300 * Fri Sep 28 2012 Jeff Law <law@redhat.com> - 2.16.90-18
- Resync with upstream sources.
  - Drop fedora-cdefs-gnuc.patch, it's not needed anymore.
  - Drop fedora-gai-rfc1918.patch, it's upstream now.
  - Drop fedora-localedata-no_NO.patch, it was supposed to be
    temporary -- that was back in 2003.   This should have been
    sorted out long ago.  We'll just have to deal with the
    fallout.
  - Drop fedora-vfprintf-sw6530.patch, it's upstream now.
  - Drop rh769421.patch; Siddhesh has fixed this properly with 552960.
2012-09-28 13:55:42 -06:00
Siddhesh Poyarekar
cdb17b58a8 Release mutex before going back to wait for PI mutexes (#552960). 2012-09-28 10:01:16 +05:30
Jeff Law
3b7069e67c - Resync with upstream sources. 2012-09-25 20:25:26 -06:00
Jeff Law
55a30785d4 - Remove most of fedora-nscd patch as we no longer use the
old init files, but systemd instead.
  - Remove path-to-vi patch.  With the usr-move changes that
    patch is totally unnecessary.
  - Remove i686-nopl patch.  Gas was changed back in 2011 to
    avoid nopl.
  - Move gai-rfc1918 patch to submitted upstream status
2012-09-24 09:25:31 -06:00
Jeff Law
384f5b1f91 Bring back patch for 858274 2012-09-21 13:08:53 -06:00
Jeff Law
3e3b859747 Actually remove the patchfile 2012-09-21 12:51:04 -06:00
Jeff Law
cd9aa54a17 - Remove broken patch for 816647. 2012-09-21 12:50:11 -06:00
Siddhesh Poyarekar
7e2e80de95 Bring back byteswap-16.h (#859268) 2012-09-21 09:58:52 +05:30
Jeff Law
7f7468a795 Fix typo 2012-09-20 15:51:11 -06:00
Jeff Law
6d1baf2988 - Revert recent upstream strstr changes (#858274) 2012-09-20 15:46:19 -06:00
Jeff Law
67e76ace81 - Demangle function pointers before testing them (#816647) 2012-09-20 15:34:11 -06:00
Jeff Law
5e0541ba74 - Remove handling of /etc/localtime and /var/spool/postfix/etc/localtime
as systemd will be handling them from now on (#858735).
2012-09-20 15:03:18 -06:00
Jeff Law
3cb79f751c - Resync with upstream sources (#857236). 2012-09-14 14:42:59 -06:00
Peter Robinson
575bb8c6d7 Enable ports to fix FTBFS on ARM 2012-09-08 16:39:53 +01:00
Jeff Law
afeab8192b - Resync with upstream sources. 2012-09-05 22:23:20 -06:00
Jeff Law
98dddaf805 - Incorporate ppc64p7 arch changes (#854250) 2012-09-04 11:35:34 -06:00
Jeff Law
7f32dad8b0 - Resync with upstream sources. 2012-08-30 09:47:02 -06:00
Jeff Law
df41626e91 - Resync with upstream sources. 2012-08-22 22:11:53 -06:00
Jeff Law
f8556b4c45 - Replace manual systemd scriptlets with macroized scriptlets
(#850129)
2012-08-21 09:47:24 -06:00
Jeff Law
31474e7c11 Bump release. 2012-08-20 20:31:17 -06:00
Jeff Law
0436f62efd - Move /etc/localtime into glibc-common package since glibc-common
owns the scriptlets which update it.
2012-08-20 20:30:59 -06:00
Jeff Law
fb633eaa14 - Remove obsolete patches from glibc-fedora.patch. Explode
remaining patches into distinct patchfiles.  Thanks to
    Dmitry V. Levin for identifying them!
    Drop ia64 specific patches and specfile fragments
2012-08-20 13:25:02 -06:00
Jeff Law
8854fdfb25 - Remove obsolete patches from glibc-fedora.patch. Thanks to
Dmitry V. Levin for identifying them!
2012-08-20 12:08:39 -06:00
Jeff Law
acfd962c20 + - Fix integer overflow leading to buffer overflow in strto* (#847718) 2012-08-15 09:51:53 -06:00
Jeff Law
24dc568431 - Resync with upstream sources, drop obsolete patches.
- Drop glibc-ports bits as they're part of the master
    sources now.
2012-08-13 22:49:13 -06:00
Jeff Law
e784118c7b Bump release. 2012-08-13 11:15:16 -06:00
Jeff Law
f5845e2bd5 - Replace patch for 179072 with offical version from upstream. 2012-08-13 11:14:38 -06:00
Jeff Law
49bbcdd4a0 - Replace patch for 789238 with official version from upstream. 2012-08-10 09:44:26 -06:00
Jeff Law
d985507603 - Pack IPv4 servers at the start of nsaddr_list and
only track the number of IPV4 servers in EXT(statp->nscounti
(#808147)
  - Mark set*uid, set*gid as __wur (warn unused result) (#845960)
2012-08-06 11:46:20 -06:00
Jeff Law
64ea3f61e3 - Revert patch for BZ696143, it made it impossible to use IPV6
addresses explicitly in getaddrinfo, which in turn broke
    ssh, apache and other code. (#808147)
2012-07-26 00:00:05 -06:00
Jeff Law
054129c484 - Avoid another unbound alloca in vfprintf (#841318)
- Remove /etc/localtime.tzupdate in lua scriptlets
  - Revert back to using posix.symlink as posix.link with a 3rd
    argument isn't supported in the lua version embedded in rpm.
2012-07-25 23:30:39 -06:00
Jeff Law
b6a5cc17de - Revert recent changes to res_send (804630, 835090).
- Fix memcpy args in res_send (#841787).
2012-07-25 14:33:39 -06:00
Dennis Gilmore
c567b667ba - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 01:56:05 -05:00
Jeff Law
d7543e8b4a - Use posix.link rather than posix.symlink in scriptlet to
update /etc/localtime (#837344).
2012-07-05 23:36:28 -06:00