summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-06-22 21:32:10 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-06-22 21:32:10 +0000
commitde52f6472aebdd554d03e3a7d906fe8ae69ece97 (patch)
tree76e2fbd85eee5cc64e0eff8fe8b863367eff02c9
parentAdd from kde overlay, clean up, add patch to handle test automagicness (diff)
downloadhistorical-de52f6472aebdd554d03e3a7d906fe8ae69ece97.tar.gz
historical-de52f6472aebdd554d03e3a7d906fe8ae69ece97.tar.bz2
historical-de52f6472aebdd554d03e3a7d906fe8ae69ece97.zip
Add very experimental hardened/linux/musl, only amd64 for now
-rw-r--r--profiles/hardened/ChangeLog10
-rw-r--r--profiles/hardened/linux/musl/amd64/make.defaults12
-rw-r--r--profiles/hardened/linux/musl/amd64/package.mask36
-rw-r--r--profiles/hardened/linux/musl/amd64/parent1
-rw-r--r--profiles/hardened/linux/musl/amd64/use.force6
-rw-r--r--profiles/hardened/linux/musl/amd64/use.mask26
-rw-r--r--profiles/hardened/linux/musl/make.defaults12
-rw-r--r--profiles/hardened/linux/musl/package.mask10
-rw-r--r--profiles/hardened/linux/musl/packages7
-rw-r--r--profiles/hardened/linux/musl/packages.build11
-rw-r--r--profiles/hardened/linux/musl/parent2
-rw-r--r--profiles/hardened/linux/musl/use.force5
-rw-r--r--profiles/hardened/linux/musl/use.mask14
13 files changed, 151 insertions, 1 deletions
diff --git a/profiles/hardened/ChangeLog b/profiles/hardened/ChangeLog
index ddf8a4695111..2e606d6c23b2 100644
--- a/profiles/hardened/ChangeLog
+++ b/profiles/hardened/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for Gentoo/AMD64 profile directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/ChangeLog,v 1.5 2013/06/09 11:43:33 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/ChangeLog,v 1.6 2013/06/22 21:32:09 blueness Exp $
+
+ 22 Jun 2013; Anthony G. Basile <blueness@gentoo.org>
+ +linux/musl/amd64/make.defaults, +linux/musl/amd64/package.mask,
+ +linux/musl/amd64/parent, +linux/musl/amd64/use.force,
+ +linux/musl/amd64/use.mask, +linux/musl/make.defaults,
+ +linux/musl/package.mask, +linux/musl/packages, +linux/musl/packages.build,
+ +linux/musl/parent, +linux/musl/use.force, +linux/musl/use.mask:
+ Add very experimental hardened/linux/musl, only amd64 for now
09 Jun 2013; Ulrich Müller <ulm@gentoo.org>
linux/amd64/no-multilib/package.mask:
diff --git a/profiles/hardened/linux/musl/amd64/make.defaults b/profiles/hardened/linux/musl/amd64/make.defaults
new file mode 100644
index 000000000000..7a0714c0178f
--- /dev/null
+++ b/profiles/hardened/linux/musl/amd64/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/musl/amd64/make.defaults,v 1.1 2013/06/22 21:32:09 blueness Exp $
+
+ARCH="amd64"
+ACCEPT_KEYWORDS="${ARCH}"
+
+CHOST="x86_64-gentoo-linux-musl"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
diff --git a/profiles/hardened/linux/musl/amd64/package.mask b/profiles/hardened/linux/musl/amd64/package.mask
new file mode 100644
index 000000000000..24f3e5db1055
--- /dev/null
+++ b/profiles/hardened/linux/musl/amd64/package.mask
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/musl/amd64/package.mask,v 1.1 2013/06/22 21:32:09 blueness Exp $
+
+#
+# Anthony G. Basile <blueness@gentoo.org> (07 Oct 2012)
+# profile hardened/linux/uclibc/amd64 is not mutlilib
+#
+app-emulation/emul-linux-x86-baselibs
+app-emulation/emul-linux-x86-compat
+app-emulation/emul-linux-x86-cpplibs
+app-emulation/emul-linux-x86-db
+app-emulation/emul-linux-x86-glibc-errno-compat
+app-emulation/emul-linux-x86-gstplugins
+app-emulation/emul-linux-x86-gtklibs
+app-emulation/emul-linux-x86-gtkmmlibs
+app-emulation/emul-linux-x86-java
+app-emulation/emul-linux-x86-jna
+app-emulation/emul-linux-x86-medialibs
+app-emulation/emul-linux-x86-motif
+app-emulation/emul-linux-x86-opengl
+app-emulation/emul-linux-x86-qtlibs
+app-emulation/emul-linux-x86-sdl
+app-emulation/emul-linux-x86-soundlibs
+app-emulation/emul-linux-x86-xlibs
+
+#
+# Alfredo Tupone <tupone@gentoo.org> (02 Feb 2013)
+# Depending on masked packages
+#
+games-strategy/dominions2-demo
+
+# Ulrich Müller <ulm@gentoo.org> (18 Mar 2013)
+# Packages that rely on multilib
+=app-editors/emacs-18*
+net-misc/icaclient
diff --git a/profiles/hardened/linux/musl/amd64/parent b/profiles/hardened/linux/musl/amd64/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/hardened/linux/musl/amd64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/hardened/linux/musl/amd64/use.force b/profiles/hardened/linux/musl/amd64/use.force
new file mode 100644
index 000000000000..790053d4b747
--- /dev/null
+++ b/profiles/hardened/linux/musl/amd64/use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/musl/amd64/use.force,v 1.1 2013/06/22 21:32:10 blueness Exp $
+
+# Force the flag which corresponds to ARCH.
+amd64
diff --git a/profiles/hardened/linux/musl/amd64/use.mask b/profiles/hardened/linux/musl/amd64/use.mask
new file mode 100644
index 000000000000..ddfd43924340
--- /dev/null
+++ b/profiles/hardened/linux/musl/amd64/use.mask
@@ -0,0 +1,26 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/musl/amd64/use.mask,v 1.1 2013/06/22 21:32:10 blueness Exp $
+
+# Unmask the flag which corresponds to ARCH.
+-amd64
+
+# unmask all SIMD assembler flags
+-mmx
+-mmxext
+-sse
+-sse2
+-sse3
+-sse4
+-sse4a
+-ssse3
+-3dnow
+-3dnowext
+
+# Lilo works on amd64
+-lilo
+
+# These work
+-input_devices_synaptics
+-input_devices_wacom
+-video_cards_qxl
diff --git a/profiles/hardened/linux/musl/make.defaults b/profiles/hardened/linux/musl/make.defaults
new file mode 100644
index 000000000000..9090a0224c47
--- /dev/null
+++ b/profiles/hardened/linux/musl/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/musl/make.defaults,v 1.1 2013/06/22 21:32:09 blueness Exp $
+
+ELIBC="musl"
+
+FEATURES="sandbox sfperms strict"
+
+USE="hardened nptl pax_kernel pic unicode xattr -berkdb -jit -orc"
+BOOTSTRAP_USE="${BOOTSTRAP_USE} hardened nptl pax_kernel pic -berkdb -jit -orc"
+
+SYMLINK_LIB="no"
diff --git a/profiles/hardened/linux/musl/package.mask b/profiles/hardened/linux/musl/package.mask
new file mode 100644
index 000000000000..e1f2069534a3
--- /dev/null
+++ b/profiles/hardened/linux/musl/package.mask
@@ -0,0 +1,10 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/musl/package.mask,v 1.1 2013/06/22 21:32:09 blueness Exp $
+
+-sys-libs/musl
+sys-libs/uclibc
+sys-libs/glibc
+#
+dev-libs/elfutils
+sys-libs/pam
diff --git a/profiles/hardened/linux/musl/packages b/profiles/hardened/linux/musl/packages
new file mode 100644
index 000000000000..f15532729f32
--- /dev/null
+++ b/profiles/hardened/linux/musl/packages
@@ -0,0 +1,7 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/musl/packages,v 1.1 2013/06/22 21:32:09 blueness Exp $
+
+*app-misc/pax-utils
+*dev-libs/libiconv
+-*sys-apps/man-pages
diff --git a/profiles/hardened/linux/musl/packages.build b/profiles/hardened/linux/musl/packages.build
new file mode 100644
index 000000000000..6aa0a086fcbd
--- /dev/null
+++ b/profiles/hardened/linux/musl/packages.build
@@ -0,0 +1,11 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/musl/packages.build,v 1.1 2013/06/22 21:32:09 blueness Exp $
+
+# This file lists extra packages needed to build for
+# a stage 1 based on this profile.
+
+dev-util/pkgconfig
+dev-libs/libiconv
+sys-apps/attr
+dev-python/pyxattr
diff --git a/profiles/hardened/linux/musl/parent b/profiles/hardened/linux/musl/parent
new file mode 100644
index 000000000000..c3ff51eae654
--- /dev/null
+++ b/profiles/hardened/linux/musl/parent
@@ -0,0 +1,2 @@
+../../../base/
+../../../default/linux
diff --git a/profiles/hardened/linux/musl/use.force b/profiles/hardened/linux/musl/use.force
new file mode 100644
index 000000000000..5454b9d4eaea
--- /dev/null
+++ b/profiles/hardened/linux/musl/use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/musl/use.force,v 1.1 2013/06/22 21:32:09 blueness Exp $
+
+elibc_musl
diff --git a/profiles/hardened/linux/musl/use.mask b/profiles/hardened/linux/musl/use.mask
new file mode 100644
index 000000000000..d1b81a500285
--- /dev/null
+++ b/profiles/hardened/linux/musl/use.mask
@@ -0,0 +1,14 @@
+# Copyright 1999-2013 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/musl/use.mask,v 1.1 2013/06/22 21:32:09 blueness Exp $
+
+nls
+pam
+
+emul-linux-x86
+
+-elibc_musl
+elibc_uclibc
+elibc_glibc
+
+-hardened