summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiles/bootstrap/glibc/make.defaults4
-rw-r--r--profiles/bootstrap/glibc/make.defaults.in4
-rw-r--r--profiles/bootstrap/glibc/parent1
-rw-r--r--profiles/bootstrap/glibc/profile.bashrc9
-rw-r--r--profiles/bootstrap/make.defaults9
-rw-r--r--profiles/bootstrap/package.use9
-rw-r--r--profiles/bootstrap/parent1
-rw-r--r--profiles/bootstrap/use.mask15
-rw-r--r--profiles/categories2
-rw-r--r--profiles/default/linux/amd64/13.0/eapi1
-rw-r--r--profiles/default/linux/amd64/13.0/rap/make.defaults3
-rw-r--r--profiles/default/linux/amd64/13.0/rap/parent2
-rw-r--r--profiles/default/linux/arm/13.0/armv5te/rap/make.defaults3
-rw-r--r--profiles/default/linux/arm/13.0/armv5te/rap/parent2
-rw-r--r--profiles/default/linux/arm/13.0/armv7a/rap/make.defaults3
-rw-r--r--profiles/default/linux/arm/13.0/armv7a/rap/parent2
-rw-r--r--profiles/default/linux/x86/13.0/rap/make.defaults3
-rw-r--r--profiles/default/linux/x86/13.0/rap/parent2
-rw-r--r--profiles/eapi1
-rw-r--r--profiles/features/rap/make.defaults2
-rw-r--r--profiles/features/rap/packages11
-rw-r--r--profiles/features/rap/profile.bashrc9
-rw-r--r--profiles/features/rap/use.force5
-rw-r--r--profiles/features/rap/use.mask8
-rw-r--r--profiles/profiles.desc1
-rw-r--r--profiles/repo_name1
26 files changed, 113 insertions, 0 deletions
diff --git a/profiles/bootstrap/glibc/make.defaults b/profiles/bootstrap/glibc/make.defaults
new file mode 100644
index 0000000..6d9b6b7
--- /dev/null
+++ b/profiles/bootstrap/glibc/make.defaults
@@ -0,0 +1,4 @@
+# Set correct PYTHONPATH for Portage, since our Python lives in
+# $EPREFIX/tmp, bug #407573
+
+PYTHONPATH=/opt/gentoo/usr/lib/portage/pym
diff --git a/profiles/bootstrap/glibc/make.defaults.in b/profiles/bootstrap/glibc/make.defaults.in
new file mode 100644
index 0000000..4ee3272
--- /dev/null
+++ b/profiles/bootstrap/glibc/make.defaults.in
@@ -0,0 +1,4 @@
+# Set correct PYTHONPATH for Portage, since our Python lives in
+# $EPREFIX/tmp, bug #407573
+
+PYTHONPATH=@GENTOO_PORTAGE_EPREFIX@/usr/lib/portage/pym
diff --git a/profiles/bootstrap/glibc/parent b/profiles/bootstrap/glibc/parent
new file mode 100644
index 0000000..f3229c5
--- /dev/null
+++ b/profiles/bootstrap/glibc/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/bootstrap/glibc/profile.bashrc b/profiles/bootstrap/glibc/profile.bashrc
new file mode 100644
index 0000000..37d3907
--- /dev/null
+++ b/profiles/bootstrap/glibc/profile.bashrc
@@ -0,0 +1,9 @@
+# Hack for bash because curses is not always available (linux).
+[[ ${PN} == "bash" ]] && EXTRA_ECONF="--without-curses"
+
+if [[ ${PN} == gcc ]]; then
+ CPPFLAGS="-I\"${EPREFIX}\"/usr/include"
+ local dlprefix=$(realpath ${EPREFIX}/lib/$(gcc -print-multi-os-directory))
+ local libprefix=$(realpath ${EPREFIX}/usr/lib/$(gcc -print-multi-os-directory))
+ LDFLAGS="-L\"${libprefix}\" -Wl,--dynamic-linker=\"$(echo ${dlprefix}/ld-linux*.so.*)\""
+fi
diff --git a/profiles/bootstrap/make.defaults b/profiles/bootstrap/make.defaults
new file mode 100644
index 0000000..ecbd1e6
--- /dev/null
+++ b/profiles/bootstrap/make.defaults
@@ -0,0 +1,9 @@
+# and we don't need to spam the user about news until after a --sync
+# because the tools aren't available to read the news item yet anyway.
+
+FEATURES="${FEATURES} -news"
+
+# Disable the STALE warning because the snapshot frequently gets stale.
+# DON'T REMOVE this one, stage3's tree check relies on this one
+
+PORTAGE_SYNC_STALE=0
diff --git a/profiles/bootstrap/package.use b/profiles/bootstrap/package.use
new file mode 100644
index 0000000..45aa99c
--- /dev/null
+++ b/profiles/bootstrap/package.use
@@ -0,0 +1,9 @@
+# Most binary Linux distributions seem to fancy toolchains that do not
+# do c++ support (need to install a separate package). Since we don't
+# check for g++, just make sure binutils won't try to build gold
+# (needs c++), it will get there once we built our own GCC with c++
+# support. For that reason we cannot globally mask cxx, because then
+# GCC will be built without c++ support too.
+
+sys-devel/binutils -cxx
+dev-libs/gmp -cxx
diff --git a/profiles/bootstrap/parent b/profiles/bootstrap/parent
new file mode 100644
index 0000000..291864c
--- /dev/null
+++ b/profiles/bootstrap/parent
@@ -0,0 +1 @@
+../default/linux/amd64/13.0/rap
diff --git a/profiles/bootstrap/use.mask b/profiles/bootstrap/use.mask
new file mode 100644
index 0000000..7edafc8
--- /dev/null
+++ b/profiles/bootstrap/use.mask
@@ -0,0 +1,15 @@
+# The default profiles (and IUSE defaults) introduce circular deps. By
+# shoving this USE line here, we can ensure that the
+# end-user always avoids circular deps while bootstrapping.
+
+berkdb
+fortran
+gdbm
+git
+nls
+pcre
+ssl
+python
+readline
+acl
+
diff --git a/profiles/categories b/profiles/categories
new file mode 100644
index 0000000..9e746aa
--- /dev/null
+++ b/profiles/categories
@@ -0,0 +1,2 @@
+cross-armv5tel-softfloat-linux-gnueabi
+cross-x86_64-pc-linux-gnu
diff --git a/profiles/default/linux/amd64/13.0/eapi b/profiles/default/linux/amd64/13.0/eapi
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/profiles/default/linux/amd64/13.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/default/linux/amd64/13.0/rap/make.defaults b/profiles/default/linux/amd64/13.0/rap/make.defaults
new file mode 100644
index 0000000..fc2914e
--- /dev/null
+++ b/profiles/default/linux/amd64/13.0/rap/make.defaults
@@ -0,0 +1,3 @@
+# accept unstable keyword before RAP matures
+# accept Prefix keyword to use Prefix overlay for transition
+ACCEPT_KEYWORDS="~amd64 ~amd64-linux"
diff --git a/profiles/default/linux/amd64/13.0/rap/parent b/profiles/default/linux/amd64/13.0/rap/parent
new file mode 100644
index 0000000..e87bf03
--- /dev/null
+++ b/profiles/default/linux/amd64/13.0/rap/parent
@@ -0,0 +1,2 @@
+gentoo_prefix:default/linux/amd64/13.0/no-multilib
+../../../../../features/rap
diff --git a/profiles/default/linux/arm/13.0/armv5te/rap/make.defaults b/profiles/default/linux/arm/13.0/armv5te/rap/make.defaults
new file mode 100644
index 0000000..61ca581
--- /dev/null
+++ b/profiles/default/linux/arm/13.0/armv5te/rap/make.defaults
@@ -0,0 +1,3 @@
+# accept unstable keyword before RAP matures
+# accept Prefix keyword to use Prefix overlay for transition
+ACCEPT_KEYWORDS="~arm ~arm-linux"
diff --git a/profiles/default/linux/arm/13.0/armv5te/rap/parent b/profiles/default/linux/arm/13.0/armv5te/rap/parent
new file mode 100644
index 0000000..a67a6e3
--- /dev/null
+++ b/profiles/default/linux/arm/13.0/armv5te/rap/parent
@@ -0,0 +1,2 @@
+gentoo_prefix:default/linux/arm/13.0/armv5te
+../../../../../../features/rap
diff --git a/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults b/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults
new file mode 100644
index 0000000..61ca581
--- /dev/null
+++ b/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults
@@ -0,0 +1,3 @@
+# accept unstable keyword before RAP matures
+# accept Prefix keyword to use Prefix overlay for transition
+ACCEPT_KEYWORDS="~arm ~arm-linux"
diff --git a/profiles/default/linux/arm/13.0/armv7a/rap/parent b/profiles/default/linux/arm/13.0/armv7a/rap/parent
new file mode 100644
index 0000000..b105425
--- /dev/null
+++ b/profiles/default/linux/arm/13.0/armv7a/rap/parent
@@ -0,0 +1,2 @@
+gentoo_prefix:default/linux/arm/13.0/armv7a
+../../../../../../features/rap
diff --git a/profiles/default/linux/x86/13.0/rap/make.defaults b/profiles/default/linux/x86/13.0/rap/make.defaults
new file mode 100644
index 0000000..5682e93
--- /dev/null
+++ b/profiles/default/linux/x86/13.0/rap/make.defaults
@@ -0,0 +1,3 @@
+# accept unstable keyword before RAP matures
+# accept Prefix keyword to use Prefix overlay for transition
+ACCEPT_KEYWORDS="~x86 ~x86-linux"
diff --git a/profiles/default/linux/x86/13.0/rap/parent b/profiles/default/linux/x86/13.0/rap/parent
new file mode 100644
index 0000000..313b23f
--- /dev/null
+++ b/profiles/default/linux/x86/13.0/rap/parent
@@ -0,0 +1,2 @@
+gentoo_prefix:default/linux/x86/13.0
+../../../../../features/rap
diff --git a/profiles/eapi b/profiles/eapi
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/profiles/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/features/rap/make.defaults b/profiles/features/rap/make.defaults
new file mode 100644
index 0000000..ed808e9
--- /dev/null
+++ b/profiles/features/rap/make.defaults
@@ -0,0 +1,2 @@
+# sandbox not prefixified yet.
+FEATURES="-sandbox"
diff --git a/profiles/features/rap/packages b/profiles/features/rap/packages
new file mode 100644
index 0000000..c574b8e
--- /dev/null
+++ b/profiles/features/rap/packages
@@ -0,0 +1,11 @@
+# kmod has not been prefixified
+-*virtual/modutils
+
+# shadow has not been prefixified
+-*virtual/shadow
+
+# don't need in rap
+-*virtual/dev-manager
+
+# permission is not handled by portage for normal users
+-*net-misc/iputils
diff --git a/profiles/features/rap/profile.bashrc b/profiles/features/rap/profile.bashrc
new file mode 100644
index 0000000..5f7a4a4
--- /dev/null
+++ b/profiles/features/rap/profile.bashrc
@@ -0,0 +1,9 @@
+# use sysroot of toolchain to get include and library at compile time work
+# Benda Xu <heroxbd@gentoo.org> (17 Jun, 2013)
+
+if [[ ${CATEGORY} == sys-devel ]] && [[ ${PN} == binutils || ${PN} == libtool ]] \
+ && [[ ${EBUILD_PHASE} == unpack ]]; then
+ elog "append --with-sysroot=${EPREFIX} to configure for Prefix libc"
+ EXTRA_ECONF+="--with-sysroot=${EPREFIX}"
+fi
+
diff --git a/profiles/features/rap/use.force b/profiles/features/rap/use.force
new file mode 100644
index 0000000..193e6d8
--- /dev/null
+++ b/profiles/features/rap/use.force
@@ -0,0 +1,5 @@
+# force Prefix
+prefix
+
+# force rap (Prefix with libc)
+rap
diff --git a/profiles/features/rap/use.mask b/profiles/features/rap/use.mask
new file mode 100644
index 0000000..4c45f2d
--- /dev/null
+++ b/profiles/features/rap/use.mask
@@ -0,0 +1,8 @@
+# unmask prefix
+-prefix
+
+# sys-libs/gpm has not been prefixified
+gpm
+
+# sys-libs/pam has not been prefixified
+pam
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
new file mode 100644
index 0000000..a7d42e7
--- /dev/null
+++ b/profiles/profiles.desc
@@ -0,0 +1 @@
+x86 default/linux/x86/13.0/rap stable
diff --git a/profiles/repo_name b/profiles/repo_name
new file mode 100644
index 0000000..84678fa
--- /dev/null
+++ b/profiles/repo_name
@@ -0,0 +1 @@
+heroxbd