Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:musl commit in: virtual/libc/, sys-libs/musl/
Date: Wed, 26 Dec 2012 03:06:47
Message-Id: 1356491180.c10de55a640f76afa7912e6cec8852ef1b452bdd.blueness@gentoo
1 commit: c10de55a640f76afa7912e6cec8852ef1b452bdd
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 26 03:06:20 2012 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 26 03:06:20 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=c10de55a
7
8 sys-libs/musl: lu_zero added it to the tree
9
10 ---
11 sys-libs/musl/metadata.xml | 9 -------
12 sys-libs/musl/musl-0.9.3.ebuild | 49 ---------------------------------------
13 virtual/libc/libc-0.ebuild | 2 +-
14 3 files changed, 1 insertions(+), 59 deletions(-)
15
16 diff --git a/sys-libs/musl/metadata.xml b/sys-libs/musl/metadata.xml
17 deleted file mode 100644
18 index e217c37..0000000
19 --- a/sys-libs/musl/metadata.xml
20 +++ /dev/null
21 @@ -1,9 +0,0 @@
22 -<?xml version="1.0" encoding="UTF-8"?>
23 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
24 -<pkgmetadata>
25 - <herd>hardened</herd>
26 - <maintainer>
27 - <email>blueness@g.o</email>
28 - <name>Anthony G. Basile</name>
29 - </maintainer>
30 -</pkgmetadata>
31
32 diff --git a/sys-libs/musl/musl-0.9.3.ebuild b/sys-libs/musl/musl-0.9.3.ebuild
33 deleted file mode 100644
34 index 9922dd1..0000000
35 --- a/sys-libs/musl/musl-0.9.3.ebuild
36 +++ /dev/null
37 @@ -1,49 +0,0 @@
38 -# Copyright 1999-2012 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.30.1-r1.ebuild,v 1.9 2011/04/20 18:10:38 ulm Exp $
41 -
42 -EAPI="4"
43 -
44 -DESCRIPTION="A new standard library of Linux-based devices"
45 -HOMEPAGE="http://www.etalabs.net/musl/"
46 -SRC_URI="http://www.etalabs.net/musl/releases/${P}.tar.gz"
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -KEYWORDS="-* ~amd64 ~arm ~mips ~x86"
51 -IUSE=""
52 -RESTRICT="strip"
53 -
54 -RDEPEND=""
55 -DEPEND=""
56 -
57 -export CTARGET=${CTARGET:-${CHOST}}
58 -
59 -MUSLLIBS="lib/musl"
60 -
61 -do_native_config() {
62 - einfo "Installing ${PN} as a native C library"
63 - econf --prefix=/usr --disable-gcc-wrapper
64 -}
65 -
66 -do_alternative_config() {
67 - einfo "Installing ${PN} as an alternative C library"
68 - econf --prefix=/usr/"${MUSLLIBS}"
69 -}
70 -
71 -src_configure() {
72 - if [ ${CTARGET} == ${CHOST} ] ; then
73 - case ${CHOST} in
74 - *-musl*) do_native_config ;;
75 - *) do_alternative_config ;;
76 - esac
77 - else
78 - die "TODO: set up cross compiling"
79 - fi
80 -}
81 -
82 -src_install () {
83 - emake DESTDIR="${D}" install
84 - mkdir "${D}"/usr/bin/
85 - ln -s "../${MUSLLIBS}"/bin/musl-gcc "${D}"/usr/bin/
86 -}
87
88 diff --git a/virtual/libc/libc-0.ebuild b/virtual/libc/libc-0.ebuild
89 index 624f851..540ad24 100644
90 --- a/virtual/libc/libc-0.ebuild
91 +++ b/virtual/libc/libc-0.ebuild
92 @@ -10,7 +10,7 @@ SRC_URI=""
93
94 LICENSE=""
95 SLOT="0"
96 -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
97 +KEYWORDS="~amd64 ~arm"
98 IUSE=""
99
100 DEPEND=""