summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2006-10-08 18:37:25 +0000
committerChris PeBenito <pebenito@gentoo.org>2006-10-08 18:37:25 +0000
commitc467d80471e6c62e22647391ac78dbb58e38773b (patch)
tree1a67cacc80caa44c8d8f062d0088a2bdb1aca922 /profiles/selinux/sparc
parentmerge into toolchain (diff)
downloadgentoo-2-c467d80471e6c62e22647391ac78dbb58e38773b.tar.gz
gentoo-2-c467d80471e6c62e22647391ac78dbb58e38773b.tar.bz2
gentoo-2-c467d80471e6c62e22647391ac78dbb58e38773b.zip
add a pile of new selinux profiles
Diffstat (limited to 'profiles/selinux/sparc')
-rw-r--r--profiles/selinux/sparc/make.defaults7
-rw-r--r--profiles/selinux/sparc/packages21
-rw-r--r--profiles/selinux/sparc/parent1
-rw-r--r--profiles/selinux/sparc/sparc64/2006.1/make.defaults7
-rw-r--r--profiles/selinux/sparc/sparc64/2006.1/package.mask16
-rw-r--r--profiles/selinux/sparc/sparc64/2006.1/packages19
-rw-r--r--profiles/selinux/sparc/sparc64/2006.1/parent1
-rw-r--r--profiles/selinux/sparc/sparc64/2006.1/use.mask18
-rw-r--r--profiles/selinux/sparc/sparc64/2006.1/virtuals6
-rw-r--r--profiles/selinux/sparc/sparc64/make.defaults26
-rw-r--r--profiles/selinux/sparc/sparc64/packages8
-rw-r--r--profiles/selinux/sparc/sparc64/parent1
-rw-r--r--profiles/selinux/sparc/sparc64/use.mask5
-rw-r--r--profiles/selinux/sparc/use.mask199
-rw-r--r--profiles/selinux/sparc/virtuals11
15 files changed, 346 insertions, 0 deletions
diff --git a/profiles/selinux/sparc/make.defaults b/profiles/selinux/sparc/make.defaults
new file mode 100644
index 000000000000..2a6fb86e9eb2
--- /dev/null
+++ b/profiles/selinux/sparc/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/make.defaults,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+ARCH="sparc"
+ACCEPT_KEYWORDS="${ARCH}"
+FEATURES="sandbox sfperms"
diff --git a/profiles/selinux/sparc/packages b/profiles/selinux/sparc/packages
new file mode 100644
index 000000000000..b03310aa75ca
--- /dev/null
+++ b/profiles/selinux/sparc/packages
@@ -0,0 +1,21 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/packages,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+# Top-level sparc profile
+
+# SPARC specific stuff (32 and 64 bit)
+*sys-apps/sparc-utils
+
+##############################################################################
+# SELinux required versionings
+
+>=sys-libs/libsepol-1.12.28
+>=sys-libs/libselinux-1.30.29
+>=sys-libs/libsemanage-1.6.17
+>=sys-apps/policycoreutils-1.30.30
+>=sys-apps/checkpolicy-1.30.12
+
+>=sec-policy/selinux-base-policy-20060101
+
+##############################################################################
diff --git a/profiles/selinux/sparc/parent b/profiles/selinux/sparc/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/selinux/sparc/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/selinux/sparc/sparc64/2006.1/make.defaults b/profiles/selinux/sparc/sparc64/2006.1/make.defaults
new file mode 100644
index 000000000000..4671dc064fdf
--- /dev/null
+++ b/profiles/selinux/sparc/sparc64/2006.1/make.defaults
@@ -0,0 +1,7 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/sparc64/2006.1/make.defaults,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+# USE settings
+USE="berkdb crypt gcc64 ipv6 ncurses nls pam python readline ssl tcpd zlib"
+STAGE1_USE="gcc64 nptl nptlonly"
diff --git a/profiles/selinux/sparc/sparc64/2006.1/package.mask b/profiles/selinux/sparc/sparc64/2006.1/package.mask
new file mode 100644
index 000000000000..b56127ac6bc0
--- /dev/null
+++ b/profiles/selinux/sparc/sparc64/2006.1/package.mask
@@ -0,0 +1,16 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/sparc64/2006.1/package.mask,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+# Jason Wever <weeve@gentoo.org>
+# gradm requires 64 bit support, which doesn't exist in this profile
+>sys-apps/gradm-2.0.1-r1
+
+# Gustavo Zacarias <gustavoz@gentoo.org>
+# To avoid odd toolchain mixups
+<dev-libs/libffi-3.4.3
+
+# Mask gcc-4.x and glibc-2.4 until they are ready
+>=sys-devel/gcc-4.0.0
+>=sys-libs/glibc-2.4
+>=sys-kernel/linux-headers-2.6.17
diff --git a/profiles/selinux/sparc/sparc64/2006.1/packages b/profiles/selinux/sparc/sparc64/2006.1/packages
new file mode 100644
index 000000000000..06b0047feb31
--- /dev/null
+++ b/profiles/selinux/sparc/sparc64/2006.1/packages
@@ -0,0 +1,19 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/sparc64/2006.1/packages,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+# We really want 3.4.x for this profile
+*>=sys-devel/gcc-3.4.5
+*>=sys-devel/binutils-2.16.1-r2
+
+# Need newer ones to build with gcc 3.4.x
+*>=sys-libs/glibc-2.3.6-r3
+
+# Since we're running a sparc64 kernel w/ 32bit (v9) userland,
+# we need gcc-sparc64 for kernels.
+*>=sys-devel/gcc-sparc64-3.4.6
+
+# Jeremy Huddleston <eradicator@gentoo.org>
+# Earlier versions aren't patched to work with 2.6 headers
+*>=sys-boot/silo-1.4.10
+
diff --git a/profiles/selinux/sparc/sparc64/2006.1/parent b/profiles/selinux/sparc/sparc64/2006.1/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/selinux/sparc/sparc64/2006.1/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/selinux/sparc/sparc64/2006.1/use.mask b/profiles/selinux/sparc/sparc64/2006.1/use.mask
new file mode 100644
index 000000000000..71465abbfb98
--- /dev/null
+++ b/profiles/selinux/sparc/sparc64/2006.1/use.mask
@@ -0,0 +1,18 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/sparc64/2006.1/use.mask,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+# Java and java-related stuffs
+freetts
+java
+java-internal
+java-external
+netbeans
+
+# New stuff enabled
+-hal
+-ipod
+-alsa
+-ladcca
+-udev
+-pmount
diff --git a/profiles/selinux/sparc/sparc64/2006.1/virtuals b/profiles/selinux/sparc/sparc64/2006.1/virtuals
new file mode 100644
index 000000000000..3f17f125c745
--- /dev/null
+++ b/profiles/selinux/sparc/sparc64/2006.1/virtuals
@@ -0,0 +1,6 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/sparc64/2006.1/virtuals,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+virtual/dev-manager sys-fs/udev
+virtual/linux-sources sys-kernel/gentoo-sources
diff --git a/profiles/selinux/sparc/sparc64/make.defaults b/profiles/selinux/sparc/sparc64/make.defaults
new file mode 100644
index 000000000000..9b5746521bb6
--- /dev/null
+++ b/profiles/selinux/sparc/sparc64/make.defaults
@@ -0,0 +1,26 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/sparc64/make.defaults,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+# 64bit kernel, 32bit userland
+CHOST="sparc-unknown-linux-gnu"
+PROFILE_ARCH="sparc64"
+
+# We need sparc64 binutils for linux-headers
+CTARGETS_BINUTILS="sparc-unknown-linux-gnu sparc64-unknown-linux-gnu"
+STAGE1_USE="gcc64"
+
+# Multilib stuff
+MULTILIB_ABIS="sparc32"
+DEFAULT_ABI="sparc32"
+ABI=${DEFAULT_ABI}
+CFLAGS_sparc32="-m32"
+LDFLAGS_sparc32="-m elf32_sparc"
+CHOST_sparc32="sparc-unknown-linux-gnu"
+CTARGET_sparc32="sparc-unknown-linux-gnu"
+CDEFINE_sparc32="!__arch64__"
+LIBDIR_sparc32="lib"
+
+# Compiler flags
+CFLAGS="-O2 -mcpu=ultrasparc -pipe"
+CXXFLAGS=${CFLAGS}
diff --git a/profiles/selinux/sparc/sparc64/packages b/profiles/selinux/sparc/sparc64/packages
new file mode 100644
index 000000000000..08855b289b75
--- /dev/null
+++ b/profiles/selinux/sparc/sparc64/packages
@@ -0,0 +1,8 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/sparc64/packages,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+# Sometimes necessary to trick programs into thinking we're really
+# a sparc32 system.
+*sys-apps/setarch
+
diff --git a/profiles/selinux/sparc/sparc64/parent b/profiles/selinux/sparc/sparc64/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/selinux/sparc/sparc64/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/selinux/sparc/sparc64/use.mask b/profiles/selinux/sparc/sparc64/use.mask
new file mode 100644
index 000000000000..fdb60fa9691a
--- /dev/null
+++ b/profiles/selinux/sparc/sparc64/use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/sparc64/use.mask,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+-vis
diff --git a/profiles/selinux/sparc/use.mask b/profiles/selinux/sparc/use.mask
new file mode 100644
index 000000000000..ec4e24860914
--- /dev/null
+++ b/profiles/selinux/sparc/use.mask
@@ -0,0 +1,199 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/use.mask,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+# This file contains a list of useflags that cannot be used on sparc.
+
+3dfx
+acpi
+afs
+amd
+apm
+cle266
+cmucl
+commercial
+directfb
+djbfft
+dvb
+dmi
+emboss
+fdftk
+glitz
+hal
+i8x0
+ibm
+informix
+lirc
+lm_sensors
+mod
+modplug
+mpm-peruser
+nvtv
+oci8
+pbs
+pcmcia
+pmount
+rar
+real
+tcc
+trusted
+udev
+uml
+voodoo3
+wavelan
+wifi
+xvmc
+
+# Asterisk use flag masking
+bri
+florz
+resperl
+zaptel
+ukcid
+
+# Mono doesn't work on sparc
+# eradicator@gentoo.org
+mono
+
+# And since there's no mono yet... <gustavoz>
+beagle
+
+# pyste has untested/unkeyworded deps on sparc
+pyste
+
+# They're borked <gustavoz>
+dar32
+dar64
+
+# Seti@home is gone <gustavoz>
+seti
+
+# 2006/09/05 - Tupone Alfredo <tupone@gentoo.org>
+# doomsday ebuild is not available on this architecture
+doomsday
+
+# see email to gentoo-dev with subject "use.mask and PHP5's crazy IUSE"
+# Dated Sat, 31 Jul 2004 14:49:28 -0700, from robbat2@gentoo.org
+# all of these are binary-only, and not presently available on this
+# architecture.
+adabas
+birdstep
+cpdflib
+db2
+dbmaker
+empress
+empress-bcs
+esoob
+filepro
+frontbase
+hyperwave-api
+ingres
+libedit
+oracle7
+pfpro
+solid
+sybase
+sybase-ct
+
+# Unmask ultra1
+-ultra1
+
+# Other masks
+clisp
+hdf5
+ipod
+pike
+
+# Alsa is b0rked for now
+alsa
+ladcca
+
+# Mask v4l2 as it depends on 2.6 headers and hasn't been confirmed to work yet
+v4l2
+
+# Unmask sparc-only video cards
+-video_cards_sunbw2
+-video_cards_suncg14
+-video_cards_suncg3
+-video_cards_suncg6
+-video_cards_sunffb
+-video_cards_sunleo
+-video_cards_suntcx
+
+# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_cyrix
+video_cards_nsc
+video_cards_s3
+video_cards_sis
+video_cards_tseng
+video_cards_via
+video_cards_imstt
+video_cards_s3virge
+video_cards_i128
+video_cards_trident
+video_cards_neomagic
+video_cards_cirrus
+video_cards_tga
+video_cards_i740
+video_cards_siliconmotion
+video_cards_ark
+video_cards_rendition
+video_cards_newport
+video_cards_chips
+video_cards_apm
+video_cards_i810
+video_cards_nv
+video_cards_vesa
+video_cards_vga
+
+# Jason Wever <weeve@gentoo.org> - 10 April 2006
+# Mask ifp use flag for amarok until someone can confirm it works
+ifp
+
+# Jason Wever <weeve@gentoo.org> - 01 May 2006
+# Mask nforce2 use flag as NVIDIA doesn't make mobos for SPARC CPUs (yet :-P)
+nforce2
+
+# Gustavo Zacarias <gustavoz@gentoo.org> - 02 May 2006
+# AIO is b0rked for now....
+aio
+
+# Jason Wever <weeve@gentoo.org> - 29 May 2006
+# Mask qt4 use flag in relation to KDE 3.5 stablization until QT 4 works better
+qt4
+
+# Patrick McLean <chutzpah@gentoo.org> - 02 Jun 2006
+# Mask bmpx USE flag since new versions don't work on sparc (comment #11
+# on bug #111975)
+bmpx
+
+# Jason Wever <weeve@gentoo.org> - 10 Jun 2006
+# Mask kdehiddenvisibility as we don't have gcc-4.1.x unmasked in any profiles
+kdehiddenvisibility
+
+# Gustavo Zacarias <gustavoz@gentoo.org> - 1 July 2006
+# seamonkey doesn't work yet, see bug #137198
+seamonkey
+
+# Jason Wever <weeve@gentoo.org> - 5 Aug 2006
+# Mask njb use flag until someone has a Nomad Jukebox to test with.
+njb
+
+# Jason Wever <weeve@gentoo.org> - 5 Aug 2006
+# Mask mp4 use flag as media-video/gpac fails to build currently
+mp4
+
+# Gustavo Zacarias <gustavoz@gentoo.org> - 17 Aug 2006
+# Masking hardened, it isn't really supported, see bugs #144126 #78951
+hardened
+
+# Gustavo Zacarias <gustavoz@gentoo.org> - 04 Sep 2006
+# mzscheme seems somewhat b0rked and we want vim7
+mzscheme
+
+# requires a JDK
+mpe-sdk
+
+# uses libaio
+romio
diff --git a/profiles/selinux/sparc/virtuals b/profiles/selinux/sparc/virtuals
new file mode 100644
index 000000000000..ed85bfc49fcb
--- /dev/null
+++ b/profiles/selinux/sparc/virtuals
@@ -0,0 +1,11 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/selinux/sparc/virtuals,v 1.1 2006/10/08 18:37:25 pebenito Exp $
+
+virtual/linux-sources sys-kernel/sparc-sources
+virtual/bootloader sys-boot/silo
+virtual/mpi sys-cluster/lam-mpi
+virtual/modutils sys-apps/module-init-tools
+virtual/dev-manager sys-fs/devfsd
+virtual/ooo app-office/openoffice
+virtual/logger app-admin/syslog-ng