delete old packages

This commit is contained in:
Mario Fetka
2012-10-27 18:37:43 +02:00
parent ee2140f939
commit 050cd70c45
202 changed files with 0 additions and 16725 deletions

View File

@@ -1,382 +0,0 @@
# ChangeLog for dev-libs/dietlibc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.88 2011/11/20 09:20:49 xarthisius Exp $
20 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org> dietlibc-0.28.ebuild,
dietlibc-0.30-r2.ebuild, dietlibc-0.30.ebuild,
dietlibc-0.33_pre20100626.ebuild, dietlibc-0.33_pre20110403.ebuild:
ppc/ppc64 keywords dropped wrt #364103
12 Jul 2011; Mike Frysinger <vapier@gentoo.org> dietlibc-0.28.ebuild:
Convert from old `test_flag` to new `test-flag`.
14 May 2011; Benedikt Böhm <hollow@gentoo.org>
dietlibc-0.33_pre20100626.ebuild:
use Gentoo mirrors for custom snapshot
06 May 2011; Guy Martin <gmsoft@gentoo.org>
dietlibc-0.33_pre20110403.ebuild:
Marking -hppa as it doesn't build.
02 May 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
dietlibc-0.33_pre20110403.ebuild:
x86 stable wrt bug #364103
01 May 2011; Markos Chandras <hwoarang@gentoo.org>
dietlibc-0.33_pre20110403.ebuild:
Stable on amd64 wrt bug #364103
*dietlibc-0.33_pre20110403 (03 Apr 2011)
03 Apr 2011; Benedikt Böhm <hollow@gentoo.org>
-dietlibc-0.33_pre20090721.ebuild, +dietlibc-0.33_pre20110403.ebuild:
new snapshot with many fixes and clean cross compile support for previous
rename-patches
*dietlibc-0.33_pre20100626 (26 Jun 2010)
26 Jun 2010; Benedikt Böhm <hollow@gentoo.org>
dietlibc-0.33_pre20090721.ebuild, +dietlibc-0.33_pre20100626.ebuild:
fix -nopie wrt #325539
24 Aug 2009; Benedikt Böhm <hollow@gentoo.org>
-dietlibc-0.32_pre20081116.ebuild, dietlibc-0.33_pre20090721.ebuild:
fix #111880 (again)
*dietlibc-0.33_pre20090721 (10 Aug 2009)
10 Aug 2009; Benedikt Böhm <hollow@gentoo.org>
-dietlibc-0.31_pre20070503.ebuild, -dietlibc-0.31_pre20070612.ebuild,
-dietlibc-0.32_pre20080829.ebuild, -dietlibc-0.32.ebuild,
+dietlibc-0.33_pre20090721.ebuild:
version bump
*dietlibc-0.32 (10 Aug 2009)
10 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> +dietlibc-0.32.ebuild:
Version bump.
*dietlibc-0.32_pre20081116 (16 Nov 2008)
16 Nov 2008; Benedikt Böhm <hollow@gentoo.org>
+dietlibc-0.32_pre20081116.ebuild:
new snapshot, fixes #227793
03 Sep 2008; Benedikt Böhm <hollow@gentoo.org>
dietlibc-0.32_pre20080829.ebuild:
fix #236417
*dietlibc-0.32_pre20080829 (29 Aug 2008)
29 Aug 2008; Benedikt Böhm <hollow@gentoo.org>
+dietlibc-0.32_pre20080829.ebuild:
new snapshot wrt #227429
14 Mar 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml:
fix metadata
*dietlibc-0.31_pre20070612 (12 Jun 2007)
12 Jun 2007; Benedikt Böhm <hollow@gentoo.org>
-dietlibc-0.31_pre20070611.ebuild, +dietlibc-0.31_pre20070612.ebuild:
another prerelease; should fix #181261
*dietlibc-0.31_pre20070611 (11 Jun 2007)
11 Jun 2007; Benedikt Böhm <hollow@gentoo.org>
+dietlibc-0.31_pre20070611.ebuild:
custom tarball with patches already included, see
http://svn.linux-vserver.org/projects/dietlibc/
23 May 2007; Raúl Porcel <armin76@gentoo.org> dietlibc-0.30-r2.ebuild:
alpha stable wrt #179408
23 May 2007; Jeroen Roovers <jer@gentoo.org> dietlibc-0.30-r2.ebuild:
Stable for HPPA (bug #179408).
22 May 2007; Christian Heim <phreak@gentoo.org>
dietlibc-0.31_pre20070503.ebuild:
Removing the MAKEOPTS override, seems to work now.
*dietlibc-0.31_pre20070503 (03 May 2007)
03 May 2007; Benedikt Böhm <hollow@gentoo.org> -files/gcc-33.patch,
-files/0.25-gcc34.patch, -dietlibc-0.25.ebuild, -dietlibc-0.29.ebuild,
+dietlibc-0.31_pre20070503.ebuild:
add pre release for new SSP stuff; remove old cruft where possible
20 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org>
dietlibc-0.30-r2.ebuild:
Stable on sparc
21 Jan 2007; Benedikt Böhm <hollow@gentoo.org> dietlibc-0.30-r2.ebuild:
fix #163059
20 Jan 2007; Christian Heim <phreak@gentoo.org> dietlibc-0.30-r2.ebuild:
Moving dietlibc-0.30-r2 stable on amd64 and x86.
16 Oct 2006; Jason Wever <weeve@gentoo.org> dietlibc-0.30.ebuild:
Stable on SPARC.
24 Sep 2006; Michael Hanselmann <hansmi@gentoo.org> dietlibc-0.30.ebuild:
Stable on ppc.
*dietlibc-0.30-r2 (08 Sep 2006)
08 Sep 2006; Benedikt Böhm <hollow@gentoo.org> -dietlibc-0.30-r1.ebuild,
+dietlibc-0.30-r2.ebuild:
and hopefully fix PIC mess on x86 too
*dietlibc-0.30-r1 (07 Sep 2006)
07 Sep 2006; Benedikt Böhm <hollow@gentoo.org> +dietlibc-0.30-r1.ebuild:
hopefully fix SSP/PIE/STACKGAP mess (also fixes #138468); fix executable
stacks; fix CFLAGS handling
04 Sep 2006; Joshua Jackson <tsunam@gentoo.org> dietlibc-0.30.ebuild:
Stable x86; bug #140905
*dietlibc-0.30 (22 Jun 2006)
22 Jun 2006; Benedikt Böhm <hollow@gentoo.org>
-dietlibc-0.30_pre20060501-r1.ebuild, -dietlibc-0.30_pre20060621.ebuild,
+dietlibc-0.30.ebuild:
version bump
*dietlibc-0.30_pre20060621 (21 Jun 2006)
21 Jun 2006; Benedikt Böhm <hollow@gentoo.org>
+dietlibc-0.30_pre20060621.ebuild:
new cvs snapshot
*dietlibc-0.30_pre20060501-r1 (03 May 2006)
03 May 2006; Benedikt Böhm <hollow@gentoo.org>
-dietlibc-0.30_pre20060501.ebuild, +dietlibc-0.30_pre20060501-r1.ebuild:
fix ppc rename patch
*dietlibc-0.30_pre20060501 (02 May 2006)
02 May 2006; Benedikt Böhm <hollow@gentoo.org> -files/gcc-33-r2.patch,
-dietlibc-0.27.ebuild, -dietlibc-0.29-r1.ebuild,
+dietlibc-0.30_pre20060501.ebuild:
new cvs snapshot; should fix 114796 + 111880; cleanup
11 Apr 2006; Christian Heim <phreak@gentoo.org> dietlibc-0.29-r1.ebuild:
Fixing SRC_URI, cleaning up the patch-mess; Logic cleanup
*dietlibc-0.29-r1 (06 Apr 2006)
06 Apr 2006; Christian Heim <phreak@gentoo.org> +dietlibc-0.29-r1.ebuild:
Adding a reworked ebuild; need to get other arches to test the ebuild
07 Jan 2006; Christian Heim <phreak@gentoo.org> metadata.xml:
Updating Copyright header, dev-libs/dietlibc is now managed by vserver-devs@g.o
24 Dec 2005; Simon Stelling <blubb@gentoo.org> dietlibc-0.28.ebuild:
stable on amd64
*dietlibc-0.29 (04 Sep 2005)
04 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> +dietlibc-0.29.ebuild:
Bumped version and fixed compilation on 32-bit userland with 64-bit kernel on
ppc.
07 Aug 2005; Jason Wever <weeve@gentoo.org> dietlibc-0.28.ebuild:
Stable on SPARC.
03 Aug 2005; Bryan Østergaard <kloeri@gentoo.org> dietlibc-0.28.ebuild:
Stable on alpha.
31 Jul 2005; Tobias Scherbaum <dertobi123@gentoo.org>
dietlibc-0.28.ebuild:
ppc stable
20 Jul 2005; Rene Nussbaumer <killerfox@gentoo.org> dietlibc-0.28.ebuild:
Stable on hppa. Added fix for hppa of not available gcc option.
20 Jul 2005; Markus Rothe <corsair@gentoo.org> dietlibc-0.28.ebuild:
Stable on ppc64
12 Jul 2005; <solar.@gentoo.org> dietlibc-0.28.ebuild:
- marked 0.28 stable on x86
16 May 2005; Daniel Black <dragonheart@gentoo.org> dietlibc-0.25.ebuild,
dietlibc-0.27.ebuild, dietlibc-0.28.ebuild:
removed gcc.eclass usage as per bug #92745.
09 Apr 2005; Tom Gall <tgall@gentoo.org>
dietlibc-0.27.ebuild:
stable on ppc64
*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.
27 Dec 2004; Markus Rothe <corsair@gentoo.org> dietlibc-0.27.ebuild:
Added ~ppc64 to KEYWORDS
05 Dec 2004; <solar@gentoo.org> files/ssp.c, dietlibc-0.27.ebuild:
- Fixed misc ssp problems introduced from dietlibc-0.26-r1 -> dietlibc-0.27-r0
which were causing genkernel failures for hardened users. bug #73112
14 Oct 2004; Guy Martin <gmsoft@gentoo.org> dietlibc-0.25.ebuild:
Stable on hppa.
*dietlibc-0.27 (01 Oct 2004)
01 Oct 2004; Robin H. Johnson <robbat2@gentoo.org> +files/gcc-33-r2.patch,
+dietlibc-0.27.ebuild:
Version bump, add debug support, do CFLAGS properly, do gcc3[34] patch
properly, ssp.c merged upstream, mips in unstable, and add cross-compile
stuff.
*dietlibc-0.26-r1 (21 Aug 2004)
21 Aug 2004; <solar@gentoo.org> files/dietlibc-0.26-ssp.patch,
dietlibc-0.26-r1.ebuild:
more patch work needed for ssp on sparc/sparc64. sparc64 is building sparc32
crt files. x86_64 seems more like a gcc-3.4.x compile problem. For now we will
only patch for x86
13 Aug 2004; Jason Wever <weeve@gentoo.org> dietlibc-0.25.ebuild:
Stable on sparc.
07 Aug 2004; <solar@gentoo.org> :
Made dietlibc propolice/ssp aware on arches sparc/sparc64/x86_64/i386. Also
made feeble attempt to version bump to 0.27 but that failed something fierce
19 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> dietlibc-0.23.ebuild:
|| die for sparc's make in src_compile().
*dietlibc-0.26 (18 Jul 2004)
18 Jul 2004; Daniel Black <dragonheart@gentoo.org> +dietlibc-0.26.ebuild
dietlibc-0.24.ebuild, dietlibc-0.25.ebuild:
version bump as per bug #54790. May not work properly. No 3.4 patch applied -
wasn't sure if necessary. x86 stable for 0.24 and 0.25
01 Jun 2004; Mike Frysinger <vapier@gentoo.org> +files/0.25-gcc34.patch,
dietlibc-0.25.ebuild:
Add gcc-3.4 patch #51053 by Imad R. Faiad.
*dietlibc-0.25 (29 May 2004)
29 May 2004; Travis Tilley <lv@gentoo.org> +dietlibc-0.25.ebuild:
version bump - works with gcc 3.4
25 Mar 2004; Jason Wever <weeve@gentoo.org> dietlibc-0.24.ebuild:
Added fix for bug #45716.
25 Mar 2004; Jason Wever <weeve@gentoo.org> dietlibc-0.24.ebuild,
files/dietlibc-sparc64-makefile.patch:
Fix for bug #45601 and adjusted Makefile so that the usage of the sparc32
command isn't needed anymore.
19 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> dietlibc-0.23.ebuild,
dietlibc-0.24.ebuild, files/gcc-33.patch:
add patch from Frank Eibisch to correct wrapper not to use old options for gcc
3 (bug #41763); some repoman cleanup
17 Feb 2004; David Holm <dholm@gentoo.org> dietlibc-0.24.ebuild:
Added to ~ppc.
14 Dec 2003; Alexander Gabert <pappy@gentoo.org> dietlibc-0.24.ebuild:
added filter-flags logic for propolice
06 Dec 2003; Jason Wever <weeve@gentoo.org> dietlibc-0.22-r2.ebuild,
dietlibc-0.23.ebuild, dietlibc-0.24.ebuild:
Marked stable on sparc.
22 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> dietlibc-0.24.ebuild:
inherit fixheadtails and do ht_fix_all (bug 34125)
*dietlibc-0.24 (21 Nov 2003)
21 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> dietlibc-0.24.ebuild,
files/0.24-dirent-prototype.patch:
version bump
21 Oct 2003; <solar@gentoo.org> dietlibc-0.23.ebuild:
bumping 0.23 to stable on x86 per request, and added a metadata.xml
07 Oct 2003; Jason Wever <weeve@gentoo.org> dietlibc-0.22-r2.ebuild,
dietlibc-0.23.ebuild:
Ebuild touchups for sparc because of new rev of sys-devel/sparc32
29 Sep 2003; Jason Wever <weeve@gentoo.org> dietlibc-0.22-r2.ebuild,
dietlibc-0.23.ebuild:
Added sparc64 fix for bug #27171.
*dietlibc-0.23 (12 Sep 2003)
20 Dec 2003; Guy Martin <gmsoft@gentoo.org> dietlibc-0.23.ebuild,
files/dietlibc-0.23-hppa.patch:
Added hppa patch. Fix #32701.
12 Sep 2003; <solar@gentoo.org> dietlibc-0.23.ebuild,
files/0.23-dirent-prototype.patch:
version bump, this release fixes a ton of outstanding bugs upstream. seems the
dirent patch never made it's way back to fefe.de, new gentoo dirent patch
created to keep offsets happy.
11 Aug 2003; Will Woods <wwoods@gentoo.org> dietlibc-0.22-r2.ebuild:
Marked stable for alpha
25 May 2003; Martin Holzer <mholzer@gentoo.org> dietlibc-0.20.ebuild,
dietlibc-0.21.ebuild, dietlibc-0.22-r1.ebuild, dietlibc-0.22-r2.ebuild,
dietlibc-0.22.ebuild:
now uses mirror://kernel
*dietlibc-0.22-r2 (14 May 2003)
16 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
Added a small prototype patch ... prototypes used 'long int' while
actual function used 'off_t' ... set them both to 'off_t'.
14 May 2003; John Mylchreest <johnm@gentoo.org> dietlibc-0.22-r2.ebuild:
Updated dietlibc to compile with -fstack-protector
*dietlibc-0.22-r1 (30 Mar 2003)
30 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> dietlibc-0.22-r1.ebuild :
Forgot to apply a patch. Applied patch is from Debian's dietblic-0.22-2 release.
*dietlibc-0.22 (28 Mar 2003)
28 Mar 2003; Guy Martin <gmsoft@gentoo.org> dietlibc-0.22.ebuild :
Added ~hppa to KEYWORDS.
28 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> dietlibc-0.22.ebuild :
Security update.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*dietlibc-0.21 (29 Oct 2002)
29 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
Version bump. Ebuild contributed by fridtjof@fbunet.de, ppc patch by
Nicolas Kaiser <nikai@nikai.net>. All in #9484
*dietlibc-0.20 (27 Sep 2002)
Version bump that includes security fix. Ebuild contributed by fridtjof@fbunet.de.
*dietlibc-0.16 (29 Mar 2002)
29 Mar 2002; Thilo Bangert <bangert@gentoo.org> ChangeLog :
completely reworked ebuild
*dietlibc-0.16 (28 Mar 2002)
28 Mar 2002; Thilo Bangert <bangert@gentoo.org> ChangeLog :
bumped version, use emake || die instead of try make

View File

@@ -1,10 +0,0 @@
AUX 0.24-dirent-prototype.patch 668 RMD160 c86dd2b8860952d5f850acea204359aa48bd3ebc SHA1 08f416adc9e9727183905bd5ca1e8352122d4593 SHA256 b8ceebd840995c757098e57d3e71ec17266d02e62badc717d7e4afa95e00deb5
AUX dietlibc-0.26-ssp.patch 1632 RMD160 59f3ca58604b643f3e777f3484183e3a9469c990 SHA1 c25125a3ac737b88c9f26db2ed6aeeb347ac9048 SHA256 e7327c2b4f0872f27257d6960250adce01b330f3ae7fdab8ce30eab981cf69f1
AUX dietlibc-0.28-Makefile.patch 529 RMD160 4b66ccd46900965111fbaa0f7712fa61d921bdcb SHA1 b81202d1aaa9b93640adc1307598adb719440c2a SHA256 4307ae87429c4d431d0770532b4a7e96e209e2247baa884a7bb90cfc306a647d
AUX dietlibc-sparc64-makefile.patch 499 RMD160 a7f21fcc3a96646fed11cf19e09683d35bc4ad83 SHA1 8c619b218f6e9e1834d377bc7be4b18b9cee456b SHA256 59d73b59df80ec83758b5bf6ffeb7cefd1359705e128cc2392f1b1603e2c3074
AUX gcc-33-r3.patch 451 RMD160 a0576ea89a560174f11004814001f0782ec9a1a4 SHA1 2d7f06e3a660afe5b70af58000f0f86ad25dcdc6 SHA256 3deaf13c0d56375c8f6002b349214178386f4441664540cde2c07a5a09498396
AUX ssp.c 3065 RMD160 4d1f9aeb0d7d63978b717b7487dfbf17b9fd046a SHA1 ce38c67dc73f304f0036513b484436b83fb4c7f8 SHA256 a35ab2cd397c28d850667d99ca39eab1c521c141c9bb4826fb9c91310406d52c
DIST dietlibc-0.33_pre20110403.tar.gz 743758 RMD160 75ee2c54bfe7dace47082e23a439a220950b0631 SHA1 e20dc31a97f0e6cc4e9aaf95ad5016a4dbc594fd SHA256 6505ed424a5b53850ae1dcbc75fbf92f3b7e4038dd1104d114b366221cc48eea
EBUILD dietlibc-0.33_pre20110403.ebuild 1879 RMD160 428cdbc3bc47091f4340a8734ac84ae82632d12c SHA1 d95aae21483667635edf04a070da979865ffbd71 SHA256 867697fc16389583dc7996aabac50aac07bdf642ce2decc4cd7faef7f11c82cf
MISC ChangeLog 13073 RMD160 2514f4bfd51a63ba1c66836b75c0febff5fee04f SHA1 c2285e27744dc143ec6d099eb26f7f827d747501 SHA256 c2be824b267001b7b2d42602554fc9f7b30657203a5a34506757d611166a0fdf
MISC metadata.xml 410 RMD160 063e81d4d38be2fa6f093828b42a0ee3e5b2b582 SHA1 e73d09647dcac3413d7bccb6f1d2a0bc50e60f48 SHA256 3fc38345f9430d71c6369f84fc1b6248bc8aa0ec74cb4ae5b2797fe01cf48721

View File

@@ -1,72 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20110403.ebuild,v 1.5 2011/11/20 09:20:49 xarthisius Exp $
EAPI="3"
inherit eutils flag-o-matic toolchain-funcs
GITHUB_AUTHOR="hollow"
GITHUB_PROJECT="dietlibc"
GITHUB_COMMIT="4e86d5e"
DESCRIPTION="A libc optimized for small size"
HOMEPAGE="http://www.fefe.de/dietlibc/"
SRC_URI="http://nodeload.github.com/${GITHUB_AUTHOR}/${GITHUB_PROJECT}/tarball/v${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm -hppa ~mips ~sparc x86"
IUSE="debug"
DEPEND=""
RDEPEND=""
S="${WORKDIR}"/${GITHUB_AUTHOR}-${GITHUB_PROJECT}-${GITHUB_COMMIT}
DIETHOME=/usr/diet
pkg_setup() {
# Replace sparc64 related C[XX]FLAGS (see bug #45716)
use sparc && replace-sparc64-flags
# gcc-hppa suffers support for SSP, compilation will fail
use hppa && strip-unsupported-flags
# debug flags
use debug && append-flags -g
# Makefile does not append CFLAGS
append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \
-Wmissing-prototypes -Wmissing-declarations -Wno-switch \
-Wno-unused -Wredundant-decls -fno-strict-aliasing
# only use -nopie on archs that support it
gcc-specs-pie && append-flags -nopie
# remove gcc/binutils plugins like dragonegg/LLVMGold ...
filter-flags --plugin*
filter-ldflags -Wl,-plugin*
}
src_compile() {
emake prefix=${DIETHOME} \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
STRIP=":" \
|| die "make failed"
}
src_install() {
emake prefix=${DIETHOME} \
DESTDIR="${D}" \
install-bin \
install-headers \
|| die "make install failed"
dobin "${D}"${DIETHOME}/bin/* || die "dobin failed"
doman "${D}"${DIETHOME}/man/*/* || die "doman failed"
rm -r "${D}"${DIETHOME}/{man,bin}
dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING
}

View File

@@ -1,14 +0,0 @@
diff -Nru dietlibc-0.23.orig/include/dirent.h dietlibc-0.23/include/dirent.h
--- dietlibc-0.23.orig/include/dirent.h 2003-08-19 12:22:52.000000000 -0400
+++ dietlibc-0.23/include/dirent.h 2003-09-12 20:40:03.000000000 -0400
@@ -37,8 +37,8 @@
struct dirent *readdir (DIR *__dirp) __THROW;
struct dirent64 *readdir64 (DIR *__dirp) __THROW;
void rewinddir (DIR *__dirp) __THROW;
-void seekdir (DIR *__dirp, long int __pos) __THROW;
-long int telldir (DIR *__dirp) __THROW;
+void seekdir (DIR *__dirp, off_t __pos) __THROW;
+off_t telldir (DIR *__dirp) __THROW;
int scandir(const char *dir, struct dirent ***namelist,
int (*selection)(const struct dirent *),

View File

@@ -1,54 +0,0 @@
diff -Nrup dietlibc-0.26.orig/i386/start.S dietlibc-0.26/i386/start.S
--- dietlibc-0.26.orig/i386/start.S 2003-04-17 09:55:39.000000000 -0400
+++ dietlibc-0.26/i386/start.S 2004-08-07 18:50:52.000000000 -0400
@@ -50,7 +50,9 @@ _start:
PUT_VAR %edi, __vsyscall, %edx
1:
#endif
-
+#ifdef __dietlibc__
+ call __guard_setup
+#endif
#ifdef WANT_DYNAMIC
call _dyn_start
#else
diff -Nrup dietlibc-0.26.orig/sparc/start.S dietlibc-0.26/sparc/start.S
--- dietlibc-0.26.orig/sparc/start.S 2003-08-22 08:16:23.000000000 -0400
+++ dietlibc-0.26/sparc/start.S 2004-08-07 18:55:26.000000000 -0400
@@ -29,6 +29,9 @@ _start:
be NULL. */
/* Let libc do the rest of the initialization, and call main. */
+#if 0 /* FIXME: __dietlibc__ */
+ call __guard_setup
+#endif
#ifdef WANT_DYNAMIC
call dyn_start
#else
diff -Nrup dietlibc-0.26.orig/sparc64/start.S dietlibc-0.26/sparc64/start.S
--- dietlibc-0.26.orig/sparc64/start.S 2003-08-22 08:16:23.000000000 -0400
+++ dietlibc-0.26/sparc64/start.S 2004-08-07 18:55:36.000000000 -0400
@@ -29,6 +29,9 @@ _start:
be NULL. */
/* Let libc do the rest of the initialization, and call main. */
+#if 0 /* FIXME: __dietlibc__ */
+ call __guard_setup
+#endif
#ifdef WANT_DYNAMIC
call dyn_start
#else
diff -Nrup dietlibc-0.26.orig/x86_64/start.S dietlibc-0.26/x86_64/start.S
--- dietlibc-0.26.orig/x86_64/start.S 2003-02-05 09:29:19.000000000 -0500
+++ dietlibc-0.26/x86_64/start.S 2004-08-07 18:52:39.000000000 -0400
@@ -35,6 +35,10 @@ _start:
popq %rdi
#endif
+#if 0 /* FIXME: __dietlibc__ */
+ call __guard_setup
+#endif
+
#ifdef WANT_DYNAMIC
call _dyn_start
#else

View File

@@ -1,28 +0,0 @@
--- 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 = :

View File

@@ -1,11 +0,0 @@
--- Makefile.orig 2004-03-25 08:24:20.420425000 -0700
+++ Makefile 2004-03-25 08:27:02.730425000 -0700
@@ -8,7 +8,7 @@
BINDIR=${prefix}/bin
MAN1DIR=${prefix}/man/man1
-MYARCH:=$(shell uname -m | sed -e 's/i[4-9]86/i386/' -e 's/armv[3-6][lb]/arm/')
+MYARCH:=$(shell uname -m | sed -e 's/i[4-9]86/i386/' -e 's/armv[3-6][lb]/arm/' -e 's/sparc64/sparc/')
# This extra-ugly cruft is here so make will not run uname and sed each
# time it looks at $(OBJDIR). This alone sped up running make when

View File

@@ -1,16 +0,0 @@
--- 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,

View File

@@ -1,129 +0,0 @@
/*
* Distributed under the terms of the GNU General Public License v2
* $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/files/ssp.c,v 1.2 2004/12/05 19:25:40 solar Exp $
*
* This is a modified version of Hiroaki Etoh's stack smashing routines
* implemented for glibc.
*
* The following people have contributed input to this code.
* Ned Ludd - <solar[@]gentoo.org>
* Alexander Gabert - <pappy[@]gentoo.org>
* The PaX Team - <pageexec[@]freemail.hu>
* Peter S. Mazinger - <ps.m[@]gmx.net>
* Yoann Vandoorselaere - <yoann[@]prelude-ids.org>
* Robert Connolly - <robert[@]linuxfromscratch.org>
* Cory Visi <cory@visi.name>
*
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/time.h>
#ifdef __PROPOLICE_BLOCK_SEGV__
#define SSP_SIGTYPE SIGSEGV
#elif __PROPOLICE_BLOCK_KILL__
#define SSP_SIGTYPE SIGKILL
#else
#define SSP_SIGTYPE SIGABRT
#endif
unsigned long __guard = 0UL;
void
__guard_setup (void)
{
size_t size;
if (__guard != 0UL)
return;
#ifndef __SSP_QUICK_CANARY__
/*
* Attempt to open kernel pseudo random device if one exists before
* opening urandom to avoid system entropy depletion.
*/
{
int fd;
#ifdef HAVE_DEV_ERANDOM
if ((fd = open ("/dev/erandom", O_RDONLY)) == (-1))
#endif
fd = open ("/dev/urandom", O_RDONLY);
if (fd != (-1))
{
size = read (fd, (char *) &__guard, sizeof (__guard));
close (fd);
if (size == sizeof (__guard))
return;
}
}
#endif
/* If sysctl was unsuccessful, use the "terminator canary". */
__guard = 0xFF0A0D00UL;
{
/* Everything failed? Or we are using a weakened model of the
* terminator canary */
struct timeval tv;
gettimeofday (&tv, NULL);
__guard ^= tv.tv_usec ^ tv.tv_sec;
}
}
void
__stack_smash_handler (char func[], int damaged)
{
struct sigaction sa;
const char message[] = ": stack smashing attack in function ";
int bufsz, len;
char buf[512];
static char *__progname = "dietapp";
sigset_t mask;
sigfillset (&mask);
sigdelset (&mask, SSP_SIGTYPE); /* Block all signal handlers */
sigprocmask (SIG_BLOCK, &mask, NULL); /* except SIGABRT */
bufsz = sizeof (buf);
strcpy (buf, "<2>");
len = 3;
strncat (buf, __progname, sizeof (buf) - 4);
len = strlen (buf);
if (bufsz > len)
{
strncat (buf, message, bufsz - len - 1);
len = strlen (buf);
}
if (bufsz > len)
{
strncat (buf, func, bufsz - len - 1);
len = strlen (buf);
}
/* print error message */
write (STDERR_FILENO, buf + 3, len - 3);
write (STDERR_FILENO, "()\n", 3);
/* Make sure the default handler is associated with the our signal handler */
memset (&sa, 0, sizeof (struct sigaction));
sigfillset (&sa.sa_mask); /* Block all signals */
sa.sa_flags = 0;
sa.sa_handler = SIG_DFL;
sigaction (SSP_SIGTYPE, &sa, NULL);
(void) kill (getpid (), SSP_SIGTYPE);
_exit (127);
}

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>vserver</herd>
<longdescription>
The diet libc is a libc that is optimized for small size. It can be
used to create small statically linked binaries for Linux on alpha, arm,
hppa, ia64, i386, mips, s390, sparc, sparc64, ppc and x86_64.
</longdescription>
</pkgmetadata>