From 4551f658370948e674aa4c28add80fc2b7085cf4 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 15 Mar 2011 07:36:47 +0000 Subject: [PATCH] glibc: update to 2.12.2 --- glibc/.footprint | 207 +++++++++++------- glibc/.md5sum | 10 +- glibc/Optimize-__getpagesize-a-bit.patch | 63 ++++++ glibc/Pkgfile | 18 +- ...patch => glibc-2.12.2-cross_hacks-2.patch} | 0 glibc/glibc-ignore_origin.patch | 26 +++ 6 files changed, 228 insertions(+), 96 deletions(-) create mode 100644 glibc/Optimize-__getpagesize-a-bit.patch rename glibc/{glibc-2.10.1-cross_hacks-2.patch => glibc-2.12.2-cross_hacks-2.patch} (100%) create mode 100644 glibc/glibc-ignore_origin.patch diff --git a/glibc/.footprint b/glibc/.footprint index 7977d45..936a34d 100644 --- a/glibc/.footprint +++ b/glibc/.footprint @@ -8,47 +8,49 @@ lrwxrwxrwx root/root etc/localtime -> ../usr/share/zoneinfo/UTC -rw-r--r-- root/root etc/resolv.conf -rw-r--r-- root/root etc/rpc drwxr-xr-x root/root lib/ --rwxr-xr-x root/root lib/ld-2.10.1.so -lrwxrwxrwx root/root lib/ld-linux.so.3 -> ld-2.10.1.so --rwxr-xr-x root/root lib/libBrokenLocale-2.10.1.so -lrwxrwxrwx root/root lib/libBrokenLocale.so.1 -> libBrokenLocale-2.10.1.so +-rwxr-xr-x root/root lib/ld-2.12.2.so +lrwxrwxrwx root/root lib/ld-linux.so.3 -> ld-2.12.2.so +-rwxr-xr-x root/root lib/libBrokenLocale-2.12.2.so +lrwxrwxrwx root/root lib/libBrokenLocale.so.1 -> libBrokenLocale-2.12.2.so -rwxr-xr-x root/root lib/libSegFault.so --rwxr-xr-x root/root lib/libanl-2.10.1.so -lrwxrwxrwx root/root lib/libanl.so.1 -> libanl-2.10.1.so --rwxr-xr-x root/root lib/libc-2.10.1.so -lrwxrwxrwx root/root lib/libc.so.6 -> libc-2.10.1.so --rwxr-xr-x root/root lib/libcrypt-2.10.1.so -lrwxrwxrwx root/root lib/libcrypt.so.1 -> libcrypt-2.10.1.so --rwxr-xr-x root/root lib/libdl-2.10.1.so -lrwxrwxrwx root/root lib/libdl.so.2 -> libdl-2.10.1.so --rwxr-xr-x root/root lib/libm-2.10.1.so -lrwxrwxrwx root/root lib/libm.so.6 -> libm-2.10.1.so +-rwxr-xr-x root/root lib/libanl-2.12.2.so +lrwxrwxrwx root/root lib/libanl.so.1 -> libanl-2.12.2.so +-rwxr-xr-x root/root lib/libc-2.12.2.so +lrwxrwxrwx root/root lib/libc.so.6 -> libc-2.12.2.so +-rwxr-xr-x root/root lib/libcidn-2.12.2.so +lrwxrwxrwx root/root lib/libcidn.so.1 -> libcidn-2.12.2.so +-rwxr-xr-x root/root lib/libcrypt-2.12.2.so +lrwxrwxrwx root/root lib/libcrypt.so.1 -> libcrypt-2.12.2.so +-rwxr-xr-x root/root lib/libdl-2.12.2.so +lrwxrwxrwx root/root lib/libdl.so.2 -> libdl-2.12.2.so +-rwxr-xr-x root/root lib/libm-2.12.2.so +lrwxrwxrwx root/root lib/libm.so.6 -> libm-2.12.2.so -rwxr-xr-x root/root lib/libmemusage.so --rwxr-xr-x root/root lib/libnsl-2.10.1.so -lrwxrwxrwx root/root lib/libnsl.so.1 -> libnsl-2.10.1.so --rwxr-xr-x root/root lib/libnss_compat-2.10.1.so -lrwxrwxrwx root/root lib/libnss_compat.so.2 -> libnss_compat-2.10.1.so --rwxr-xr-x root/root lib/libnss_dns-2.10.1.so -lrwxrwxrwx root/root lib/libnss_dns.so.2 -> libnss_dns-2.10.1.so --rwxr-xr-x root/root lib/libnss_files-2.10.1.so -lrwxrwxrwx root/root lib/libnss_files.so.2 -> libnss_files-2.10.1.so --rwxr-xr-x root/root lib/libnss_hesiod-2.10.1.so -lrwxrwxrwx root/root lib/libnss_hesiod.so.2 -> libnss_hesiod-2.10.1.so --rwxr-xr-x root/root lib/libnss_nis-2.10.1.so -lrwxrwxrwx root/root lib/libnss_nis.so.2 -> libnss_nis-2.10.1.so --rwxr-xr-x root/root lib/libnss_nisplus-2.10.1.so -lrwxrwxrwx root/root lib/libnss_nisplus.so.2 -> libnss_nisplus-2.10.1.so +-rwxr-xr-x root/root lib/libnsl-2.12.2.so +lrwxrwxrwx root/root lib/libnsl.so.1 -> libnsl-2.12.2.so +-rwxr-xr-x root/root lib/libnss_compat-2.12.2.so +lrwxrwxrwx root/root lib/libnss_compat.so.2 -> libnss_compat-2.12.2.so +-rwxr-xr-x root/root lib/libnss_dns-2.12.2.so +lrwxrwxrwx root/root lib/libnss_dns.so.2 -> libnss_dns-2.12.2.so +-rwxr-xr-x root/root lib/libnss_files-2.12.2.so +lrwxrwxrwx root/root lib/libnss_files.so.2 -> libnss_files-2.12.2.so +-rwxr-xr-x root/root lib/libnss_hesiod-2.12.2.so +lrwxrwxrwx root/root lib/libnss_hesiod.so.2 -> libnss_hesiod-2.12.2.so +-rwxr-xr-x root/root lib/libnss_nis-2.12.2.so +lrwxrwxrwx root/root lib/libnss_nis.so.2 -> libnss_nis-2.12.2.so +-rwxr-xr-x root/root lib/libnss_nisplus-2.12.2.so +lrwxrwxrwx root/root lib/libnss_nisplus.so.2 -> libnss_nisplus-2.12.2.so -rwxr-xr-x root/root lib/libpcprofile.so --rwxr-xr-x root/root lib/libpthread-2.10.1.so -lrwxrwxrwx root/root lib/libpthread.so.0 -> libpthread-2.10.1.so --rwxr-xr-x root/root lib/libresolv-2.10.1.so -lrwxrwxrwx root/root lib/libresolv.so.2 -> libresolv-2.10.1.so --rwxr-xr-x root/root lib/librt-2.10.1.so -lrwxrwxrwx root/root lib/librt.so.1 -> librt-2.10.1.so +-rwxr-xr-x root/root lib/libpthread-2.12.2.so +lrwxrwxrwx root/root lib/libpthread.so.0 -> libpthread-2.12.2.so +-rwxr-xr-x root/root lib/libresolv-2.12.2.so +lrwxrwxrwx root/root lib/libresolv.so.2 -> libresolv-2.12.2.so +-rwxr-xr-x root/root lib/librt-2.12.2.so +lrwxrwxrwx root/root lib/librt.so.1 -> librt-2.12.2.so -rwxr-xr-x root/root lib/libthread_db-1.0.so lrwxrwxrwx root/root lib/libthread_db.so.1 -> libthread_db-1.0.so --rwxr-xr-x root/root lib/libutil-2.10.1.so -lrwxrwxrwx root/root lib/libutil.so.1 -> libutil-2.10.1.so +-rwxr-xr-x root/root lib/libutil-2.12.2.so +lrwxrwxrwx root/root lib/libutil.so.1 -> libutil-2.12.2.so drwxr-xr-x root/root sbin/ -rwxr-xr-x root/root sbin/ldconfig -rwxr-xr-x root/root sbin/sln @@ -89,23 +91,46 @@ drwxr-xr-x root/root usr/include/arpa/ drwxr-xr-x root/root usr/include/asm-generic/ -rw-r--r-- root/root usr/include/asm-generic/..install.cmd -rw-r--r-- root/root usr/include/asm-generic/.install (EMPTY) +-rw-r--r-- root/root usr/include/asm-generic/auxvec.h +-rw-r--r-- root/root usr/include/asm-generic/bitsperlong.h -rw-r--r-- root/root usr/include/asm-generic/errno-base.h -rw-r--r-- root/root usr/include/asm-generic/errno.h -rw-r--r-- root/root usr/include/asm-generic/fcntl.h -rw-r--r-- root/root usr/include/asm-generic/int-l64.h -rw-r--r-- root/root usr/include/asm-generic/int-ll64.h -rw-r--r-- root/root usr/include/asm-generic/ioctl.h +-rw-r--r-- root/root usr/include/asm-generic/ioctls.h +-rw-r--r-- root/root usr/include/asm-generic/ipcbuf.h +-rw-r--r-- root/root usr/include/asm-generic/mman-common.h -rw-r--r-- root/root usr/include/asm-generic/mman.h +-rw-r--r-- root/root usr/include/asm-generic/msgbuf.h +-rw-r--r-- root/root usr/include/asm-generic/param.h -rw-r--r-- root/root usr/include/asm-generic/poll.h +-rw-r--r-- root/root usr/include/asm-generic/posix_types.h -rw-r--r-- root/root usr/include/asm-generic/resource.h +-rw-r--r-- root/root usr/include/asm-generic/sembuf.h +-rw-r--r-- root/root usr/include/asm-generic/setup.h +-rw-r--r-- root/root usr/include/asm-generic/shmbuf.h +-rw-r--r-- root/root usr/include/asm-generic/shmparam.h -rw-r--r-- root/root usr/include/asm-generic/siginfo.h +-rw-r--r-- root/root usr/include/asm-generic/signal-defs.h -rw-r--r-- root/root usr/include/asm-generic/signal.h +-rw-r--r-- root/root usr/include/asm-generic/socket.h +-rw-r--r-- root/root usr/include/asm-generic/sockios.h +-rw-r--r-- root/root usr/include/asm-generic/stat.h -rw-r--r-- root/root usr/include/asm-generic/statfs.h +-rw-r--r-- root/root usr/include/asm-generic/swab.h +-rw-r--r-- root/root usr/include/asm-generic/termbits.h +-rw-r--r-- root/root usr/include/asm-generic/termios.h +-rw-r--r-- root/root usr/include/asm-generic/types.h +-rw-r--r-- root/root usr/include/asm-generic/ucontext.h +-rw-r--r-- root/root usr/include/asm-generic/unistd.h drwxr-xr-x root/root usr/include/asm/ -rw-r--r-- root/root usr/include/asm/..install.cmd -rw-r--r-- root/root usr/include/asm/.install (EMPTY) -rw-r--r-- root/root usr/include/asm/a.out.h -rw-r--r-- root/root usr/include/asm/auxvec.h +-rw-r--r-- root/root usr/include/asm/bitsperlong.h -rw-r--r-- root/root usr/include/asm/byteorder.h -rw-r--r-- root/root usr/include/asm/errno.h -rw-r--r-- root/root usr/include/asm/fcntl.h @@ -189,6 +214,7 @@ drwxr-xr-x root/root usr/include/bits/ -rw-r--r-- root/root usr/include/bits/sem.h -rw-r--r-- root/root usr/include/bits/semaphore.h -rw-r--r-- root/root usr/include/bits/setjmp.h +-rw-r--r-- root/root usr/include/bits/setjmp2.h -rw-r--r-- root/root usr/include/bits/shm.h -rw-r--r-- root/root usr/include/bits/sigaction.h -rw-r--r-- root/root usr/include/bits/sigcontext.h @@ -255,11 +281,13 @@ drwxr-xr-x root/root usr/include/drm/ -rw-r--r-- root/root usr/include/drm/i830_drm.h -rw-r--r-- root/root usr/include/drm/i915_drm.h -rw-r--r-- root/root usr/include/drm/mga_drm.h +-rw-r--r-- root/root usr/include/drm/nouveau_drm.h -rw-r--r-- root/root usr/include/drm/r128_drm.h -rw-r--r-- root/root usr/include/drm/radeon_drm.h -rw-r--r-- root/root usr/include/drm/savage_drm.h -rw-r--r-- root/root usr/include/drm/sis_drm.h -rw-r--r-- root/root usr/include/drm/via_drm.h +-rw-r--r-- root/root usr/include/drm/vmwgfx_drm.h -rw-r--r-- root/root usr/include/elf.h -rw-r--r-- root/root usr/include/endian.h -rw-r--r-- root/root usr/include/envz.h @@ -352,9 +380,11 @@ drwxr-xr-x root/root usr/include/linux/can/ -rw-r--r-- root/root usr/include/linux/can/.install (EMPTY) -rw-r--r-- root/root usr/include/linux/can/bcm.h -rw-r--r-- root/root usr/include/linux/can/error.h +-rw-r--r-- root/root usr/include/linux/can/netlink.h -rw-r--r-- root/root usr/include/linux/can/raw.h -rw-r--r-- root/root usr/include/linux/capability.h -rw-r--r-- root/root usr/include/linux/capi.h +-rw-r--r-- root/root usr/include/linux/cciss_defs.h -rw-r--r-- root/root usr/include/linux/cciss_ioctl.h -rw-r--r-- root/root usr/include/linux/cdk.h -rw-r--r-- root/root usr/include/linux/cdrom.h @@ -380,6 +410,7 @@ drwxr-xr-x root/root usr/include/linux/can/ -rw-r--r-- root/root usr/include/linux/dlm_plock.h -rw-r--r-- root/root usr/include/linux/dlmconstants.h -rw-r--r-- root/root usr/include/linux/dm-ioctl.h +-rw-r--r-- root/root usr/include/linux/dm-log-userspace.h -rw-r--r-- root/root usr/include/linux/dn.h -rw-r--r-- root/root usr/include/linux/dqblk_xfs.h drwxr-xr-x root/root usr/include/linux/dvb/ @@ -411,6 +442,7 @@ drwxr-xr-x root/root usr/include/linux/dvb/ -rw-r--r-- root/root usr/include/linux/fd.h -rw-r--r-- root/root usr/include/linux/fdreg.h -rw-r--r-- root/root usr/include/linux/fib_rules.h +-rw-r--r-- root/root usr/include/linux/fiemap.h -rw-r--r-- root/root usr/include/linux/filter.h -rw-r--r-- root/root usr/include/linux/firewire-cdev.h -rw-r--r-- root/root usr/include/linux/firewire-constants.h @@ -424,7 +456,6 @@ drwxr-xr-x root/root usr/include/linux/dvb/ -rw-r--r-- root/root usr/include/linux/genetlink.h -rw-r--r-- root/root usr/include/linux/gfs2_ondisk.h -rw-r--r-- root/root usr/include/linux/gigaset_dev.h --rw-r--r-- root/root usr/include/linux/hayesesp.h -rw-r--r-- root/root usr/include/linux/hdlc.h drwxr-xr-x root/root usr/include/linux/hdlc/ -rw-r--r-- root/root usr/include/linux/hdlc/..install.cmd @@ -473,6 +504,7 @@ drwxr-xr-x root/root usr/include/linux/hdlc/ -rw-r--r-- root/root usr/include/linux/if_tun.h -rw-r--r-- root/root usr/include/linux/if_tunnel.h -rw-r--r-- root/root usr/include/linux/if_vlan.h +-rw-r--r-- root/root usr/include/linux/if_x25.h -rw-r--r-- root/root usr/include/linux/igmp.h -rw-r--r-- root/root usr/include/linux/in.h -rw-r--r-- root/root usr/include/linux/in6.h @@ -541,6 +573,8 @@ drwxr-xr-x root/root usr/include/linux/isdn/ -rw-r--r-- root/root usr/include/linux/ncp_no.h -rw-r--r-- root/root usr/include/linux/neighbour.h -rw-r--r-- root/root usr/include/linux/net.h +-rw-r--r-- root/root usr/include/linux/net_dropmon.h +-rw-r--r-- root/root usr/include/linux/net_tstamp.h -rw-r--r-- root/root usr/include/linux/netdevice.h -rw-r--r-- root/root usr/include/linux/netfilter.h drwxr-xr-x root/root usr/include/linux/netfilter/ @@ -560,15 +594,22 @@ drwxr-xr-x root/root usr/include/linux/netfilter/ -rw-r--r-- root/root usr/include/linux/netfilter/xt_CLASSIFY.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_CONNMARK.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_CONNSECMARK.h +-rw-r--r-- root/root usr/include/linux/netfilter/xt_CT.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_DSCP.h +-rw-r--r-- root/root usr/include/linux/netfilter/xt_LED.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_MARK.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_NFLOG.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_NFQUEUE.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_RATEEST.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_SECMARK.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_TCPMSS.h +-rw-r--r-- root/root usr/include/linux/netfilter/xt_TCPOPTSTRIP.h +-rw-r--r-- root/root usr/include/linux/netfilter/xt_TEE.h +-rw-r--r-- root/root usr/include/linux/netfilter/xt_TPROXY.h +-rw-r--r-- root/root usr/include/linux/netfilter/xt_cluster.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_comment.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_connbytes.h +-rw-r--r-- root/root usr/include/linux/netfilter/xt_connlimit.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_connmark.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_conntrack.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_dccp.h @@ -582,10 +623,12 @@ drwxr-xr-x root/root usr/include/linux/netfilter/ -rw-r--r-- root/root usr/include/linux/netfilter/xt_mac.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_mark.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_multiport.h +-rw-r--r-- root/root usr/include/linux/netfilter/xt_osf.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_owner.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_physdev.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_pkttype.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_policy.h +-rw-r--r-- root/root usr/include/linux/netfilter/xt_quota.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_rateest.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_realm.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_recent.h @@ -595,6 +638,8 @@ drwxr-xr-x root/root usr/include/linux/netfilter/ -rw-r--r-- root/root usr/include/linux/netfilter/xt_string.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_tcpmss.h -rw-r--r-- root/root usr/include/linux/netfilter/xt_tcpudp.h +-rw-r--r-- root/root usr/include/linux/netfilter/xt_time.h +-rw-r--r-- root/root usr/include/linux/netfilter/xt_u32.h -rw-r--r-- root/root usr/include/linux/netfilter_arp.h drwxr-xr-x root/root usr/include/linux/netfilter_arp/ -rw-r--r-- root/root usr/include/linux/netfilter_arp/..install.cmd @@ -628,49 +673,17 @@ drwxr-xr-x root/root usr/include/linux/netfilter_ipv4/ -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/.install (EMPTY) -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ip_queue.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ip_tables.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_CLASSIFY.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_CLUSTERIP.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_CONNMARK.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_DSCP.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_ECN.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_LOG.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_MARK.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_NFQUEUE.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_REJECT.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_SAME.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_TCPMSS.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_TOS.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_TTL.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_ULOG.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_addrtype.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_ah.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_comment.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_connbytes.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_connmark.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_conntrack.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_dccp.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_dscp.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_ecn.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_esp.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_hashlimit.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_helper.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_iprange.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_length.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_limit.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_mac.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_mark.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_multiport.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_owner.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_physdev.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_pkttype.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_policy.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_realm.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_recent.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_sctp.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_state.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_string.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_tcpmss.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_tos.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv4/ipt_ttl.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv6.h drwxr-xr-x root/root usr/include/linux/netfilter_ipv6/ @@ -679,22 +692,13 @@ drwxr-xr-x root/root usr/include/linux/netfilter_ipv6/ -rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6_tables.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_HL.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_LOG.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_MARK.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_REJECT.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_ah.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_esp.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_frag.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_hl.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_ipv6header.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_length.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_limit.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_mac.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_mark.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_multiport.h +-rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_mh.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_opts.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_owner.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_physdev.h --rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_policy.h -rw-r--r-- root/root usr/include/linux/netfilter_ipv6/ip6t_rt.h -rw-r--r-- root/root usr/include/linux/netlink.h -rw-r--r-- root/root usr/include/linux/netrom.h @@ -719,12 +723,14 @@ drwxr-xr-x root/root usr/include/linux/nfsd/ -rw-r--r-- root/root usr/include/linux/nl80211.h -rw-r--r-- root/root usr/include/linux/nubus.h -rw-r--r-- root/root usr/include/linux/nvram.h +-rw-r--r-- root/root usr/include/linux/omapfb.h -rw-r--r-- root/root usr/include/linux/oom.h -rw-r--r-- root/root usr/include/linux/param.h -rw-r--r-- root/root usr/include/linux/parport.h -rw-r--r-- root/root usr/include/linux/patchkey.h -rw-r--r-- root/root usr/include/linux/pci.h -rw-r--r-- root/root usr/include/linux/pci_regs.h +-rw-r--r-- root/root usr/include/linux/perf_event.h -rw-r--r-- root/root usr/include/linux/personality.h -rw-r--r-- root/root usr/include/linux/pfkeyv2.h -rw-r--r-- root/root usr/include/linux/pg.h @@ -739,6 +745,7 @@ drwxr-xr-x root/root usr/include/linux/nfsd/ -rw-r--r-- root/root usr/include/linux/ppdev.h -rw-r--r-- root/root usr/include/linux/ppp-comp.h -rw-r--r-- root/root usr/include/linux/ppp_defs.h +-rw-r--r-- root/root usr/include/linux/pps.h -rw-r--r-- root/root usr/include/linux/prctl.h -rw-r--r-- root/root usr/include/linux/ptrace.h -rw-r--r-- root/root usr/include/linux/qnx4_fs.h @@ -756,6 +763,7 @@ drwxr-xr-x root/root usr/include/linux/raid/ -rw-r--r-- root/root usr/include/linux/reiserfs_fs.h -rw-r--r-- root/root usr/include/linux/reiserfs_xattr.h -rw-r--r-- root/root usr/include/linux/resource.h +-rw-r--r-- root/root usr/include/linux/rfkill.h -rw-r--r-- root/root usr/include/linux/romfs_fs.h -rw-r--r-- root/root usr/include/linux/rose.h -rw-r--r-- root/root usr/include/linux/route.h @@ -765,6 +773,7 @@ drwxr-xr-x root/root usr/include/linux/raid/ -rw-r--r-- root/root usr/include/linux/sched.h -rw-r--r-- root/root usr/include/linux/screen_info.h -rw-r--r-- root/root usr/include/linux/sdla.h +-rw-r--r-- root/root usr/include/linux/securebits.h -rw-r--r-- root/root usr/include/linux/selinux_netlink.h -rw-r--r-- root/root usr/include/linux/sem.h -rw-r--r-- root/root usr/include/linux/serial.h @@ -842,19 +851,18 @@ drwxr-xr-x root/root usr/include/linux/usb/ -rw-r--r-- root/root usr/include/linux/usb/.install (EMPTY) -rw-r--r-- root/root usr/include/linux/usb/audio.h -rw-r--r-- root/root usr/include/linux/usb/cdc.h +-rw-r--r-- root/root usr/include/linux/usb/ch11.h -rw-r--r-- root/root usr/include/linux/usb/ch9.h -rw-r--r-- root/root usr/include/linux/usb/g_printer.h -rw-r--r-- root/root usr/include/linux/usb/gadgetfs.h -rw-r--r-- root/root usr/include/linux/usb/midi.h -rw-r--r-- root/root usr/include/linux/usb/tmc.h --rw-r--r-- root/root usr/include/linux/usb/vstusb.h -rw-r--r-- root/root usr/include/linux/usbdevice_fs.h -rw-r--r-- root/root usr/include/linux/utime.h -rw-r--r-- root/root usr/include/linux/utsname.h -rw-r--r-- root/root usr/include/linux/version.h -rw-r--r-- root/root usr/include/linux/veth.h --rw-r--r-- root/root usr/include/linux/video_decoder.h --rw-r--r-- root/root usr/include/linux/video_encoder.h +-rw-r--r-- root/root usr/include/linux/vhost.h -rw-r--r-- root/root usr/include/linux/videodev.h -rw-r--r-- root/root usr/include/linux/videodev2.h -rw-r--r-- root/root usr/include/linux/videotext.h @@ -863,6 +871,7 @@ drwxr-xr-x root/root usr/include/linux/usb/ -rw-r--r-- root/root usr/include/linux/virtio_blk.h -rw-r--r-- root/root usr/include/linux/virtio_config.h -rw-r--r-- root/root usr/include/linux/virtio_console.h +-rw-r--r-- root/root usr/include/linux/virtio_ids.h -rw-r--r-- root/root usr/include/linux/virtio_net.h -rw-r--r-- root/root usr/include/linux/virtio_pci.h -rw-r--r-- root/root usr/include/linux/virtio_ring.h @@ -892,7 +901,6 @@ drwxr-xr-x root/root usr/include/mtd/ -rw-r--r-- root/root usr/include/mtd/..install.cmd -rw-r--r-- root/root usr/include/mtd/.install (EMPTY) -rw-r--r-- root/root usr/include/mtd/inftl-user.h --rw-r--r-- root/root usr/include/mtd/jffs2-user.h -rw-r--r-- root/root usr/include/mtd/mtd-abi.h -rw-r--r-- root/root usr/include/mtd/mtd-user.h -rw-r--r-- root/root usr/include/mtd/nftl-user.h @@ -1006,6 +1014,8 @@ drwxr-xr-x root/root usr/include/rpcsvc/ -rw-r--r-- root/root usr/include/rpcsvc/nlm_prot.x -rw-r--r-- root/root usr/include/rpcsvc/rex.h -rw-r--r-- root/root usr/include/rpcsvc/rex.x +-rw-r--r-- root/root usr/include/rpcsvc/rquota.h +-rw-r--r-- root/root usr/include/rpcsvc/rquota.x -rw-r--r-- root/root usr/include/rpcsvc/rstat.h -rw-r--r-- root/root usr/include/rpcsvc/rstat.x -rw-r--r-- root/root usr/include/rpcsvc/rusers.h @@ -1023,8 +1033,20 @@ drwxr-xr-x root/root usr/include/rpcsvc/ -rw-r--r-- root/root usr/include/rpcsvc/ypupd.h -rw-r--r-- root/root usr/include/sched.h drwxr-xr-x root/root usr/include/scsi/ +-rw-r--r-- root/root usr/include/scsi/..install.cmd +-rw-r--r-- root/root usr/include/scsi/.install (EMPTY) +drwxr-xr-x root/root usr/include/scsi/fc/ +-rw-r--r-- root/root usr/include/scsi/fc/..install.cmd +-rw-r--r-- root/root usr/include/scsi/fc/.install (EMPTY) +-rw-r--r-- root/root usr/include/scsi/fc/fc_els.h +-rw-r--r-- root/root usr/include/scsi/fc/fc_fs.h +-rw-r--r-- root/root usr/include/scsi/fc/fc_gs.h +-rw-r--r-- root/root usr/include/scsi/fc/fc_ns.h -rw-r--r-- root/root usr/include/scsi/scsi.h +-rw-r--r-- root/root usr/include/scsi/scsi_bsg_fc.h -rw-r--r-- root/root usr/include/scsi/scsi_ioctl.h +-rw-r--r-- root/root usr/include/scsi/scsi_netlink.h +-rw-r--r-- root/root usr/include/scsi/scsi_netlink_fc.h -rw-r--r-- root/root usr/include/scsi/sg.h -rw-r--r-- root/root usr/include/search.h -rw-r--r-- root/root usr/include/semaphore.h @@ -1043,7 +1065,6 @@ drwxr-xr-x root/root usr/include/sound/ -rw-r--r-- root/root usr/include/sound/hdspm.h -rw-r--r-- root/root usr/include/sound/sb16_csp.h -rw-r--r-- root/root usr/include/sound/sfnt_info.h --rw-r--r-- root/root usr/include/sound/sscape_ioctl.h -rw-r--r-- root/root usr/include/spawn.h -rw-r--r-- root/root usr/include/stab.h -rw-r--r-- root/root usr/include/stdint.h @@ -1161,6 +1182,10 @@ drwxr-xr-x root/root usr/include/video/ -rw-r--r-- root/root usr/include/wchar.h -rw-r--r-- root/root usr/include/wctype.h -rw-r--r-- root/root usr/include/wordexp.h +drwxr-xr-x root/root usr/include/xen/ +-rw-r--r-- root/root usr/include/xen/..install.cmd +-rw-r--r-- root/root usr/include/xen/.install (EMPTY) +-rw-r--r-- root/root usr/include/xen/evtchn.h -rw-r--r-- root/root usr/include/xlocale.h drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/Mcrt1.o @@ -1427,6 +1452,7 @@ lrwxrwxrwx root/root usr/lib/libanl.so -> ../../lib/libanl.so.1 -rw-r--r-- root/root usr/lib/libc.a -rw-r--r-- root/root usr/lib/libc.so -rw-r--r-- root/root usr/lib/libc_nonshared.a +lrwxrwxrwx root/root usr/lib/libcidn.so -> ../../lib/libcidn.so.1 -rw-r--r-- root/root usr/lib/libcrypt.a lrwxrwxrwx root/root usr/lib/libcrypt.so -> ../../lib/libcrypt.so.1 -rw-r--r-- root/root usr/lib/libdl.a @@ -1744,6 +1770,7 @@ drwxr-xr-x root/root usr/share/i18n/locales/ -rw-r--r-- root/root usr/share/i18n/locales/crh_UA -rw-r--r-- root/root usr/share/i18n/locales/cs_CZ -rw-r--r-- root/root usr/share/i18n/locales/csb_PL +-rw-r--r-- root/root usr/share/i18n/locales/cv_RU -rw-r--r-- root/root usr/share/i18n/locales/cy_GB -rw-r--r-- root/root usr/share/i18n/locales/da_DK -rw-r--r-- root/root usr/share/i18n/locales/de_AT @@ -1755,6 +1782,7 @@ drwxr-xr-x root/root usr/share/i18n/locales/ -rw-r--r-- root/root usr/share/i18n/locales/de_DE@euro -rw-r--r-- root/root usr/share/i18n/locales/de_LU -rw-r--r-- root/root usr/share/i18n/locales/de_LU@euro +-rw-r--r-- root/root usr/share/i18n/locales/dv_MV -rw-r--r-- root/root usr/share/i18n/locales/dz_BT -rw-r--r-- root/root usr/share/i18n/locales/el_CY -rw-r--r-- root/root usr/share/i18n/locales/el_GR @@ -1856,6 +1884,7 @@ drwxr-xr-x root/root usr/share/i18n/locales/ -rw-r--r-- root/root usr/share/i18n/locales/km_KH -rw-r--r-- root/root usr/share/i18n/locales/kn_IN -rw-r--r-- root/root usr/share/i18n/locales/ko_KR +-rw-r--r-- root/root usr/share/i18n/locales/kok_IN -rw-r--r-- root/root usr/share/i18n/locales/ks_IN -rw-r--r-- root/root usr/share/i18n/locales/ks_IN@devanagari -rw-r--r-- root/root usr/share/i18n/locales/ku_TR @@ -1876,6 +1905,7 @@ drwxr-xr-x root/root usr/share/i18n/locales/ -rw-r--r-- root/root usr/share/i18n/locales/mr_IN -rw-r--r-- root/root usr/share/i18n/locales/ms_MY -rw-r--r-- root/root usr/share/i18n/locales/mt_MT +-rw-r--r-- root/root usr/share/i18n/locales/my_MM -rw-r--r-- root/root usr/share/i18n/locales/nan_TW@latin -rw-r--r-- root/root usr/share/i18n/locales/nb_NO -rw-r--r-- root/root usr/share/i18n/locales/nds_DE @@ -1897,6 +1927,7 @@ drwxr-xr-x root/root usr/share/i18n/locales/ -rw-r--r-- root/root usr/share/i18n/locales/pa_PK -rw-r--r-- root/root usr/share/i18n/locales/pap_AN -rw-r--r-- root/root usr/share/i18n/locales/pl_PL +-rw-r--r-- root/root usr/share/i18n/locales/ps_AF -rw-r--r-- root/root usr/share/i18n/locales/pt_BR -rw-r--r-- root/root usr/share/i18n/locales/pt_PT -rw-r--r-- root/root usr/share/i18n/locales/pt_PT@euro @@ -1919,6 +1950,7 @@ drwxr-xr-x root/root usr/share/i18n/locales/ -rw-r--r-- root/root usr/share/i18n/locales/so_KE -rw-r--r-- root/root usr/share/i18n/locales/so_SO -rw-r--r-- root/root usr/share/i18n/locales/sq_AL +-rw-r--r-- root/root usr/share/i18n/locales/sq_MK -rw-r--r-- root/root usr/share/i18n/locales/sr_ME -rw-r--r-- root/root usr/share/i18n/locales/sr_RS -rw-r--r-- root/root usr/share/i18n/locales/sr_RS@latin @@ -1956,6 +1988,7 @@ drwxr-xr-x root/root usr/share/i18n/locales/ -rw-r--r-- root/root usr/share/i18n/locales/tt_RU@iqtelif -rw-r--r-- root/root usr/share/i18n/locales/ug_CN -rw-r--r-- root/root usr/share/i18n/locales/uk_UA +-rw-r--r-- root/root usr/share/i18n/locales/ur_IN -rw-r--r-- root/root usr/share/i18n/locales/ur_PK -rw-r--r-- root/root usr/share/i18n/locales/uz_UZ -rw-r--r-- root/root usr/share/i18n/locales/uz_UZ@cyrillic @@ -2043,6 +2076,7 @@ drwxr-xr-x root/root usr/share/zoneinfo/America/Argentina/ -rw-r--r-- root/root usr/share/zoneinfo/America/Argentina/La_Rioja -rw-r--r-- root/root usr/share/zoneinfo/America/Argentina/Mendoza -rw-r--r-- root/root usr/share/zoneinfo/America/Argentina/Rio_Gallegos +-rw-r--r-- root/root usr/share/zoneinfo/America/Argentina/Salta -rw-r--r-- root/root usr/share/zoneinfo/America/Argentina/San_Juan -rw-r--r-- root/root usr/share/zoneinfo/America/Argentina/San_Luis -rw-r--r-- root/root usr/share/zoneinfo/America/Argentina/Tucuman @@ -2240,6 +2274,7 @@ drwxr-xr-x root/root usr/share/zoneinfo/Asia/ -rw-r--r-- root/root usr/share/zoneinfo/Asia/Kamchatka -rw-r--r-- root/root usr/share/zoneinfo/Asia/Karachi -rw-r--r-- root/root usr/share/zoneinfo/Asia/Kashgar +-rw-r--r-- root/root usr/share/zoneinfo/Asia/Kathmandu -rw-r--r-- root/root usr/share/zoneinfo/Asia/Katmandu -rw-r--r-- root/root usr/share/zoneinfo/Asia/Kolkata -rw-r--r-- root/root usr/share/zoneinfo/Asia/Krasnoyarsk @@ -2629,6 +2664,7 @@ drwxr-xr-x root/root usr/share/zoneinfo/posix/America/Argentina/ -rw-r--r-- root/root usr/share/zoneinfo/posix/America/Argentina/La_Rioja -rw-r--r-- root/root usr/share/zoneinfo/posix/America/Argentina/Mendoza -rw-r--r-- root/root usr/share/zoneinfo/posix/America/Argentina/Rio_Gallegos +-rw-r--r-- root/root usr/share/zoneinfo/posix/America/Argentina/Salta -rw-r--r-- root/root usr/share/zoneinfo/posix/America/Argentina/San_Juan -rw-r--r-- root/root usr/share/zoneinfo/posix/America/Argentina/San_Luis -rw-r--r-- root/root usr/share/zoneinfo/posix/America/Argentina/Tucuman @@ -2826,6 +2862,7 @@ drwxr-xr-x root/root usr/share/zoneinfo/posix/Asia/ -rw-r--r-- root/root usr/share/zoneinfo/posix/Asia/Kamchatka -rw-r--r-- root/root usr/share/zoneinfo/posix/Asia/Karachi -rw-r--r-- root/root usr/share/zoneinfo/posix/Asia/Kashgar +-rw-r--r-- root/root usr/share/zoneinfo/posix/Asia/Kathmandu -rw-r--r-- root/root usr/share/zoneinfo/posix/Asia/Katmandu -rw-r--r-- root/root usr/share/zoneinfo/posix/Asia/Kolkata -rw-r--r-- root/root usr/share/zoneinfo/posix/Asia/Krasnoyarsk @@ -3215,6 +3252,7 @@ drwxr-xr-x root/root usr/share/zoneinfo/right/America/Argentina/ -rw-r--r-- root/root usr/share/zoneinfo/right/America/Argentina/La_Rioja -rw-r--r-- root/root usr/share/zoneinfo/right/America/Argentina/Mendoza -rw-r--r-- root/root usr/share/zoneinfo/right/America/Argentina/Rio_Gallegos +-rw-r--r-- root/root usr/share/zoneinfo/right/America/Argentina/Salta -rw-r--r-- root/root usr/share/zoneinfo/right/America/Argentina/San_Juan -rw-r--r-- root/root usr/share/zoneinfo/right/America/Argentina/San_Luis -rw-r--r-- root/root usr/share/zoneinfo/right/America/Argentina/Tucuman @@ -3412,6 +3450,7 @@ drwxr-xr-x root/root usr/share/zoneinfo/right/Asia/ -rw-r--r-- root/root usr/share/zoneinfo/right/Asia/Kamchatka -rw-r--r-- root/root usr/share/zoneinfo/right/Asia/Karachi -rw-r--r-- root/root usr/share/zoneinfo/right/Asia/Kashgar +-rw-r--r-- root/root usr/share/zoneinfo/right/Asia/Kathmandu -rw-r--r-- root/root usr/share/zoneinfo/right/Asia/Katmandu -rw-r--r-- root/root usr/share/zoneinfo/right/Asia/Kolkata -rw-r--r-- root/root usr/share/zoneinfo/right/Asia/Krasnoyarsk diff --git a/glibc/.md5sum b/glibc/.md5sum index 1a1fc16..05cc1b8 100644 --- a/glibc/.md5sum +++ b/glibc/.md5sum @@ -1,9 +1,11 @@ -38d4feb7e6ea1427534c7a52442f51db glibc-2.10.1-cross_hacks-2.patch -ee71dedf724dc775e4efec9b823ed3be glibc-2.10.1.tar.bz2 -816b2d48a95ddc23b27fea03a1996443 glibc-ports-2.10.1.tar.bz2 +6c8b3f5c56d80eba760cc896e7462b0e Optimize-__getpagesize-a-bit.patch +38d4feb7e6ea1427534c7a52442f51db glibc-2.12.2-cross_hacks-2.patch +e0043f4f8e1aa61acc62fdf0f4d6133d glibc-2.12.2.tar.xz +e9da82fa084dff26de7c484ce0c89a9a glibc-ignore_origin.patch +cb01ab976180e98287cef5079e35359e glibc-ports-2.12.1.tar.bz2 96156bec8e05de67384dc93e72bdc313 host.conf fbbc215a9b15ba4846f326cc88108057 hosts f7fefce570a3c776e26e778c5e401490 ld.so.conf -64921b5ff5cdadbccfcd3820f03be7d8 linux-2.6.29.tar.bz2 +62001687bd94d1c0dd9a3654c64257d6 linux-2.6.35.tar.gz 75931315bf9bc9be15a5e25e4ddd5f0d nsswitch.conf acf9daad1ee85de5efd3543965596a63 resolv.conf diff --git a/glibc/Optimize-__getpagesize-a-bit.patch b/glibc/Optimize-__getpagesize-a-bit.patch new file mode 100644 index 0000000..38aa4b2 --- /dev/null +++ b/glibc/Optimize-__getpagesize-a-bit.patch @@ -0,0 +1,63 @@ +This is the important part of 8f4a5048eea6536ee85c0f2670adbb97d71e427d. +Unfortunately the assertion fails in statically linked binaries. + +diff --git a/sysdeps/unix/sysv/linux/getpagesize.c b/sysdeps/unix/sysv/linux/getpagesize.c +index 6d03b3b..0866079 100644 +--- a/sysdeps/unix/sysv/linux/getpagesize.c ++++ b/sysdeps/unix/sysv/linux/getpagesize.c +@@ -1,4 +1,4 @@ +-/* Copyright (C) 1991,1992,1995-1997,2000,2002,2004 ++/* Copyright (C) 1991,1992,1995-1997,2000,2002,2004,2010 + Free Software Foundation, Inc. + This file is part of the GNU C Library. + +@@ -17,30 +17,37 @@ + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + ++#include + #include + #include + + #include ++#include + + /* Return the system page size. */ + int + __getpagesize () + { ++#ifdef __ASSUME_AT_PAGESIZE ++ assert (GLRO(dl_pagesize) != 0); ++ return GLRO(dl_pagesize); ++#else + if (GLRO(dl_pagesize) != 0) + return GLRO(dl_pagesize); + +-#ifdef EXEC_PAGESIZE ++# ifdef EXEC_PAGESIZE + return EXEC_PAGESIZE; +-#else /* No EXEC_PAGESIZE. */ +-#ifdef NBPG +-#ifndef CLSIZE +-#define CLSIZE 1 +-#endif /* No CLSIZE. */ ++# else /* No EXEC_PAGESIZE. */ ++# ifdef NBPG ++# ifndef CLSIZE ++# define CLSIZE 1 ++# endif /* No CLSIZE. */ + return NBPG * CLSIZE; +-#else /* No NBPG. */ ++# else /* No NBPG. */ + return NBPC; +-#endif /* NBPG. */ +-#endif /* EXEC_PAGESIZE. */ ++# endif /* NBPG. */ ++# endif /* EXEC_PAGESIZE. */ ++#endif + } + libc_hidden_def (__getpagesize) + weak_alias (__getpagesize, getpagesize) +-- +1.7.2.1 + diff --git a/glibc/Pkgfile b/glibc/Pkgfile index 1a55efa..6313e3a 100644 --- a/glibc/Pkgfile +++ b/glibc/Pkgfile @@ -5,26 +5,30 @@ # Depends on: name=glibc -version=2.10.1 +version=2.12.2 release=2 -source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \ - ftp://ftp.gnu.org/gnu/$name/$name-ports-$version.tar.bz2 \ - ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 \ +source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \ + ftp://ftp.gnu.org/gnu/$name/$name-ports-2.12.1.tar.bz2 \ + ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.tar.gz \ + glibc-ignore_origin.patch \ + Optimize-__getpagesize-a-bit.patch \ $name-$version-cross_hacks-2.patch \ hosts resolv.conf nsswitch.conf host.conf ld.so.conf) build() { # install build kernel headers - cd linux-2.6.29 + cd linux-2.6.35 make mrproper make ARCH=arm headers_check make ARCH=arm INSTALL_HDR_PATH=$PKG/usr headers_install cd $SRC - mv $name-ports-$version $name-$version/ports + mv $name-ports-2.12.1 $name-$version/ports pushd $name-$version patch -p1 -i $SRC/$name-$version-cross_hacks-2.patch + patch -R -p1 -i $SRC/Optimize-__getpagesize-a-bit.patch + patch -p1 -i $SRC/$name-ignore_origin.patch popd mkdir build @@ -54,7 +58,5 @@ EOF ln -sf ../usr/share/zoneinfo/UTC $PKG/etc/localtime mkdir -p $PKG/etc/ld.so.conf.d $PKG/usr/lib/locale - # conflicts with quota - rm $PKG/usr/include/rpcsvc/{rquota.x,rquota.h} rm -rf $PKG/usr/share/{info,locale} } diff --git a/glibc/glibc-2.10.1-cross_hacks-2.patch b/glibc/glibc-2.12.2-cross_hacks-2.patch similarity index 100% rename from glibc/glibc-2.10.1-cross_hacks-2.patch rename to glibc/glibc-2.12.2-cross_hacks-2.patch diff --git a/glibc/glibc-ignore_origin.patch b/glibc/glibc-ignore_origin.patch new file mode 100644 index 0000000..cbf6756 --- /dev/null +++ b/glibc/glibc-ignore_origin.patch @@ -0,0 +1,26 @@ +# http://sourceware.org/ml/libc-hacker/2010-12/msg00001.html +# new fix for http://seclists.org/fulldisclosure/2010/Oct/257 + +2010-12-09 Andreas Schwab + + * elf/dl-object.c (_dl_new_object): Ignore origin of privileged + program. +--- + elf/dl-object.c | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/elf/dl-object.c b/elf/dl-object.c +index 5d15ce1..a34e902 100644 +--- a/elf/dl-object.c ++++ b/elf/dl-object.c +@@ -220,6 +220,9 @@ _dl_new_object (char *realname, const char *libname, int type, + out: + new->l_origin = origin; + } ++ else if (INTUSE(__libc_enable_secure) && type == lt_executable) ++ /* The origin of a privileged program cannot be trusted. */ ++ new->l_origin = (char *) -1; + + return new; + } + -- 2.26.2