summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-09 01:51:23 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-09 01:51:23 +0000
commit20e5cadc2b5652a6b4819539eee8e70217e7daf8 (patch)
tree955d7457bd0cc1a1ac3b47f1f15873060637ec4f /dev-libs/dietlibc
parentold funk master funk (diff)
downloadhistorical-20e5cadc2b5652a6b4819539eee8e70217e7daf8.tar.gz
historical-20e5cadc2b5652a6b4819539eee8e70217e7daf8.tar.bz2
historical-20e5cadc2b5652a6b4819539eee8e70217e7daf8.zip
Version bump.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-libs/dietlibc')
-rw-r--r--dev-libs/dietlibc/ChangeLog9
-rw-r--r--dev-libs/dietlibc/Manifest48
-rw-r--r--dev-libs/dietlibc/dietlibc-0.28.ebuild50
-rw-r--r--dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch28
-rw-r--r--dev-libs/dietlibc/files/digest-dietlibc-0.281
-rw-r--r--dev-libs/dietlibc/files/gcc-33-r3.patch16
6 files changed, 124 insertions, 28 deletions
diff --git a/dev-libs/dietlibc/ChangeLog b/dev-libs/dietlibc/ChangeLog
index bbdffe502c5d..19f1cfd6cc1f 100644
--- a/dev-libs/dietlibc/ChangeLog
+++ b/dev-libs/dietlibc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/dietlibc
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.41 2005/01/21 22:12:20 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.42 2005/03/09 01:51:23 vapier Exp $
+
+*dietlibc-0.28 (08 Mar 2005)
+
+ 08 Mar 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/dietlibc-0.28-Makefile.patch, +files/gcc-33-r3.patch,
+ +dietlibc-0.28.ebuild:
+ Version bump.
21 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> dietlibc-0.25.ebuild:
Stable on alpha.
diff --git a/dev-libs/dietlibc/Manifest b/dev-libs/dietlibc/Manifest
index 980f25cca0b4..8d7a69f34d26 100644
--- a/dev-libs/dietlibc/Manifest
+++ b/dev-libs/dietlibc/Manifest
@@ -1,37 +1,31 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 96d9af4a6ff7592be1643347db647241 dietlibc-0.26.ebuild 1568
-MD5 2dbf4a86bbad48845787e61d57e34fc5 ChangeLog 6068
-MD5 5739b86f9fb0bf24e2fce84bdb40dd2e dietlibc-0.23.ebuild 1766
+MD5 5723a65cb79ccc2683c6f1aa59c50f14 ChangeLog 6253
MD5 8a31777f8ddb3819bf00019440802a50 dietlibc-0.22-r2.ebuild 1669
-MD5 ee4e0ab7d2204662e67c1a0ffb48a6dd dietlibc-0.26-r1.ebuild 1934
+MD5 5739b86f9fb0bf24e2fce84bdb40dd2e dietlibc-0.23.ebuild 1766
MD5 e60984addf7d7565dcdfd4c570a01b17 dietlibc-0.24.ebuild 1521
-MD5 26efff18982f62dd8b181fe691b9a384 dietlibc-0.27.ebuild 2615
MD5 6d7429e88eda74e2e5a1d89dcda32c33 metadata.xml 400
MD5 f590e8e459aff5e7099ef694b926b9af dietlibc-0.25.ebuild 1562
-MD5 2644f8611fcb7a147ec9ef76eaf5992a files/digest-dietlibc-0.22-r2 66
-MD5 9022467ec4210d62330f0eb1d8c93394 files/dietlibc-0.26-ssp.patch 1632
-MD5 11048a235efe4eefcfffc4ccffa60821 files/digest-dietlibc-0.24 66
-MD5 4713f8664ff94fb53c7696d9204406ed files/dietlibc-0.23-hppa.patch 3954
-MD5 ea791631782529db92c7b23198391a7a files/gcc-33-r2.patch 1077
+MD5 96d9af4a6ff7592be1643347db647241 dietlibc-0.26.ebuild 1568
+MD5 ee4e0ab7d2204662e67c1a0ffb48a6dd dietlibc-0.26-r1.ebuild 1934
+MD5 26efff18982f62dd8b181fe691b9a384 dietlibc-0.27.ebuild 2615
+MD5 d57e760a46aa30a3d74c553ec0d3d0d0 dietlibc-0.28.ebuild 1483
+MD5 02d59156de2a7a0f914dc5769e26cdcf files/0.25-gcc34.patch 3454
MD5 e33c0d8f3c56f85d1caa98118824fceb files/0.22-dirent-prototype.patch 563
-MD5 b06d21ffc62c7a660a29351e55213a0b files/digest-dietlibc-0.23 66
-MD5 4c8bea996353605b5d0b6184d8836ffe files/digest-dietlibc-0.26-r1 66
MD5 2d0f660abd258d75417ef8abd8ab5eb7 files/0.23-dirent-prototype.patch 668
-MD5 9247251c0adc5ce1b626d7092ae0c903 files/gcc-33.patch 482
-MD5 65a68ed33fd14d52b23a2fe28e06dfc9 files/ssp.c 3065
MD5 2d0f660abd258d75417ef8abd8ab5eb7 files/0.24-dirent-prototype.patch 668
-MD5 02d59156de2a7a0f914dc5769e26cdcf files/0.25-gcc34.patch 3454
MD5 67b93dd4033c0e66d42b6bade33c73fc files/dietlibc-0.22_xdr_security_fix.patch 5566
+MD5 2644f8611fcb7a147ec9ef76eaf5992a files/digest-dietlibc-0.22-r2 66
+MD5 b06d21ffc62c7a660a29351e55213a0b files/digest-dietlibc-0.23 66
+MD5 11048a235efe4eefcfffc4ccffa60821 files/digest-dietlibc-0.24 66
+MD5 4713f8664ff94fb53c7696d9204406ed files/dietlibc-0.23-hppa.patch 3954
+MD5 9247251c0adc5ce1b626d7092ae0c903 files/gcc-33.patch 482
+MD5 8c25662fd30d966f24ec20ef491075a6 files/dietlibc-sparc64-makefile.patch 499
+MD5 a6911c79e510ea03173a809f5d7e6a40 files/digest-dietlibc-0.25 66
MD5 4c8bea996353605b5d0b6184d8836ffe files/digest-dietlibc-0.26 66
+MD5 9022467ec4210d62330f0eb1d8c93394 files/dietlibc-0.26-ssp.patch 1632
+MD5 4c8bea996353605b5d0b6184d8836ffe files/digest-dietlibc-0.26-r1 66
+MD5 65a68ed33fd14d52b23a2fe28e06dfc9 files/ssp.c 3065
+MD5 ee309afd4c5bd953a5133fb3383124de files/gcc-33-r3.patch 451
MD5 771865efe3795f379b15c0bb6d61a857 files/digest-dietlibc-0.27 66
-MD5 a6911c79e510ea03173a809f5d7e6a40 files/digest-dietlibc-0.25 66
-MD5 8c25662fd30d966f24ec20ef491075a6 files/dietlibc-sparc64-makefile.patch 499
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFB8X5+ugEuf3OQ0akRAoF5AJ9FtHVBCr3xf7rUrFFUHZw0IEp0BwCdF+hX
-WqvFjDHovLh1HXgonMRiAfY=
-=PR6Z
------END PGP SIGNATURE-----
+MD5 483744830092f64a7f5fefc773ced02a files/digest-dietlibc-0.28 66
+MD5 ea791631782529db92c7b23198391a7a files/gcc-33-r2.patch 1077
+MD5 e326170b86e838c08e64d75b8d6d0f67 files/dietlibc-0.28-Makefile.patch 529
diff --git a/dev-libs/dietlibc/dietlibc-0.28.ebuild b/dev-libs/dietlibc/dietlibc-0.28.ebuild
new file mode 100644
index 000000000000..505d1952d568
--- /dev/null
+++ b/dev-libs/dietlibc/dietlibc-0.28.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.28.ebuild,v 1.1 2005/03/09 01:51:23 vapier Exp $
+
+inherit eutils flag-o-matic gcc
+
+DESCRIPTION="A minimal libc"
+HOMEPAGE="http://www.fefe.de/dietlibc/"
+SRC_URI="mirror://kernel/linux/libs/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug"
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/0.24-dirent-prototype.patch
+ epatch "${FILESDIR}"/gcc-33-r3.patch
+ epatch "${FILESDIR}"/dietlibc-sparc64-makefile.patch #45601
+
+ filter-flags -fstack-protector -fstack-protector-all
+
+ # Ok so let's make dietlibc ssp aware (Aug 7 2004) -solar
+ cp ${FILESDIR}/ssp.c "${S}"/lib/ || die "Failed to copy ssp.c into lib for compile"
+ epatch "${FILESDIR}"/dietlibc-0.26-ssp.patch
+
+ replace-sparc64-flags #45716
+
+ append-flags -D__dietlibc__ -fno-stack-protector-all -fno-stack-protector
+ epatch "${FILESDIR}"/dietlibc-0.28-Makefile.patch
+}
+
+src_compile() {
+ local make_opt=""
+ use debug && make_opt="DEBUG=1"
+ emake CFLAGS="${CFLAGS}" ${make_opt} || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ dobin "${D}"/usr/diet/bin/* || die "dobin"
+ doman "${D}"/usr/diet/man/*/* || die "doman"
+ rm -r "${D}"/usr/diet/{man,bin}
+ dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING
+}
diff --git a/dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch b/dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch
new file mode 100644
index 000000000000..7a0eb0028a30
--- /dev/null
+++ b/dev-libs/dietlibc/files/dietlibc-0.28-Makefile.patch
@@ -0,0 +1,28 @@
+--- Makefile
++++ Makefile
+@@ -1,5 +1,5 @@
+ INSTALL=install
+-prefix?=/opt/diet
++prefix=/usr/diet
+ # Set the following to install to a different root
+ #DESTDIR=/tmp/fefix
+ # Use "make DEBUG=1" to compile a debug version.
+@@ -95,7 +95,6 @@
+
+ profiling: $(OBJDIR)/libgmon.a $(OBJDIR)/pstart.o
+
+-CFLAGS=-pipe -nostdinc
+ CROSS=
+
+ CC=gcc
+@@ -126,10 +125,6 @@
+
+ LIBMATHOBJ=$(patsubst %,$(OBJDIR)/%,$(LIBMATH))
+
+-ifeq ($(CFLAGS),-pipe -nostdinc)
+-CFLAGS+=-O -fomit-frame-pointer
+-endif
+-
+ ifneq ($(DEBUG),)
+ CFLAGS = -g
+ COMMENT = :
diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.28 b/dev-libs/dietlibc/files/digest-dietlibc-0.28
new file mode 100644
index 000000000000..f7f494f8b2b6
--- /dev/null
+++ b/dev-libs/dietlibc/files/digest-dietlibc-0.28
@@ -0,0 +1 @@
+MD5 5be8e221a438817f83f73d09ce655883 dietlibc-0.28.tar.bz2 560540
diff --git a/dev-libs/dietlibc/files/gcc-33-r3.patch b/dev-libs/dietlibc/files/gcc-33-r3.patch
new file mode 100644
index 000000000000..1ccc1d4a98ff
--- /dev/null
+++ b/dev-libs/dietlibc/files/gcc-33-r3.patch
@@ -0,0 +1,16 @@
+--- diet.c
++++ diet.c
+@@ -26,8 +26,13 @@
+
+ static const char* Os[] = {
+ "i386","-Os","-mpreferred-stack-boundary=2",
++#if __GNUC__ >= 3
++ "-falign-functions=1","-falign-jumps=1",
++ "-falign-loops=1","-fomit-frame-pointer",0,
++#else
+ "-malign-functions=1","-malign-jumps=1",
+ "-malign-loops=1","-fomit-frame-pointer",0,
++#endif
+ "x86_64","-Os","-fno-omit-frame-pointer",0,
+ "sparc","-Os","-mcpu=supersparc",0,
+ "sparc64","-Os","-m64",0,