From cdea2f67ae42d4220e19a555259b69a960925283 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 5 Oct 2021 16:35:17 +0100 Subject: renamed --- psibuilds/glibc.psibuild | 78 ------------------------------------------------ 1 file changed, 78 deletions(-) delete mode 100644 psibuilds/glibc.psibuild (limited to 'psibuilds/glibc.psibuild') diff --git a/psibuilds/glibc.psibuild b/psibuilds/glibc.psibuild deleted file mode 100644 index 5b111bd..0000000 --- a/psibuilds/glibc.psibuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://sourceware.org/git/glibc.git - -build () { - # patches as recommended by lfs - sed -e '/NOTIFY_REMOVED)/s/)/ \&\& data.attr != NULL)/' -i sysdeps/unix/sysv/linux/mq_notify.c - - mkdir -v build - cd build - - # ensure that the ldconfig and sln utilities are installed into /usr/sbin - echo "rootsbindir=/usr/sbin" > configparms - - ../configure --prefix=/usr \ - --disable-werror \ - --enable-kernel=3.2 \ - --enable-stack-protector=strong \ - --with-headers=/usr/include \ - libc_cv_slibdir=/usr/lib - - make - make check - - sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile - make DESTDIR=$PKG_DEST install - - - # fix hardcoded path to the excutable in ldd script - sed '/RTLDLIST=/s@/usr@@g' -i $PKG_DEST/usr/bin/ldd - - cp -v ../nscd/nscd.conf $PKG_DEST/etc/nscd.conf - mkdir -pv $PKG_DEST/var/cache/nscd -} - -package () { - cat > $PKG_DEST/etc/nsswitch.conf << "EOF" -# Begin /etc/nsswitch.conf -passwd: files -group: files -shadow: files -hosts: files dns -networks: files -protocols: files -services: files -ethers: files -rpc: files -# End /etc/nsswitch.conf -EOF - - wget https://mirrors.slackware.com/slackware/slackware64-current/source/a/glibc-zoneinfo/tzdata2021a.tar.gz - - tar -xf tzdata2021a.tar.gz - - ZONEINFO=$PKG_DEST/usr/share/zoneinfo - mkdir -pv $ZONEINFO/{posix,right} - for tz in etcetera southamerica northamerica europe africa antarctica \ - asia australasia backward; do - zic -L /dev/null -d $ZONEINFO ${tz} - zic -L /dev/null -d $ZONEINFO/posix ${tz} - zic -L leapseconds -d $ZONEINFO/right ${tz} - done - cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO - zic -d $ZONEINFO -p America/New_York - unset ZONEINFO - - - # configure the dynamic loader - - cat > $PKG_DEST/etc/ld.so.conf << "EOF" -# Begin /etc/ld.so.conf -/usr/local/lib -/opt/lib -EOF -} - -- cgit v1.2.1