summaryrefslogtreecommitdiff
path: root/libre-testing
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing')
-rw-r--r--libre-testing/binutils/PKGBUILD76
-rw-r--r--libre-testing/gcc/PKGBUILD332
-rw-r--r--libre-testing/glibc/PKGBUILD151
-rw-r--r--libre-testing/glibc/glibc.install5
-rw-r--r--libre-testing/glibc/locale-gen42
-rw-r--r--libre-testing/glibc/locale.gen.txt23
6 files changed, 0 insertions, 629 deletions
diff --git a/libre-testing/binutils/PKGBUILD b/libre-testing/binutils/PKGBUILD
deleted file mode 100644
index 44c646faa..000000000
--- a/libre-testing/binutils/PKGBUILD
+++ /dev/null
@@ -1,76 +0,0 @@
-# $Id$
-# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
-# Maintainer (Arch): Allan McRae <allan@archlinux.org>
-
-# toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc
-
-pkgname=binutils
-pkgver=2.27
-pkgrel=1.91.parabola1
-pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
-url="https://www.gnu.org/software/binutils/"
-license=('GPL')
-groups=('base-devel')
-depends=('glibc>=2.24-2' 'zlib')
-checkdepends=('dejagnu' 'bc')
-conflicts=('binutils-multilib')
-replaces=('binutils-multilib')
-options=('staticlibs' '!distcc' '!ccache')
-source=("https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2"{,.sig})
-validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93') # Tristan Gingold <gingold@adacore.com>
-sha512sums=('cf276f84935312361a2ca077e04d0b469d23a3aed979d8ba5d92ea590904ffb2c2e7ed12cc842822bfc402836be86f479660cef3791aa62f3753d8a1a6f564cb'
- 'a0eb45809667850c2ef85be64ba0637a9a9b721bc77b24d0630f2f420855c33b9d781378fb58f4b0a4856caebf54c49d5e22d5f90761c419c1d0f7167da48f4a') # https://mirrors.kernel.org/sourceware/binutils/sha512.sum
-
-prepare() {
- cd binutils-$pkgver
-
- # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
- sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-
- mkdir ${srcdir}/binutils-build
-}
-
-build() {
- cd binutils-build
-
- ../binutils-$pkgver/configure \
- --prefix=/usr \
- --with-lib-path=/usr/lib:/usr/local/lib \
- --with-bugurl=https://bugs.archlinux.org/ \
- --enable-threads \
- --enable-shared \
- --with-pic \
- --enable-ld=default \
- --enable-gold \
- --enable-plugins \
- --enable-deterministic-archives \
- --disable-werror \
- --disable-gdb
-
- # check the host environment and makes sure all the necessary tools are available
- make configure-host
-
- make tooldir=/usr
-}
-
-check() {
- cd binutils-build
-
- # unset LDFLAGS as testsuite makes assumptions about which ones are active
- # ignore failures in gold testsuite...
- make -k LDFLAGS="" check || true
-}
-
-package() {
- cd binutils-build
- make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
-
- # Remove unwanted files
- rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
-
- # No shared linking to these files outside binutils
- rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
- echo "INPUT ( /usr/lib/libbfd.a -liberty -lz -ldl )" > "$pkgdir"/usr/lib/libbfd.so
- echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" > "$pkgdir"/usr/lib/libopcodes.so
-}
diff --git a/libre-testing/gcc/PKGBUILD b/libre-testing/gcc/PKGBUILD
deleted file mode 100644
index 2bc1f6077..000000000
--- a/libre-testing/gcc/PKGBUILD
+++ /dev/null
@@ -1,332 +0,0 @@
-# $Id$
-# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
-# Maintainer (Arch): Allan McRae <allan@archlinux.org>
-
-# toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc
-# NOTE: libtool requires rebuilt with each new gcc version
-
-pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=6.3.1
-gccver=6.3.0
-_pkgver=6
-_islver=0.16
-pkgrel=1.90.parabola1
-pkgdesc="The GNU Compiler Collection"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL' 'custom')
-url="http://gcc.gnu.org"
-makedepends=('binutils>=2.27' 'libmpc' 'gcc-ada' 'doxygen' 'git')
-checkdepends=('dejagnu' 'inetutils')
-options=('!emptydirs')
-source=("https://ftp.gnu.org/gnu/gcc/gcc-$gccver/gcc-$gccver.tar.bz2"{,.sig}
- "http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2")
-validpgpkeys=('33C235A34C46AA3FFB293709A328C3A2C3C45C06') # Jakub Jelinek <jakub@redhat.com> # Note: (Weak DSA) :(
-sha512sums=('234dd9b1bdc9a9c6e352216a7ef4ccadc6c07f156006a59759c5e0e6a69f0abcdc14630eff11e3826dd6ba5933a8faa43043f3d1d62df6bd5ab1e82862f9bf78'
- '0c222c7abd96421bd4de7ed9496248e2c94dda5178481b35d90a6ba88c4b46005976253b4978cf7dac01b352d855a975028609301ef2c935c5d6204506cbb6ae'
- '680da559a37e377c494d9688577159c5c6552c38bf60986c982df8144f3ef60785d530f7223a553c8446bac0c05fd52398e946b1419fbcf511e06316a8fd2d18')
-
-# CHOST is in the form <architecture>-<vendor>-<operatingSystem>-<cLibrary>
-# Arch currently reports CHOST with vendor "unknown". GCC expected this until recently, when for architecture x86_64 it now expects "pc".
-_CHOST=${CHOST}
-if [[ "${CHOST}" == 'x86_64-unknown-linux-gnu' ]]; then
- _CHOST='x86_64-pc-linux-gnu'
-fi
-
-_libdir="usr/lib/gcc/$_CHOST/$gccver"
-
-
-prepare() {
- cd ${srcdir}/gcc-$gccver
-
- # link isl for in-tree build
- ln -s ../isl-${_islver} isl
-
- # Do not run fixincludes
- sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
-
- # Arch Linux installs x86_64 libraries /lib
- [[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
-
- # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
- sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
-
- mkdir ${srcdir}/gcc-build
-}
-
-build() {
- cd ${srcdir}/gcc-build
-
- # using -pipe causes spurious test-suite failures
- # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
- CFLAGS=${CFLAGS/-pipe/}
- CXXFLAGS=${CXXFLAGS/-pipe/}
-
- ${srcdir}/gcc-$gccver/configure --prefix=/usr \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --with-bugurl=https://bugs.archlinux.org/ \
- --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
- --enable-shared \
- --enable-threads=posix \
- --enable-libmpx \
- --with-system-zlib \
- --with-isl \
- --enable-__cxa_atexit \
- --disable-libunwind-exceptions \
- --enable-clocale=gnu \
- --disable-libstdcxx-pch \
- --disable-libssp \
- --enable-gnu-unique-object \
- --enable-linker-build-id \
- --enable-lto \
- --enable-plugin \
- --enable-install-libiberty \
- --with-linker-hash-style=gnu \
- --enable-gnu-indirect-function \
- --enable-default-pie \
- --disable-multilib \
- --disable-werror \
- --enable-checking=release
-
- make
-
- # make documentation
- make -C $_CHOST/libstdc++-v3/doc doc-man-doxygen
-}
-
-check() {
- cd ${srcdir}/gcc-build
-
- # increase stack size to prevent test failures
- # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827
- ulimit -s 32768
-
- # do not abort on error as some are "expected"
- make -k check || true
- ${srcdir}/gcc-$gccver/contrib/test_summary
-}
-
-
-package_gcc-libs()
-{
- pkgdesc="Runtime libraries shipped by GCC"
- groups=('base')
- depends=('glibc>=2.24')
- options=('!emptydirs' '!strip')
-
- cd ${srcdir}/gcc-build
-
- make -C $_CHOST/libgcc DESTDIR=${pkgdir} install-shared
- rm ${pkgdir}/${_libdir}/libgcc_eh.a
-
- for lib in libatomic \
- libcilkrts \
- libgfortran \
- libgo \
- libgomp \
- libitm \
- libquadmath \
- libsanitizer/{a,l,ub}san \
- libstdc++-v3/src \
- libvtv; do
- make -C $_CHOST/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
- done
-
- [[ $CARCH == "x86_64" ]] && \
- make -C $_CHOST/libsanitizer/tsan DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
-
- make -C $_CHOST/libobjc DESTDIR=${pkgdir} install-libs
-
- make -C $_CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install
-
- make -C $_CHOST/libmpx DESTDIR=${pkgdir} install
- rm ${pkgdir}/usr/lib/libmpx.spec
-
- for lib in libgomp \
- libitm \
- libquadmath; do
- make -C $_CHOST/$lib DESTDIR=${pkgdir} install-info
- done
-
- # Install Runtime Library Exception
- install -Dm644 ${srcdir}/gcc-$gccver/COPYING.RUNTIME \
- ${pkgdir}/usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION
-}
-
-package_gcc()
-{
- pkgdesc="The GNU Compiler Collection - C and C++ frontends"
- depends=("gcc-libs=$gccver-$pkgrel" 'binutils>=2.26' 'libmpc')
- groups=('base-devel')
- options=('staticlibs')
-
- cd ${srcdir}/gcc-build
-
- make -C gcc DESTDIR=${pkgdir} install-driver install-cpp install-gcc-ar \
- c++.install-common install-headers install-plugin install-lto-wrapper
-
- install -m755 -t $pkgdir/usr/bin/ gcc/gcov{,-tool}
- install -m755 -t $pkgdir/${_libdir}/ gcc/{cc1,cc1plus,collect2,lto1}
-
- make -C $_CHOST/libgcc DESTDIR=${pkgdir} install
- rm ${pkgdir}/usr/lib/libgcc_s.so*
-
- make -C $_CHOST/libstdc++-v3/src DESTDIR=${pkgdir} install
- make -C $_CHOST/libstdc++-v3/include DESTDIR=${pkgdir} install
- make -C $_CHOST/libstdc++-v3/libsupc++ DESTDIR=${pkgdir} install
- make -C $_CHOST/libstdc++-v3/python DESTDIR=${pkgdir} install
-
- make DESTDIR=${pkgdir} install-libcc1
- install -d $pkgdir/usr/share/gdb/auto-load/usr/lib
- mv $pkgdir/usr/lib/libstdc++.so.6.*-gdb.py \
- $pkgdir/usr/share/gdb/auto-load/usr/lib/
- rm ${pkgdir}/usr/lib/libstdc++.so*
-
- make DESTDIR=${pkgdir} install-fixincludes
- make -C gcc DESTDIR=${pkgdir} install-mkheaders
-
- make -C lto-plugin DESTDIR=${pkgdir} install
- install -dm755 ${pkgdir}/usr/lib/bfd-plugins/
- ln -s /usr/lib/gcc/$_CHOST/${pkgver}/liblto_plugin.so \
- ${pkgdir}/usr/lib/bfd-plugins/
-
- make -C $_CHOST/libcilkrts DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS \
- install-nodist_cilkincludeHEADERS
- make -C $_CHOST/libgomp DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS \
- install-nodist_libsubincludeHEADERS
- make -C $_CHOST/libitm DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
- make -C $_CHOST/libquadmath DESTDIR=${pkgdir} install-nodist_libsubincludeHEADERS
- make -C $_CHOST/libsanitizer DESTDIR=${pkgdir} install-nodist_{saninclude,toolexeclib}HEADERS
- make -C $_CHOST/libsanitizer/asan DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
- make -C $_CHOST/libmpx DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
-
- make -C libiberty DESTDIR=${pkgdir} install
- # install PIC version of libiberty
- install -m644 ${srcdir}/gcc-build/libiberty/pic/libiberty.a ${pkgdir}/usr/lib
-
- make -C gcc DESTDIR=${pkgdir} install-man install-info
- rm ${pkgdir}/usr/share/man/man1/{gccgo,gfortran}.1
- rm ${pkgdir}/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn}.info
-
- make -C libcpp DESTDIR=${pkgdir} install
- make -C gcc DESTDIR=${pkgdir} install-po
-
- # many packages expect this symlink
- ln -s gcc ${pkgdir}/usr/bin/cc
-
- # POSIX conformance launcher scripts for c89 and c99
- cat > $pkgdir/usr/bin/c89 <<"EOF"
-#!/bin/sh
-fl="-std=c89"
-for opt; do
- case "$opt" in
- -ansi|-std=c89|-std=iso9899:1990) fl="";;
- -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2
- exit 1;;
- esac
-done
-exec gcc $fl ${1+"$@"}
-EOF
-
- cat > $pkgdir/usr/bin/c99 <<"EOF"
-#!/bin/sh
-fl="-std=c99"
-for opt; do
- case "$opt" in
- -std=c99|-std=iso9899:1999) fl="";;
- -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
- exit 1;;
- esac
-done
-exec gcc $fl ${1+"$@"}
-EOF
-
- chmod 755 $pkgdir/usr/bin/c{8,9}9
-
- # install the libstdc++ man pages
- make -C $_CHOST/libstdc++-v3/doc DESTDIR=$pkgdir doc-install-man
-
- # Install Runtime Library Exception
- install -d ${pkgdir}/usr/share/licenses/gcc/
- ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION ${pkgdir}/usr/share/licenses/gcc/
-}
-
-package_gcc-fortran()
-{
- pkgdesc="Fortran front-end for GCC"
- depends=("gcc=$gccver-$pkgrel")
- options=('!emptydirs')
-
- cd ${srcdir}/gcc-build
- make -C $_CHOST/libgfortran DESTDIR=$pkgdir install-cafexeclibLTLIBRARIES \
- install-{toolexeclibDATA,nodist_fincludeHEADERS}
- make -C $_CHOST/libgomp DESTDIR=$pkgdir install-nodist_fincludeHEADERS
- make -C gcc DESTDIR=$pkgdir fortran.install-{common,man,info}
- install -Dm755 gcc/f951 $pkgdir/${_libdir}/f951
-
- ln -s gfortran ${pkgdir}/usr/bin/f95
-
- # Install Runtime Library Exception
- install -d ${pkgdir}/usr/share/licenses/gcc-fortran/
- ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION ${pkgdir}/usr/share/licenses/gcc-fortran/
-}
-
-package_gcc-objc()
-{
- pkgdesc="Objective-C front-end for GCC"
- depends=("gcc=$gccver-$pkgrel")
-
- cd ${srcdir}/gcc-build
- make DESTDIR=$pkgdir -C $_CHOST/libobjc install-headers
- install -dm755 $pkgdir/${_libdir}
- install -m755 gcc/cc1obj{,plus} $pkgdir/${_libdir}/
-
- # Install Runtime Library Exception
- install -d ${pkgdir}/usr/share/licenses/gcc-objc/
- ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION ${pkgdir}/usr/share/licenses/gcc-objc/
-}
-
-package_gcc-ada()
-{
- pkgdesc="Ada front-end for GCC (GNAT)"
- depends=("gcc=$gccver-$pkgrel")
- options=('staticlibs' '!emptydirs')
-
- cd ${srcdir}/gcc-build/gcc
- make DESTDIR=$pkgdir ada.install-{common,info}
- install -m755 gnat1 $pkgdir/${_libdir}
-
- ln -s gcc ${pkgdir}/usr/bin/gnatgcc
-
- # insist on dynamic linking, but keep static libraries because gnatmake complains
- mv ${pkgdir}/${_libdir}/adalib/libgna{rl,t}-${_pkgver}.so ${pkgdir}/usr/lib
- ln -s libgnarl-${_pkgver}.so ${pkgdir}/usr/lib/libgnarl.so
- ln -s libgnat-${_pkgver}.so ${pkgdir}/usr/lib/libgnat.so
- rm ${pkgdir}/${_libdir}/adalib/libgna{rl,t}.so
-
- # Install Runtime Library Exception
- install -d ${pkgdir}/usr/share/licenses/gcc-ada/
- ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION ${pkgdir}/usr/share/licenses/gcc-ada/
-}
-
-package_gcc-go()
-{
- pkgdesc="Go front-end for GCC"
- depends=("gcc=$gccver-$pkgrel")
- conflicts=('go')
- options=('!emptydirs')
-
- cd ${srcdir}/gcc-build
- make -C $_CHOST/libgo DESTDIR=$pkgdir install-exec-am
- rm ${pkgdir}/usr/lib/libgo.so*
- make -C gcc DESTDIR=$pkgdir go.install-{common,man,info}
- install -Dm755 gcc/go1 $pkgdir/${_libdir}/go1
-
- make DESTDIR=${pkgdir} install-gotools
-
- # Install Runtime Library Exception
- install -d ${pkgdir}/usr/share/licenses/gcc-go/
- ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION ${pkgdir}/usr/share/licenses/gcc-go/
-}
diff --git a/libre-testing/glibc/PKGBUILD b/libre-testing/glibc/PKGBUILD
deleted file mode 100644
index 58b54e8d7..000000000
--- a/libre-testing/glibc/PKGBUILD
+++ /dev/null
@@ -1,151 +0,0 @@
-# $Id$
-# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
-# Maintainer (Arch): Allan McRae <allan@archlinux.org>
-
-# toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc
-# NOTE: valgrind requires rebuilt with each major glibc version
-
-pkgname=glibc
-pkgver=2.24
-pkgrel=2.91.parabola2
-pkgdesc="GNU C Library"
-arch=('i686' 'x86_64')
-url="https://www.gnu.org/software/libc"
-license=('GPL' 'LGPL')
-groups=('base')
-depends=('linux-libre-api-headers>=4.7' 'tzdata' 'filesystem')
-makedepends=('gcc>=6' 'git')
-backup=(etc/gai.conf
- etc/locale.gen
- etc/nscd.conf)
-options=('!strip' 'staticlibs')
-install=glibc.install
-source=("https://ftp.gnu.org/gnu/glibc/glibc-2.24.tar.xz"{,.sig}
- locale.gen.txt
- locale-gen)
- #0001-Revert-Avoid-an-extra-branch-to-PLT-for-z-now.patch)
-validpgpkeys=('7273542B39962DF7B299931416792B4EA25340F8') # Carlos O'Donell <carlos@systemhalted.org>"
-sha512sums=('a4cb28a2c51a0cc029ed69da7cba11931a615ba897235590b4f7fad2eaabec9042f8250eaac2a5860997437a69ab13304f10a634000e52c0336b5593b7969adb'
- 'SKIP'
- '3d9facc6da5159dcd877473c8a4d77006ef5615e2619ef743255112bfa136baf65239367222e87e7ada823d5c7d747aa5204f8365a806141e5884477898ccd14'
- 'd92e6ba83ee86c3602e74c52bf5f99ca751f3867edb894dd22c179003cd58a1b4e11237a293a54fe126edafd5add78a65bf3368826b8bfa40451ee374e301961')
-
-prepare() {
- mkdir glibc-build
-
- cd glibc-$pkgver
- # build fails with PIE enabled toolchain
- # https://sourceware.org/bugzilla/show_bug.cgi?id=20621
- #patch -p1 -i $srcdir/0001-Revert-Avoid-an-extra-branch-to-PLT-for-z-now.patch
-}
-
-build() {
- cd glibc-build
-
- if [[ ${CARCH} = "i686" ]]; then
- # Hack to fix NPTL issues with Xen, only required on 32bit platforms
- # TODO: make separate glibc-xen package for i686
- export CFLAGS="${CFLAGS} -mno-tls-direct-seg-refs"
- fi
-
- echo "slibdir=/usr/lib" >> configparms
- echo "rtlddir=/usr/lib" >> configparms
- echo "sbindir=/usr/bin" >> configparms
- echo "rootsbindir=/usr/bin" >> configparms
-
- # remove hardening options for building libraries
- CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
- CFLAGS=${CFLAGS/-fstack-protector-strong/}
- # this is handled properly by --enable-bind-now
- LDFLAGS=${LDFLAGS/,-z,now/}
-
- ../${pkgname}-$pkgver/configure \
- --prefix=/usr \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --with-headers=/usr/include \
- --with-bugurl=https://bugs.archlinux.org/ \
- --enable-add-ons \
- --enable-obsolete-rpc \
- --enable-kernel=2.6.32 \
- --enable-bind-now \
- --disable-profile \
- --enable-stackguard-randomization \
- --enable-lock-elision \
- --enable-multi-arch \
- --disable-werror
-
- # build libraries with hardening disabled
- echo "build-programs=no" >> configparms
- make
-
- # re-enable hardening for programs
- sed -i "/build-programs=/s#no#yes#" configparms
-
- echo "CC += -fstack-protector-strong -D_FORTIFY_SOURCE=2" >> configparms
- echo "CXX += -fstack-protector-strong -D_FORTIFY_SOURCE=2" >> configparms
- make
-}
-
-check() {
- cd glibc-build
-
- # remove harding in preparation to run test-suite
- sed -i '/FORTIFY/d' configparms
-
- # some failures are "expected"
- make check || true
-}
-
-package() {
- cd glibc-build
-
- install -dm755 ${pkgdir}/etc
- touch ${pkgdir}/etc/ld.so.conf
-
- make install_root=${pkgdir} install
-
- rm -f ${pkgdir}/etc/ld.so.{cache,conf}
-
- install -dm755 ${pkgdir}/usr/lib/{locale,systemd/system,tmpfiles.d}
-
- install -m644 ${srcdir}/${pkgname}-$pkgver/nscd/nscd.conf ${pkgdir}/etc/nscd.conf
- install -m644 ${srcdir}/${pkgname}-$pkgver/nscd/nscd.service ${pkgdir}/usr/lib/systemd/system
- install -m644 ${srcdir}/${pkgname}-$pkgver/nscd/nscd.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/nscd.conf
-
- install -m644 ${srcdir}/${pkgname}-$pkgver/posix/gai.conf ${pkgdir}/etc/gai.conf
-
- install -m755 ${srcdir}/locale-gen ${pkgdir}/usr/bin
-
- # create /etc/locale.gen
- install -m644 ${srcdir}/locale.gen.txt ${pkgdir}/etc/locale.gen
- sed -e '1,3d' -e 's|/| |g' -e 's|\\| |g' -e 's|^|#|g' \
- ${srcdir}/glibc-$pkgver/localedata/SUPPORTED >> ${pkgdir}/etc/locale.gen
-
- # Do not strip the following files for improved debugging support
- # ("improved" as in not breaking gdb and valgrind...):
- # ld-${pkgver}.so
- # libc-${pkgver}.so
- # libpthread-${pkgver}.so
- # libthread_db-1.0.so
-
- cd $pkgdir
- strip $STRIP_BINARIES usr/bin/{gencat,getconf,getent,iconv,iconvconfig} \
- usr/bin/{ldconfig,locale,localedef,nscd,makedb} \
- usr/bin/{pcprofiledump,pldd,rpcgen,sln,sprof} \
- usr/lib/getconf/*
- if [[ $CARCH = "i686" ]]; then
- strip $STRIP_BINARIES usr/bin/lddlibc4
- fi
-
- strip $STRIP_STATIC usr/lib/*.a
-
- strip $STRIP_SHARED usr/lib/lib{anl,BrokenLocale,cidn,crypt}-*.so \
- usr/lib/libnss_{compat,db,dns,files,hesiod,nis,nisplus}-*.so \
- usr/lib/lib{dl,m,nsl,resolv,rt,util}-*.so \
- usr/lib/lib{memusage,pcprofile,SegFault}.so \
- usr/lib/{audit,gconv}/*.so || true
- if [[ $CARCH = "x86_64" ]]; then
- strip $STRIP_SHARED usr/lib/libmvec-*.so
- fi
-}
diff --git a/libre-testing/glibc/glibc.install b/libre-testing/glibc/glibc.install
deleted file mode 100644
index 351f05b26..000000000
--- a/libre-testing/glibc/glibc.install
+++ /dev/null
@@ -1,5 +0,0 @@
-post_upgrade() {
- locale-gen
-
- ldconfig -r .
-}
diff --git a/libre-testing/glibc/locale-gen b/libre-testing/glibc/locale-gen
deleted file mode 100644
index 5aff344c4..000000000
--- a/libre-testing/glibc/locale-gen
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-set -e
-
-LOCALEGEN=/etc/locale.gen
-LOCALES=/usr/share/i18n/locales
-if [ -n "$POSIXLY_CORRECT" ]; then
- unset POSIXLY_CORRECT
-fi
-
-
-[ -f $LOCALEGEN -a -s $LOCALEGEN ] || exit 0;
-
-# Remove all old locale dir and locale-archive before generating new
-# locale data.
-rm -rf /usr/lib/locale/* || true
-
-umask 022
-
-is_entry_ok() {
- if [ -n "$locale" -a -n "$charset" ] ; then
- true
- else
- echo "error: Bad entry '$locale $charset'"
- false
- fi
-}
-
-echo "Generating locales..."
-while read locale charset; do \
- case $locale in \#*) continue;; "") continue;; esac; \
- is_entry_ok || continue
- echo -n " `echo $locale | sed 's/\([^.\@]*\).*/\1/'`"; \
- echo -n ".$charset"; \
- echo -n `echo $locale | sed 's/\([^\@]*\)\(\@.*\)*/\2/'`; \
- echo -n '...'; \
- if [ -f $LOCALES/$locale ]; then input=$locale; else \
- input=`echo $locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; fi; \
- localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale; \
- echo ' done'; \
-done < $LOCALEGEN
-echo "Generation complete."
diff --git a/libre-testing/glibc/locale.gen.txt b/libre-testing/glibc/locale.gen.txt
deleted file mode 100644
index ccdd81734..000000000
--- a/libre-testing/glibc/locale.gen.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-# Configuration file for locale-gen
-#
-# lists of locales that are to be generated by the locale-gen command.
-#
-# Each line is of the form:
-#
-# <locale> <charset>
-#
-# where <locale> is one of the locales given in /usr/share/i18n/locales
-# and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
-#
-# Examples:
-# en_US ISO-8859-1
-# en_US.UTF-8 UTF-8
-# de_DE ISO-8859-1
-# de_DE@euro ISO-8859-15
-#
-# The locale-gen command will generate all the locales,
-# placing them in /usr/lib/locale.
-#
-# A list of supported locales is included in this file.
-# Uncomment the ones you need.
-#