3 |
|
|
4 |
# <epoch>:<version>-<release> tags for glibc main package |
# <epoch>:<version>-<release> tags for glibc main package |
5 |
%define glibcversion 2.14.1 |
%define glibcversion 2.14.1 |
6 |
%define __glibcrelease 1 |
%define __glibcrelease 0.1 |
7 |
%define glibcepoch 6 |
%define glibcepoch 6 |
8 |
|
|
9 |
# CVS snapshots of glibc |
# CVS snapshots of glibc |
260 |
# various path fix, for _PATH_VI and _PATH_VARDB |
# various path fix, for _PATH_VI and _PATH_VARDB |
261 |
Patch01: glibc-2.12.1-fhs.patch |
Patch01: glibc-2.12.1-fhs.patch |
262 |
Patch02: glibc-2.9-ldd-non-exec.patch |
Patch02: glibc-2.9-ldd-non-exec.patch |
|
Patch03: glibc-2.11-bz10851.patch |
|
263 |
# try to fallback on loading /lib/libnss_*.so.X.Y when the loading |
# try to fallback on loading /lib/libnss_*.so.X.Y when the loading |
264 |
# of /lib/libnss_*.so.X failed. Should be dropped, IMHO. |
# of /lib/libnss_*.so.X failed. Should be dropped, IMHO. |
265 |
Patch04: glibc-2.2-nss-upgrade.patch |
Patch04: glibc-2.2-nss-upgrade.patch |
272 |
# default nsswitch.conf |
# default nsswitch.conf |
273 |
# should be moved out patch and be a regular Source |
# should be moved out patch and be a regular Source |
274 |
Patch07: glibc-2.3.6-nsswitch.conf.patch |
Patch07: glibc-2.3.6-nsswitch.conf.patch |
|
Patch08: glibc-2.12.1-make-3.82-fix.patch |
|
275 |
|
|
276 |
# use xvt instead of xterm in xtrace.sh |
# use xvt instead of xterm in xtrace.sh |
277 |
# cannot be pushed upstream as xvt is Ma* specific |
# cannot be pushed upstream as xvt is Ma* specific |
279 |
|
|
280 |
# add transliteration for "COLON SIGN" |
# add transliteration for "COLON SIGN" |
281 |
# ( used for the money of money of san salvador ) |
# ( used for the money of money of san salvador ) |
|
Patch10: glibc-2.12.1-submitted-translit-colon.patch |
|
282 |
Patch11: glibc-2.4.90-compat-EUR-currencies.patch |
Patch11: glibc-2.4.90-compat-EUR-currencies.patch |
283 |
Patch12: glibc-2.3.6-ppc-build-lddlibc4.patch |
Patch12: glibc-2.3.6-ppc-build-lddlibc4.patch |
284 |
|
|
289 |
# if the system relie on reverse dns for security |
# if the system relie on reverse dns for security |
290 |
Patch14: glibc-2.9-nscd-no-host-cache.patch |
Patch14: glibc-2.9-nscd-no-host-cache.patch |
291 |
|
|
|
|
|
|
Patch15: glibc-2.12.1-ldconfig-chroot-aux-cache.patch |
|
|
Patch16: glibc-2.12.1-workaround-shortest-stem-in-make-3.82.patch |
|
292 |
Patch17: glibc-2.4.90-i386-hwcapinfo.patch |
Patch17: glibc-2.4.90-i386-hwcapinfo.patch |
293 |
Patch18: glibc-2.7-provide_CFI_for_the_outermost_function.patch |
Patch18: glibc-2.7-provide_CFI_for_the_outermost_function.patch |
294 |
|
|
295 |
# another fix for nscd init script, make it start after network, ldap, mysql and ypbind |
# another fix for nscd init script, make it start after network, ldap, mysql and ypbind |
296 |
# should be sent upstream |
# should be sent upstream |
297 |
Patch19: glibc-2.8-nscd-init-should-start.patch |
Patch19: glibc-2.8-nscd-init-should-start.patch |
|
Patch20: glibc-2.12.1-never-expand-ORIGIN-in-privileged-programs.patch |
|
298 |
|
|
299 |
# according to the patch : "The Linux kernel has a bug which silently ignore the invalid |
# according to the patch : "The Linux kernel has a bug which silently ignore the invalid |
300 |
# c_cflag on pty.". Patch is likely fixed in kernel, but this should be checked |
# c_cflag on pty.". Patch is likely fixed in kernel, but this should be checked |
326 |
# should be safe to send upstream once checked |
# should be safe to send upstream once checked |
327 |
Patch33: glibc-2.3.6-pt_BR-i18nfixes.patch |
Patch33: glibc-2.3.6-pt_BR-i18nfixes.patch |
328 |
Patch34: glibc-2.4.90-testsuite-ldbl-bits.patch |
Patch34: glibc-2.4.90-testsuite-ldbl-bits.patch |
|
Patch35: glibc-2.12.1-fix-error-handling-in-Linux-getlogin.patch |
|
|
Patch36: glibc-2.12.1-more-fixes-to-error-handling-in-getlogin_r.patch |
|
|
Patch37: glibc-2.12.1-__getlogin_r_loginuid-fail-if-tpwd-after-pwuid-is-NULL.patch |
|
329 |
|
|
330 |
# disable parralel testsuite of rt on powerpc with SMT |
# disable parralel testsuite of rt on powerpc with SMT |
331 |
Patch38: glibc-2.4.90-testsuite-rt-notparallel.patch |
Patch38: glibc-2.4.90-testsuite-rt-notparallel.patch |
340 |
|
|
341 |
# check for libcap, even if selinux is disabled |
# check for libcap, even if selinux is disabled |
342 |
# should be sent upstream |
# should be sent upstream |
343 |
Patch44: glibc-2.11-dont-tie-libcap-with-selinux.patch |
Patch44: glibc-2.14.1-dont-tie-libcap-with-selinux.patch |
|
Patch45: glibc-2.12.1-CVE-2010-3856.diff |
|
344 |
# change page size to 16k. mandatory for loongson |
# change page size to 16k. mandatory for loongson |
345 |
# but not necessary a good idea for other socs |
# but not necessary a good idea for other socs |
346 |
Patch46: glibc_mips_16k_page_size.patch |
Patch46: glibc_mips_16k_page_size.patch |
553 |
%patch00 -p1 -b .localedef-archive-follow-symlinks |
%patch00 -p1 -b .localedef-archive-follow-symlinks |
554 |
%patch01 -p1 -b .fhs |
%patch01 -p1 -b .fhs |
555 |
%patch02 -p1 -b .ldd-non-exec |
%patch02 -p1 -b .ldd-non-exec |
|
%patch03 -p1 -b .bz10851 |
|
556 |
%patch04 -p1 -b .nss-upgrade |
%patch04 -p1 -b .nss-upgrade |
557 |
%patch05 -p1 -b .assign-global-scope-to-RFC-1918-addresses |
%patch05 -p1 -b .assign-global-scope-to-RFC-1918-addresses |
558 |
%patch06 -p1 -b .share-locale |
%patch06 -p1 -b .share-locale |
559 |
%patch07 -p1 -b .nsswitch.conf |
%patch07 -p1 -b .nsswitch.conf |
|
%patch08 -p1 -b .make-3.82-fix |
|
560 |
%patch09 -p1 -b .xterm-xvt |
%patch09 -p1 -b .xterm-xvt |
|
%patch10 -p1 -b .translit-colon |
|
561 |
%patch11 -p1 -b .compat-EUR-currencies |
%patch11 -p1 -b .compat-EUR-currencies |
562 |
%patch12 -p1 -b .ppc-lddlibc4 |
%patch12 -p1 -b .ppc-lddlibc4 |
563 |
%patch13 -p1 -b .nscd-enable |
%patch13 -p1 -b .nscd-enable |
564 |
%patch14 -p1 -b .nscd-no-host-cache |
%patch14 -p1 -b .nscd-no-host-cache |
|
%patch15 -p1 -b .ldconfig-chroot-aux-cache |
|
|
%patch16 -p1 -b .workaround-shortest-stem-in-make-3.82.patch |
|
565 |
%patch17 -p1 -b .i386-hwcapinfo |
%patch17 -p1 -b .i386-hwcapinfo |
566 |
%patch18 -p0 -R -b .provide_CFI_for_the_outermost_function |
%patch18 -p0 -R -b .provide_CFI_for_the_outermost_function |
567 |
%patch19 -p1 -b .nscd-init-should-start |
%patch19 -p1 -b .nscd-init-should-start |
|
%patch20 -p1 -b .never-expand-ORIGIN-in-privileged-programs |
|
568 |
%patch22 -p1 -b .tcsetattr-kernel-bug-workaround |
%patch22 -p1 -b .tcsetattr-kernel-bug-workaround |
569 |
%patch23 -p1 -b .timezone |
%patch23 -p1 -b .timezone |
570 |
%patch24 -p1 -b .biarch-cpp-defines |
%patch24 -p1 -b .biarch-cpp-defines |
577 |
%patch32 -p1 -b .i586-if-no-cmov |
%patch32 -p1 -b .i586-if-no-cmov |
578 |
%patch33 -p1 -b .pt_BR-i18nfixes |
%patch33 -p1 -b .pt_BR-i18nfixes |
579 |
%patch34 -p1 -b .testsuite-ldbl-bits |
%patch34 -p1 -b .testsuite-ldbl-bits |
|
%patch35 -p1 -b .fix-error-handling-in-Linux-getlogin |
|
|
%patch36 -p1 -b .more-fixes-to-error-handling-in-getlogin_r |
|
|
%patch37 -p1 -b .__getlogin_r_loginuid-fail-if-tpwd-after-pwuid-is-NULL |
|
580 |
%patch38 -p1 -b .testsuite-rt-notparallel |
%patch38 -p1 -b .testsuite-rt-notparallel |
581 |
%patch44 -p1 -b .dont-tie-libcap-with-selinux |
%patch44 -p1 -b .dont-tie-libcap-with-selinux |
|
%patch45 -p1 -b .CVE-2010-3856 |
|
582 |
|
|
583 |
%if %isarch %ports_arch |
%if %isarch %ports_arch |
584 |
tar xjf %{SOURCE20} |
tar xjf %{SOURCE20} |