diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-02-20 09:29:21 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-02-20 09:29:21 +0000 |
commit | a62b5f6dddbeee96195a4f767b8787b7a0e4d99f (patch) | |
tree | ee426a1663565717892b50884caaa1766636c1b0 /sys-libs | |
parent | changed sy-devel in RDEPEND to sys-devel (just a typo) (diff) | |
download | gentoo-2-a62b5f6dddbeee96195a4f767b8787b7a0e4d99f.tar.gz gentoo-2-a62b5f6dddbeee96195a4f767b8787b7a0e4d99f.tar.bz2 gentoo-2-a62b5f6dddbeee96195a4f767b8787b7a0e4d99f.zip |
*** empty log message ***
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/glibc/files/digest-glibc-2.2.2-r1 | 2 | ||||
-rw-r--r-- | sys-libs/glibc/files/glibc-2.2.2-configure.in.diff | 20 | ||||
-rw-r--r-- | sys-libs/glibc/files/glibc-2.2.2-mtrace-perl.diff | 14 | ||||
-rw-r--r-- | sys-libs/glibc/files/glibc-2.2.2-mtrace-tst-loading-perl.diff | 15 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-2.2.1-r2.ebuild | 121 |
5 files changed, 172 insertions, 0 deletions
diff --git a/sys-libs/glibc/files/digest-glibc-2.2.2-r1 b/sys-libs/glibc/files/digest-glibc-2.2.2-r1 new file mode 100644 index 000000000000..380888a4e467 --- /dev/null +++ b/sys-libs/glibc/files/digest-glibc-2.2.2-r1 @@ -0,0 +1,2 @@ +MD5 e9def8ff00baf03898505837a677ca06 glibc-2.2.2.tar.gz +MD5 9678bc074a9fa0bd21e7205f4c9cafdf glibc-linuxthreads-2.2.2.tar.gz diff --git a/sys-libs/glibc/files/glibc-2.2.2-configure.in.diff b/sys-libs/glibc/files/glibc-2.2.2-configure.in.diff new file mode 100644 index 000000000000..08eb97fcf58e --- /dev/null +++ b/sys-libs/glibc/files/glibc-2.2.2-configure.in.diff @@ -0,0 +1,20 @@ +--- configure.orig Tue Feb 20 10:44:30 2001 ++++ configure.in Tue Feb 20 11:03:14 2001 +@@ -1324,6 +1324,7 @@ + + dnl Check whether we have the gd library available. + AC_MSG_CHECKING(for libgd) ++if test "$with_gd" != "no"; then + old_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $libgd_include" + old_LDFLAGS="$LDFLAGS" +@@ -1334,6 +1335,9 @@ + CFLAGS="$old_CFLAGS" + LDFLAGS="$old_LDFLAGS" + LIBS="$old_LIBS" ++else ++LIBGD="no" ++fi + AC_MSG_RESULT($LIBGD) + AC_SUBST(LIBGD) + diff --git a/sys-libs/glibc/files/glibc-2.2.2-mtrace-perl.diff b/sys-libs/glibc/files/glibc-2.2.2-mtrace-perl.diff new file mode 100644 index 000000000000..35c8fcaf92b5 --- /dev/null +++ b/sys-libs/glibc/files/glibc-2.2.2-mtrace-perl.diff @@ -0,0 +1,14 @@ +--- malloc/Makefile~ Mon Feb 19 15:17:55 2001 ++++ malloc/Makefile Mon Feb 19 15:20:06 2001 +@@ -100,9 +100,11 @@ + + ifeq (no,$(cross-compiling)) + ifeq (yes,$(build-shared)) ++ifneq (no,$(PERL)) + tests: $(objpfx)tst-mtrace.out + $(objpfx)tst-mtrace.out: tst-mtrace.sh $(objpfx)tst-mtrace + $(SHELL) -e $< $(common-objpfx) ++endif + endif + endif + diff --git a/sys-libs/glibc/files/glibc-2.2.2-mtrace-tst-loading-perl.diff b/sys-libs/glibc/files/glibc-2.2.2-mtrace-tst-loading-perl.diff new file mode 100644 index 000000000000..f4872635cd5d --- /dev/null +++ b/sys-libs/glibc/files/glibc-2.2.2-mtrace-tst-loading-perl.diff @@ -0,0 +1,15 @@ +--- iconvdata/Makefile.orig Tue Feb 20 11:11:52 2001 ++++ iconvdata/Makefile Tue Feb 20 11:11:21 2001 +@@ -259,8 +259,10 @@ + + ifeq (no,$(cross-compiling)) + ifeq (yes,$(build-shared)) +-tests: $(objpfx)iconv-test.out $(objpfx)tst-tables.out \ +- $(objpfx)mtrace-tst-loading ++tests: $(objpfx)iconv-test.out $(objpfx)tst-tables.out ++ifneq (no,$(PERL)) ++tests: $(objpfx)mtrace-tst-loading ++endif + endif + endif + diff --git a/sys-libs/glibc/glibc-2.2.1-r2.ebuild b/sys-libs/glibc/glibc-2.2.1-r2.ebuild new file mode 100644 index 000000000000..0175727dad1c --- /dev/null +++ b/sys-libs/glibc/glibc-2.2.1-r2.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.2.1-r2.ebuild,v 1.1 2001/02/20 09:29:21 achim Exp $ + +A="$P.tar.gz glibc-linuxthreads-${PV}.tar.gz" +S=${WORKDIR}/${P} +DESCRIPTION="GNU libc6 (also called glibc2) C library" +SRC_URI="ftp://sourceware.cygnus.com/pub/glibc/releases/glibc-${PV}.tar.gz + ftp://sourceware.cygnus.com/pub/glibc/releases/glibc-linuxthreads-${PV}.tar.gz + ftp://ftp.unina.it/pub/Unix/cygnus/glibc/releases/glibc-${PV}.tar.gz + ftp://ftp.unina.it/pub/Unix/cygnus/glibc/releases/glibc-linuxthreads-${PV}.tar.gz + ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.gz + ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-${PV}.tar.gz" +HOMEPAGE="http://www.gnu.org/software/libc/libc.html" + +DEPEND="sys-devel/perl + sys-devel/gettext + gd? ( media-libs/libgd )" + +RDEPEND="gd? ( sys-libs/zlib media-libs/libpng )" + +PROVIDE="virtual/glibc" + +src_unpack() { + + unpack glibc-${PV}.tar.gz + cd ${S} + unpack glibc-linuxthreads-${PV}.tar.gz + cd io + patch -p0 < ${FILESDIR}/glibc-2.2.2-test-lfs-timeout.patch + +} + +src_compile() { + + local myconf + if [ "`use build`" ] + then + # If we build for the build system we use the kernel headers from the target + myconf="--with-header=$ROOT}usr/include" + fi + if [ "`use gd`" ] + then + myconf="${myconf} --with-gd" + else + myconf="${myconf} --with-gd=no" + fi + rm -rf buildhere + mkdir buildhere + cd buildhere + try ../configure --host=${CHOST} --without-cvs \ + --enable-add-ons=linuxthreads \ + --disable-profile --prefix=/usr \ + --mandir=/usr/share/man --infodir=/usr/share/info \ + --libexecdir=/usr/lib/misc \ + --enable-kernel=2.4.0 ${myconf} + try make + make check +} + + +src_install() { + + rm -rf ${D} + mkdir ${D} + dodir /etc/rc.d/init.d + export LC_ALL=C + try make PARALELLMFLAGS=${MAKEOPTS} install_root=${D} install -C buildhere + try make PARALELLMFLAGS=${MAKEOPTS} install_root=${D} info -C buildhere + try make PARALELLMFLAGS=${MAKEOPTS} install_root=${D} localedata/install-locales -C buildhere + try make PARALELLMFLAGS=${MAKEOPTS} -C linuxthreads/man + + cd ${S}/linuxthreads/man + for i in *.3thr + do + newman $i ${i%.3thr}.3 + done + + cd ${S} + chmod 755 ${D}/usr/lib/misc/pt_chown + install -m 644 nscd/nscd.conf ${D}/etc + install -m 755 ${FILESDIR}/nscd ${D}/etc/rc.d/init.d/nscd + rm ${D}/lib/ld-linux.so.2 + rm ${D}/lib/libc.so.6 + + dodoc BUGS ChangeLog* CONFORMANCE COPYING* FAQ INTERFACE NEWS NOTES \ + PROJECTS README* +} + +pkg_preinst() +{ + echo "Saving ld-linux and libc6" + + /bin/cp ${ROOT}lib/ld-linux.so.2 ${ROOT}tmp + /sbin/sln ${ROOT}tmp/ld-linux.so.2 ${ROOT}lib/ld-linux.so.2 + /bin/cp ${ROOT}lib/libc.so.6 ${ROOT}tmp + /sbin/sln ${ROOT}tmp/libc.so.6 ${ROOT}lib/libc.so.6 + + if [ -e ${ROOT}etc/localtime ] + then + #keeping old timezone + /bin/rm ${D}/etc/localtime + else + echo "Please remember to set your timezone using the zic command." + fi +} + +pkg_postinst() +{ + echo "Setting ld-linux and libc6" + + /sbin/sln ${ROOT}lib/ld-${PV}.so ${ROOT}lib/ld-linux.so.2 + /sbin/sln ${ROOT}lib/libc-${PV}.so ${ROOT}lib/libc.so.6 + /bin/rm ${ROOT}tmp/ld-linux.so.2 + /bin/rm ${ROOT}tmp/libc.so.6 + /sbin/ldconfig -r ${ROOT} + +} + + |