Initial consolidation for core ports for CRUX 3.0
This commit is contained in:
parent
eaf06391bc
commit
865dd54777
@ -51,6 +51,45 @@ drwxr-xr-x root/root usr/lib/ldscripts/
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xsw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xu
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.x
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xbn
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xc
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xd
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xdc
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xdw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xn
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xr
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xs
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xsc
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xsw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xu
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_k1om.xw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.x
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xbn
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xc
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xd
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xdc
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xdw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xn
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xr
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xs
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xsc
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xsw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xu
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_l1om.xw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.x
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xbn
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xc
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xd
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xdc
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xdw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xn
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xr
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xs
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xsc
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xsw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xu
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xw
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/i386linux.x
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/i386linux.xbn
|
||||
-rw-r--r-- root/root usr/lib/ldscripts/i386linux.xn
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Description: The GNU Binutils are a collection of binary tools
|
||||
# URL: http://sources.redhat.com/binutils/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
||||
# Depends on: zlib
|
||||
|
||||
name=binutils
|
||||
|
@ -18,6 +18,8 @@ lrwxrwxrwx root/root etc/mtab -> /proc/self/mounts
|
||||
drwxr-xr-x root/root home/
|
||||
drwxr-xr-x root/root lib/
|
||||
drwxr-xr-x root/root lib/modules/
|
||||
drwxr-xr-x root/root lib32/
|
||||
lrwxrwxrwx root/root lib64 -> lib
|
||||
drwxr-xr-x root/root mnt/
|
||||
drwxr-xr-x root/root opt/
|
||||
drwxr-xr-x root/root opt/bin/
|
||||
@ -33,6 +35,8 @@ drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/crux
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
lrwxrwxrwx root/root usr/lib64 -> lib
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
drwxr-xr-x root/root usr/man/man2/
|
||||
|
@ -21,13 +21,15 @@ build() {
|
||||
mkdir $PKG/mnt
|
||||
mkdir $PKG/root
|
||||
mkdir $PKG/run
|
||||
mkdir $PKG/lib
|
||||
mkdir $PKG/lib{,32}
|
||||
ln -s lib $PKG/lib64
|
||||
mkdir $PKG/lib/modules
|
||||
mkdir $PKG/opt
|
||||
mkdir $PKG/opt/bin
|
||||
mkdir $PKG/opt/sbin
|
||||
mkdir $PKG/usr
|
||||
mkdir $PKG/usr/{bin,include,lib,sbin,share,src,man}
|
||||
mkdir $PKG/usr/{bin,include,lib{,32},sbin,share,src,man}
|
||||
ln -s lib $PKG/usr/lib64
|
||||
mkdir $PKG/usr/man/man{1,2,3,4,5,6,7,8}
|
||||
ln -s ../var $PKG/usr/var
|
||||
mkdir $PKG/var
|
||||
@ -75,7 +77,7 @@ build() {
|
||||
cat > $PKG/usr/bin/crux << EOF
|
||||
#!/bin/sh
|
||||
|
||||
echo "CRUX version $version"
|
||||
echo "CRUX version $version x86_64-multilib"
|
||||
|
||||
# End of file
|
||||
EOF
|
||||
|
631
gcc/.footprint
631
gcc/.footprint
@ -509,29 +509,6 @@ drwxr-xr-x root/root usr/include/c++/4.7.2/ext/pb_ds/detail/unordered_iterator/
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/fstream
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/functional
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/future
|
||||
drwxr-xr-x root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/
|
||||
drwxr-xr-x root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/atomic_word.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/basic_file.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/c++allocator.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/c++config.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/c++io.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/c++locale.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/cpu_defines.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/ctype_base.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/ctype_inline.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/cxxabi_tweaks.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/error_constants.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/extc++.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/gthr-default.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/gthr-posix.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/gthr-single.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/gthr.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/messages_members.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/os_defines.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/stdc++.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/stdtr1c++.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/i686-pc-linux-gnu/bits/time_members.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/initializer_list
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/iomanip
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/ios
|
||||
@ -714,257 +691,318 @@ drwxr-xr-x root/root usr/include/c++/4.7.2/tr2/
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/utility
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/valarray
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/vector
|
||||
drwxr-xr-x root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/
|
||||
drwxr-xr-x root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/
|
||||
drwxr-xr-x root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/atomic_word.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/basic_file.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/c++allocator.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/c++config.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/c++io.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/c++locale.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/cpu_defines.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/ctype_base.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/ctype_inline.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/cxxabi_tweaks.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/error_constants.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/extc++.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/gthr-default.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/gthr-posix.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/gthr-single.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/gthr.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/messages_members.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/os_defines.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/stdc++.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/stdtr1c++.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/32/bits/time_members.h
|
||||
drwxr-xr-x root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/atomic_word.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/basic_file.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/c++allocator.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/c++config.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/c++io.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/c++locale.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/cpu_defines.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/ctype_base.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/ctype_inline.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/cxxabi_tweaks.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/error_constants.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/extc++.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/gthr-default.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/gthr-posix.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/gthr-single.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/gthr.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/messages_members.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/os_defines.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/stdc++.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/stdtr1c++.h
|
||||
-rw-r--r-- root/root usr/include/c++/4.7.2/x86_64-unknown-linux-gnu/bits/time_members.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/gcc/
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/
|
||||
-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/cc1
|
||||
-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/cc1obj
|
||||
-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/cc1plus
|
||||
-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/collect2
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/crtbegin.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/crtbeginS.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/crtbeginT.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/crtend.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/crtendS.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/crtfastmath.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/crtprec32.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/crtprec64.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/crtprec80.o
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/finclude/
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/ammintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/avx2intrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/avxintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/bmi2intrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/bmiintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/bmmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/cpuid.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/cross-stdarg.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/emmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/f16cintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/float.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/fma4intrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/fmaintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/ia32intrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/immintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/iso646.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/limits.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/lwpintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/lzcntintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/mf-runtime.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/mm3dnow.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/mm_malloc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/mmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/nmmintrin.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/objc/
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/objc/NXConstStr.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/objc/Object.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/objc/Protocol.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/objc/message.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/objc/objc-decls.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/objc/objc-exception.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/objc/objc-sync.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/objc/objc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/objc/runtime.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/objc/thr.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/omp.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/pmmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/popcntintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/quadmath.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/quadmath_weak.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/smmintrin.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/ssp/
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/ssp/ssp.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/ssp/stdio.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/ssp/string.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/ssp/unistd.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/stdalign.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/stdarg.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/stdbool.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/stddef.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/stdfix.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/stdint-gcc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/stdint.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/stdnoreturn.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/syslimits.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/tbmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/tmmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/unwind.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/varargs.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/wmmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/x86intrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/xmmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include/xopintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/libgcc.a
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/libgcc_eh.a
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/libgcov.a
|
||||
-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/liblto_plugin.la
|
||||
lrwxrwxrwx root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/liblto_plugin.so -> liblto_plugin.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/liblto_plugin.so.0 -> liblto_plugin.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/liblto_plugin.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/lto-wrapper
|
||||
-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/lto1
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/
|
||||
-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/gengtype
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/gtype.state
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/ada/
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/ada/gcc-interface/
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/ada/gcc-interface/ada-tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/alias.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/all-tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/alloc-pool.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/ansidecl.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/auto-host.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/b-header-vars
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/basic-block.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/bitmap.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/builtins.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/bversion.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/c-family/
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/c-family/c-common.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/c-family/c-common.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/c-family/c-objc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/c-family/c-pragma.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/c-family/c-pretty-print.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/c-tree.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/cfghooks.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/cfgloop.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/cgraph.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/cif-code.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/dbxelf.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/elfos.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/glibc-stdint.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/gnu-user.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/i386/
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/i386/att.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/i386/gnu-user.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/i386/i386-opts.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/i386/i386-protos.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/i386/i386.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/i386/linux.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/i386/unix.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/initfini-array.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/linux-android.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/linux.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/config/vxworks-dummy.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/configargs.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/coretypes.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/cp/
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/cp/cp-tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/cp/cp-tree.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/cp/cxx-pretty-print.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/cp/name-lookup.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/cppdefault.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/cpplib.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/debug.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/defaults.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/diagnostic-core.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/diagnostic.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/diagnostic.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/double-int.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/emit-rtl.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/except.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/filenames.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/fixed-value.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/flag-types.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/flags.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/function.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/gcc-plugin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/genrtl.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/ggc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/gimple-pretty-print.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/gimple.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/gimple.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/gsstruct.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/gtm-builtins.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/gtype-desc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/hard-reg-set.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/hashtab.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/highlev-plugin-common.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/hwint.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/incpath.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/input.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/insn-constants.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/insn-flags.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/insn-modes.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/insn-notes.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/internal-fn.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/internal-fn.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/intl.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/ipa-prop.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/ipa-ref-inline.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/ipa-ref.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/ipa-reference.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/ipa-utils.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/java/
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/java/java-tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/langhooks.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/libiberty.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/line-map.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/machmode.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/md5.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/mode-classes.def
|
||||
drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/objc/
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/objc/objc-tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/obstack.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/omp-builtins.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/options.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/opts.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/output.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/params.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/params.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/plugin-api.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/plugin-version.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/plugin.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/plugin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/pointer-set.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/predict.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/predict.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/prefix.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/pretty-print.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/real.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/realmpfr.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/reg-notes.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/rtl.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/rtl.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/safe-ctype.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/sbitmap.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/splay-tree.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/statistics.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/symtab.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/sync-builtins.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/system.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/target-hooks-macros.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/target.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/target.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/timevar.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/timevar.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tm-preds.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tm.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tm_p.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/toplev.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree-check.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree-dump.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree-flow-inline.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree-flow.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree-inline.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree-iterator.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree-pass.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree-pretty-print.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree-ssa-alias.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree-ssa-operands.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree-ssa-sccvn.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/tree.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/treestruct.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/vec.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/vecir.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/vecprim.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/i686-pc-linux-gnu/4.7.2/plugin/include/version.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/crtbegin.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/crtbeginS.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/crtbeginT.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/crtend.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/crtendS.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/crtfastmath.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/crtprec32.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/crtprec64.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/crtprec80.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/libgcc.a
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/libgcc_eh.a
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/32/libgcov.a
|
||||
-rwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/cc1
|
||||
-rwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/cc1obj
|
||||
-rwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/cc1plus
|
||||
-rwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/collect2
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/crtbegin.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/crtbeginS.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/crtbeginT.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/crtend.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/crtendS.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/crtfastmath.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/crtprec32.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/crtprec64.o
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/crtprec80.o
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/finclude/
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/ammintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/avx2intrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/avxintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/bmi2intrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/bmiintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/bmmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/cpuid.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/cross-stdarg.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/emmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/f16cintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/float.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/fma4intrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/fmaintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/ia32intrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/immintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/iso646.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/limits.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/lwpintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/lzcntintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/mf-runtime.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/mm3dnow.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/mm_malloc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/mmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/nmmintrin.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/objc/
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/objc/NXConstStr.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/objc/Object.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/objc/Protocol.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/objc/message.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/objc/objc-decls.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/objc/objc-exception.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/objc/objc-sync.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/objc/objc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/objc/runtime.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/objc/thr.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/omp.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/pmmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/popcntintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/quadmath.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/quadmath_weak.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/smmintrin.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/ssp/
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/ssp/ssp.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/ssp/stdio.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/ssp/string.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/ssp/unistd.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/stdalign.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/stdarg.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/stdbool.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/stddef.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/stdfix.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/stdint-gcc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/stdint.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/stdnoreturn.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/syslimits.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/tbmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/tmmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/unwind.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/varargs.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/wmmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/x86intrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/xmmintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/include/xopintrin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/libgcc.a
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/libgcc_eh.a
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/libgcov.a
|
||||
-rwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/liblto_plugin.la
|
||||
lrwxrwxrwx root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/liblto_plugin.so -> liblto_plugin.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/liblto_plugin.so.0 -> liblto_plugin.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/liblto_plugin.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper
|
||||
-rwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/lto1
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/
|
||||
-rwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/gengtype
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/gtype.state
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/ada/
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/ada/gcc-interface/
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/ada/gcc-interface/ada-tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/alias.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/all-tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/alloc-pool.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/ansidecl.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/auto-host.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/b-header-vars
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/basic-block.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/bitmap.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/builtins.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/bversion.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/c-family/
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/c-family/c-common.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/c-family/c-common.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/c-family/c-objc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/c-family/c-pragma.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/c-family/c-pretty-print.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/c-tree.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/cfghooks.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/cfgloop.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/cgraph.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/cif-code.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/dbxelf.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/elfos.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/glibc-stdint.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/gnu-user.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/i386/
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/i386/att.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/i386/biarch64.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/i386/gnu-user64.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/i386/i386-opts.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/i386/i386-protos.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/i386/i386.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/i386/linux64.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/i386/unix.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/i386/x86-64.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/initfini-array.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/linux-android.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/linux.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/config/vxworks-dummy.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/configargs.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/coretypes.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/cp/
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/cp/cp-tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/cp/cp-tree.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/cp/cxx-pretty-print.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/cp/name-lookup.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/cppdefault.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/cpplib.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/debug.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/defaults.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/diagnostic-core.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/diagnostic.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/diagnostic.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/double-int.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/emit-rtl.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/except.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/filenames.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/fixed-value.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/flag-types.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/flags.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/function.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/gcc-plugin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/genrtl.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/ggc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/gimple-pretty-print.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/gimple.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/gimple.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/gsstruct.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/gtm-builtins.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/gtype-desc.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/hard-reg-set.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/hashtab.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/highlev-plugin-common.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/hwint.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/incpath.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/input.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/insn-constants.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/insn-flags.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/insn-modes.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/insn-notes.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/internal-fn.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/internal-fn.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/intl.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/ipa-prop.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/ipa-ref-inline.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/ipa-ref.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/ipa-reference.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/ipa-utils.h
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/java/
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/java/java-tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/langhooks.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/libiberty.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/line-map.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/machmode.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/md5.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/mode-classes.def
|
||||
drwxr-xr-x root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/objc/
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/objc/objc-tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/obstack.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/omp-builtins.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/options.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/opts.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/output.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/params.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/params.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/plugin-api.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/plugin-version.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/plugin.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/plugin.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/pointer-set.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/predict.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/predict.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/prefix.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/pretty-print.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/real.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/realmpfr.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/reg-notes.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/rtl.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/rtl.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/safe-ctype.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/sbitmap.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/splay-tree.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/statistics.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/symtab.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/sync-builtins.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/system.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/target-hooks-macros.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/target.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/target.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/timevar.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/timevar.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tm-preds.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tm.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tm_p.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/toplev.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree-check.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree-dump.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree-flow-inline.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree-flow.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree-inline.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree-iterator.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree-pass.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree-pretty-print.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree-ssa-alias.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree-ssa-operands.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree-ssa-sccvn.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/tree.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/treestruct.def
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/vec.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/vecir.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/vecprim.h
|
||||
-rw-r--r-- root/root usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/plugin/include/version.h
|
||||
lrwxrwxrwx root/root usr/lib/libgcc_s.so -> libgcc_s.so.1
|
||||
-rw-r--r-- root/root usr/lib/libgcc_s.so.1
|
||||
-rw-r--r-- root/root usr/lib/libgomp.a
|
||||
@ -1013,6 +1051,55 @@ lrwxrwxrwx root/root usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.17
|
||||
-rwxr-xr-x root/root usr/lib/libstdc++.so.6.0.17
|
||||
-rw-r--r-- root/root usr/lib/libsupc++.a
|
||||
-rwxr-xr-x root/root usr/lib/libsupc++.la
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
lrwxrwxrwx root/root usr/lib32/libgcc_s.so -> libgcc_s.so.1
|
||||
-rw-r--r-- root/root usr/lib32/libgcc_s.so.1
|
||||
-rw-r--r-- root/root usr/lib32/libgomp.a
|
||||
-rwxr-xr-x root/root usr/lib32/libgomp.la
|
||||
lrwxrwxrwx root/root usr/lib32/libgomp.so -> libgomp.so.1.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libgomp.so.1 -> libgomp.so.1.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libgomp.so.1.0.0
|
||||
-rw-r--r-- root/root usr/lib32/libgomp.spec
|
||||
-rw-r--r-- root/root usr/lib32/libitm.a
|
||||
-rwxr-xr-x root/root usr/lib32/libitm.la
|
||||
lrwxrwxrwx root/root usr/lib32/libitm.so -> libitm.so.1.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libitm.so.1 -> libitm.so.1.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libitm.so.1.0.0
|
||||
-rw-r--r-- root/root usr/lib32/libitm.spec
|
||||
-rw-r--r-- root/root usr/lib32/libmudflap.a
|
||||
-rwxr-xr-x root/root usr/lib32/libmudflap.la
|
||||
lrwxrwxrwx root/root usr/lib32/libmudflap.so -> libmudflap.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libmudflap.so.0 -> libmudflap.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libmudflap.so.0.0.0
|
||||
-rw-r--r-- root/root usr/lib32/libmudflapth.a
|
||||
-rwxr-xr-x root/root usr/lib32/libmudflapth.la
|
||||
lrwxrwxrwx root/root usr/lib32/libmudflapth.so -> libmudflapth.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libmudflapth.so.0 -> libmudflapth.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libmudflapth.so.0.0.0
|
||||
-rw-r--r-- root/root usr/lib32/libobjc.a
|
||||
-rwxr-xr-x root/root usr/lib32/libobjc.la
|
||||
lrwxrwxrwx root/root usr/lib32/libobjc.so -> libobjc.so.4.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libobjc.so.4 -> libobjc.so.4.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libobjc.so.4.0.0
|
||||
-rw-r--r-- root/root usr/lib32/libquadmath.a
|
||||
-rwxr-xr-x root/root usr/lib32/libquadmath.la
|
||||
lrwxrwxrwx root/root usr/lib32/libquadmath.so -> libquadmath.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libquadmath.so.0 -> libquadmath.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libquadmath.so.0.0.0
|
||||
-rw-r--r-- root/root usr/lib32/libssp.a
|
||||
-rwxr-xr-x root/root usr/lib32/libssp.la
|
||||
lrwxrwxrwx root/root usr/lib32/libssp.so -> libssp.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libssp.so.0 -> libssp.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libssp.so.0.0.0
|
||||
-rw-r--r-- root/root usr/lib32/libssp_nonshared.a
|
||||
-rwxr-xr-x root/root usr/lib32/libssp_nonshared.la
|
||||
-rw-r--r-- root/root usr/lib32/libstdc++.a
|
||||
-rwxr-xr-x root/root usr/lib32/libstdc++.la
|
||||
lrwxrwxrwx root/root usr/lib32/libstdc++.so -> libstdc++.so.6.0.17
|
||||
lrwxrwxrwx root/root usr/lib32/libstdc++.so.6 -> libstdc++.so.6.0.17
|
||||
-rwxr-xr-x root/root usr/lib32/libstdc++.so.6.0.17
|
||||
-rw-r--r-- root/root usr/lib32/libsupc++.a
|
||||
-rwxr-xr-x root/root usr/lib32/libsupc++.la
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/cpp.1.gz
|
||||
|
@ -1,2 +1,3 @@
|
||||
67eed47aa2901c0790881f0bfdefae89 gcc-4.7.2-multilib-dirs.patch
|
||||
cc308a0891e778cfda7a151ab8a6e762 gcc-4.7.2.tar.bz2
|
||||
a617c4d3fa11e0c9410ac213eb061677 gcc-nocheck-fixincludes.patch
|
||||
|
16
gcc/Pkgfile
16
gcc/Pkgfile
@ -6,12 +6,13 @@
|
||||
name=gcc
|
||||
version=4.7.2
|
||||
release=1
|
||||
source=(ftp://gcc.gnu.org/pub/gcc/releases/$name-$version/$name-$version.tar.bz2
|
||||
$name-nocheck-fixincludes.patch)
|
||||
source=(ftp://gcc.gnu.org/pub/gcc/releases/$name-$version/$name-$version.tar.bz2 \
|
||||
$name-nocheck-fixincludes.patch $name-$version-multilib-dirs.patch)
|
||||
|
||||
|
||||
build() {
|
||||
patch -d $name-$version -p1 -i $SRC/$name-nocheck-fixincludes.patch
|
||||
patch -d $name-$version -p1 -i $SRC/$name-$version-multilib-dirs.patch
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
@ -26,7 +27,8 @@ build() {
|
||||
--disable-nls \
|
||||
--with-x=no \
|
||||
--with-system-zlib \
|
||||
--with-pkgversion="CRUX-i686"
|
||||
--enable-multilib \
|
||||
--with-pkgversion="CRUX-x86_64-multilib"
|
||||
make bootstrap
|
||||
make -j1 DESTDIR=$PKG install
|
||||
|
||||
@ -35,12 +37,12 @@ build() {
|
||||
ln -sf gcc $PKG/usr/bin/cc
|
||||
ln -sf g++ $PKG/usr/bin/c++
|
||||
|
||||
mv $PKG/usr/lib/gcc/*/4.7.2/include-fixed/{limits.h,syslimits.h} $PKG/usr/lib/gcc/*/4.7.2/include/
|
||||
mv $PKG/usr/lib/gcc/*/$version/include-fixed/{limits.h,syslimits.h} $PKG/usr/lib/gcc/*/$version/include/
|
||||
|
||||
rm -f $PKG/usr/lib/{libiberty.a,libstdc++.so.6.0.17-gdb.py}
|
||||
rm -f $PKG/usr/lib{,32}/{libiberty.a,libstdc++.so.6.0.17-gdb.py}
|
||||
rm -r $PKG/usr/share
|
||||
rm -r $PKG/usr/bin/*-linux-gnu-*
|
||||
rm -r $PKG/usr/lib/gcc/*/4.7.2/{install-tools,include-fixed}
|
||||
rm -r $PKG/usr/lib/gcc/*/$version/{install-tools,include-fixed}
|
||||
|
||||
sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/{libstdc++.la,libsupc++.la}
|
||||
sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib{,32}/{libstdc++.la,libsupc++.la}
|
||||
}
|
||||
|
23
gcc/gcc-4.7.2-multilib-dirs.patch
Normal file
23
gcc/gcc-4.7.2-multilib-dirs.patch
Normal file
@ -0,0 +1,23 @@
|
||||
diff -urN gcc-4.7.1.orig/gcc/config/i386/linux64.h gcc-4.7.1/gcc/config/i386/linux64.h
|
||||
--- gcc-4.7.1.orig/gcc/config/i386/linux64.h 2011-07-07 10:38:34.000000000 -0500
|
||||
+++ gcc-4.7.1/gcc/config/i386/linux64.h 2012-07-02 09:57:56.993022198 -0500
|
||||
@@ -28,6 +28,6 @@
|
||||
#define GNU_USER_LINK_EMULATION64 "elf_x86_64"
|
||||
#define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64"
|
||||
|
||||
-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
|
||||
-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
|
||||
+#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2"
|
||||
+#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2"
|
||||
#define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2"
|
||||
diff -urN gcc-4.7.1.orig/gcc/config/i386/t-linux64 gcc-4.7.1/gcc/config/i386/t-linux64
|
||||
--- gcc-4.7.1.orig/gcc/config/i386/t-linux64 2011-11-02 10:23:48.000000000 -0500
|
||||
+++ gcc-4.7.1/gcc/config/i386/t-linux64 2012-07-02 09:58:47.278153100 -0500
|
||||
@@ -34,6 +34,6 @@
|
||||
comma=,
|
||||
MULTILIB_OPTIONS = $(subst $(comma),/,$(TM_MULTILIB_CONFIG))
|
||||
MULTILIB_DIRNAMES = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS)))
|
||||
-MULTILIB_OSDIRNAMES = m64=../lib64
|
||||
+MULTILIB_OSDIRNAMES = m64=../lib
|
||||
MULTILIB_OSDIRNAMES+= m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
|
||||
MULTILIB_OSDIRNAMES+= mx32=../libx32
|
0
glibc-32/.32bit
Normal file
0
glibc-32/.32bit
Normal file
360
glibc-32/.footprint
Normal file
360
glibc-32/.footprint
Normal file
@ -0,0 +1,360 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/ld.so.conf.d/
|
||||
-rwxr-xr-x root/root etc/ld.so.conf.d/lib32.conf
|
||||
drwxr-xr-x root/root lib/
|
||||
lrwxrwxrwx root/root lib/ld-linux.so.2 -> /lib32/ld-linux.so.2
|
||||
drwxr-xr-x root/root lib32/
|
||||
-rwxr-xr-x root/root lib32/ld-2.16.so
|
||||
lrwxrwxrwx root/root lib32/ld-linux.so.2 -> ld-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libBrokenLocale-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libBrokenLocale.so.1 -> libBrokenLocale-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libSegFault.so
|
||||
-rwxr-xr-x root/root lib32/libanl-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libanl.so.1 -> libanl-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libc-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libc.so.6 -> libc-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libcidn-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libcidn.so.1 -> libcidn-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libcrypt-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libcrypt.so.1 -> libcrypt-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libdl-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libdl.so.2 -> libdl-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libm-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libm.so.6 -> libm-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libmemusage.so
|
||||
-rwxr-xr-x root/root lib32/libnsl-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libnsl.so.1 -> libnsl-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libnss_compat-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libnss_compat.so.2 -> libnss_compat-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libnss_db-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libnss_db.so.2 -> libnss_db-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libnss_dns-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libnss_dns.so.2 -> libnss_dns-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libnss_files-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libnss_files.so.2 -> libnss_files-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libnss_hesiod-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libnss_hesiod.so.2 -> libnss_hesiod-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libnss_nis-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libnss_nis.so.2 -> libnss_nis-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libnss_nisplus-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libnss_nisplus.so.2 -> libnss_nisplus-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libpcprofile.so
|
||||
-rwxr-xr-x root/root lib32/libpthread-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libpthread.so.0 -> libpthread-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libresolv-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libresolv.so.2 -> libresolv-2.16.so
|
||||
-rwxr-xr-x root/root lib32/librt-2.16.so
|
||||
lrwxrwxrwx root/root lib32/librt.so.1 -> librt-2.16.so
|
||||
-rwxr-xr-x root/root lib32/libthread_db-1.0.so
|
||||
lrwxrwxrwx root/root lib32/libthread_db.so.1 -> libthread_db-1.0.so
|
||||
-rwxr-xr-x root/root lib32/libutil-2.16.so
|
||||
lrwxrwxrwx root/root lib32/libutil.so.1 -> libutil-2.16.so
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/gnu/
|
||||
-rwxr-xr-x root/root usr/include/gnu/stubs-32.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/locale/
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
-rw-r--r-- root/root usr/lib32/Mcrt1.o
|
||||
-rw-r--r-- root/root usr/lib32/Scrt1.o
|
||||
drwxr-xr-x root/root usr/lib32/audit/
|
||||
-rwxr-xr-x root/root usr/lib32/audit/sotruss-lib.so
|
||||
-rw-r--r-- root/root usr/lib32/crt1.o
|
||||
-rw-r--r-- root/root usr/lib32/crti.o
|
||||
-rw-r--r-- root/root usr/lib32/crtn.o
|
||||
drwxr-xr-x root/root usr/lib32/gconv/
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ANSI_X3.110.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ARMSCII-8.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ASMO_449.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/BIG5.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/BIG5HKSCS.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/BRF.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP10007.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP1125.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP1250.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP1251.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP1252.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP1253.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP1254.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP1255.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP1256.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP1257.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP1258.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP737.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP770.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP771.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP772.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP773.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP774.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP775.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CP932.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CSN_369103.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/CWI.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/DEC-MCS.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-AT-DE-A.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-AT-DE.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-CA-FR.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-DK-NO-A.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-DK-NO.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-ES-A.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-ES-S.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-ES.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-FI-SE-A.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-FI-SE.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-FR.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-IS-FRISS.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-IT.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-PT.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-UK.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EBCDIC-US.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ECMA-CYRILLIC.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EUC-CN.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EUC-JISX0213.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EUC-JP-MS.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EUC-JP.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EUC-KR.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/EUC-TW.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/GB18030.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/GBBIG5.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/GBGBK.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/GBK.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/GEORGIAN-ACADEMY.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/GEORGIAN-PS.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/GOST_19768-74.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/GREEK-CCITT.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/GREEK7-OLD.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/GREEK7.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/HP-GREEK8.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/HP-ROMAN8.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/HP-ROMAN9.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/HP-THAI8.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/HP-TURKISH8.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM037.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM038.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1004.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1008.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1008_420.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1025.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1026.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1046.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1047.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1097.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1112.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1122.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1123.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1124.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1129.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1130.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1132.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1133.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1137.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1140.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1141.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1142.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1143.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1144.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1145.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1146.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1147.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1148.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1149.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1153.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1154.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1155.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1156.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1157.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1158.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1160.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1161.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1162.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1163.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1164.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1166.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1167.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM12712.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1364.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1371.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1388.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1390.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM1399.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM16804.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM256.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM273.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM274.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM275.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM277.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM278.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM280.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM281.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM284.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM285.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM290.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM297.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM420.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM423.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM424.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM437.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM4517.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM4899.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM4909.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM4971.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM500.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM5347.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM803.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM850.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM851.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM852.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM855.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM856.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM857.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM860.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM861.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM862.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM863.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM864.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM865.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM866.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM866NAV.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM868.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM869.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM870.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM871.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM874.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM875.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM880.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM891.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM901.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM902.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM903.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM9030.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM904.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM905.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM9066.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM918.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM921.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM922.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM930.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM932.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM933.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM935.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM937.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM939.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM943.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IBM9448.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/IEC_P27-1.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/INIS-8.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/INIS-CYRILLIC.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/INIS.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISIRI-3342.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO-2022-CN-EXT.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO-2022-CN.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO-2022-JP-3.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO-2022-JP.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO-2022-KR.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO-IR-197.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO-IR-209.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO646.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-1.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-10.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-11.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-13.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-14.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-15.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-16.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-2.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-3.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-4.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-5.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-6.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-7.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-8.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-9.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO8859-9E.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO_10367-BOX.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO_11548-1.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO_2033.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO_5427-EXT.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO_5427.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO_5428.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO_6937-2.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/ISO_6937.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/JOHAB.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/KOI-8.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/KOI8-R.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/KOI8-RU.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/KOI8-T.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/KOI8-U.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/LATIN-GREEK-1.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/LATIN-GREEK.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/MAC-CENTRALEUROPE.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/MAC-IS.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/MAC-SAMI.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/MAC-UK.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/MACINTOSH.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/MIK.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/NATS-DANO.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/NATS-SEFI.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/PT154.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/RK1048.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/SAMI-WS2.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/SHIFT_JISX0213.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/SJIS.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/T.61.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/TCVN5712-1.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/TIS-620.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/TSCII.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/UHC.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/UNICODE.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/UTF-16.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/UTF-32.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/UTF-7.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/VISCII.so
|
||||
-rw-r--r-- root/root usr/lib32/gconv/gconv-modules
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/libCNS.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/libGB.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/libISOIR165.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/libJIS.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/libJISX0213.so
|
||||
-rwxr-xr-x root/root usr/lib32/gconv/libKSC.so
|
||||
-rw-r--r-- root/root usr/lib32/gcrt1.o
|
||||
drwxr-xr-x root/root usr/lib32/getconf/
|
||||
-rw-r--r-- root/root usr/lib32/libBrokenLocale.a
|
||||
lrwxrwxrwx root/root usr/lib32/libBrokenLocale.so -> ../../lib32/libBrokenLocale.so.1
|
||||
-rw-r--r-- root/root usr/lib32/libanl.a
|
||||
lrwxrwxrwx root/root usr/lib32/libanl.so -> ../../lib32/libanl.so.1
|
||||
-rw-r--r-- root/root usr/lib32/libbsd-compat.a
|
||||
-rw-r--r-- root/root usr/lib32/libc.a
|
||||
-rw-r--r-- root/root usr/lib32/libc.so
|
||||
-rw-r--r-- root/root usr/lib32/libc_nonshared.a
|
||||
lrwxrwxrwx root/root usr/lib32/libcidn.so -> ../../lib32/libcidn.so.1
|
||||
-rw-r--r-- root/root usr/lib32/libcrypt.a
|
||||
lrwxrwxrwx root/root usr/lib32/libcrypt.so -> ../../lib32/libcrypt.so.1
|
||||
-rw-r--r-- root/root usr/lib32/libdl.a
|
||||
lrwxrwxrwx root/root usr/lib32/libdl.so -> ../../lib32/libdl.so.2
|
||||
-rw-r--r-- root/root usr/lib32/libg.a
|
||||
-rw-r--r-- root/root usr/lib32/libieee.a
|
||||
-rw-r--r-- root/root usr/lib32/libm.a
|
||||
lrwxrwxrwx root/root usr/lib32/libm.so -> ../../lib32/libm.so.6
|
||||
-rw-r--r-- root/root usr/lib32/libmcheck.a
|
||||
-rw-r--r-- root/root usr/lib32/libnsl.a
|
||||
lrwxrwxrwx root/root usr/lib32/libnsl.so -> ../../lib32/libnsl.so.1
|
||||
lrwxrwxrwx root/root usr/lib32/libnss_compat.so -> ../../lib32/libnss_compat.so.2
|
||||
lrwxrwxrwx root/root usr/lib32/libnss_db.so -> ../../lib32/libnss_db.so.2
|
||||
lrwxrwxrwx root/root usr/lib32/libnss_dns.so -> ../../lib32/libnss_dns.so.2
|
||||
lrwxrwxrwx root/root usr/lib32/libnss_files.so -> ../../lib32/libnss_files.so.2
|
||||
lrwxrwxrwx root/root usr/lib32/libnss_hesiod.so -> ../../lib32/libnss_hesiod.so.2
|
||||
lrwxrwxrwx root/root usr/lib32/libnss_nis.so -> ../../lib32/libnss_nis.so.2
|
||||
lrwxrwxrwx root/root usr/lib32/libnss_nisplus.so -> ../../lib32/libnss_nisplus.so.2
|
||||
-rw-r--r-- root/root usr/lib32/libpthread.a
|
||||
-rw-r--r-- root/root usr/lib32/libpthread.so
|
||||
-rw-r--r-- root/root usr/lib32/libpthread_nonshared.a
|
||||
-rw-r--r-- root/root usr/lib32/libresolv.a
|
||||
lrwxrwxrwx root/root usr/lib32/libresolv.so -> ../../lib32/libresolv.so.2
|
||||
-rw-r--r-- root/root usr/lib32/librpcsvc.a
|
||||
-rw-r--r-- root/root usr/lib32/librt.a
|
||||
lrwxrwxrwx root/root usr/lib32/librt.so -> ../../lib32/librt.so.1
|
||||
lrwxrwxrwx root/root usr/lib32/libthread_db.so -> ../../lib32/libthread_db.so.1
|
||||
-rw-r--r-- root/root usr/lib32/libutil.a
|
||||
lrwxrwxrwx root/root usr/lib32/libutil.so -> ../../lib32/libutil.so.1
|
||||
-rwsr-xr-x root/root usr/lib32/pt_chown
|
12
glibc-32/.md5sum
Normal file
12
glibc-32/.md5sum
Normal file
@ -0,0 +1,12 @@
|
||||
80b181b02ab249524ec92822c0174cf7 glibc-2.16.0.tar.xz
|
||||
c3f3499e0a6272cba7b6e46bfe6bbcea glibc-32-2.16.0-multilib-dirs.patch
|
||||
7e6a5a13c37f93213db9803d9790b7de glibc-resolv_assert.patch
|
||||
99ed7b88221475d51a073f00d7ee9c42 glibc-segfault_in_strncasecmp.patch
|
||||
8be5a4516a896a4cd589134ccf113575 glibc-strtod_integer_overflow.patch
|
||||
96156bec8e05de67384dc93e72bdc313 host.conf
|
||||
fbbc215a9b15ba4846f326cc88108057 hosts
|
||||
4305991339ee2f5fbce0e1be32d6d3af kernel-headers-3.4.11.tar.xz
|
||||
f7fefce570a3c776e26e778c5e401490 ld.so.conf
|
||||
a8f4549c716cd37244fbf1ed059497f8 lib32.conf
|
||||
75931315bf9bc9be15a5e25e4ddd5f0d nsswitch.conf
|
||||
acf9daad1ee85de5efd3543965596a63 resolv.conf
|
2
glibc-32/.nostrip
Normal file
2
glibc-32/.nostrip
Normal file
@ -0,0 +1,2 @@
|
||||
^lib/ld-.*\.so$
|
||||
^lib/libpthread-.*\.so$
|
57
glibc-32/Pkgfile
Normal file
57
glibc-32/Pkgfile
Normal file
@ -0,0 +1,57 @@
|
||||
# Description: The C library used in the GNU system
|
||||
# URL: http://www.gnu.org/software/libc/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
|
||||
name=glibc-32
|
||||
version=2.16.0
|
||||
release=2
|
||||
source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \
|
||||
http://crux.nu/files/distfiles/kernel-headers-3.4.11.tar.xz \
|
||||
$name-$version-multilib-dirs.patch \
|
||||
hosts resolv.conf nsswitch.conf host.conf ld.so.conf \
|
||||
lib32.conf \
|
||||
glibc-resolv_assert.patch \
|
||||
glibc-segfault_in_strncasecmp.patch \
|
||||
glibc-strtod_integer_overflow.patch)
|
||||
|
||||
build() {
|
||||
# install kernel headers
|
||||
mkdir $PKG/usr/
|
||||
cp -r kernel-headers-3.4.11/include $PKG/usr
|
||||
chown root:root $PKG/usr
|
||||
|
||||
patch -p1 -d glibc-$version -i $SRC/glibc-resolv_assert.patch
|
||||
patch -p1 -d glibc-$version -i $SRC/glibc-segfault_in_strncasecmp.patch
|
||||
patch -p1 -d glibc-$version -i $SRC/glibc-strtod_integer_overflow.patch
|
||||
patch -p1 -d glibc-$version -i $SRC/$name-$version-multilib-dirs.patch
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
CC="${CC:-gcc} -m32" ../glibc-$version/configure --prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--libexecdir=/usr/lib32 \
|
||||
--with-headers=$PKG/usr/include \
|
||||
--with-tls \
|
||||
--enable-kernel=2.6.27 \
|
||||
--enable-add-ons \
|
||||
--disable-profile \
|
||||
--without-gd \
|
||||
--enable-obsolete-rpc \
|
||||
--host=i686-pc-linux-gnu
|
||||
make
|
||||
#make check
|
||||
make install_root=$PKG install
|
||||
|
||||
cp $SRC/{hosts,resolv.conf,nsswitch.conf,host.conf,ld.so.conf} $PKG/etc
|
||||
ln -sf ../usr/share/zoneinfo/UTC $PKG/etc/localtime
|
||||
mkdir -p $PKG/etc/ld.so.conf.d $PKG/usr/lib/locale
|
||||
touch $PKG/etc/ld.so.cache
|
||||
|
||||
rm -rf $PKG/usr/{bin,sbin,share} $PKG/{etc,sbin} $PKG/var
|
||||
(mv $PKG/usr/include/gnu/stubs-32.h $SRC;
|
||||
rm -rf $PKG/usr/include;
|
||||
install -D $SRC/stubs-32.h $PKG/usr/include/gnu/stubs-32.h)
|
||||
|
||||
install -D $SRC/lib32.conf $PKG/etc/ld.so.conf.d/lib32.conf
|
||||
mkdir $PKG/lib && ln -s /lib32/ld-linux.so.2 $PKG/lib/ld-linux.so.2
|
||||
}
|
12
glibc-32/glibc-32-2.16.0-multilib-dirs.patch
Normal file
12
glibc-32/glibc-32-2.16.0-multilib-dirs.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -urN glibc-2.16.0.orig/sysdeps/gnu/configure glibc-2.16.0/sysdeps/gnu/configure
|
||||
--- glibc-2.16.0.orig/sysdeps/gnu/configure 2012-06-30 14:12:34.000000000 -0500
|
||||
+++ glibc-2.16.0/sysdeps/gnu/configure 2012-07-02 08:30:09.175543310 -0500
|
||||
@@ -22,7 +22,7 @@
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
- libc_cv_slibdir=/lib
|
||||
+ libc_cv_slibdir=/lib32
|
||||
;;
|
||||
esac
|
||||
# Allow the user to override the path with --sysconfdir.
|
61
glibc-32/glibc-resolv_assert.patch
Normal file
61
glibc-32/glibc-resolv_assert.patch
Normal file
@ -0,0 +1,61 @@
|
||||
# http://sourceware.org/bugzilla/show_bug.cgi?id=13013
|
||||
|
||||
2011-07-21 Aurelien Jarno <aurel32@debian.org>
|
||||
|
||||
* resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
|
||||
depending n and resplen2 to catch cases where answer
|
||||
equals answerp2.
|
||||
|
||||
diff --git a/resolv/res_query.c b/resolv/res_query.c
|
||||
index 2f7cfaa..405fa68 100644
|
||||
--- a/resolv/res_query.c
|
||||
+++ b/resolv/res_query.c
|
||||
@@ -122,6 +122,7 @@ __libc_res_nquery(res_state statp,
|
||||
int *resplen2)
|
||||
{
|
||||
HEADER *hp = (HEADER *) answer;
|
||||
+ HEADER *hp2;
|
||||
int n, use_malloc = 0;
|
||||
u_int oflags = statp->_flags;
|
||||
|
||||
@@ -239,26 +240,25 @@ __libc_res_nquery(res_state statp,
|
||||
/* __libc_res_nsend might have reallocated the buffer. */
|
||||
hp = (HEADER *) *answerp;
|
||||
|
||||
- /* We simplify the following tests by assigning HP to HP2. It
|
||||
- is easy to verify that this is the same as ignoring all
|
||||
- tests of HP2. */
|
||||
- HEADER *hp2 = answerp2 ? (HEADER *) *answerp2 : hp;
|
||||
-
|
||||
- if (n < (int) sizeof (HEADER) && answerp2 != NULL
|
||||
- && *resplen2 > (int) sizeof (HEADER))
|
||||
+ /* We simplify the following tests by assigning HP to HP2 or
|
||||
+ vice versa. It is easy to verify that this is the same as
|
||||
+ ignoring all tests of HP or HP2. */
|
||||
+ if (answerp2 == NULL || *resplen2 < (int) sizeof (HEADER))
|
||||
{
|
||||
- /* Special case of partial answer. */
|
||||
- assert (hp != hp2);
|
||||
- hp = hp2;
|
||||
+ hp2 = hp;
|
||||
}
|
||||
- else if (answerp2 != NULL && *resplen2 < (int) sizeof (HEADER)
|
||||
- && n > (int) sizeof (HEADER))
|
||||
+ else
|
||||
{
|
||||
- /* Special case of partial answer. */
|
||||
- assert (hp != hp2);
|
||||
- hp2 = hp;
|
||||
+ hp2 = (HEADER *) *answerp2;
|
||||
+ if (n < (int) sizeof (HEADER))
|
||||
+ {
|
||||
+ hp = hp2;
|
||||
+ }
|
||||
}
|
||||
|
||||
+ /* Make sure both hp and hp2 are defined */
|
||||
+ assert((hp != NULL) && (hp2 != NULL));
|
||||
+
|
||||
if ((hp->rcode != NOERROR || ntohs(hp->ancount) == 0)
|
||||
&& (hp2->rcode != NOERROR || ntohs(hp2->ancount) == 0)) {
|
||||
#ifdef DEBUG
|
79
glibc-32/glibc-segfault_in_strncasecmp.patch
Normal file
79
glibc-32/glibc-segfault_in_strncasecmp.patch
Normal file
@ -0,0 +1,79 @@
|
||||
commit 6db8f73723e64a4f486ca679e05dbf15a1437bfd
|
||||
Author: Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
|
||||
Date: Wed Aug 15 21:06:55 2012 +0200
|
||||
|
||||
Fix segmentation fault in strncasecmp for i686
|
||||
|
||||
2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
|
||||
|
||||
[BZ #14195]
|
||||
* sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
|
||||
segmentation fault for a case of two empty input strings.
|
||||
* string/test-strncasecmp.c (check1): Renamed to...
|
||||
(bz12205): ...this.
|
||||
(bz14195): Add new testcase for two empty input strings and N > 0.
|
||||
(test_main): Call new testcase, adapt for renamed function.
|
||||
(cherry picked from commit b3f479a85a3e191befbe821d787d7f71c0f64e79)
|
||||
|
||||
diff --git a/string/test-strncasecmp.c b/string/test-strncasecmp.c
|
||||
index 6c17530..acfe668 100644
|
||||
--- a/string/test-strncasecmp.c
|
||||
+++ b/string/test-strncasecmp.c
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Test and measure strncasecmp functions.
|
||||
- Copyright (C) 1999, 2002, 2003, 2005, 2010 Free Software Foundation, Inc.
|
||||
+ Copyright (C) 1999-2012 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Written by Jakub Jelinek <jakub@redhat.com>, 1999.
|
||||
|
||||
@@ -251,9 +251,9 @@ do_random_tests (void)
|
||||
}
|
||||
}
|
||||
|
||||
-
|
||||
+/* Regression test for BZ #12205 */
|
||||
static void
|
||||
-check1 (void)
|
||||
+bz12205 (void)
|
||||
{
|
||||
static char cp [4096+16] __attribute__ ((aligned(4096)));
|
||||
static char gotrel[4096] __attribute__ ((aligned(4096)));
|
||||
@@ -270,6 +270,15 @@ check1 (void)
|
||||
check_result (impl, s1, s2, n, exp_result);
|
||||
}
|
||||
|
||||
+/* Regression test for BZ #14195 */
|
||||
+static void
|
||||
+bz14195 (void)
|
||||
+{
|
||||
+ const char *empty_string = "";
|
||||
+ FOR_EACH_IMPL (impl, 0)
|
||||
+ check_result (impl, empty_string, "", 5, 0);
|
||||
+}
|
||||
+
|
||||
int
|
||||
test_main (void)
|
||||
{
|
||||
@@ -277,7 +286,8 @@ test_main (void)
|
||||
|
||||
test_init ();
|
||||
|
||||
- check1 ();
|
||||
+ bz12205 ();
|
||||
+ bz14195 ();
|
||||
|
||||
printf ("%23s", "");
|
||||
FOR_EACH_IMPL (impl, 0)
|
||||
diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
|
||||
index 5e6321e..9735ad0 100644
|
||||
--- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
|
||||
+++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
|
||||
@@ -2445,7 +2445,7 @@ L(less16bytes_sncmp):
|
||||
# endif
|
||||
jne L(neq_sncmp)
|
||||
test %cl, %cl
|
||||
- je L(eq)
|
||||
+ je L(eq_sncmp)
|
||||
|
||||
cmp $1, REM
|
||||
je L(eq_sncmp)
|
399
glibc-32/glibc-strtod_integer_overflow.patch
Normal file
399
glibc-32/glibc-strtod_integer_overflow.patch
Normal file
@ -0,0 +1,399 @@
|
||||
commit da1f431963218999c49cae928309dfec426c575c
|
||||
Author: Joseph Myers <joseph@codesourcery.com>
|
||||
Date: Mon Aug 27 15:59:24 2012 +0000
|
||||
|
||||
Fix strtod integer/buffer overflow (bug 14459).
|
||||
(cherry picked from commit d6e70f4368533224e66d10b7f2126b899a3fd5e4)
|
||||
|
||||
Conflicts:
|
||||
|
||||
ChangeLog
|
||||
NEWS
|
||||
stdlib/Makefile
|
||||
|
||||
diff --git a/stdlib/Makefile b/stdlib/Makefile
|
||||
index f7811c5..79c9acb 100644
|
||||
--- a/stdlib/Makefile
|
||||
+++ b/stdlib/Makefile
|
||||
@@ -68,7 +68,8 @@ tests := tst-strtol tst-strtod testmb testrand testsort testdiv \
|
||||
tst-atof1 tst-atof2 tst-strtod2 tst-strtod3 tst-rand48-2 \
|
||||
tst-makecontext tst-strtod4 tst-strtod5 tst-qsort2 \
|
||||
tst-makecontext2 tst-strtod6 tst-unsetenv1 \
|
||||
- tst-makecontext3 bug-getcontext bug-fmtmsg1
|
||||
+ tst-makecontext3 bug-getcontext bug-fmtmsg1 \
|
||||
+ tst-strtod-overflow
|
||||
|
||||
include ../Makeconfig
|
||||
|
||||
diff --git a/stdlib/strtod_l.c b/stdlib/strtod_l.c
|
||||
index 2166a08..a8a7ea8 100644
|
||||
--- a/stdlib/strtod_l.c
|
||||
+++ b/stdlib/strtod_l.c
|
||||
@@ -60,6 +60,7 @@ extern unsigned long long int ____strtoull_l_internal (const char *, char **,
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
/* The gmp headers need some configuration frobs. */
|
||||
#define HAVE_ALLOCA 1
|
||||
@@ -72,7 +73,6 @@ extern unsigned long long int ____strtoull_l_internal (const char *, char **,
|
||||
#include "longlong.h"
|
||||
#include "fpioconst.h"
|
||||
|
||||
-#define NDEBUG 1
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
@@ -174,19 +174,19 @@ extern const mp_limb_t _tens_in_limb[MAX_DIG_PER_LIMB + 1];
|
||||
/* Return a floating point number of the needed type according to the given
|
||||
multi-precision number after possible rounding. */
|
||||
static FLOAT
|
||||
-round_and_return (mp_limb_t *retval, int exponent, int negative,
|
||||
+round_and_return (mp_limb_t *retval, intmax_t exponent, int negative,
|
||||
mp_limb_t round_limb, mp_size_t round_bit, int more_bits)
|
||||
{
|
||||
if (exponent < MIN_EXP - 1)
|
||||
{
|
||||
- mp_size_t shift = MIN_EXP - 1 - exponent;
|
||||
-
|
||||
- if (shift > MANT_DIG)
|
||||
+ if (exponent < MIN_EXP - 1 - MANT_DIG)
|
||||
{
|
||||
__set_errno (ERANGE);
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
+ mp_size_t shift = MIN_EXP - 1 - exponent;
|
||||
+
|
||||
more_bits |= (round_limb & ((((mp_limb_t) 1) << round_bit) - 1)) != 0;
|
||||
if (shift == MANT_DIG)
|
||||
/* This is a special case to handle the very seldom case where
|
||||
@@ -233,6 +233,9 @@ round_and_return (mp_limb_t *retval, int exponent, int negative,
|
||||
__set_errno (ERANGE);
|
||||
}
|
||||
|
||||
+ if (exponent > MAX_EXP)
|
||||
+ goto overflow;
|
||||
+
|
||||
if ((round_limb & (((mp_limb_t) 1) << round_bit)) != 0
|
||||
&& (more_bits || (retval[0] & 1) != 0
|
||||
|| (round_limb & ((((mp_limb_t) 1) << round_bit) - 1)) != 0))
|
||||
@@ -258,6 +261,7 @@ round_and_return (mp_limb_t *retval, int exponent, int negative,
|
||||
}
|
||||
|
||||
if (exponent > MAX_EXP)
|
||||
+ overflow:
|
||||
return negative ? -FLOAT_HUGE_VAL : FLOAT_HUGE_VAL;
|
||||
|
||||
return MPN2FLOAT (retval, exponent, negative);
|
||||
@@ -271,7 +275,7 @@ round_and_return (mp_limb_t *retval, int exponent, int negative,
|
||||
factor for the resulting number (see code) multiply by it. */
|
||||
static const STRING_TYPE *
|
||||
str_to_mpn (const STRING_TYPE *str, int digcnt, mp_limb_t *n, mp_size_t *nsize,
|
||||
- int *exponent
|
||||
+ intmax_t *exponent
|
||||
#ifndef USE_WIDE_CHAR
|
||||
, const char *decimal, size_t decimal_len, const char *thousands
|
||||
#endif
|
||||
@@ -301,6 +305,7 @@ str_to_mpn (const STRING_TYPE *str, int digcnt, mp_limb_t *n, mp_size_t *nsize,
|
||||
cy += __mpn_add_1 (n, n, *nsize, low);
|
||||
if (cy != 0)
|
||||
{
|
||||
+ assert (*nsize < MPNSIZE);
|
||||
n[*nsize] = cy;
|
||||
++(*nsize);
|
||||
}
|
||||
@@ -335,7 +340,7 @@ str_to_mpn (const STRING_TYPE *str, int digcnt, mp_limb_t *n, mp_size_t *nsize,
|
||||
}
|
||||
while (--digcnt > 0);
|
||||
|
||||
- if (*exponent > 0 && cnt + *exponent <= MAX_DIG_PER_LIMB)
|
||||
+ if (*exponent > 0 && *exponent <= MAX_DIG_PER_LIMB - cnt)
|
||||
{
|
||||
low *= _tens_in_limb[*exponent];
|
||||
start = _tens_in_limb[cnt + *exponent];
|
||||
@@ -355,7 +360,10 @@ str_to_mpn (const STRING_TYPE *str, int digcnt, mp_limb_t *n, mp_size_t *nsize,
|
||||
cy = __mpn_mul_1 (n, n, *nsize, start);
|
||||
cy += __mpn_add_1 (n, n, *nsize, low);
|
||||
if (cy != 0)
|
||||
- n[(*nsize)++] = cy;
|
||||
+ {
|
||||
+ assert (*nsize < MPNSIZE);
|
||||
+ n[(*nsize)++] = cy;
|
||||
+ }
|
||||
}
|
||||
|
||||
return str;
|
||||
@@ -413,7 +421,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
{
|
||||
int negative; /* The sign of the number. */
|
||||
MPN_VAR (num); /* MP representation of the number. */
|
||||
- int exponent; /* Exponent of the number. */
|
||||
+ intmax_t exponent; /* Exponent of the number. */
|
||||
|
||||
/* Numbers starting `0X' or `0x' have to be processed with base 16. */
|
||||
int base = 10;
|
||||
@@ -435,7 +443,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
/* Points at the character following the integer and fractional digits. */
|
||||
const STRING_TYPE *expp;
|
||||
/* Total number of digit and number of digits in integer part. */
|
||||
- int dig_no, int_no, lead_zero;
|
||||
+ size_t dig_no, int_no, lead_zero;
|
||||
/* Contains the last character read. */
|
||||
CHAR_TYPE c;
|
||||
|
||||
@@ -767,7 +775,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
are all or any is really a fractional digit will be decided
|
||||
later. */
|
||||
int_no = dig_no;
|
||||
- lead_zero = int_no == 0 ? -1 : 0;
|
||||
+ lead_zero = int_no == 0 ? (size_t) -1 : 0;
|
||||
|
||||
/* Read the fractional digits. A special case are the 'american
|
||||
style' numbers like `16.' i.e. with decimal point but without
|
||||
@@ -789,12 +797,13 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
(base == 16 && ({ CHAR_TYPE lo = TOLOWER (c);
|
||||
lo >= L_('a') && lo <= L_('f'); })))
|
||||
{
|
||||
- if (c != L_('0') && lead_zero == -1)
|
||||
+ if (c != L_('0') && lead_zero == (size_t) -1)
|
||||
lead_zero = dig_no - int_no;
|
||||
++dig_no;
|
||||
c = *++cp;
|
||||
}
|
||||
}
|
||||
+ assert (dig_no <= (uintmax_t) INTMAX_MAX);
|
||||
|
||||
/* Remember start of exponent (if any). */
|
||||
expp = cp;
|
||||
@@ -817,24 +826,80 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
|
||||
if (c >= L_('0') && c <= L_('9'))
|
||||
{
|
||||
- int exp_limit;
|
||||
+ intmax_t exp_limit;
|
||||
|
||||
/* Get the exponent limit. */
|
||||
if (base == 16)
|
||||
- exp_limit = (exp_negative ?
|
||||
- -MIN_EXP + MANT_DIG + 4 * int_no :
|
||||
- MAX_EXP - 4 * int_no + 4 * lead_zero + 3);
|
||||
+ {
|
||||
+ if (exp_negative)
|
||||
+ {
|
||||
+ assert (int_no <= (uintmax_t) (INTMAX_MAX
|
||||
+ + MIN_EXP - MANT_DIG) / 4);
|
||||
+ exp_limit = -MIN_EXP + MANT_DIG + 4 * (intmax_t) int_no;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ if (int_no)
|
||||
+ {
|
||||
+ assert (lead_zero == 0
|
||||
+ && int_no <= (uintmax_t) INTMAX_MAX / 4);
|
||||
+ exp_limit = MAX_EXP - 4 * (intmax_t) int_no + 3;
|
||||
+ }
|
||||
+ else if (lead_zero == (size_t) -1)
|
||||
+ {
|
||||
+ /* The number is zero and this limit is
|
||||
+ arbitrary. */
|
||||
+ exp_limit = MAX_EXP + 3;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ assert (lead_zero
|
||||
+ <= (uintmax_t) (INTMAX_MAX - MAX_EXP - 3) / 4);
|
||||
+ exp_limit = (MAX_EXP
|
||||
+ + 4 * (intmax_t) lead_zero
|
||||
+ + 3);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
else
|
||||
- exp_limit = (exp_negative ?
|
||||
- -MIN_10_EXP + MANT_DIG + int_no :
|
||||
- MAX_10_EXP - int_no + lead_zero + 1);
|
||||
+ {
|
||||
+ if (exp_negative)
|
||||
+ {
|
||||
+ assert (int_no
|
||||
+ <= (uintmax_t) (INTMAX_MAX + MIN_10_EXP - MANT_DIG));
|
||||
+ exp_limit = -MIN_10_EXP + MANT_DIG + (intmax_t) int_no;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ if (int_no)
|
||||
+ {
|
||||
+ assert (lead_zero == 0
|
||||
+ && int_no <= (uintmax_t) INTMAX_MAX);
|
||||
+ exp_limit = MAX_10_EXP - (intmax_t) int_no + 1;
|
||||
+ }
|
||||
+ else if (lead_zero == (size_t) -1)
|
||||
+ {
|
||||
+ /* The number is zero and this limit is
|
||||
+ arbitrary. */
|
||||
+ exp_limit = MAX_10_EXP + 1;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ assert (lead_zero
|
||||
+ <= (uintmax_t) (INTMAX_MAX - MAX_10_EXP - 1));
|
||||
+ exp_limit = MAX_10_EXP + (intmax_t) lead_zero + 1;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (exp_limit < 0)
|
||||
+ exp_limit = 0;
|
||||
|
||||
do
|
||||
{
|
||||
- exponent *= 10;
|
||||
- exponent += c - L_('0');
|
||||
-
|
||||
- if (__builtin_expect (exponent > exp_limit, 0))
|
||||
+ if (__builtin_expect ((exponent > exp_limit / 10
|
||||
+ || (exponent == exp_limit / 10
|
||||
+ && c - L_('0') > exp_limit % 10)), 0))
|
||||
/* The exponent is too large/small to represent a valid
|
||||
number. */
|
||||
{
|
||||
@@ -843,7 +908,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
/* We have to take care for special situation: a joker
|
||||
might have written "0.0e100000" which is in fact
|
||||
zero. */
|
||||
- if (lead_zero == -1)
|
||||
+ if (lead_zero == (size_t) -1)
|
||||
result = negative ? -0.0 : 0.0;
|
||||
else
|
||||
{
|
||||
@@ -862,6 +927,9 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
/* NOTREACHED */
|
||||
}
|
||||
|
||||
+ exponent *= 10;
|
||||
+ exponent += c - L_('0');
|
||||
+
|
||||
c = *++cp;
|
||||
}
|
||||
while (c >= L_('0') && c <= L_('9'));
|
||||
@@ -930,7 +998,14 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
}
|
||||
#endif
|
||||
startp += lead_zero + decimal_len;
|
||||
- exponent -= base == 16 ? 4 * lead_zero : lead_zero;
|
||||
+ assert (lead_zero <= (base == 16
|
||||
+ ? (uintmax_t) INTMAX_MAX / 4
|
||||
+ : (uintmax_t) INTMAX_MAX));
|
||||
+ assert (lead_zero <= (base == 16
|
||||
+ ? ((uintmax_t) exponent
|
||||
+ - (uintmax_t) INTMAX_MIN) / 4
|
||||
+ : ((uintmax_t) exponent - (uintmax_t) INTMAX_MIN)));
|
||||
+ exponent -= base == 16 ? 4 * (intmax_t) lead_zero : (intmax_t) lead_zero;
|
||||
dig_no -= lead_zero;
|
||||
}
|
||||
|
||||
@@ -972,7 +1047,10 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
}
|
||||
|
||||
/* Adjust the exponent for the bits we are shifting in. */
|
||||
- exponent += bits - 1 + (int_no - 1) * 4;
|
||||
+ assert (int_no <= (uintmax_t) (exponent < 0
|
||||
+ ? (INTMAX_MAX - bits + 1) / 4
|
||||
+ : (INTMAX_MAX - exponent - bits + 1) / 4));
|
||||
+ exponent += bits - 1 + ((intmax_t) int_no - 1) * 4;
|
||||
|
||||
while (--dig_no > 0 && idx >= 0)
|
||||
{
|
||||
@@ -1024,13 +1102,15 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
really integer digits or belong to the fractional part; i.e. we normalize
|
||||
123e-2 to 1.23. */
|
||||
{
|
||||
- register int incr = (exponent < 0 ? MAX (-int_no, exponent)
|
||||
- : MIN (dig_no - int_no, exponent));
|
||||
+ register intmax_t incr = (exponent < 0
|
||||
+ ? MAX (-(intmax_t) int_no, exponent)
|
||||
+ : MIN ((intmax_t) dig_no - (intmax_t) int_no,
|
||||
+ exponent));
|
||||
int_no += incr;
|
||||
exponent -= incr;
|
||||
}
|
||||
|
||||
- if (__builtin_expect (int_no + exponent > MAX_10_EXP + 1, 0))
|
||||
+ if (__builtin_expect (exponent > MAX_10_EXP + 1 - (intmax_t) int_no, 0))
|
||||
{
|
||||
__set_errno (ERANGE);
|
||||
return negative ? -FLOAT_HUGE_VAL : FLOAT_HUGE_VAL;
|
||||
@@ -1215,7 +1295,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
digits we should have enough bits for the result. The remaining
|
||||
decimal digits give us the information that more bits are following.
|
||||
This can be used while rounding. (Two added as a safety margin.) */
|
||||
- if (dig_no - int_no > (MANT_DIG - bits + 2) / 3 + 2)
|
||||
+ if ((intmax_t) dig_no > (intmax_t) int_no + (MANT_DIG - bits + 2) / 3 + 2)
|
||||
{
|
||||
dig_no = int_no + (MANT_DIG - bits + 2) / 3 + 2;
|
||||
more_bits = 1;
|
||||
@@ -1223,7 +1303,7 @@ ____STRTOF_INTERNAL (nptr, endptr, group, loc)
|
||||
else
|
||||
more_bits = 0;
|
||||
|
||||
- neg_exp = dig_no - int_no - exponent;
|
||||
+ neg_exp = (intmax_t) dig_no - (intmax_t) int_no - exponent;
|
||||
|
||||
/* Construct the denominator. */
|
||||
densize = 0;
|
||||
diff --git a/stdlib/tst-strtod-overflow.c b/stdlib/tst-strtod-overflow.c
|
||||
new file mode 100644
|
||||
index 0000000..668d55b
|
||||
--- /dev/null
|
||||
+++ b/stdlib/tst-strtod-overflow.c
|
||||
@@ -0,0 +1,48 @@
|
||||
+/* Test for integer/buffer overflow in strtod.
|
||||
+ Copyright (C) 2012 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, see
|
||||
+ <http://www.gnu.org/licenses/>. */
|
||||
+
|
||||
+#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
+
|
||||
+#define EXPONENT "e-2147483649"
|
||||
+#define SIZE 214748364
|
||||
+
|
||||
+static int
|
||||
+do_test (void)
|
||||
+{
|
||||
+ char *p = malloc (1 + SIZE + sizeof (EXPONENT));
|
||||
+ if (p == NULL)
|
||||
+ {
|
||||
+ puts ("malloc failed, cannot test for overflow");
|
||||
+ return 0;
|
||||
+ }
|
||||
+ p[0] = '1';
|
||||
+ memset (p + 1, '0', SIZE);
|
||||
+ memcpy (p + 1 + SIZE, EXPONENT, sizeof (EXPONENT));
|
||||
+ double d = strtod (p, NULL);
|
||||
+ if (d != 0)
|
||||
+ {
|
||||
+ printf ("strtod returned wrong value: %a\n", d);
|
||||
+ return 1;
|
||||
+ }
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+#define TEST_FUNCTION do_test ()
|
||||
+#include "../test-skeleton.c"
|
8
glibc-32/host.conf
Normal file
8
glibc-32/host.conf
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# /etc/host.conf: resolver configuration file
|
||||
#
|
||||
|
||||
order hosts,bind
|
||||
multi on
|
||||
|
||||
# End of file
|
17
glibc-32/hosts
Normal file
17
glibc-32/hosts
Normal file
@ -0,0 +1,17 @@
|
||||
#
|
||||
# /etc/hosts: static lookup table for host names
|
||||
#
|
||||
|
||||
# IPv4
|
||||
127.0.0.1 localhost
|
||||
#<ip-address> <hostname.domain.org> <aliases>
|
||||
|
||||
# IPv6
|
||||
#::1 ip6-localhost ip6-loopback
|
||||
#fe00::0 ip6-localnet
|
||||
#ff00::0 ip6-mcastprefix
|
||||
#ff02::1 ip6-allnodes
|
||||
#ff02::2 ip6-allrouters
|
||||
#ff02::3 ip6-allhosts
|
||||
|
||||
# End of file
|
7
glibc-32/ld.so.conf
Normal file
7
glibc-32/ld.so.conf
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# /etc/ld.so.conf: dynamic linker configuration file
|
||||
#
|
||||
|
||||
include /etc/ld.so.conf.d/*.conf
|
||||
|
||||
# End of file
|
2
glibc-32/lib32.conf
Normal file
2
glibc-32/lib32.conf
Normal file
@ -0,0 +1,2 @@
|
||||
/lib32
|
||||
/usr/lib32
|
24
glibc-32/nsswitch.conf
Normal file
24
glibc-32/nsswitch.conf
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# /etc/nsswitch.conf: name service switch configuration file
|
||||
#
|
||||
|
||||
passwd: files
|
||||
group: files
|
||||
shadow: files
|
||||
|
||||
hosts: files dns
|
||||
networks: files
|
||||
|
||||
services: files
|
||||
protocols: files
|
||||
rpc: files
|
||||
publickey: files
|
||||
ethers: files
|
||||
netmasks: files
|
||||
netgroup: files
|
||||
bootparams: files
|
||||
|
||||
automount: files
|
||||
aliases: files
|
||||
|
||||
# End of file
|
4
glibc-32/post-install
Normal file
4
glibc-32/post-install
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
/sbin/telinit U
|
||||
|
8
glibc-32/resolv.conf
Normal file
8
glibc-32/resolv.conf
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# /etc/resolv.conf: resolver configuration file
|
||||
#
|
||||
|
||||
#search <domain.org>
|
||||
#nameserver <ip-address>
|
||||
|
||||
# End of file
|
@ -10,7 +10,7 @@ lrwxrwxrwx root/root etc/localtime -> ../usr/share/zoneinfo/UTC
|
||||
-rw-r--r-- root/root etc/rpc
|
||||
drwxr-xr-x root/root lib/
|
||||
-rwxr-xr-x root/root lib/ld-2.16.so
|
||||
lrwxrwxrwx root/root lib/ld-linux.so.2 -> ld-2.16.so
|
||||
lrwxrwxrwx root/root lib/ld-linux-x86-64.so.2 -> ld-2.16.so
|
||||
-rwxr-xr-x root/root lib/libBrokenLocale-2.16.so
|
||||
lrwxrwxrwx root/root lib/libBrokenLocale.so.1 -> libBrokenLocale-2.16.so
|
||||
-rwxr-xr-x root/root lib/libSegFault.so
|
||||
@ -65,7 +65,6 @@ drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/getent
|
||||
-rwxr-xr-x root/root usr/bin/iconv
|
||||
-rwxr-xr-x root/root usr/bin/ldd
|
||||
-rwxr-xr-x root/root usr/bin/lddlibc4
|
||||
-rwxr-xr-x root/root usr/bin/locale
|
||||
-rwxr-xr-x root/root usr/bin/localedef
|
||||
-rwxr-xr-x root/root usr/bin/makedb
|
||||
@ -333,7 +332,7 @@ drwxr-xr-x root/root usr/include/bits/
|
||||
drwxr-xr-x root/root usr/include/gnu/
|
||||
-rw-r--r-- root/root usr/include/gnu/lib-names.h
|
||||
-rw-r--r-- root/root usr/include/gnu/libc-version.h
|
||||
-rw-r--r-- root/root usr/include/gnu/stubs-32.h
|
||||
-rw-r--r-- root/root usr/include/gnu/stubs-64.h
|
||||
-rw-r--r-- root/root usr/include/gnu/stubs.h
|
||||
-rw-r--r-- root/root usr/include/grp.h
|
||||
-rw-r--r-- root/root usr/include/gshadow.h
|
||||
@ -1483,12 +1482,9 @@ drwxr-xr-x root/root usr/lib/gconv/
|
||||
-rwxr-xr-x root/root usr/lib/gconv/libKSC.so
|
||||
-rw-r--r-- root/root usr/lib/gcrt1.o
|
||||
drwxr-xr-x root/root usr/lib/getconf/
|
||||
-rwxr-xr-x root/root usr/lib/getconf/POSIX_V6_ILP32_OFF32
|
||||
-rwxr-xr-x root/root usr/lib/getconf/POSIX_V6_ILP32_OFFBIG
|
||||
-rwxr-xr-x root/root usr/lib/getconf/POSIX_V7_ILP32_OFF32
|
||||
-rwxr-xr-x root/root usr/lib/getconf/POSIX_V7_ILP32_OFFBIG
|
||||
-rwxr-xr-x root/root usr/lib/getconf/XBS5_ILP32_OFF32
|
||||
-rwxr-xr-x root/root usr/lib/getconf/XBS5_ILP32_OFFBIG
|
||||
-rwxr-xr-x root/root usr/lib/getconf/POSIX_V6_LP64_OFF64
|
||||
-rwxr-xr-x root/root usr/lib/getconf/POSIX_V7_LP64_OFF64
|
||||
-rwxr-xr-x root/root usr/lib/getconf/XBS5_LP64_OFF64
|
||||
-rw-r--r-- root/root usr/lib/libBrokenLocale.a
|
||||
lrwxrwxrwx root/root usr/lib/libBrokenLocale.so -> ../../lib/libBrokenLocale.so.1
|
||||
-rw-r--r-- root/root usr/lib/libanl.a
|
||||
|
@ -1,3 +1,4 @@
|
||||
3402b18f924954aa68d1d59ed378545f glibc-2.16.0-multilib-dirs.patch
|
||||
80b181b02ab249524ec92822c0174cf7 glibc-2.16.0.tar.xz
|
||||
7e6a5a13c37f93213db9803d9790b7de glibc-resolv_assert.patch
|
||||
99ed7b88221475d51a073f00d7ee9c42 glibc-segfault_in_strncasecmp.patch
|
||||
|
@ -7,6 +7,7 @@ version=2.16.0
|
||||
release=2
|
||||
source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \
|
||||
http://crux.nu/files/distfiles/kernel-headers-3.4.11.tar.xz \
|
||||
$name-$version-multilib-dirs.patch \
|
||||
hosts resolv.conf nsswitch.conf host.conf ld.so.conf \
|
||||
$name-resolv_assert.patch \
|
||||
$name-segfault_in_strncasecmp.patch \
|
||||
@ -21,6 +22,7 @@ build() {
|
||||
patch -p1 -d $name-$version -i $SRC/$name-resolv_assert.patch
|
||||
patch -p1 -d $name-$version -i $SRC/$name-segfault_in_strncasecmp.patch
|
||||
patch -p1 -d $name-$version -i $SRC/$name-strtod_integer_overflow.patch
|
||||
patch -p1 -d $name-$version -i $SRC/$name-$version-multilib-dirs.patch
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
38
glibc/glibc-2.16.0-multilib-dirs.patch
Normal file
38
glibc/glibc-2.16.0-multilib-dirs.patch
Normal file
@ -0,0 +1,38 @@
|
||||
diff -urN glibc-2.16.0.orig/sysdeps/gnu/configure glibc-2.16.0/sysdeps/gnu/configure
|
||||
--- glibc-2.16.0.orig/sysdeps/gnu/configure 2012-06-30 14:12:34.000000000 -0500
|
||||
+++ glibc-2.16.0/sysdeps/gnu/configure 2012-07-02 08:19:20.330001028 -0500
|
||||
@@ -14,9 +14,9 @@
|
||||
test -n "$libc_cv_slibdir" || \
|
||||
case $machine in
|
||||
sparc/sparc64 | x86_64* | powerpc/powerpc64 | s390/s390-64)
|
||||
- libc_cv_slibdir=/lib64
|
||||
+ libc_cv_slibdir=/lib
|
||||
if test "$libdir" = '${exec_prefix}/lib'; then
|
||||
- libdir='${exec_prefix}/lib64';
|
||||
+ libdir='${exec_prefix}/lib';
|
||||
# Locale data can be shared between 32bit and 64bit libraries
|
||||
libc_cv_localedir='${exec_prefix}/lib/locale'
|
||||
fi
|
||||
diff -urN glibc-2.16.0.orig/sysdeps/unix/sysv/linux/x86_64/ldconfig.h glibc-2.16.0/sysdeps/unix/sysv/linux/x86_64/ldconfig.h
|
||||
--- glibc-2.16.0.orig/sysdeps/unix/sysv/linux/x86_64/ldconfig.h 2012-06-30 14:12:34.000000000 -0500
|
||||
+++ glibc-2.16.0/sysdeps/unix/sysv/linux/x86_64/ldconfig.h 2012-07-02 08:19:45.560001124 -0500
|
||||
@@ -18,9 +18,9 @@
|
||||
#include <sysdeps/generic/ldconfig.h>
|
||||
|
||||
#define SYSDEP_KNOWN_INTERPRETER_NAMES \
|
||||
- { "/lib/ld-linux.so.2", FLAG_ELF_LIBC6 }, \
|
||||
+ { "/lib32/ld-linux.so.2", FLAG_ELF_LIBC6 }, \
|
||||
{ "/libx32/ld-linux-x32.so.2", FLAG_ELF_LIBC6 }, \
|
||||
- { "/lib64/ld-linux-x86-64.so.2", FLAG_ELF_LIBC6 },
|
||||
+ { "/lib/ld-linux-x86-64.so.2", FLAG_ELF_LIBC6 },
|
||||
#define SYSDEP_KNOWN_LIBRARY_NAMES \
|
||||
{ "libc.so.6", FLAG_ELF_LIBC6 }, \
|
||||
{ "libm.so.6", FLAG_ELF_LIBC6 },
|
||||
diff -urN glibc-2.16.0.orig/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed glibc-2.16.0/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
|
||||
--- glibc-2.16.0.orig/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed 2012-06-30 14:12:34.000000000 -0500
|
||||
+++ glibc-2.16.0/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed 2012-07-02 08:20:20.240001247 -0500
|
||||
@@ -1,3 +1,3 @@
|
||||
/LD_TRACE_LOADED_OBJECTS=1/a\
|
||||
add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"
|
||||
-s_^\(RTLDLIST=\)\(.*lib\)\(\|64\|x32\)\(/[^/]*\)\(-x86-64\|-x32\)\(\.so\.[0-9.]*\)[ ]*$_\1"\2\4\6 \264\4-x86-64\6 \2x32\4-x32\6"_
|
||||
+s_^\(RTLDLIST=\)\(.*lib\)\(\|64\|x32\)\(/[^/]*\)\(-x86-64\|-x32\)\(\.so\.[0-9.]*\)[ ]*$_\1"\232\4\6 \2\4-x86-64\6 \2x32\4-x32\6"_
|
@ -20,7 +20,7 @@ build() {
|
||||
ln -sf default8x16.psfu.gz $PKG/usr/share/kbd/consolefonts/default.gz
|
||||
|
||||
rm -r $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}
|
||||
rm $PKG/usr/bin/{loadunimap,mapscrn,resizecons,psf*table}
|
||||
rm $PKG/usr/bin/{loadunimap,mapscrn,psf*table}
|
||||
rm $PKG/usr/man/man8/{loadunimap,mapscrn,resizecons}.8
|
||||
rm $PKG/usr/man/man1/psf*table.1
|
||||
find $PKG/usr/share/kbd/ -type f -name "README*" -delete
|
||||
|
@ -1 +1 @@
|
||||
8aef50959acec2a1ad41d144ffe0f3b5 gmp-5.0.5.tar.xz
|
||||
041487d25e9c230b0c42b106361055fe gmp-5.0.5.tar.bz2
|
||||
|
@ -5,13 +5,13 @@
|
||||
name=libgmp
|
||||
version=5.0.5
|
||||
release=1
|
||||
source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.xz)
|
||||
source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd gmp-$version
|
||||
ABI=32 ./configure --prefix=/usr \
|
||||
./configure --prefix=/usr \
|
||||
--enable-cxx \
|
||||
--build=i686-pc-linux-gnu
|
||||
--build=x86_64-unknown-linux-gnu
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -r $PKG/usr/share
|
||||
|
@ -1 +1,3 @@
|
||||
b97b3a144ba812a5fbeb3873681dd8cb pkgmk
|
||||
c4a784f0ad31687594de8719921c3b04 pkgmk.conf
|
||||
9a81b50397835bed82d3821c54ba7580 pkgutils-5.35.2.tar.gz
|
||||
|
@ -6,9 +6,12 @@
|
||||
name=pkgutils
|
||||
version=5.35.2
|
||||
release=1
|
||||
source=(http://crux.nu/files/$name-$version.tar.gz)
|
||||
source=(http://crux.nu/files/$name-$version.tar.gz \
|
||||
pkgmk pkgmk.conf)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
make DESTDIR=$PKG install
|
||||
install -m 0755 -D $SRC/pkgmk $PKG/usr/bin/pkgmk
|
||||
install -m 0644 -D $SRC/pkgmk.conf $PKG/etc/pkgmk.conf
|
||||
}
|
||||
|
748
pkgutils/pkgmk
Executable file
748
pkgutils/pkgmk
Executable file
@ -0,0 +1,748 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# pkgutils
|
||||
#
|
||||
# Copyright (c) 2000-2005 Per Liden
|
||||
# Copyright (c) 2006-2010 by CRUX team (http://crux.nu)
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program 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 General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||
# USA.
|
||||
#
|
||||
|
||||
##
|
||||
# error codes
|
||||
E_GENERAL=1
|
||||
E_PKGFILE=2 # invalid Pkgfile
|
||||
E_DIR_PERM=3 # (source/build) directory missing or missing read/write permission
|
||||
E_DOWNLOAD=4 # error during download
|
||||
E_UNPACK=5 # error during unpacking of source file(s)
|
||||
E_MD5=6 # md5sum verification failed
|
||||
E_FOOTPRINT=7 # footprint check failure
|
||||
E_BUILD=8 # error while running 'build()'
|
||||
E_INSTALL=9 # error while installing the package via 'pkgadd'
|
||||
|
||||
info() {
|
||||
echo "=======> $1"
|
||||
}
|
||||
|
||||
warning() {
|
||||
info "WARNING: $1" >&2
|
||||
}
|
||||
|
||||
error() {
|
||||
info "ERROR: $1" >&2
|
||||
}
|
||||
|
||||
get_filename() {
|
||||
if [[ $1 =~ ^(http|https|ftp|file)://.*/(.+) ]]; then
|
||||
echo "$PKGMK_SOURCE_DIR/${BASH_REMATCH[2]}"
|
||||
else
|
||||
echo $1
|
||||
fi
|
||||
}
|
||||
|
||||
get_basename() {
|
||||
local FILE="`echo $1 | sed 's|^.*://.*/||g'`"
|
||||
echo $FILE
|
||||
}
|
||||
|
||||
check_pkgfile() {
|
||||
if [ ! "$name" ]; then
|
||||
error "Variable 'name' not specified in $PKGMK_PKGFILE."
|
||||
exit $E_PKGFILE
|
||||
elif [ ! "$version" ]; then
|
||||
error "Variable 'version' not specified in $PKGMK_PKGFILE."
|
||||
exit $E_PKGFILE
|
||||
elif [ ! "$release" ]; then
|
||||
error "Variable 'release' not specified in $PKGMK_PKGFILE."
|
||||
exit $E_PKGFILE
|
||||
elif [ "`type -t build`" != "function" ]; then
|
||||
error "Function 'build' not specified in $PKGMK_PKGFILE."
|
||||
exit $E_PKGFILE
|
||||
fi
|
||||
}
|
||||
|
||||
check_directory() {
|
||||
if [ ! -d $1 ]; then
|
||||
error "Directory '$1' does not exist."
|
||||
exit $E_DIR_PERM
|
||||
elif [ ! -w $1 ]; then
|
||||
error "Directory '$1' not writable."
|
||||
exit $E_DIR_PERM
|
||||
elif [ ! -x $1 ] || [ ! -r $1 ]; then
|
||||
error "Directory '$1' not readable."
|
||||
exit $E_DIR_PERM
|
||||
fi
|
||||
}
|
||||
|
||||
check_file() {
|
||||
if [ -e $1 ] && [ ! -w $1 ]; then
|
||||
error "File '$1' is not writable."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
download_file() {
|
||||
info "Downloading '$1'."
|
||||
|
||||
if [ ! "`type -p wget`" ]; then
|
||||
error "Command 'wget' not found."
|
||||
exit $E_GENERAL
|
||||
fi
|
||||
|
||||
LOCAL_FILENAME=`get_filename $1`
|
||||
LOCAL_FILENAME_PARTIAL="$LOCAL_FILENAME.partial"
|
||||
DOWNLOAD_OPTS="--passive-ftp --no-directories --tries=3 --waitretry=3 \
|
||||
--directory-prefix=$PKGMK_SOURCE_DIR \
|
||||
--output-document=$LOCAL_FILENAME_PARTIAL --no-check-certificate"
|
||||
|
||||
if [ -f "$LOCAL_FILENAME_PARTIAL" ]; then
|
||||
info "Partial download found, trying to resume"
|
||||
RESUME_CMD="-c"
|
||||
fi
|
||||
|
||||
error=1
|
||||
|
||||
BASENAME=`get_basename $1`
|
||||
for REPO in ${PKGMK_SOURCE_MIRRORS[@]}; do
|
||||
REPO="`echo $REPO | sed 's|/$||'`"
|
||||
wget $RESUME_CMD $DOWNLOAD_OPTS $PKGMK_WGET_OPTS $REPO/$BASENAME
|
||||
error=$?
|
||||
if [ $error == 0 ]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $error != 0 ]; then
|
||||
while true; do
|
||||
wget $RESUME_CMD $DOWNLOAD_OPTS $PKGMK_WGET_OPTS $1
|
||||
error=$?
|
||||
if [ $error != 0 ] && [ "$RESUME_CMD" ]; then
|
||||
info "Partial download failed, restarting"
|
||||
rm -f "$LOCAL_FILENAME_PARTIAL"
|
||||
RESUME_CMD=""
|
||||
else
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if [ $error != 0 ]; then
|
||||
error "Downloading '$1' failed."
|
||||
exit $E_DOWNLOAD
|
||||
fi
|
||||
|
||||
mv -f "$LOCAL_FILENAME_PARTIAL" "$LOCAL_FILENAME"
|
||||
}
|
||||
|
||||
download_source() {
|
||||
local FILE LOCAL_FILENAME
|
||||
|
||||
for FILE in ${source[@]}; do
|
||||
LOCAL_FILENAME=`get_filename $FILE`
|
||||
if [ ! -e $LOCAL_FILENAME ]; then
|
||||
if [ "$LOCAL_FILENAME" = "$FILE" ]; then
|
||||
error "Source file '$LOCAL_FILENAME' not found (can not be downloaded, URL not specified)."
|
||||
exit $E_DOWNLOAD
|
||||
else
|
||||
if [ "$PKGMK_DOWNLOAD" = "yes" ]; then
|
||||
download_file $FILE
|
||||
else
|
||||
error "Source file '$LOCAL_FILENAME' not found (use option -d to download)."
|
||||
exit $E_DOWNLOAD
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
unpack_source() {
|
||||
local FILE LOCAL_FILENAME COMMAND
|
||||
|
||||
for FILE in ${source[@]}; do
|
||||
LOCAL_FILENAME=`get_filename $FILE`
|
||||
case $LOCAL_FILENAME in
|
||||
*.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tbz2|*.tar.xz|*.txz|*.tar.lzma|*.zip|*.rpm)
|
||||
COMMAND="bsdtar -p -o -C $SRC -xf $LOCAL_FILENAME" ;;
|
||||
*)
|
||||
COMMAND="cp $LOCAL_FILENAME $SRC" ;;
|
||||
esac
|
||||
|
||||
echo "$COMMAND"
|
||||
|
||||
$COMMAND
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
if [ "$PKGMK_KEEP_WORK" = "no" ]; then
|
||||
rm -rf $PKGMK_WORK_DIR
|
||||
fi
|
||||
error "Building '$TARGET' failed."
|
||||
exit $E_UNPACK
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
make_md5sum() {
|
||||
local FILE LOCAL_FILENAMES
|
||||
|
||||
if [ "$source" ]; then
|
||||
for FILE in ${source[@]}; do
|
||||
LOCAL_FILENAMES="$LOCAL_FILENAMES `get_filename $FILE`"
|
||||
done
|
||||
|
||||
md5sum $LOCAL_FILENAMES | sed -e 's| .*/| |' | sort -k 2
|
||||
fi
|
||||
}
|
||||
|
||||
make_footprint() {
|
||||
pkginfo --footprint $TARGET | \
|
||||
sed "s|\tlib/modules/`uname -r`/|\tlib/modules/<kernel-version>/|g" | \
|
||||
sort -k 3
|
||||
}
|
||||
|
||||
check_md5sum() {
|
||||
local FILE="$PKGMK_WORK_DIR/.tmp"
|
||||
|
||||
cd $PKGMK_ROOT
|
||||
|
||||
if [ -f $PKGMK_MD5SUM ]; then
|
||||
make_md5sum > $FILE.md5sum
|
||||
sort -k 2 $PKGMK_MD5SUM > $FILE.md5sum.orig
|
||||
diff -w -t -U 0 $FILE.md5sum.orig $FILE.md5sum | \
|
||||
sed '/^@@/d' | \
|
||||
sed '/^+++/d' | \
|
||||
sed '/^---/d' | \
|
||||
sed 's/^+/NEW /g' | \
|
||||
sed 's/^-/MISSING /g' > $FILE.md5sum.diff
|
||||
if [ -s $FILE.md5sum.diff ]; then
|
||||
error "Md5sum mismatch found:"
|
||||
cat $FILE.md5sum.diff >&2
|
||||
|
||||
if [ "$PKGMK_KEEP_WORK" = "no" ]; then
|
||||
rm -rf $PKGMK_WORK_DIR
|
||||
fi
|
||||
|
||||
if [ "$PKGMK_CHECK_MD5SUM" = "yes" ]; then
|
||||
error "Md5sum not ok."
|
||||
exit $E_MD5
|
||||
fi
|
||||
|
||||
error "Building '$TARGET' failed."
|
||||
exit $E_MD5
|
||||
fi
|
||||
else
|
||||
if [ "$PKGMK_CHECK_MD5SUM" = "yes" ]; then
|
||||
if [ "$PKGMK_KEEP_WORK" = "no" ]; then
|
||||
rm -rf $PKGMK_WORK_DIR
|
||||
fi
|
||||
info "Md5sum not found."
|
||||
exit $E_MD5
|
||||
fi
|
||||
|
||||
warning "Md5sum not found, creating new."
|
||||
make_md5sum > $PKGMK_MD5SUM
|
||||
fi
|
||||
|
||||
if [ "$PKGMK_CHECK_MD5SUM" = "yes" ]; then
|
||||
if [ "$PKGMK_KEEP_WORK" = "no" ]; then
|
||||
rm -rf $PKGMK_WORK_DIR
|
||||
fi
|
||||
info "Md5sum ok."
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
strip_files() {
|
||||
local FILE FILTER
|
||||
|
||||
cd $PKG
|
||||
|
||||
if [ -f $PKGMK_ROOT/$PKGMK_NOSTRIP ]; then
|
||||
FILTER="grep -v -f $PKGMK_ROOT/$PKGMK_NOSTRIP"
|
||||
else
|
||||
FILTER="cat"
|
||||
fi
|
||||
|
||||
find . -type f -printf "%P\n" | $FILTER | while read FILE; do
|
||||
case $(file -b "$FILE") in
|
||||
*ELF*executable*not\ stripped)
|
||||
strip --strip-all "$FILE"
|
||||
;;
|
||||
*ELF*shared\ object*not\ stripped)
|
||||
strip --strip-unneeded "$FILE"
|
||||
;;
|
||||
current\ ar\ archive)
|
||||
strip --strip-debug "$FILE"
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
compress_manpages() {
|
||||
local FILE DIR TARGET
|
||||
|
||||
cd $PKG
|
||||
|
||||
find . -type f -path "*/man/man*/*" | while read FILE; do
|
||||
if [ "$FILE" = "${FILE%%.gz}" ]; then
|
||||
gzip -9 "$FILE"
|
||||
fi
|
||||
done
|
||||
|
||||
find . -type l -path "*/man/man*/*" | while read FILE; do
|
||||
TARGET=`readlink -n "$FILE"`
|
||||
TARGET="${TARGET##*/}"
|
||||
TARGET="${TARGET%%.gz}.gz"
|
||||
rm -f "$FILE"
|
||||
FILE="${FILE%%.gz}.gz"
|
||||
DIR=`dirname "$FILE"`
|
||||
|
||||
if [ -e "$DIR/$TARGET" ]; then
|
||||
ln -sf "$TARGET" "$FILE"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
check_footprint() {
|
||||
local FILE="$PKGMK_WORK_DIR/.tmp"
|
||||
|
||||
cd $PKGMK_ROOT
|
||||
|
||||
if [ -f $TARGET ]; then
|
||||
make_footprint > $FILE.footprint
|
||||
if [ -f $PKGMK_FOOTPRINT ]; then
|
||||
sort -k 3 $PKGMK_FOOTPRINT > $FILE.footprint.orig
|
||||
diff -w -t -U 0 $FILE.footprint.orig $FILE.footprint | \
|
||||
sed '/^@@/d' | \
|
||||
sed '/^+++/d' | \
|
||||
sed '/^---/d' | \
|
||||
sed 's/^+/NEW /g' | \
|
||||
sed 's/^-/MISSING /g' > $FILE.footprint.diff
|
||||
if [ -s $FILE.footprint.diff ]; then
|
||||
if [ "$PKGMK_IGNORE_NEW" = "yes" ] && \
|
||||
[ -z "$(egrep -l ^MISSING $FILE.footprint.diff)" ] ; then
|
||||
info "New files found:"
|
||||
else
|
||||
error "Footprint mismatch found:"
|
||||
BUILD_SUCCESSFUL="no"
|
||||
fi
|
||||
cat $FILE.footprint.diff >&2
|
||||
fi
|
||||
else
|
||||
warning "Footprint not found, creating new."
|
||||
mv $FILE.footprint $PKGMK_FOOTPRINT
|
||||
fi
|
||||
else
|
||||
error "Package '$TARGET' was not found."
|
||||
BUILD_SUCCESSFUL="no"
|
||||
fi
|
||||
}
|
||||
|
||||
make_work_dir() {
|
||||
export PKG="$PKGMK_WORK_DIR/pkg"
|
||||
export SRC="$PKGMK_WORK_DIR/src"
|
||||
umask 022
|
||||
|
||||
cd $PKGMK_ROOT
|
||||
remove_work_dir
|
||||
mkdir -p $SRC $PKG
|
||||
|
||||
if [ "$PKGMK_IGNORE_MD5SUM" = "no" ]; then
|
||||
check_md5sum
|
||||
fi
|
||||
}
|
||||
|
||||
remove_work_dir() {
|
||||
rm -rf $PKGMK_WORK_DIR
|
||||
}
|
||||
|
||||
|
||||
build_package() {
|
||||
local BUILD_SUCCESSFUL="no"
|
||||
local COMPRESSION
|
||||
|
||||
check_file "$TARGET"
|
||||
make_work_dir
|
||||
|
||||
if [ "$UID" != "0" ]; then
|
||||
warning "Packages should be built as root."
|
||||
fi
|
||||
|
||||
info "Building '$TARGET'."
|
||||
|
||||
unpack_source
|
||||
|
||||
cd $SRC
|
||||
(set -e -x ; build)
|
||||
|
||||
if [ $? = 0 ]; then
|
||||
if [ "$PKGMK_NO_STRIP" = "no" ]; then
|
||||
strip_files
|
||||
fi
|
||||
|
||||
compress_manpages
|
||||
|
||||
cd $PKG
|
||||
info "Build result:"
|
||||
|
||||
case $PKGMK_COMPRESSION_MODE in
|
||||
gz) COMPRESSION="-z" ;;
|
||||
bz2) COMPRESSION="-j" ;;
|
||||
xz) COMPRESSION="-J" ;;
|
||||
esac
|
||||
bsdtar -c $COMPRESSION -f $TARGET * && bsdtar -t -v -f $TARGET
|
||||
|
||||
if [ $? = 0 ]; then
|
||||
BUILD_SUCCESSFUL="yes"
|
||||
|
||||
if [ "$PKGMK_IGNORE_FOOTPRINT" = "yes" ]; then
|
||||
warning "Footprint ignored."
|
||||
else
|
||||
check_footprint
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$PKGMK_KEEP_WORK" = "no" ]; then
|
||||
remove_work_dir
|
||||
fi
|
||||
|
||||
if [ "$BUILD_SUCCESSFUL" = "yes" ]; then
|
||||
info "Building '$TARGET' succeeded."
|
||||
else
|
||||
if [ -f $TARGET ]; then
|
||||
touch -r $PKGMK_ROOT/$PKGMK_PKGFILE $TARGET &> /dev/null
|
||||
fi
|
||||
error "Building '$TARGET' failed."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
install_package() {
|
||||
local COMMAND
|
||||
|
||||
info "Installing '$TARGET'."
|
||||
|
||||
if [ "$PKGMK_INSTALL" = "install" ]; then
|
||||
COMMAND="pkgadd $TARGET"
|
||||
else
|
||||
COMMAND="pkgadd -u $TARGET"
|
||||
fi
|
||||
|
||||
cd $PKGMK_ROOT
|
||||
echo "$COMMAND"
|
||||
$COMMAND
|
||||
|
||||
if [ $? = 0 ]; then
|
||||
info "Installing '$TARGET' succeeded."
|
||||
else
|
||||
error "Installing '$TARGET' failed."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
recursive() {
|
||||
local ARGS FILE DIR
|
||||
|
||||
ARGS=`echo "$@" | sed -e "s/--recursive//g" -e "s/-r//g"`
|
||||
|
||||
for FILE in `find $PKGMK_ROOT -name $PKGMK_PKGFILE | sort`; do
|
||||
DIR="`dirname $FILE`/"
|
||||
if [ -d $DIR ]; then
|
||||
info "Entering directory '$DIR'."
|
||||
(cd $DIR && $PKGMK_COMMAND $ARGS)
|
||||
info "Leaving directory '$DIR'."
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
clean() {
|
||||
local FILE LOCAL_FILENAME
|
||||
|
||||
if [ -f $TARGET ]; then
|
||||
info "Removing $TARGET"
|
||||
rm -f $TARGET
|
||||
fi
|
||||
|
||||
for FILE in ${source[@]}; do
|
||||
LOCAL_FILENAME=`get_filename $FILE`
|
||||
if [ -e $LOCAL_FILENAME ] && [ "$LOCAL_FILENAME" != "$FILE" ]; then
|
||||
info "Removing $LOCAL_FILENAME"
|
||||
rm -f $LOCAL_FILENAME
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
update_footprint() {
|
||||
if [ ! -f $TARGET ]; then
|
||||
error "Unable to update footprint. File '$TARGET' not found."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
check_file "$PKGMK_FOOTPRINT"
|
||||
make_footprint > $PKGMK_FOOTPRINT
|
||||
touch $TARGET
|
||||
|
||||
info "Footprint updated."
|
||||
}
|
||||
|
||||
build_needed() {
|
||||
local FILE RESULT
|
||||
|
||||
RESULT="yes"
|
||||
if [ -f $TARGET ]; then
|
||||
RESULT="no"
|
||||
for FILE in $PKGMK_PKGFILE ${source[@]}; do
|
||||
FILE=`get_filename $FILE`
|
||||
if [ ! -e $FILE ] || [ ! $TARGET -nt $FILE ]; then
|
||||
RESULT="yes"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
echo $RESULT
|
||||
}
|
||||
|
||||
interrupted() {
|
||||
echo ""
|
||||
error "Interrupted."
|
||||
|
||||
if [ "$PKGMK_KEEP_WORK" = "no" ]; then
|
||||
rm -rf $PKGMK_WORK_DIR
|
||||
fi
|
||||
|
||||
exit 1
|
||||
}
|
||||
|
||||
print_help() {
|
||||
echo "usage: `basename $PKGMK_COMMAND` [options]"
|
||||
echo "options:"
|
||||
echo " -i, --install build and install package"
|
||||
echo " -u, --upgrade build and install package (as upgrade)"
|
||||
echo " -r, --recursive search for and build packages recursively"
|
||||
echo " -d, --download download missing source file(s)"
|
||||
echo " -do, --download-only do not build, only download missing source file(s)"
|
||||
echo " -eo, --extract-only do not build, only extract source file(s)"
|
||||
echo " -utd, --up-to-date do not build, only check if package is up to date"
|
||||
echo " -uf, --update-footprint update footprint using result from last build"
|
||||
echo " -if, --ignore-footprint build package without checking footprint"
|
||||
echo " -in, --ignore-new build package, ignore new files in a footprint missmatch"
|
||||
echo " -um, --update-md5sum update md5sum"
|
||||
echo " -im, --ignore-md5sum build package without checking md5sum"
|
||||
echo " -cm, --check-md5sum do not build, only check md5sum"
|
||||
echo " -ns, --no-strip do not strip executable binaries or libraries"
|
||||
echo " -f, --force build package even if it appears to be up to date"
|
||||
echo " -c, --clean remove package and downloaded files"
|
||||
echo " -kw, --keep-work keep temporary working directory"
|
||||
echo " -cf, --config-file <file> use alternative configuration file"
|
||||
echo " -v, --version print version and exit "
|
||||
echo " -h, --help print help and exit"
|
||||
}
|
||||
|
||||
parse_options() {
|
||||
while [ "$1" ]; do
|
||||
case $1 in
|
||||
-i|--install)
|
||||
PKGMK_INSTALL="install" ;;
|
||||
-u|--upgrade)
|
||||
PKGMK_INSTALL="upgrade" ;;
|
||||
-r|--recursive)
|
||||
PKGMK_RECURSIVE="yes" ;;
|
||||
-d|--download)
|
||||
PKGMK_DOWNLOAD="yes" ;;
|
||||
-do|--download-only)
|
||||
PKGMK_DOWNLOAD="yes"
|
||||
PKGMK_DOWNLOAD_ONLY="yes" ;;
|
||||
-eo|--extract-only)
|
||||
PKGMK_EXTRACT_ONLY="yes" ;;
|
||||
-utd|--up-to-date)
|
||||
PKGMK_UP_TO_DATE="yes" ;;
|
||||
-uf|--update-footprint)
|
||||
PKGMK_UPDATE_FOOTPRINT="yes" ;;
|
||||
-if|--ignore-footprint)
|
||||
PKGMK_IGNORE_FOOTPRINT="yes" ;;
|
||||
-in|--ignore-new)
|
||||
PKGMK_IGNORE_NEW="yes" ;;
|
||||
-um|--update-md5sum)
|
||||
PKGMK_UPDATE_MD5SUM="yes" ;;
|
||||
-im|--ignore-md5sum)
|
||||
PKGMK_IGNORE_MD5SUM="yes" ;;
|
||||
-cm|--check-md5sum)
|
||||
PKGMK_CHECK_MD5SUM="yes" ;;
|
||||
-ns|--no-strip)
|
||||
PKGMK_NO_STRIP="yes" ;;
|
||||
-f|--force)
|
||||
PKGMK_FORCE="yes" ;;
|
||||
-c|--clean)
|
||||
PKGMK_CLEAN="yes" ;;
|
||||
-kw|--keep-work)
|
||||
PKGMK_KEEP_WORK="yes" ;;
|
||||
-cf|--config-file)
|
||||
if [ ! "$2" ]; then
|
||||
echo "`basename $PKGMK_COMMAND`: option $1 requires an argument"
|
||||
exit 1
|
||||
fi
|
||||
PKGMK_CONFFILE="$2"
|
||||
shift ;;
|
||||
-v|--version)
|
||||
echo "`basename $PKGMK_COMMAND` (pkgutils) $PKGMK_VERSION"
|
||||
exit 0 ;;
|
||||
-h|--help)
|
||||
print_help
|
||||
exit 0 ;;
|
||||
*)
|
||||
echo "`basename $PKGMK_COMMAND`: invalid option $1"
|
||||
exit 1 ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
}
|
||||
|
||||
main() {
|
||||
# multilib
|
||||
PKGMK_ARCH=64
|
||||
if [ -f ".32bit" ]
|
||||
then
|
||||
PKGMK_ARCH=32
|
||||
fi
|
||||
|
||||
local FILE TARGET
|
||||
|
||||
parse_options "$@"
|
||||
|
||||
if [ "$PKGMK_RECURSIVE" = "yes" ]; then
|
||||
recursive "$@"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for FILE in $PKGMK_PKGFILE $PKGMK_CONFFILE; do
|
||||
if [ ! -f $FILE ]; then
|
||||
error "File '$FILE' not found."
|
||||
exit 1
|
||||
fi
|
||||
. $FILE
|
||||
done
|
||||
|
||||
check_directory "$PKGMK_SOURCE_DIR"
|
||||
check_directory "$PKGMK_PACKAGE_DIR"
|
||||
check_directory "`dirname $PKGMK_WORK_DIR`"
|
||||
|
||||
check_pkgfile
|
||||
|
||||
case $PKGMK_COMPRESSION_MODE in
|
||||
gz|bz2|xz)
|
||||
TARGET="$PKGMK_PACKAGE_DIR/$name#$version-$release.pkg.tar.$PKGMK_COMPRESSION_MODE"
|
||||
;;
|
||||
*)
|
||||
error "Compression mode '$PKGMK_COMPRESSION_MODE' not supported"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$PKGMK_CLEAN" = "yes" ]; then
|
||||
clean
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$PKGMK_UPDATE_FOOTPRINT" = "yes" ]; then
|
||||
update_footprint
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$PKGMK_UPDATE_MD5SUM" = "yes" ]; then
|
||||
download_source
|
||||
check_file "$PKGMK_MD5SUM"
|
||||
make_md5sum > $PKGMK_MD5SUM
|
||||
info "Md5sum updated."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$PKGMK_DOWNLOAD_ONLY" = "yes" ]; then
|
||||
download_source
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$PKGMK_EXTRACT_ONLY" = "yes" ]; then
|
||||
download_source
|
||||
make_work_dir
|
||||
info "Extracting sources of package '$name-$version'."
|
||||
unpack_source
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$PKGMK_UP_TO_DATE" = "yes" ]; then
|
||||
if [ "`build_needed`" = "yes" ]; then
|
||||
info "Package '$TARGET' is not up to date."
|
||||
else
|
||||
info "Package '$TARGET' is up to date."
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "`build_needed`" = "no" ] && [ "$PKGMK_FORCE" = "no" ] && [ "$PKGMK_CHECK_MD5SUM" = "no" ]; then
|
||||
info "Package '$TARGET' is up to date."
|
||||
else
|
||||
download_source
|
||||
build_package
|
||||
fi
|
||||
|
||||
if [ "$PKGMK_INSTALL" != "no" ]; then
|
||||
install_package
|
||||
fi
|
||||
|
||||
exit 0
|
||||
}
|
||||
|
||||
trap "interrupted" SIGHUP SIGINT SIGQUIT SIGTERM
|
||||
|
||||
export LC_ALL=POSIX
|
||||
|
||||
readonly PKGMK_VERSION="5.35.2"
|
||||
readonly PKGMK_COMMAND="$0"
|
||||
readonly PKGMK_ROOT="$PWD"
|
||||
|
||||
PKGMK_CONFFILE="/etc/pkgmk.conf"
|
||||
PKGMK_PKGFILE="Pkgfile"
|
||||
PKGMK_FOOTPRINT=".footprint"
|
||||
PKGMK_MD5SUM=".md5sum"
|
||||
PKGMK_NOSTRIP=".nostrip"
|
||||
|
||||
PKGMK_SOURCE_MIRRORS=()
|
||||
PKGMK_SOURCE_DIR="$PWD"
|
||||
PKGMK_PACKAGE_DIR="$PWD"
|
||||
PKGMK_WORK_DIR="$PWD/work"
|
||||
|
||||
PKGMK_COMPRESSION_MODE="gz"
|
||||
|
||||
PKGMK_INSTALL="no"
|
||||
PKGMK_RECURSIVE="no"
|
||||
PKGMK_DOWNLOAD="no"
|
||||
PKGMK_DOWNLOAD_ONLY="no"
|
||||
PKGMK_EXTRACT_ONLY="no"
|
||||
PKGMK_UP_TO_DATE="no"
|
||||
PKGMK_UPDATE_FOOTPRINT="no"
|
||||
PKGMK_IGNORE_FOOTPRINT="no"
|
||||
PKGMK_IGNORE_NEW="no"
|
||||
PKGMK_FORCE="no"
|
||||
PKGMK_KEEP_WORK="no"
|
||||
PKGMK_UPDATE_MD5SUM="no"
|
||||
PKGMK_IGNORE_MD5SUM="no"
|
||||
PKGMK_CHECK_MD5SUM="no"
|
||||
PKGMK_NO_STRIP="no"
|
||||
PKGMK_CLEAN="no"
|
||||
|
||||
main "$@"
|
||||
|
||||
# End of file
|
36
pkgutils/pkgmk.conf
Normal file
36
pkgutils/pkgmk.conf
Normal file
@ -0,0 +1,36 @@
|
||||
#
|
||||
# /etc/pkgmk.conf: pkgmk(8) configuration
|
||||
#
|
||||
|
||||
export CFLAGS="-O2 -march=x86-64 -pipe"
|
||||
export CXXFLAGS="${CFLAGS}"
|
||||
|
||||
#export MAKEFLAGS="-j4"
|
||||
|
||||
case ${PKGMK_ARCH} in
|
||||
"64")
|
||||
;;
|
||||
"32")
|
||||
export CFLAGS="${CFLAGS} -m32"
|
||||
export CXXFLAGS="${CXXFLAGS} -m32"
|
||||
export LDFLAGS="${LDFLAGS} -m32"
|
||||
export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
|
||||
;;
|
||||
*)
|
||||
echo "Unknown architecture selected! Exiting."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# PKGMK_SOURCE_MIRRORS=()
|
||||
# PKGMK_SOURCE_DIR="/usr/ports/sources"
|
||||
# PKGMK_PACKAGE_DIR="/usr/ports/packages"
|
||||
# PKGMK_WORK_DIR="/usr/ports/work/$name"
|
||||
# PKGMK_DOWNLOAD="no"
|
||||
# PKGMK_IGNORE_FOOTPRINT="no"
|
||||
# PKGMK_IGNORE_NEW="no"
|
||||
# PKGMK_NO_STRIP="no"
|
||||
# PKGMK_WGET_OPTS=""
|
||||
# PKGMK_COMPRESSION_MODE="xz"
|
||||
|
||||
# End of file
|
@ -1,9 +1,15 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/ports/
|
||||
-rw-r--r-- root/root etc/ports/contrib-x86_64.rsync.inactive
|
||||
-rw-r--r-- root/root etc/ports/contrib.rsync.inactive
|
||||
-rw-r--r-- root/root etc/ports/core-x86_64-multilib.rsync
|
||||
-rw-r--r-- root/root etc/ports/core-x86_64.rsync
|
||||
-rw-r--r-- root/root etc/ports/core.rsync
|
||||
drwxr-xr-x root/root etc/ports/drivers/
|
||||
-rw-r--r-- root/root etc/ports/opt-x86_64-multilib.rsync
|
||||
-rw-r--r-- root/root etc/ports/opt-x86_64.rsync
|
||||
-rw-r--r-- root/root etc/ports/opt.rsync
|
||||
-rw-r--r-- root/root etc/ports/xorg-x86_64-multilib.rsync
|
||||
-rw-r--r-- root/root etc/ports/xorg.rsync
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
|
@ -1,5 +1,11 @@
|
||||
98db8d4c9865cb6a844762d74531a4e9 contrib-x86_64.rsync.inactive
|
||||
49132c847c2d14ed0dbb61c6f53b0e1a contrib.rsync.inactive
|
||||
3222c4c3b1d82a62fb438de2a08c0309 core-x86_64-multilib.rsync
|
||||
c93fb29daf64e403722f39c599dbc4e1 core-x86_64.rsync
|
||||
8cb8a1539dd74bb566c166877ac16856 core.rsync
|
||||
03681c2fd24e73406f14ce78b4db805c opt-x86_64-multilib.rsync
|
||||
bdd14eea5dd3d10ddddeb0a31c6ef9fe opt-x86_64.rsync
|
||||
541d0991ecf5f96ae52d1e13f481e123 opt.rsync
|
||||
1f178e2bb1beab9782993931c9832280 ports-1.5.tar.gz
|
||||
770e23e3a183c7c111a3541d799b61ff xorg-x86_64-multilib.rsync
|
||||
efeb3ce474a4a0c67ecb62c0eaaf4e34 xorg.rsync
|
||||
|
@ -4,17 +4,27 @@
|
||||
|
||||
name=ports
|
||||
version=1.5
|
||||
release=11
|
||||
release=13
|
||||
|
||||
source=(http://crux.nu/files/tools/ports/$name-$version.tar.gz \
|
||||
core.rsync opt.rsync xorg.rsync contrib.rsync.inactive)
|
||||
core.rsync opt.rsync xorg.rsync contrib.rsync.inactive \
|
||||
core-x86_64.rsync opt-x86_64.rsync contrib-x86_64.rsync.inactive \
|
||||
core-x86_64-multilib.rsync opt-x86_64-multilib.rsync \
|
||||
xorg-x86_64-multilib.rsync)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -m 0644 $SRC/core.rsync $PKG/etc/ports/core.rsync
|
||||
install -m 0644 $SRC/opt.rsync $PKG/etc/ports/opt.rsync
|
||||
install -m 0644 $SRC/xorg.rsync $PKG/etc/ports/xorg.rsync
|
||||
install -m 0644 $SRC/contrib.rsync.inactive $PKG/etc/ports/contrib.rsync.inactive
|
||||
install -m 0644 $SRC/core.rsync $PKG/etc/ports
|
||||
install -m 0644 $SRC/opt.rsync $PKG/etc/ports
|
||||
install -m 0644 $SRC/xorg.rsync $PKG/etc/ports
|
||||
install -m 0644 $SRC/core-x86_64.rsync $PKG/etc/ports
|
||||
install -m 0644 $SRC/opt-x86_64.rsync $PKG/etc/ports
|
||||
install -m 0644 $SRC/contrib.rsync.inactive $PKG/etc/ports
|
||||
install -m 0644 $SRC/contrib-x86_64.rsync.inactive $PKG/etc/ports
|
||||
install -m 0644 $SRC/core-x86_64-multilib.rsync $PKG/etc/ports
|
||||
install -m 0644 $SRC/opt-x86_64-multilib.rsync $PKG/etc/ports
|
||||
install -m 0644 $SRC/xorg-x86_64-multilib.rsync $PKG/etc/ports
|
||||
}
|
||||
|
3
ports/contrib-x86_64.rsync.inactive
Normal file
3
ports/contrib-x86_64.rsync.inactive
Normal file
@ -0,0 +1,3 @@
|
||||
host=crux.nu
|
||||
collection=ports/crux-2.8/contrib-x86_64/
|
||||
destination=/usr/ports/contrib-x86_64
|
3
ports/core-x86_64-multilib.rsync
Normal file
3
ports/core-x86_64-multilib.rsync
Normal file
@ -0,0 +1,3 @@
|
||||
host=morpheus.net
|
||||
collection=crux-multilib-ports/core-multilib/2.8/
|
||||
destination=/usr/ports/core-multilib
|
3
ports/core-x86_64.rsync
Normal file
3
ports/core-x86_64.rsync
Normal file
@ -0,0 +1,3 @@
|
||||
host=crux.nu
|
||||
collection=ports/crux-2.8/core-x86_64/
|
||||
destination=/usr/ports/core-x86_64
|
3
ports/opt-x86_64-multilib.rsync
Normal file
3
ports/opt-x86_64-multilib.rsync
Normal file
@ -0,0 +1,3 @@
|
||||
host=morpheus.net
|
||||
collection=crux-multilib-ports/opt-multilib/2.8/
|
||||
destination=/usr/ports/opt-multilib
|
3
ports/opt-x86_64.rsync
Normal file
3
ports/opt-x86_64.rsync
Normal file
@ -0,0 +1,3 @@
|
||||
host=crux.nu
|
||||
collection=ports/crux-2.8/opt-x86_64/
|
||||
destination=/usr/ports/opt-x86_64
|
3
ports/xorg-x86_64-multilib.rsync
Normal file
3
ports/xorg-x86_64-multilib.rsync
Normal file
@ -0,0 +1,3 @@
|
||||
host=morpheus.net
|
||||
collection=crux-multilib-ports/xorg-multilib/2.8/
|
||||
destination=/usr/ports/xorg-multilib
|
@ -1,3 +1,3 @@
|
||||
a37751f1627a4e0125c8ffadfa85be80 prt-get-5.19.tar.gz
|
||||
4f6b710e4d2b18c70cfe5e4a593938b7 prt-get.aliases
|
||||
d3aa7a53c12af8ef2bca5c85e0e4f928 prt-get.conf
|
||||
d8dd7ffb6b58bba04ead4487c9e1008e prt-get.conf
|
||||
|
@ -6,7 +6,7 @@ name=prt-get
|
||||
version=5.19
|
||||
release=1
|
||||
source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
|
||||
prt-get.conf prt-get.aliases)
|
||||
prt-get.conf prt-get.aliases)
|
||||
|
||||
build() {
|
||||
cd ${name}-${version}
|
||||
|
@ -3,11 +3,14 @@
|
||||
###
|
||||
|
||||
# note: the order matters: the package found first is used
|
||||
prtdir /usr/ports/core-x86_64
|
||||
prtdir /usr/ports/opt-x86_64
|
||||
prtdir /usr/ports/core
|
||||
prtdir /usr/ports/opt
|
||||
prtdir /usr/ports/xorg
|
||||
|
||||
# the following line enables the user maintained contrib collection
|
||||
#prtdir /usr/ports/contrib-x86_64
|
||||
#prtdir /usr/ports/contrib
|
||||
|
||||
### use mypackage form local directory
|
||||
|
@ -89,6 +89,7 @@ lrwxrwxrwx root/root usr/bin/linux64 -> setarch
|
||||
-rwxr-xr-x root/root usr/bin/uuidgen
|
||||
-rwxr-xr-x root/root usr/bin/whereis
|
||||
-rwxr-sr-x root/tty usr/bin/write
|
||||
lrwxrwxrwx root/root usr/bin/x86_64 -> setarch
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/blkid/
|
||||
-rw-r--r-- root/root usr/include/blkid/blkid.h
|
||||
@ -215,6 +216,7 @@ drwxr-xr-x root/root usr/man/man8/
|
||||
-rw-r--r-- root/root usr/man/man8/uuidd.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/wdctl.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/wipefs.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/x86_64.8.gz
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/addpart
|
||||
-rwxr-xr-x root/root usr/sbin/delpart
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Description: Miscellaneous system utilities
|
||||
# URL: http://userweb.kernel.org/~kzak/util-linux/
|
||||
# URL: http://userweb.kernel.org/~kzak/util-linux-ng/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Arch Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
||||
# Depends on: ncurses zlib
|
||||
|
||||
name=util-linux
|
||||
|
Loading…
x
Reference in New Issue
Block a user