1 |
commit: 2fdf4c49952c0580653de009d1d1b5735b3e51e3 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 21 02:58:43 2011 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 21 02:58:43 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=2fdf4c49 |
7 |
|
8 |
profiles/uclibc: stripped profile targetting only hardened |
9 |
|
10 |
--- |
11 |
profiles/uclibc/make.defaults | 8 ++++++++ |
12 |
profiles/uclibc/package.mask | 18 ++++++++++++++++++ |
13 |
profiles/uclibc/packages | 4 ++++ |
14 |
profiles/uclibc/packages.build | 4 ++++ |
15 |
profiles/uclibc/parent | 2 ++ |
16 |
profiles/uclibc/use.force | 1 + |
17 |
profiles/uclibc/use.mask | 12 ++++++++++++ |
18 |
profiles/uclibc/x86/make.defaults | 7 +++++++ |
19 |
profiles/uclibc/x86/package.use.mask | 5 +++++ |
20 |
profiles/uclibc/x86/parent | 1 + |
21 |
10 files changed, 62 insertions(+), 0 deletions(-) |
22 |
|
23 |
diff --git a/profiles/uclibc/make.defaults b/profiles/uclibc/make.defaults |
24 |
new file mode 100644 |
25 |
index 0000000..ad4fd73 |
26 |
--- /dev/null |
27 |
+++ b/profiles/uclibc/make.defaults |
28 |
@@ -0,0 +1,8 @@ |
29 |
+CFLAGS="-Os" |
30 |
+CXXFLAGS="${CFLAGS}" |
31 |
+PORTAGE_LIBC="uClibc" |
32 |
+ELIBC=uclibc |
33 |
+FEATURES="sandbox sfperms strict nodoc noinfo noman" |
34 |
+ |
35 |
+USE="ncurses readline zlib uclibc -fortran -pam -berkdb -ipv6 -pppd" |
36 |
+BOOTSTRAP_USE="${BOOTSTRAP_USE} uclibc" |
37 |
|
38 |
diff --git a/profiles/uclibc/package.mask b/profiles/uclibc/package.mask |
39 |
new file mode 100644 |
40 |
index 0000000..6a2d9c6 |
41 |
--- /dev/null |
42 |
+++ b/profiles/uclibc/package.mask |
43 |
@@ -0,0 +1,18 @@ |
44 |
+# Copyright 1999-2011 Gentoo Foundation |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+# $Header: /var/cvsroot/gentoo-x86/profiles/uclibc/package.mask,v 1.21 2011/08/09 02:18:12 zmedico Exp $ |
47 |
+ |
48 |
+# glib-2.x requires working locale/iconv which |
49 |
+# isn't available atm in uclibc |
50 |
+>=dev-libs/glib-2.5 |
51 |
+ |
52 |
+-sys-libs/uclibc |
53 |
+sys-libs/glibc |
54 |
+ |
55 |
+# breaks gcc and such |
56 |
+dev-libs/libiconv |
57 |
+ |
58 |
+# requires funcs we dont yet provide |
59 |
+>=sys-fs/xfsprogs-2.8.10 |
60 |
+ |
61 |
+>sys-fs/udev-141 |
62 |
|
63 |
diff --git a/profiles/uclibc/packages b/profiles/uclibc/packages |
64 |
new file mode 100644 |
65 |
index 0000000..d4a830f |
66 |
--- /dev/null |
67 |
+++ b/profiles/uclibc/packages |
68 |
@@ -0,0 +1,4 @@ |
69 |
+app-misc/pax-utils |
70 |
+ |
71 |
+# this will be added by nls |
72 |
+-*sys-devel/gettext |
73 |
|
74 |
diff --git a/profiles/uclibc/packages.build b/profiles/uclibc/packages.build |
75 |
new file mode 100644 |
76 |
index 0000000..627fe56 |
77 |
--- /dev/null |
78 |
+++ b/profiles/uclibc/packages.build |
79 |
@@ -0,0 +1,4 @@ |
80 |
+# this should be added by nls only |
81 |
+-sys-devel/gettext |
82 |
+ |
83 |
+sys-apps/shadow |
84 |
|
85 |
diff --git a/profiles/uclibc/parent b/profiles/uclibc/parent |
86 |
new file mode 100644 |
87 |
index 0000000..6f0b2fa |
88 |
--- /dev/null |
89 |
+++ b/profiles/uclibc/parent |
90 |
@@ -0,0 +1,2 @@ |
91 |
+../base |
92 |
+../default/linux |
93 |
|
94 |
diff --git a/profiles/uclibc/use.force b/profiles/uclibc/use.force |
95 |
new file mode 100644 |
96 |
index 0000000..3904f12 |
97 |
--- /dev/null |
98 |
+++ b/profiles/uclibc/use.force |
99 |
@@ -0,0 +1 @@ |
100 |
+elibc_uclibc |
101 |
|
102 |
diff --git a/profiles/uclibc/use.mask b/profiles/uclibc/use.mask |
103 |
new file mode 100644 |
104 |
index 0000000..aa23eee |
105 |
--- /dev/null |
106 |
+++ b/profiles/uclibc/use.mask |
107 |
@@ -0,0 +1,12 @@ |
108 |
+iconv |
109 |
+nls |
110 |
+nptl |
111 |
+nis |
112 |
+ |
113 |
+emul-linux-x86 |
114 |
+-uclibc |
115 |
+ |
116 |
+-elibc_uclibc |
117 |
+elibc_glibc |
118 |
+ |
119 |
+-hardened |
120 |
|
121 |
diff --git a/profiles/uclibc/x86/make.defaults b/profiles/uclibc/x86/make.defaults |
122 |
new file mode 100644 |
123 |
index 0000000..0c8f59e |
124 |
--- /dev/null |
125 |
+++ b/profiles/uclibc/x86/make.defaults |
126 |
@@ -0,0 +1,7 @@ |
127 |
+ARCH="x86" |
128 |
+ACCEPT_KEYWORDS="x86" |
129 |
+CHOST="i386-gentoo-linux-uclibc" |
130 |
+UCLIBC_CPU_DEFAULT="GENERIC_386" |
131 |
+ |
132 |
+USE="ncurses readline zlib uclibc hardened pic" |
133 |
+BOOTSTRAP_USE="${BOOTSTRAP_USE} hardened pic" |
134 |
|
135 |
diff --git a/profiles/uclibc/x86/package.use.mask b/profiles/uclibc/x86/package.use.mask |
136 |
new file mode 100644 |
137 |
index 0000000..23e45cc |
138 |
--- /dev/null |
139 |
+++ b/profiles/uclibc/x86/package.use.mask |
140 |
@@ -0,0 +1,5 @@ |
141 |
+# Copyright 1999-2009 Gentoo Foundation |
142 |
+# Distributed under the terms of the GNU General Public License v2 |
143 |
+# $Header: /var/cvsroot/gentoo-x86/profiles/uclibc/x86/package.use.mask,v 1.4 2010/03/31 16:07:57 caster Exp $ |
144 |
+ |
145 |
+sys-devel/gcc -hardened |
146 |
|
147 |
diff --git a/profiles/uclibc/x86/parent b/profiles/uclibc/x86/parent |
148 |
new file mode 100644 |
149 |
index 0000000..f3229c5 |
150 |
--- /dev/null |
151 |
+++ b/profiles/uclibc/x86/parent |
152 |
@@ -0,0 +1 @@ |
153 |
+.. |