1 |
commit: a391523e9aff14dad0f59a30bde6c1944f8aa2e7 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 30 20:03:00 2012 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 30 20:03:00 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=a391523e |
7 |
|
8 |
sys-libs/uclibc: use tree ebuild, save configs |
9 |
|
10 |
--- |
11 |
sys-libs/uclibc/metadata.xml | 9 --- |
12 |
sys-libs/uclibc/uclibc-0.9.33.2-r99.ebuild | 59 -------------------- |
13 |
.../uclibc-amd64.0.9.33.2.config | 0 |
14 |
.../uclibc-mips.0.9.33.2.config | 0 |
15 |
.../uclibc-ppc.0.9.33.2.config | 0 |
16 |
.../uclibc-x86.0.9.33.2.config | 0 |
17 |
6 files changed, 0 insertions(+), 68 deletions(-) |
18 |
|
19 |
diff --git a/sys-libs/uclibc/metadata.xml b/sys-libs/uclibc/metadata.xml |
20 |
deleted file mode 100644 |
21 |
index e217c37..0000000 |
22 |
--- a/sys-libs/uclibc/metadata.xml |
23 |
+++ /dev/null |
24 |
@@ -1,9 +0,0 @@ |
25 |
-<?xml version="1.0" encoding="UTF-8"?> |
26 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
27 |
-<pkgmetadata> |
28 |
- <herd>hardened</herd> |
29 |
- <maintainer> |
30 |
- <email>blueness@g.o</email> |
31 |
- <name>Anthony G. Basile</name> |
32 |
- </maintainer> |
33 |
-</pkgmetadata> |
34 |
|
35 |
diff --git a/sys-libs/uclibc/uclibc-0.9.33.2-r99.ebuild b/sys-libs/uclibc/uclibc-0.9.33.2-r99.ebuild |
36 |
deleted file mode 100644 |
37 |
index 48e0a2e..0000000 |
38 |
--- a/sys-libs/uclibc/uclibc-0.9.33.2-r99.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,59 +0,0 @@ |
41 |
-# Copyright 1999-2012 Gentoo Foundation |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
-# $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 $ |
44 |
- |
45 |
-EAPI="4" |
46 |
- |
47 |
-inherit savedconfig |
48 |
- |
49 |
-MY_P=uClibc-${PV} |
50 |
-DESCRIPTION="C library for developing embedded Linux systems" |
51 |
-HOMEPAGE="http://www.uclibc.org/" |
52 |
-SRC_URI="http://uclibc.org/downloads/${MY_P}.tar.bz2" |
53 |
- |
54 |
-LICENSE="LGPL-2" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="-* amd64 x86 mips ~ppc" |
57 |
-IUSE="" |
58 |
-RESTRICT="strip" |
59 |
- |
60 |
-RDEPEND="" |
61 |
-DEPEND="" |
62 |
- |
63 |
-S=${WORKDIR}/${MY_P} |
64 |
- |
65 |
-src_configure() { |
66 |
- if use savedconfig; then |
67 |
- restore_config .config |
68 |
- else |
69 |
- cp "${FILESDIR}"/uclibc-${ARCH}.${PV}.config .config || die "${ARCH} is not supported" |
70 |
- fi |
71 |
- yes "" 2> /dev/null | make -s oldconfig > /dev/null || die "could not make oldconfig" |
72 |
-} |
73 |
- |
74 |
-src_compile() { |
75 |
- emake headers |
76 |
- emake |
77 |
- emake utils |
78 |
-} |
79 |
- |
80 |
-src_install() { |
81 |
- emake DESTDIR="${D}" install |
82 |
- |
83 |
- # remove files coming from kernel-headers |
84 |
- rm -rf "${D}"/usr/include/{linux,asm*} |
85 |
- |
86 |
- emake DESTDIR="${D}" install_utils |
87 |
- dobin extra/scripts/getent |
88 |
- dodoc Changelog* README TODO docs/*.txt DEDICATION.mjn3 |
89 |
- |
90 |
- if use savedconfig; then |
91 |
- save_config config/.config |
92 |
- fi |
93 |
-} |
94 |
- |
95 |
-pkg_postinst() { |
96 |
- echo "UTC" > "${ROOT}"/etc/TZ |
97 |
- /sbin/ldconfig |
98 |
- [[ -x /sbin/telinit ]] && /sbin/telinit U &> /dev/null |
99 |
-} |
100 |
|
101 |
diff --git a/sys-libs/uclibc/files/uclibc-amd64.0.9.33.2.config b/uclibc-configs/uclibc-amd64.0.9.33.2.config |
102 |
similarity index 100% |
103 |
rename from sys-libs/uclibc/files/uclibc-amd64.0.9.33.2.config |
104 |
rename to uclibc-configs/uclibc-amd64.0.9.33.2.config |
105 |
|
106 |
diff --git a/sys-libs/uclibc/files/uclibc-mips.0.9.33.2.config b/uclibc-configs/uclibc-mips.0.9.33.2.config |
107 |
similarity index 100% |
108 |
rename from sys-libs/uclibc/files/uclibc-mips.0.9.33.2.config |
109 |
rename to uclibc-configs/uclibc-mips.0.9.33.2.config |
110 |
|
111 |
diff --git a/sys-libs/uclibc/files/uclibc-ppc.0.9.33.2.config b/uclibc-configs/uclibc-ppc.0.9.33.2.config |
112 |
similarity index 100% |
113 |
rename from sys-libs/uclibc/files/uclibc-ppc.0.9.33.2.config |
114 |
rename to uclibc-configs/uclibc-ppc.0.9.33.2.config |
115 |
|
116 |
diff --git a/sys-libs/uclibc/files/uclibc-x86.0.9.33.2.config b/uclibc-configs/uclibc-x86.0.9.33.2.config |
117 |
similarity index 100% |
118 |
rename from sys-libs/uclibc/files/uclibc-x86.0.9.33.2.config |
119 |
rename to uclibc-configs/uclibc-x86.0.9.33.2.config |