diff options
author | 2014-01-18 02:01:22 +0000 | |
---|---|---|
committer | 2014-01-18 02:01:22 +0000 | |
commit | 06f10bcb755ac215fece6c95f1f00a58620b22f8 (patch) | |
tree | 7534d989b53c376095eafccbfce6dcf47da5779a /profiles/features | |
parent | Add arm64 love. (diff) | |
download | gentoo-2-06f10bcb755ac215fece6c95f1f00a58620b22f8.tar.gz gentoo-2-06f10bcb755ac215fece6c95f1f00a58620b22f8.tar.bz2 gentoo-2-06f10bcb755ac215fece6c95f1f00a58620b22f8.zip |
Moved most of the prefix base profile to the new features/prefix profile.
Diffstat (limited to 'profiles/features')
-rw-r--r-- | profiles/features/ChangeLog | 5 | ||||
-rw-r--r-- | profiles/features/prefix/Changelog | 10 | ||||
-rw-r--r-- | profiles/features/prefix/eapi | 1 | ||||
-rw-r--r-- | profiles/features/prefix/make.defaults | 20 | ||||
-rw-r--r-- | profiles/features/prefix/package.mask | 103 | ||||
-rw-r--r-- | profiles/features/prefix/package.use.mask | 58 | ||||
-rw-r--r-- | profiles/features/prefix/packages | 32 | ||||
-rw-r--r-- | profiles/features/prefix/rpath/packages | 10 | ||||
-rw-r--r-- | profiles/features/prefix/rpath/parent | 1 | ||||
-rw-r--r-- | profiles/features/prefix/rpath/profile.bashrc | 23 | ||||
-rw-r--r-- | profiles/features/prefix/rpath/use.mask | 7 | ||||
-rw-r--r-- | profiles/features/prefix/use.force | 9 | ||||
-rw-r--r-- | profiles/features/prefix/use.mask | 28 | ||||
-rw-r--r-- | profiles/features/prefix/use.stable.mask | 8 |
14 files changed, 314 insertions, 1 deletions
diff --git a/profiles/features/ChangeLog b/profiles/features/ChangeLog index 720f9b1517fe..4f8b4c440cd9 100644 --- a/profiles/features/ChangeLog +++ b/profiles/features/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for Gentoo/AMD64 profile directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/features/ChangeLog,v 1.74 2013/12/29 14:28:31 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/features/ChangeLog,v 1.75 2014/01/18 02:01:20 redlizard Exp $ + + 18 Jan 2014; Ruud Koolen <redlizard@gentoo.org> prefix: + Created prefix feature profile tree 29 Dec 2013; Sven Vermeulen <swift@gentoo.org> selinux/package.mask: Unmask selinux-mandb diff --git a/profiles/features/prefix/Changelog b/profiles/features/prefix/Changelog new file mode 100644 index 000000000000..a1586d9f25e5 --- /dev/null +++ b/profiles/features/prefix/Changelog @@ -0,0 +1,10 @@ +# ChangeLog for profiles/features/prefix +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/prefix/Changelog,v 1.1 2014/01/18 02:01:20 redlizard Exp $ + + 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..561927a782e2 --- /dev/null +++ b/profiles/features/prefix/make.defaults @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/prefix/make.defaults,v 1.1 2014/01/18 02:01:20 redlizard Exp $ + +# 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" diff --git a/profiles/features/prefix/package.mask b/profiles/features/prefix/package.mask new file mode 100644 index 000000000000..7020e41dad66 --- /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 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/prefix/package.mask,v 1.1 2014/01/18 02:01:20 redlizard Exp $ + +# 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..32aa199eaf49 --- /dev/null +++ b/profiles/features/prefix/package.use.mask @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/prefix/package.use.mask,v 1.1 2014/01/18 02:01:20 redlizard Exp $ + +# 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 + +# Fabian Groffen <grobian@gentoo.org> (23 Oct 2010) +# IPC relies on pipes, selects, polls, and more stuff that Python is +# very bad with, that really causes way more issues than it is worth to +# have some boundary bugs solved and more robust subshell die support +sys-apps/portage ipc + +# 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-base/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..fca85af9464b --- /dev/null +++ b/profiles/features/prefix/packages @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/prefix/packages,v 1.1 2014/01/18 02:01:20 redlizard Exp $ + +# 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/kbd +-*sys-process/procps +-*sys-process/psmisc +-*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/packages b/profiles/features/prefix/rpath/packages new file mode 100644 index 000000000000..3dd03bccce18 --- /dev/null +++ b/profiles/features/prefix/rpath/packages @@ -0,0 +1,10 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/prefix/rpath/packages,v 1.1 2014/01/18 02:01:20 redlizard Exp $ + +# we don't want binutils everywhere, only in linux and solaris +-*sys-devel/binutils + +# 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..198874b470e3 --- /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 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/prefix/rpath/profile.bashrc,v 1.1 2014/01/18 02:01:20 redlizard Exp $ + +# 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.mask b/profiles/features/prefix/rpath/use.mask new file mode 100644 index 000000000000..80ad42e21fcb --- /dev/null +++ b/profiles/features/prefix/rpath/use.mask @@ -0,0 +1,7 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/prefix/rpath/use.mask,v 1.1 2014/01/18 02:01:20 redlizard Exp $ + +# multilib is never going to work as expected in Prefix rpath +multilib + diff --git a/profiles/features/prefix/use.force b/profiles/features/prefix/use.force new file mode 100644 index 000000000000..ce1721b8e078 --- /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 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/prefix/use.force,v 1.1 2014/01/18 02:01:20 redlizard Exp $ + +# 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..7d136d0943e4 --- /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 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/prefix/use.mask,v 1.1 2014/01/18 02:01:20 redlizard Exp $ + +# 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/prefix/use.stable.mask b/profiles/features/prefix/use.stable.mask new file mode 100644 index 000000000000..15f1acd6917a --- /dev/null +++ b/profiles/features/prefix/use.stable.mask @@ -0,0 +1,8 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/features/prefix/use.stable.mask,v 1.1 2014/01/18 02:01:20 redlizard Exp $ + +# Fabian Groffen <grobian@gentoo.org> (17 Dec 2013) +# Python 3.3 is better patched than 3.2 for us, gx86 goes too, bug #474128 +-python_targets_python3_3 +-python_single_target_python3_3 |