diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /profiles/features | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'profiles/features')
53 files changed, 838 insertions, 0 deletions
diff --git a/profiles/features/32bit-native/eapi b/profiles/features/32bit-native/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/features/32bit-native/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/features/32bit-native/make.defaults b/profiles/features/32bit-native/make.defaults new file mode 100644 index 000000000000..2ef5d4d32131 --- /dev/null +++ b/profiles/features/32bit-native/make.defaults @@ -0,0 +1,11 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +FEATURES="-multilib-strict" + +USE="-gcc64" + +MULTILIB_STRICT_DIRS="" +MULTILIB_STRICT_DENY="" +MULTILIB_STRICT_EXEMPT="" diff --git a/profiles/features/32bit-native/packages b/profiles/features/32bit-native/packages new file mode 100644 index 000000000000..887f05da9931 --- /dev/null +++ b/profiles/features/32bit-native/packages @@ -0,0 +1,6 @@ +# Copyright 2006-2008 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# We don't need kgcc64 to build kernels. +-*sys-devel/kgcc64 diff --git a/profiles/features/32bit-native/profile.bashrc b/profiles/features/32bit-native/profile.bashrc new file mode 100644 index 000000000000..c601900384e3 --- /dev/null +++ b/profiles/features/32bit-native/profile.bashrc @@ -0,0 +1,7 @@ +# Here we die on any arch that isn't 32-bit. +case ${ARCH} in + amd64) die "This architecture always uses a 64-bit kernel. Please use an x86 profile!" ;; + mips) die "This architecture always uses a 64-bit kernel." ;; + ppc64) die "This architecture always uses a 64-bit kernel. Please use a ppc profile!" ;; + sparc) die "This architecture always uses a 64-bit kernel." ;; +esac diff --git a/profiles/features/32bit-native/use.force b/profiles/features/32bit-native/use.force new file mode 100644 index 000000000000..78a0ced5d86d --- /dev/null +++ b/profiles/features/32bit-native/use.force @@ -0,0 +1,2 @@ +# Force disable multilib USE flag +-multilib diff --git a/profiles/features/32bit-native/use.mask b/profiles/features/32bit-native/use.mask new file mode 100644 index 000000000000..f5d4435fdbce --- /dev/null +++ b/profiles/features/32bit-native/use.mask @@ -0,0 +1,9 @@ +# Copyright 2004-2008 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Id$ + +# SECTION: Mask + +# 2008/02/13 - Chris Gianelloni <wolf31o2@gentoo.org> +# Mask multilib, since we cannot use it. +multilib diff --git a/profiles/features/32bit-userland/eapi b/profiles/features/32bit-userland/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/features/32bit-userland/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/features/32bit-userland/make.defaults b/profiles/features/32bit-userland/make.defaults new file mode 100644 index 000000000000..b60e0f56f382 --- /dev/null +++ b/profiles/features/32bit-userland/make.defaults @@ -0,0 +1,9 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> (16 Nov 2011) +# Rename STAGE1_USE to BOOTSTRAP_USE and stack it to the parent value +# We always need gcc64 for 32bit-userland +BOOTSTRAP_USE="${BOOTSTRAP_USE} gcc64" +USE="gcc64" diff --git a/profiles/features/32bit-userland/packages b/profiles/features/32bit-userland/packages new file mode 100644 index 000000000000..8f4f21f838c4 --- /dev/null +++ b/profiles/features/32bit-userland/packages @@ -0,0 +1,6 @@ +# Copyright 2006-2008 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# We need kgcc64 to build kernels. +*sys-devel/kgcc64 diff --git a/profiles/features/32bit-userland/parent b/profiles/features/32bit-userland/parent new file mode 100644 index 000000000000..ef64da6e1d20 --- /dev/null +++ b/profiles/features/32bit-userland/parent @@ -0,0 +1 @@ +../multilib diff --git a/profiles/features/32bit-userland/profile.bashrc b/profiles/features/32bit-userland/profile.bashrc new file mode 100644 index 000000000000..9eebc767690d --- /dev/null +++ b/profiles/features/32bit-userland/profile.bashrc @@ -0,0 +1,9 @@ +# Here we remove any ABI that isn't 32-bit. +case ${PROFILE_ARCH} in + mips64) + # This is for o32 (64-bit kernel, 32-bit userland) so we force -mabi=32 + export CHOST="mips-unknown-linux-gnu" + export CFLAGS="${CFLAGS/-mabi=*/-mabi=32}" + export CXXFLAGS="${CFLAGS}" + ;; +esac diff --git a/profiles/features/64bit-native/eapi b/profiles/features/64bit-native/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/features/64bit-native/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/features/64bit-native/make.defaults b/profiles/features/64bit-native/make.defaults new file mode 100644 index 000000000000..c4f8ed48722c --- /dev/null +++ b/profiles/features/64bit-native/make.defaults @@ -0,0 +1,12 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# We disable the symlink, since we won't be using it. +SYMLINK_LIB="yes" + +USE="-gcc64" + +# Since we're doing a pure 64-bit, we want LIBDIR to be lib64 +LIBDIR_amd64="lib64" +LIBDIR_ppc64="lib64" diff --git a/profiles/features/64bit-native/package.mask b/profiles/features/64bit-native/package.mask new file mode 100644 index 000000000000..5c21cf1a592f --- /dev/null +++ b/profiles/features/64bit-native/package.mask @@ -0,0 +1,164 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Andreas K. Huettel <dilfridge@gentoo.org> +# Novell Groupwise Client sadly needs a 32bit java vm (bundled) +mail-client/novell-groupwise-client + +# AMD64 Team <amd64@gentoo.org> +# Mask packages that rely on amd64 multilib +app-accessibility/mbrola +app-accessibility/perlbox-voice +app-arch/stuffit +app-benchmarks/cpuburn +=app-editors/emacs-18* +app-emulation/crossover-bin +app-emulation/crossover-office-bin +app-emulation/crossover-office-pro-bin +app-emulation/playonlinux +app-emulation/q4wine +app-emulation/virtualbox +app-emulation/virtualbox-extpack-oracle +app-emulation/virtualbox-guest-additions +app-emulation/vmware-player +>=app-i18n/atokx3-3.0.0 +app-office/lotus-notes +app-office/ooextras +app-emulation/winetricks +app-text/acroread +dev-embedded/libftd2xx +dev-embedded/openocd +>=dev-java/sun-j2me-bin-2.5.2.01 +dev-lang/dmd-bin +dev-lang/icc +dev-lang/idb +dev-lang/ifc +dev-perl/Archive-Rar +dev-python/skype4py +dev-util/android-sdk-update-manager +dev-util/android-ndk +dev-util/biew +games-action/cs2d +games-action/descent3 +games-action/descent3-demo +games-action/heretic2 +games-action/heretic2-demo +games-action/lugaru +games-action/lugaru-demo +games-action/mutantstorm-demo +games-action/phobiaii +games-action/rune +games-action/spacetripper-demo +games-arcade/aquaria +games-arcade/barbarian-bin +games-arcade/jardinains +games-arcade/gish-demo +games-emulation/caps +games-emulation/nestra +games-emulation/zinc +games-emulation/zsnes +games-fps/avp +games-fps/doom3-cdoom +games-fps/doom3-chextrek +games-fps/doom3-data +games-fps/doom3-demo +games-fps/doom3-ducttape +games-fps/doom3-eventhorizon +games-fps/doom3-hellcampaign +games-fps/doom3-inhell +games-fps/doom3-lms +games-fps/doom3-mitm +games-fps/doom3-phantasm +games-fps/doom3-roe +games-fps/doom3 +games-fps/enemy-territory-etpro +games-fps/enemy-territory-fortress +games-fps/enemy-territory-omnibot +games-fps/enemy-territory-truecombat +games-fps/enemy-territory +games-fps/etqw-bin +games-fps/etqw-data +games-fps/etqw-demo +games-fps/glxquake-bin +games-fps/legends +games-fps/postal2 +games-fps/postal2mp-demo +games-fps/quake3-bin +games-fps/quake3-demo +games-fps/quake3-ra3 +games-fps/quake4-bin +games-fps/quake4-data +games-fps/quake4-demo +games-fps/rtcw +games-fps/rtcwmp-demo +games-fps/rtcwsp-demo +games-fps/sauerbraten +games-fps/serious-sam-tfe +games-fps/serious-sam-tse +games-fps/soldieroffortune +games-fps/soldieroffortune-demo +games-fps/unreal-tournament +games-fps/ut2003 +games-fps/ut2003-demo +games-fps/ut2004-demo +games-puzzle/drod-bin +games-puzzle/hoh-bin +games-roguelike/adom +games-rpg/eschalon-book-1-demo +games-rpg/nwmouse +games-rpg/nwmovies +games-rpg/nwn +games-rpg/nwn-cep +games-rpg/nwn-data +games-rpg/nwn-penultima +games-rpg/nwn-penultimarerolled +games-rpg/nwn-shadowlordsdreamcatcherdemon +games-rpg/penumbra-collection +games-rpg/sacred-gold +games-server/etqw-ded +games-server/nwn-ded +games-server/ut2003-ded +games-simulation/bcs-demo +games-strategy/coldwar +games-strategy/coldwar-demo +games-strategy/darwinia +games-strategy/darwinia-demo +games-strategy/defcon-demo +games-strategy/dominions2 +games-strategy/dominions2-demo +games-strategy/heroes3 +games-strategy/heroes3-demo +games-strategy/majesty-demo +games-strategy/savage-bin +games-strategy/smac +games-strategy/spaz +media-fonts/acroread-asianfonts +media-sound/shoutcast-server-bin +media-sound/shoutcast-trans-bin +media-sound/ventrilo-server-bin +media-tv/huludesktop +media-video/binkplayer +media-video/tsmuxer +net-im/skype +net-im/skypetab-ng +net-print/cndrvcups-common-lb +net-print/cndrvcups-lb +net-misc/icaclient +net-misc/ps3mediaserver +sci-biology/foldingathome +sci-electronics/eagle +sci-chemistry/cara-bin +sci-chemistry/cyana +sci-chemistry/icm +sci-chemistry/icm-browser +sci-chemistry/mars +sci-libs/ipp +sys-apps/memtest86 +sys-apps/memtest86+ +sys-libs/lib-compat-loki +www-plugins/nspluginwrapper + +# AMD64 Team; <amd64@gentoo.org> +# grub-1 is not available on no-multilib-profiles; +<sys-boot/grub-1.99 diff --git a/profiles/features/64bit-native/package.use.force b/profiles/features/64bit-native/package.use.force new file mode 100644 index 000000000000..9273097face2 --- /dev/null +++ b/profiles/features/64bit-native/package.use.force @@ -0,0 +1,7 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Alexandre Rostovtsev <tetromino@gentoo.org> (04 Jul 2012) +# Force 64-bit parts of wine, bug #351436 +app-emulation/wine win64 diff --git a/profiles/features/64bit-native/package.use.mask b/profiles/features/64bit-native/package.use.mask new file mode 100644 index 000000000000..da94d3c68e77 --- /dev/null +++ b/profiles/features/64bit-native/package.use.mask @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Alexandre Rostovtsev <tetromino@gentoo.org> (04 Jul 2012) +# Disable 32-bit parts of wine, bug #351436 +app-emulation/wine mono + +# Apr 28, 2008 Sébastien Fabbro <bicatali@gentoo.org> +# ifc masked +sci-libs/acml ifc + +# Alexis Ballier <aballier@gentoo.org> (13 Aug 2009) +# Requires wine +media-sound/lmms vst + +# Tomas Chvatal <scarabeus@gentoo.org> (13 Nov 2014) +# The apulse is 32b used there only +net-im/skype apulse diff --git a/profiles/features/64bit-native/profile.bashrc b/profiles/features/64bit-native/profile.bashrc new file mode 100644 index 000000000000..71acdf820a05 --- /dev/null +++ b/profiles/features/64bit-native/profile.bashrc @@ -0,0 +1,18 @@ +# Here we remove any ABI that isn't native. +case ${ARCH} in + mips) + # Both n32 and n64 are 64-bit kernel and userland. + # n64 is 64-bit pointers/long + # n32 is 32-bit pointers/long + case ${USE} in + n32) + export CFLAGS="${CFLAGS/-mabi=*/-mabi=n32}" + export CXXFLAGS="${CFLAGS}" + ;; + n64) + export CFLAGS="${CFLAGS/-mabi=*/-mabi=64}" + export CXXFLAGS="${CFLAGS}" + ;; + esac + ;; +esac diff --git a/profiles/features/64bit-native/use.force b/profiles/features/64bit-native/use.force new file mode 100644 index 000000000000..78a0ced5d86d --- /dev/null +++ b/profiles/features/64bit-native/use.force @@ -0,0 +1,2 @@ +# Force disable multilib USE flag +-multilib diff --git a/profiles/features/64bit-native/use.mask b/profiles/features/64bit-native/use.mask new file mode 100644 index 000000000000..6ad7395d2678 --- /dev/null +++ b/profiles/features/64bit-native/use.mask @@ -0,0 +1,25 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# USE flags masked because providing packages require a 32-bit ABI + +# 2007/08/29 Christoph Mende <angelos@gentoo.org> +# app-accessibility/mbrola is x86 only +mbrola + +# 2007/08/24 Michael Marineau <marineam@gentoo.org> +# Xen HVM support requires building 32-bit binaries. +hvm + +# 2008/02/13 - Chris Gianelloni <wolf31o2@gentoo.org> +# Mask multilib, since we cannot use it. +multilib + +# 2009/05/11 Doug Goldstein <cardoe@gentoo.org> +# Mask 32bit since this will always require emulation packages +32bit + +# Michał Górny <mgorny@gentoo.org> (26 Jan 2013) +# Mask the multilib flags back for non-multilib profile. +abi_x86_32 diff --git a/profiles/features/eapi b/profiles/features/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/features/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/features/multilib/eapi b/profiles/features/multilib/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/features/multilib/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/features/multilib/lib32/eapi b/profiles/features/multilib/lib32/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/features/multilib/lib32/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/features/multilib/lib32/make.defaults b/profiles/features/multilib/lib32/make.defaults new file mode 100644 index 000000000000..b3ab33c98e43 --- /dev/null +++ b/profiles/features/multilib/lib32/make.defaults @@ -0,0 +1,13 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Let baselayout create the lib symlink. +SYMLINK_LIB="yes" + +# 32-bit LIBDIR +LIBDIR_ppc="lib32" +LIBDIR_x86="lib32" +LIBDIR_x86_fbsd="lib32" +LIBDIR_sparc32="lib32" +LIBDIR_s390="lib32" diff --git a/profiles/features/multilib/lib32/parent b/profiles/features/multilib/lib32/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/features/multilib/lib32/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/features/multilib/make.defaults b/profiles/features/multilib/make.defaults new file mode 100644 index 000000000000..72248e2390ef --- /dev/null +++ b/profiles/features/multilib/make.defaults @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> (16 Nov 2011) +# Rename STAGE1_USE to BOOTSTRAP_USE and stack it to the parent value +# This is so we build with multilib from the start +BOOTSTRAP_USE="${BOOTSTRAP_USE} multilib" + +# Default USE=multilib to on. This rarely impact packages as they should be +# using the multilib eclass anyways. #435094 +USE="multilib" + +# FEATURES="multilib-strict" specific settings. +MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" +MULTILIB_STRICT_DENY="64-bit.*shared object" +MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec)" + +# 64-bit LIBDIR +LIBDIR_amd64="lib64" +LIBDIR_amd64_fbsd="lib64" +LIBDIR_arm64="lib64" +LIBDIR_n64="lib64" # MIPS n64 +LIBDIR_ppc64="lib64" +LIBDIR_s390x="lib64" +LIBDIR_sparc64="lib64" + +# 32-bit LIBDIR +LIBDIR_arm="lib" +LIBDIR_x86="lib" +LIBDIR_x86_fbsd="lib" +LIBDIR_o32="lib" # MIPS o32 +LIBDIR_ppc="lib" +LIBDIR_s390="lib" +LIBDIR_sparc32="lib" + +# Somewhere in-between! +LIBDIR_x32="libx32" # x86-64 x32 +LIBDIR_n32="lib32" # MIPS n32 diff --git a/profiles/features/multilib/package.use.force b/profiles/features/multilib/package.use.force new file mode 100644 index 000000000000..41bce5b8803d --- /dev/null +++ b/profiles/features/multilib/package.use.force @@ -0,0 +1,8 @@ +# Copyright 2004-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Id$ + +# These packages must have multilib turned on in order to work sanely. +sys-apps/sandbox multilib +sys-devel/gcc multilib +sys-libs/glibc multilib diff --git a/profiles/features/multilib/package.use.mask b/profiles/features/multilib/package.use.mask new file mode 100644 index 000000000000..1ee6a4ac7bc5 --- /dev/null +++ b/profiles/features/multilib/package.use.mask @@ -0,0 +1,8 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Matt Turner <mattst88@gentoo.org> (19 Sep 2012) +# multilib requires 32-bit libGL provided by emul-linux-x86-opengl +# but also collides with 32-bit libGLU installed by emul-linux-x86-opengl +media-libs/glu multilib diff --git a/profiles/features/multilib/use.mask b/profiles/features/multilib/use.mask new file mode 100644 index 000000000000..9f5667e1fc80 --- /dev/null +++ b/profiles/features/multilib/use.mask @@ -0,0 +1,9 @@ +# Copyright 2004-2008 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Id$ + +# SECTION: Unmask + +# 2008/02/13 - Chris Gianelloni <wolf31o2@gentoo.org> +# Unmask multilib, since we need to use it. +-multilib diff --git a/profiles/features/prefix/Changelog b/profiles/features/prefix/Changelog new file mode 100644 index 000000000000..80eada08ec5a --- /dev/null +++ b/profiles/features/prefix/Changelog @@ -0,0 +1,28 @@ +# ChangeLog for profiles/features/prefix +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Id$ + + 04 Jun 2015; Michael Palimaka <kensington@gentoo.org> package.use.mask: + Move various kde-base packages to kde-apps. + + 06 Jan 2015: Sergey Popov <pinkbyte@gentoo.org> packages: + net-misc/iproute2 is not necessary in Prefix installations, + acked by Ruud Koolen + + 15 Dec 2014; Ruud Koolen <redlizard@gentoo.org> package.use.mask, packages, + rpath/packages: + Moved several nonlinux-specific clauses to /profiles/prefix. + + 15 Dec 2014; Ruud Koolen <redlizard@gentoo.org> rpath/use.force, + rpath/use.mask, standalone/eapi, standalone/parent: + Added standalone profile. + + 23 Nov 2014; Ruud Koolen <redlizard@gentoo.org> make.defaults: + Switched python version to 3.3 from base 3.4. + + 18 Jan 2014; Ruud Koolen <redlizard@gentoo.org> eapi, make.defaults, + package.mask, packages, package.use.mask, use.force, use.mask, + use.mask.stable, rpath/packages, rpath/parent, rpath/profile.bashrc, + rpath/use.mask: + Imported profile contents from ../../prefix + diff --git a/profiles/features/prefix/eapi b/profiles/features/prefix/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/features/prefix/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/features/prefix/make.defaults b/profiles/features/prefix/make.defaults new file mode 100644 index 000000000000..e8e4092e50ab --- /dev/null +++ b/profiles/features/prefix/make.defaults @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Jeremy Olexa <darkside@gentoo.org> (30 Jun 2009) +# As of now, there does not exist a reliable working sandbox implementation on +# any Gentoo Prefix platform. Lately, sandbox has caused *many* issues that +# the Gentoo Prefix team has no time to fix and/or troubleshoot. see: bug 271424 +# see: +# http://archives.gentoo.org/gentoo-alt/msg_3c355ca5e70e7975eae293823f1751f2.xml +# see: bug 274239 +# and other issues, etc etc. +# +# If in the future, there does exist a working sandbox implementation then it +# should be enabled on a per-profile basis only. +FEATURES="${FEATURES} -sandbox" + +# this probably already is like this, but we assure that in prefix we +# have a GNU userland +USERLAND="GNU" + +# Python 3.4 isn't in prefix yet. +USE="python_targets_python3_3 -python_targets_python3_4" diff --git a/profiles/features/prefix/package.mask b/profiles/features/prefix/package.mask new file mode 100644 index 000000000000..cb0e984c9f11 --- /dev/null +++ b/profiles/features/prefix/package.mask @@ -0,0 +1,103 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Fabian Groffen <grobian@gentoo.org> (09 Nov 2012) +# fails to properly run config.status (and thus create libtool) on +# non-Linux platforms, fails with hard error when not using bash, caused +# by EAPI 4's --disable-dependency-tracking (#383863 c12) +=dev-libs/libgpg-error-1.10-r1 + +# Fabian Groffen <grobian@gentoo.org> (27 Oct 2012) +# fails to compile with parallel make (help2man issues) +# fails to link wrt libiconv +=sys-apps/coreutils-8.20 + +# Benda Xu <heroxbd@gentoo.org> (07 Aug 2012) +# mask revision for testing out openrc. bug #415895. +=sys-apps/baselayout-prefix-1.12.14-r1 + +# Fabian Groffen <grobian@gentoo.org> (01 Aug 2012) +# Causes spurious errors due to considering some small files being +# binary, bug #425668, comment #21. +=sys-apps/grep-2.13 + +# Jeremy Olexa <darkside@gentoo.org> (28 Oct 2011) +# Masking selective games-*, www-apps/*, net-proxy/* packages because: +# 1) It is unclear if there are any users +# 2) We would like to NOT migrate packages (to gentoo-x86) if we don't have to. +# +# If this is a package that you would like to see in the tree, please open a bug +# report for inclusion (search first). +# This mask will be lifted in 60 days and the packages will not be supporting +# Gentoo Prefix at that time. +games-arcade/rocksndiamonds +games-board/xscrabble +games-misc/cowsay +games-misc/fortune-mod-gentoo-dev +games-misc/rfksay +games-sports/bygfoot +net-proxy/tinyproxy +www-apps/trac + +# Fabian Groffen <grobian@gentoo.org> (21 Apr 2011) +# Fails to link anything, since it crt1.o cannot be found. They haven't +# got linking right yet, numerous people on the web report the same +# problem. Let's just wait for the moment. +~sys-devel/llvm-2.9 +~sys-devel/clang-2.9 + +# Fabian Groffen <grobian@gentoo.org> (03 Feb 2011) +# Diego's experimental flex for fixing from autoconf problem, breaks +# bootstrapping, bug #353609 +=sys-devel/flex-2.5.35_p10 + +# Fabian Groffen <grobian@gentoo.org> (24 Jan 2011) +# This release breaks in multiple ways (posix_memalign, O_DIRECT), wait +# for upstream to sanitise their code (or someone else to do it, since +# many people are affected: uClibc, BSD, ...) +=sys-fs/e2fsprogs-1.41.14 + +# Jeremy Olexa <darkside@gentoo.org> (30 Jun 2009) +# The PAM auth system just will not work in Gentoo Prefix, instead the host auth +# system should be used. +sys-libs/pam +sys-auth/pambase + +# Jeremy Olexa <darkside@gentoo.org> (02 Jun 2009) +# If you have MacFuse or some other implementation of fuse installed, you can +# probably use this by placing sys-fs/fuse in package.provided, bug 272210 +net-fs/curlftpfs + +# Jeremy Olexa <darkside@gentoo.org> (21 Apr 2009) +# User reported that it works fine but will not install for me due to unknown +# kernel location, etc. See bug 265276 for an example. +net-wireless/iw +dev-libs/libnl +net-wireless/aircrack-ng + +# Jeremy Olexa <darkside@gentoo.org> (02 Dec 2008) +# Reported to work. However, you will need to package.provide some deps. +# See bug 248809 for more details. +net-fs/openafs + +# Markus Duft <mduft@gentoo.org> (17 Apr 2008) +# Breaks things like gettext and fastjar because it introduces some +# circular dependencies while running aclocal (bug #218122) +~sys-devel/autoconf-2.62 + +# Fabian Groffen <grobian@gentoo.org> (11 Jan 2008) +# Screws up things, see bug #204998 +<sys-devel/gcc-3.4.0 + +# Fabian Groffen <grobian@gentoo.org> (05 Jan 2008) +# missing rule in the build.xml file +=dev-java/sun-javamail-1.4.1 + +# Fabian Groffen <grobian@gentoo.org> (02 Jan 2008) +# rlogin seems not to work, consider using ssh anyway +net-misc/netkit-rsh + +# Elias Pipping <pipping@gentoo.org> +# work in progress (in prefix) +app-emacs/jde diff --git a/profiles/features/prefix/package.use.mask b/profiles/features/prefix/package.use.mask new file mode 100644 index 000000000000..322b21030686 --- /dev/null +++ b/profiles/features/prefix/package.use.mask @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Kacper Kowalik <xarthisius@gentoo.org> (14 Jan 2012) +# sci-libs/mkl don't have prefix keywords +dev-python/numexpr mkl + +# Fabian Groffen <grobian@gentoo.org> (08 Dec 2011) +# USE=vanilla produces a broken compiler for Prefix. Only use this flag +# when you're absolutely sure what you're doing. Do NOT report bugs +# about failing packages when using a vanilla compiler! +sys-devel/gcc vanilla + +# Rafael Goncalves Martins <rafaelmartins@gentoo.org> (29 Sep 2010) +# dev-libs/judy without prefix keywords +# (amd64-linux and x86-linux) +sci-electronics/gtkwave judy + +# Jonathan Callen <abcd@gentoo.org> (22 Feb 2010) +# ppp is not available in Prefix +kde-apps/kdenetwork-meta ppp + +# Christian Faulhammer <fauli@gentoo.org> (09 Jan 2010) +# hesiod and m17n-lib are not available in Prefix +app-editors/emacs-vcs hesiod m17n-lib +app-editors/emacs hesiod m17n-lib + +# Jeremy Olexa <darkside@gentoo.org> (30 Sep 2009) +# berkdb has hardcoded paths all over, breaks on linux at least. Use flag +# disappearing in next bump: prefix can be early and force it to be not used to +# save headaches. +# NOTE to prefix devs: if it needs to not be a global mask, talk to me because +# it currently causes failures on linux. It can be made a "less global" mask. +dev-lang/python berkdb + +# Jeremy Olexa <darkside@gentoo.org> (02 Sep 2009) +# these don't work, because they rely on the host having sufficient xorg-server +# version. +xfce-base/xfce4-meta session + +# Jeremy Olexa <darkside@gentoo.org> (13 Feb 2009) +# Can't make USE=ssl to work, bad build system. bug #256699 +dev-lang/pike ssl + +# Elias Pipping <pipping@gentoo.org> (18 Nov 2007) +# feynmf fails to build documentation +dev-tex/feynmf doc + +# Elias Pipping <pipping@gentoo.org> (15 Nov 2007) +# pkg_postinst tries to create/delete a user, fails +dev-libs/cyrus-sasl berkdb gdbm diff --git a/profiles/features/prefix/packages b/profiles/features/prefix/packages new file mode 100644 index 000000000000..2116babb229c --- /dev/null +++ b/profiles/features/prefix/packages @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Gentoo Base Prefix Profile + +# NOTE: THIS MODIFIES THE BASE PROFILE FOR *ANY* PREFIX BASED OPERATING SYSTEM. +# NO MODIFICATIONS MAY BE MADE TO THIS FILE WITHOUT PRIOR DISCUSSION. IF +# YOU ARE CREATING A NEW PROFILE, YOU SIMPLY NEED TO INHERIT THIS BASE +# PROFILE IN YOUR PROFILE DIRECTORY'S "parent" FILE. + +# Read the descriptions of ../../base/packages for some explanation + +# This file removes everything from the base profile which is not +# necessary/desired in a prefix environment. + +-*>=sys-apps/baselayout-2 +-*net-misc/iputils +-*sys-apps/iproute2 +-*sys-apps/kbd +-*sys-fs/e2fsprogs +-*virtual/dev-manager +-*virtual/modutils +-*virtual/shadow + +# add back prefix baselayout +*sys-apps/baselayout-prefix + +# we don't want this either (as baselayout-prefix provides the functions.sh +# file that this was added to ../base/packages for) +-*sys-apps/openrc diff --git a/profiles/features/prefix/rpath/eapi b/profiles/features/prefix/rpath/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/features/prefix/rpath/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/features/prefix/rpath/packages b/profiles/features/prefix/rpath/packages new file mode 100644 index 000000000000..3f6c868c505f --- /dev/null +++ b/profiles/features/prefix/rpath/packages @@ -0,0 +1,7 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# we don't ever will install these, so no need to depend on them +-*virtual/libc +-*virtual/os-headers diff --git a/profiles/features/prefix/rpath/parent b/profiles/features/prefix/rpath/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/features/prefix/rpath/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/features/prefix/rpath/profile.bashrc b/profiles/features/prefix/rpath/profile.bashrc new file mode 100644 index 000000000000..a94464c5c245 --- /dev/null +++ b/profiles/features/prefix/rpath/profile.bashrc @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Hack to avoid every package that uses libiconv/gettext +# install a charset.alias that will collide with libiconv's one +# See bugs 169678, 195148 and 256129. +# Also the discussion on +# http://archives.gentoo.org/gentoo-dev/msg_8cb1805411f37b4eb168a3e680e531f3.xml +prefix-post_src_install() { + local f + if [[ ${PN} != "libiconv" && -n $(ls "${ED}"/usr/lib*/charset.alias 2>/dev/null) ]]; then + einfo "automatically removing charset.alias" + rm -f "${ED}"/usr/lib*/charset.alias + fi +} + +# These are because of +# http://archives.gentoo.org/gentoo-dev/msg_529a0806ed2cf841a467940a57e2d588.xml +# The profile-* ones are meant to be used in etc/portage/profile.bashrc by user +# until there is the registration mechanism. +profile-post_src_install() { prefix-post_src_install ; } + post_src_install() { prefix-post_src_install ; } diff --git a/profiles/features/prefix/rpath/use.force b/profiles/features/prefix/rpath/use.force new file mode 100644 index 000000000000..42f0cd535480 --- /dev/null +++ b/profiles/features/prefix/rpath/use.force @@ -0,0 +1,7 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# prefix-guest USE flag should be set in prefix rpath profiles +prefix-guest + diff --git a/profiles/features/prefix/rpath/use.mask b/profiles/features/prefix/rpath/use.mask new file mode 100644 index 000000000000..32ef8858eaec --- /dev/null +++ b/profiles/features/prefix/rpath/use.mask @@ -0,0 +1,10 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# prefix-guest USE flag should be set in prefix rpath profiles +-prefix-guest + +# multilib is never going to work as expected in Prefix rpath +multilib + diff --git a/profiles/features/prefix/standalone/eapi b/profiles/features/prefix/standalone/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/features/prefix/standalone/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/features/prefix/standalone/parent b/profiles/features/prefix/standalone/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/features/prefix/standalone/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/features/prefix/use.force b/profiles/features/prefix/use.force new file mode 100644 index 000000000000..118d77ca1ffd --- /dev/null +++ b/profiles/features/prefix/use.force @@ -0,0 +1,9 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# force prefix flag to be set +prefix + +# force GNU userland (even though base profile sets this too) +userland_GNU diff --git a/profiles/features/prefix/use.mask b/profiles/features/prefix/use.mask new file mode 100644 index 000000000000..13d86e059d92 --- /dev/null +++ b/profiles/features/prefix/use.mask @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# prefix USE flag should always be unmasked in prefix profiles +-prefix + +# re-add userland GNU +-userland_GNU + +# USE flags inherited by the base/use.defaults file that shouldn't be in Prefix +cups +gpm + +# USE=pam just does not make sense in Gentoo Prefix. Should be using the host +# auth system. +pam + +# USE=udev just does not make sense in Gentoo Prefix. bug 293480 +udev + +# The JRuby stack adds *alot* of non-tested ebuilds. If someone has time and +# motivation, please look into porting this to Gentoo Prefix. bug 302563 +ruby_targets_jruby + +# suid requires root privilege, which is not support by prefix in general +# one example: bug 447340. +suid diff --git a/profiles/features/selinux/eapi b/profiles/features/selinux/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/features/selinux/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/features/selinux/make.defaults b/profiles/features/selinux/make.defaults new file mode 100644 index 000000000000..ebc1346ae022 --- /dev/null +++ b/profiles/features/selinux/make.defaults @@ -0,0 +1,16 @@ +# Copyright 1999-2014 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +# + +# selinux - Enable SELinux support +# unconfined - Enable unconfined domains, needed due to 'targeted' policy type +# open_perms - Enable open permission in SELinux subsystem +USE="selinux unconfined open_perms" + +FEATURES="selinux sesandbox sfperms" + +POLICY_TYPES="strict targeted" +PORTAGE_T="portage_t" +PORTAGE_FETCH_T="portage_fetch_t" +PORTAGE_SANDBOX_T="portage_sandbox_t" diff --git a/profiles/features/selinux/package.mask b/profiles/features/selinux/package.mask new file mode 100644 index 000000000000..41b5bebe6a42 --- /dev/null +++ b/profiles/features/selinux/package.mask @@ -0,0 +1,17 @@ +# $Id$ + +# Jason Zaman <perfinion@gentoo.org> (27 Jun 2015) +# SystemD has no support in the SELinux policy at the moment. +# Please see: https://wiki.gentoo.org/wiki/SELinux/FAQ#Can_I_use_SELinux_with_SystemD.3F +sys-apps/systemd +app-admin/calamares +dev-python/python-systemd +gnome-extra/gnome-logs +gnome-extra/office-runner +kde-misc/systemd-kcm +net-firewall/firewalld +net-misc/netctl +sys-apps/gentoo-systemd-integration +sys-apps/systemd-readahead +sys-apps/systemd-sysv-utils +sys-process/systemd-cron diff --git a/profiles/features/selinux/package.use.force b/profiles/features/selinux/package.use.force new file mode 100644 index 000000000000..64365ab8696d --- /dev/null +++ b/profiles/features/selinux/package.use.force @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Sven Vermeulen <swift@gentoo.org> (19 Apr 2013) +# sys-apps/policycoreutils (semanage command) uses sepolgen, which requires libselinux with USE="python". +# sys-apps/policycoreutils also requires libsemanage with USE="python" and +# setools with USE="python" +sys-libs/libselinux python +sys-libs/libsemanage python +app-admin/setools python + +# Sven Vermeulen <swift@gentoo.org> (21 May 2013) +# sys-apps/policycoreutils has PYTHON_USE_WITH="xml" set, so we force it +# here to allow stages to build with USE=xml on python +dev-lang/python xml + +# Jason Zaman <perfinion@gentoo.org> (03 Dec 2014) +# sys-apps/busybox has IUSE="+static", so force static-libs on its deps +# so stages can build with no interacton. Bug #527938 +sys-libs/libselinux static-libs +dev-libs/libpcre static-libs + +# Jason Zaman <perfinion@gentoo.org> (27 Jun 2015) +# SystemD has no support in the SELinux policy at the moment. +# Please see: https://wiki.gentoo.org/wiki/SELinux/FAQ#Can_I_use_SELinux_with_SystemD.3F +gnome-base/gnome-settings-daemon openrc-force +gnome-base/gnome-shell openrc-force diff --git a/profiles/features/selinux/package.use.mask b/profiles/features/selinux/package.use.mask new file mode 100644 index 000000000000..f3d42acdfe64 --- /dev/null +++ b/profiles/features/selinux/package.use.mask @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Saleem Abdulrasool <compnerd@gentoo.org> (23 Nov 2007) +# Unmask when we get HAL 0.5.10 straightened out +media-sound/pulseaudio policykit + +# Brian Dolbec <dolsen@gentoo.org> (17 Sep 2014) +# mask pypy for several utilities due to incompatibility with libselinux +sys-apps/portage python_targets_pypy python_targets_pypy3 +app-portage/gentoolkit python_targets_pypy python_targets_pypy3 +app-portage/layman python_targets_pypy python_targets_pypy3 +app-admin/webapp-config python_targets_pypy python_targets_pypy3 +app-portage/diffmask python_targets_pypy python_targets_pypy3 + +# Jason Zaman <perfinion@gentoo.org> (27 Jun 2015) +# SystemD has no support in the SELinux policy at the moment. +# Please see: https://wiki.gentoo.org/wiki/SELinux/FAQ#Can_I_use_SELinux_with_SystemD.3F +app-emulation/libvirt firewalld +gnome-base/gdm systemd wayland +sys-kernel/dracut dracut_modules_systemd +www-servers/uwsgi uwsgi_plugins_systemd_logger +x11-wm/mutter kms diff --git a/profiles/features/selinux/packages b/profiles/features/selinux/packages new file mode 100644 index 000000000000..ec27a0ebaa3d --- /dev/null +++ b/profiles/features/selinux/packages @@ -0,0 +1,11 @@ +# Copyright 1999-2012 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Base SELinux packages +*sys-libs/libsepol +*sys-libs/libselinux +*sys-libs/libsemanage +*sys-apps/checkpolicy +*sys-apps/policycoreutils +*sec-policy/selinux-base-policy diff --git a/profiles/features/selinux/profile.bashrc b/profiles/features/selinux/profile.bashrc new file mode 100644 index 000000000000..d28d6c3dfae3 --- /dev/null +++ b/profiles/features/selinux/profile.bashrc @@ -0,0 +1,5 @@ +# SELinux-aware progams write to entries here +SANDBOX_WRITE="${SANDBOX_WRITE}:/selinux/:/sys/fs/selinux/" + +# for setfscreatecon +SANDBOX_WRITE="${SANDBOX_WRITE}:/proc/self/" diff --git a/profiles/features/selinux/use.force b/profiles/features/selinux/use.force new file mode 100644 index 000000000000..a651b206dcf2 --- /dev/null +++ b/profiles/features/selinux/use.force @@ -0,0 +1 @@ +selinux diff --git a/profiles/features/selinux/use.mask b/profiles/features/selinux/use.mask new file mode 100644 index 000000000000..9cb5881f2b32 --- /dev/null +++ b/profiles/features/selinux/use.mask @@ -0,0 +1,18 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# This file masks out USE flags that are simply NOT allowed in the default +# profile for any architecture. This works, for example, if a non-default +# profile (such as the selinux profiles) have a USE flag associated with +# them. + +-hardened +-selinux + +# tcc is x86-only +tcc + +# no policy yet +systemd +-openrc-force |