add dietlibc with arm fixes

This commit is contained in:
Mario Fetka
2011-12-13 16:38:57 +01:00
parent e5c074bd52
commit 1d52254695
10 changed files with 630 additions and 121 deletions

382
dev-libs/dietlibc/ChangeLog Normal file
View File

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

@@ -0,0 +1,39 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
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.28.tar.bz2 560540 RMD160 242cbcd5b7e7f341713f587598cddc9d6ee39f59 SHA1 ac67fca8e57f495e9834dfc77f3e3df227488774 SHA256 2b5cba7bad7ef6a4c0e83303c78cbf426e1fe01a5a69aeae801d714d6fdc002c
DIST dietlibc-0.30-patches-r0.tar.bz2 13466 RMD160 aef639595e93bd319744901aa87ae15d331709f2 SHA1 f71163605ea54cef6a336a2c360beec38234858e SHA256 bdc14a428b53dcd57bbce2337198e43473964624021d5a4918c5147753e75251
DIST dietlibc-0.30.tar.bz2 567046 RMD160 98d4e20e106f60835ed4a22d3013d9a34957f18a SHA1 cab8631f8ca1902d6668584f72f71706bee020eb SHA256 2c8733825d364d374f0179a403a57e4a382fbb9852431228ef19062a5de183b5
DIST dietlibc-0.33_pre20100626.tar.bz2 596013 RMD160 70fdd9ce982c2e5fe57189583cf8bffd19eaef54 SHA1 5aa7d10aae4f95af34e9184acdd725cf90f56a22 SHA256 62ae548997c6ccd05f5e2df8e96b36f517674b9e0fe6a1797c1eb892f7985a88
DIST dietlibc-0.33_pre20110403.tar.gz 743758 RMD160 75ee2c54bfe7dace47082e23a439a220950b0631 SHA1 e20dc31a97f0e6cc4e9aaf95ad5016a4dbc594fd SHA256 6505ed424a5b53850ae1dcbc75fbf92f3b7e4038dd1104d114b366221cc48eea
DIST dietlibc-patches-0.30-r2.tar.bz2 31582 RMD160 6cd2a89cb47131360ed6e6a8cbcbe79aad84b18a SHA1 9c0bb84a7449edbfaccf0cbe694ccf8f57e26566 SHA256 03a3ea9bba39fb78511a59e80bcbdafdc82a0859b31b6af925854052a79f06fe
EBUILD dietlibc-0.28.ebuild 1568 RMD160 aecfcaad22d0848d05c8b6ae0d42cc0058ffb56c SHA1 6be7a28644b803add2d41c4507ceceea0505779a SHA256 1175349de3fc225bdbfe63918916d1698098ae58f18aa87a3dc1f36b14bcdc59
EBUILD dietlibc-0.30-r2.ebuild 1486 RMD160 5353c9b0d3380d8d08bbfa3a2387b37197c4f442 SHA1 ddf9915ef4940bfc9b560e238e309ee626ff03b4 SHA256 6cfad13261b5667157ba5bd3fa3aa4718ea68515bdf64e2c3727b350808e7b9d
EBUILD dietlibc-0.30.ebuild 1306 RMD160 faa644ea8b5420f771d5c3e98b07ba052ed2cfb2 SHA1 8b801a1aa61331ad5850fec997a736487d58a0d4 SHA256 e627a2a24aee0409366df1e18f49481e14892c645c77b4bc9e9ae471f138e853
EBUILD dietlibc-0.33_pre20100626.ebuild 1459 RMD160 834c3d5c83e388ad55a405b146ad5f4ea7220d7d SHA1 21f151a380116d0bd9eae6316ec4f51e3434ddd6 SHA256 96328d42681bf4530e3d0bc0cba3c686c936db05f47929ac69be394da9f5297f
EBUILD dietlibc-0.33_pre20110403.ebuild 1766 RMD160 035b3843baf7d335c54e18b265af38d40cbb5a1e SHA1 f21ddb0e104ca16a3263c2607e97b264b8928031 SHA256 6417f1034c03bf734b334981d06446b551f7992b0d428ec00f1ba5c646a6435a
MISC ChangeLog 13073 RMD160 2514f4bfd51a63ba1c66836b75c0febff5fee04f SHA1 c2285e27744dc143ec6d099eb26f7f827d747501 SHA256 c2be824b267001b7b2d42602554fc9f7b30657203a5a34506757d611166a0fdf
MISC metadata.xml 410 RMD160 063e81d4d38be2fa6f093828b42a0ee3e5b2b582 SHA1 e73d09647dcac3413d7bccb6f1d2a0bc50e60f48 SHA256 3fc38345f9430d71c6369f84fc1b6248bc8aa0ec74cb4ae5b2797fe01cf48721
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
iQIcBAEBCAAGBQJOyMZ4AAoJEF0huFKJUZL5cSAP/04IGGcBLNuK2zysdTBAvSfw
Jyt8a55ngQAqRsDIBSL1lBtFoF0cMpSZTXM0XjSvktiZ5vrNd1oQXvdqYTbUEo3Y
KW9KSa192dn0Y2Y4h+1ED+cuFBBWuXsl5hNpVEyW2fU2MkaXUOLPGex6A1nRI/Vv
cLtrlnw+Adtf6Ia1FB0tnDvtZJ8Ud9OsRPY+Lw6ksWRq0tqOO1UArQ3s2aV9iyFU
F+7dGr6aIPYhmDnJPEheWSNiMKflyseJB1G3c3vEonHWQYczEnmdvMolQNDzhivh
P/tv+zmrcLq65vilu5RwuAAaXx9yZy/s8m7SsmDNomeAGK7tvFto3Y1Y0C0H33lp
Gpb11FnjInbxAzKyWY7zB6nhoSg/UgivHKXncYca/ejQhm3RTbynCWuHM861HYRv
nWFX1fhxJMX45cSWl5rQiOGHof/0PQEn720ODEcRnGDC5rDKL7B2BLEI7BYMTsV7
2ka9v8cIJyBi+EWr3GP95P/E/xMGbFE4N7/bQwGC+9Oxhc2RSTjyHMT5fVMyrQqw
YREOS/k/aGQj9yF1EBjG3s0hHL2npcrGGcog9cY4vTyCXhwZKiOcoRlThy6b6DJx
/+uByHIc2u8EKc/UQ3pISsnzTCrNOess5d/KizR6WVgPX/8zhnG/fGXYJujVKcan
UTAnpICWeah16jG8RZ/E
=jDW/
-----END PGP SIGNATURE-----

View File

@@ -0,0 +1,69 @@
# 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
}
src_compile() {
epatch "${FILESDIR}/arm-binutils-fix.patch"
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

@@ -0,0 +1,10 @@
diff -uNr hollow-dietlibc-4e86d5e.orig//libcompat/syscall.S hollow-dietlibc-4e86d5e/libcompat/syscall.S
--- hollow-dietlibc-4e86d5e.orig//libcompat/syscall.S 2011-12-13 16:35:21.994177481 +0100
+++ hollow-dietlibc-4e86d5e/libcompat/syscall.S 2011-12-13 16:36:37.327958253 +0100
@@ -137,5 +137,6 @@
#else
.long __syscall_2_not_implemented_for_this_arch
#endif
+ .section text
#endif
.size syscall, . - syscall

View File

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