summaryrefslogtreecommitdiff
path: root/profiles/releases
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/releases')
-rw-r--r--profiles/releases/13.0/eapi1
-rw-r--r--profiles/releases/13.0/make.defaults5
-rw-r--r--profiles/releases/13.0/package.mask2
-rw-r--r--profiles/releases/13.0/parent1
-rw-r--r--profiles/releases/17.0/eapi1
-rw-r--r--profiles/releases/17.0/make.defaults5
-rw-r--r--profiles/releases/17.0/package.mask17
-rw-r--r--profiles/releases/17.0/package.use.force6
-rw-r--r--profiles/releases/17.0/package.use.mask17
-rw-r--r--profiles/releases/17.0/parent1
-rw-r--r--profiles/releases/eapi1
-rw-r--r--profiles/releases/freebsd-10.3/package.mask50
-rw-r--r--profiles/releases/freebsd-10.3/package.use.force5
-rw-r--r--profiles/releases/freebsd-10.3/packages9
-rw-r--r--profiles/releases/freebsd-10.3/packages.build6
-rw-r--r--profiles/releases/freebsd-10.3/parent1
-rw-r--r--profiles/releases/freebsd-10.3/profile.bashrc33
-rw-r--r--profiles/releases/freebsd-11.0/package.mask50
-rw-r--r--profiles/releases/freebsd-11.0/package.use.force5
-rw-r--r--profiles/releases/freebsd-11.0/packages9
-rw-r--r--profiles/releases/freebsd-11.0/packages.build6
-rw-r--r--profiles/releases/freebsd-11.0/parent1
-rw-r--r--profiles/releases/freebsd-11.0/profile.bashrc33
-rw-r--r--profiles/releases/freebsd-11.1/package.mask47
-rw-r--r--profiles/releases/freebsd-11.1/package.use.force5
-rw-r--r--profiles/releases/freebsd-11.1/packages12
-rw-r--r--profiles/releases/freebsd-11.1/packages.build7
-rw-r--r--profiles/releases/freebsd-11.1/parent1
-rw-r--r--profiles/releases/freebsd-11.1/profile.bashrc33
-rw-r--r--profiles/releases/freebsd-8.2/eapi1
-rw-r--r--profiles/releases/freebsd-8.2/package.mask40
-rw-r--r--profiles/releases/freebsd-8.2/package.use.mask5
-rw-r--r--profiles/releases/freebsd-8.2/packages5
-rw-r--r--profiles/releases/freebsd-8.2/parent1
-rw-r--r--profiles/releases/freebsd-9.1/eapi1
-rw-r--r--profiles/releases/freebsd-9.1/package.mask50
-rw-r--r--profiles/releases/freebsd-9.1/packages5
-rw-r--r--profiles/releases/freebsd-9.1/parent1
-rw-r--r--profiles/releases/make.defaults6
39 files changed, 485 insertions, 0 deletions
diff --git a/profiles/releases/13.0/eapi b/profiles/releases/13.0/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/releases/13.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/releases/13.0/make.defaults b/profiles/releases/13.0/make.defaults
new file mode 100644
index 000000000000..475e60c7d655
--- /dev/null
+++ b/profiles/releases/13.0/make.defaults
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Adding this one, since it makes sense.
+USE="bzip2"
diff --git a/profiles/releases/13.0/package.mask b/profiles/releases/13.0/package.mask
new file mode 100644
index 000000000000..5b64a27123b6
--- /dev/null
+++ b/profiles/releases/13.0/package.mask
@@ -0,0 +1,2 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
diff --git a/profiles/releases/13.0/parent b/profiles/releases/13.0/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/releases/13.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/releases/17.0/eapi b/profiles/releases/17.0/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/releases/17.0/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/releases/17.0/make.defaults b/profiles/releases/17.0/make.defaults
new file mode 100644
index 000000000000..475e60c7d655
--- /dev/null
+++ b/profiles/releases/17.0/make.defaults
@@ -0,0 +1,5 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Adding this one, since it makes sense.
+USE="bzip2"
diff --git a/profiles/releases/17.0/package.mask b/profiles/releases/17.0/package.mask
new file mode 100644
index 000000000000..cb70be0a64de
--- /dev/null
+++ b/profiles/releases/17.0/package.mask
@@ -0,0 +1,17 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Andreas K. Huettel <dilfridge@gentoo.org> (27 May 2017)
+# In the 17.0 profiles we assume that our system compiler uses C++14
+# or later as default language setting. This means it has to be at
+# least GCC 6. If you need an older compiler for specific purposes,
+# feel free to unmask it, however, using it for normal emerging of
+# packages is neither recommended nor supported in any way.
+<sys-devel/gcc-6
+
+# Andreas K. Huettel <dilfridge@gentoo.org> (27 May 2017)
+# We can unmask ICU 59 and later now we for sure have a recent GCC
+# Note: "and later" is safe here since the profiles/package.mask
+# still overrides.
+->=dev-libs/icu-59
+->=dev-libs/icu-layoutex-59
diff --git a/profiles/releases/17.0/package.use.force b/profiles/releases/17.0/package.use.force
new file mode 100644
index 000000000000..e0b6784ee1e7
--- /dev/null
+++ b/profiles/releases/17.0/package.use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Andreas K. Hüttel <dilfridge@gentoo.org> (27 May 2017)
+# Force default-PIE build on 17.0 profiles.
+sys-devel/gcc pie
diff --git a/profiles/releases/17.0/package.use.mask b/profiles/releases/17.0/package.use.mask
new file mode 100644
index 000000000000..d95b5b9f3a60
--- /dev/null
+++ b/profiles/releases/17.0/package.use.mask
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Andreas K. Hüttel <dilfridge@gentoo.org> (27 May 2017)
+# Unmask default-PIE on 17.0 profiles.
+sys-devel/gcc -pie
+
+# Andreas K. Hüttel <dilfridge@gentoo.org> (7 June 2017)
+# Qt-4 will never work with >=icu-59, see bug 618638 and bug 618640
+dev-qt/qtcore:4 icu
+dev-qt/qtwebkit:4 icu
+
+# Ian Stakenvicius <axs@gentoo.org> (27 Sep 2017)
+# Remove system-icu masks (see base/package.use.mask)
+# that prevent the >=icu-59 dependency
+>=www-client/chromium-62.0.3202.9 -system-icu
+>=www-client/firefox-56.0 -system-icu
diff --git a/profiles/releases/17.0/parent b/profiles/releases/17.0/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/releases/17.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/releases/eapi b/profiles/releases/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/releases/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/releases/freebsd-10.3/package.mask b/profiles/releases/freebsd-10.3/package.mask
new file mode 100644
index 000000000000..04502956a1e0
--- /dev/null
+++ b/profiles/releases/freebsd-10.3/package.mask
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# Make sure we don't get wrong versions
+<sys-freebsd/freebsd-pam-modules-10.3_alpha
+>sys-freebsd/freebsd-pam-modules-10.3.99
+<sys-freebsd/freebsd-rescue-10.3_alpha
+>sys-freebsd/freebsd-rescue-10.3.99
+<sys-freebsd/freebsd-pf-10.3_alpha
+>sys-freebsd/freebsd-pf-10.3.99
+<sys-freebsd/freebsd-mk-defs-10.3_alpha
+>sys-freebsd/freebsd-mk-defs-10.3.99
+<sys-freebsd/freebsd-lib-10.3_alpha
+>sys-freebsd/freebsd-lib-10.3.99
+<sys-freebsd/freebsd-libexec-10.3_alpha
+>sys-freebsd/freebsd-libexec-10.3.99
+<sys-freebsd/freebsd-bin-10.3_alpha
+>sys-freebsd/freebsd-bin-10.3.99
+<sys-freebsd/freebsd-sbin-10.3_alpha
+>sys-freebsd/freebsd-sbin-10.3.99
+<sys-freebsd/freebsd-ubin-10.3_alpha
+>sys-freebsd/freebsd-ubin-10.3.99
+>sys-freebsd/freebsd-usbin-10.3.99
+<sys-freebsd/freebsd-share-10.3_alpha
+>sys-freebsd/freebsd-share-10.3.99
+<sys-freebsd/freebsd-contrib-10.3_alpha
+>sys-freebsd/freebsd-contrib-10.3.99
+>sys-freebsd/freebsd-cddl-10.3.99
+<sys-freebsd/boot0-10.3_alpha
+>sys-freebsd/boot0-10.3.99
+<sys-freebsd/freebsd-sources-10.3_alpha
+>sys-freebsd/freebsd-sources-10.3.99
+
+# Mask version of -cddl and -usbin is different for ease of upgrade. bug #491774
+# Please keep <freebsd-cddl-9.2_alpha and <freebsd-usbin-9.1_alpha.
+<sys-freebsd/freebsd-cddl-9.2_alpha
+<sys-freebsd/freebsd-usbin-9.1_alpha
+
+# Alexis Ballier <aballier@gentoo.org> (07 Nov 2011)
+# It is in freebsd-ubin starting from FreeBSD 9.0
+sys-process/fuser-bsd
+
+# Alexis Ballier <aballier@gentoo.org> (11 May 2012)
+# freebsd-lib provides a utempter compatible interface starting from FreeBSD 9.0
+# via libulog.
+# this package does not build anymore as it requires utmp
+sys-libs/libutempter
+
+# A serious problem is caused by >=binutils-2.28. #629128
+>=sys-devel/binutils-2.28
diff --git a/profiles/releases/freebsd-10.3/package.use.force b/profiles/releases/freebsd-10.3/package.use.force
new file mode 100644
index 000000000000..48c57fd6affa
--- /dev/null
+++ b/profiles/releases/freebsd-10.3/package.use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2016 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# freebsd-sources[build-generic] requires clang
+sys-devel/llvm clang
diff --git a/profiles/releases/freebsd-10.3/packages b/profiles/releases/freebsd-10.3/packages
new file mode 100644
index 000000000000..d6bfb9c6888e
--- /dev/null
+++ b/profiles/releases/freebsd-10.3/packages
@@ -0,0 +1,9 @@
+# Copyright 1999-2016 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+*>=sys-apps/baselayout-2.0.0
+*>=sys-apps/openrc-0.2.5
+
+# Not necessary dev-libs/libiconv and freebsd-contrib in 10.0 and later.
+-*dev-libs/libiconv
+-*sys-freebsd/freebsd-contrib
diff --git a/profiles/releases/freebsd-10.3/packages.build b/profiles/releases/freebsd-10.3/packages.build
new file mode 100644
index 000000000000..a647c54c3d75
--- /dev/null
+++ b/profiles/releases/freebsd-10.3/packages.build
@@ -0,0 +1,6 @@
+# Copyright 1999-2016 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+-dev-libs/libiconv
+-sys-freebsd/freebsd-contrib
+sys-freebsd/freebsd-share
diff --git a/profiles/releases/freebsd-10.3/parent b/profiles/releases/freebsd-10.3/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/releases/freebsd-10.3/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/releases/freebsd-10.3/profile.bashrc b/profiles/releases/freebsd-10.3/profile.bashrc
new file mode 100644
index 000000000000..502446f59325
--- /dev/null
+++ b/profiles/releases/freebsd-10.3/profile.bashrc
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+bsd-fbsd10fix(){
+ # http://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk
+
+ for f in `find ${WORKDIR} -type f \( -name config.libpath -o \
+ -name config.rpath -o -name configure -o -name libtool.m4 -o \
+ -name ltconfig -o -name libtool -o -name aclocal.m4 -o \
+ -name acinclude.m4 \)` ; do \
+ sed -i.fbsd10bak \
+ -e 's|freebsd1\*)|freebsd1.\*)|g' \
+ -e 's|freebsd\[12\]\*)|freebsd[12].*)|g' \
+ -e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \
+ -e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \
+ -e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \
+ ${f} ; \
+ touch -mr ${f}.fbsd10bak ${f} ; \
+ rm -f ${f}.fbsd10bak ; \
+ einfo "===> FreeBSD 10 autotools fix applied to ${f}"; \
+ done
+}
+
+if [[ -n $EAPI ]] ; then
+ case "$EAPI" in
+ 0|1)
+ post_src_unpack() { bsd-patch_install-sh ; bsd-fbsd10fix ; }
+ ;;
+ *)
+ post_src_prepare() { bsd-patch_install-sh ; bsd-fbsd10fix ; }
+ ;;
+ esac
+fi
diff --git a/profiles/releases/freebsd-11.0/package.mask b/profiles/releases/freebsd-11.0/package.mask
new file mode 100644
index 000000000000..373f77eb84bd
--- /dev/null
+++ b/profiles/releases/freebsd-11.0/package.mask
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# Make sure we don't get wrong versions
+<sys-freebsd/freebsd-pam-modules-11.0_alpha
+>sys-freebsd/freebsd-pam-modules-11.0.99
+<sys-freebsd/freebsd-rescue-11.0_alpha
+>sys-freebsd/freebsd-rescue-11.0.99
+<sys-freebsd/freebsd-pf-11.0_alpha
+>sys-freebsd/freebsd-pf-11.0.99
+<sys-freebsd/freebsd-mk-defs-11.0_alpha
+>sys-freebsd/freebsd-mk-defs-11.0.99
+<sys-freebsd/freebsd-lib-11.0_alpha
+>sys-freebsd/freebsd-lib-11.0.99
+<sys-freebsd/freebsd-libexec-11.0_alpha
+>sys-freebsd/freebsd-libexec-11.0.99
+<sys-freebsd/freebsd-bin-11.0_alpha
+>sys-freebsd/freebsd-bin-11.0.99
+<sys-freebsd/freebsd-sbin-11.0_alpha
+>sys-freebsd/freebsd-sbin-11.0.99
+<sys-freebsd/freebsd-ubin-11.0_alpha
+>sys-freebsd/freebsd-ubin-11.0.99
+>sys-freebsd/freebsd-usbin-11.0.99
+<sys-freebsd/freebsd-share-11.0_alpha
+>sys-freebsd/freebsd-share-11.0.99
+<sys-freebsd/freebsd-contrib-11.0_alpha
+>sys-freebsd/freebsd-contrib-11.0.99
+>sys-freebsd/freebsd-cddl-11.0.99
+<sys-freebsd/boot0-11.0_alpha
+>sys-freebsd/boot0-11.0.99
+<sys-freebsd/freebsd-sources-11.0_alpha
+>sys-freebsd/freebsd-sources-11.0.99
+
+# Mask version of -cddl and -usbin is different for ease of upgrade. bug #491774
+# Please keep <freebsd-cddl-9.2_alpha and <freebsd-usbin-9.1_alpha.
+<sys-freebsd/freebsd-cddl-9.2_alpha
+<sys-freebsd/freebsd-usbin-9.1_alpha
+
+# Alexis Ballier <aballier@gentoo.org> (07 Nov 2011)
+# It is in freebsd-ubin starting from FreeBSD 9.0
+sys-process/fuser-bsd
+
+# Alexis Ballier <aballier@gentoo.org> (11 May 2012)
+# freebsd-lib provides a utempter compatible interface starting from FreeBSD 9.0
+# via libulog.
+# this package does not build anymore as it requires utmp
+sys-libs/libutempter
+
+# A serious problem is caused by >=binutils-2.28. #629128
+>=sys-devel/binutils-2.28
diff --git a/profiles/releases/freebsd-11.0/package.use.force b/profiles/releases/freebsd-11.0/package.use.force
new file mode 100644
index 000000000000..48c57fd6affa
--- /dev/null
+++ b/profiles/releases/freebsd-11.0/package.use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2016 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# freebsd-sources[build-generic] requires clang
+sys-devel/llvm clang
diff --git a/profiles/releases/freebsd-11.0/packages b/profiles/releases/freebsd-11.0/packages
new file mode 100644
index 000000000000..d6bfb9c6888e
--- /dev/null
+++ b/profiles/releases/freebsd-11.0/packages
@@ -0,0 +1,9 @@
+# Copyright 1999-2016 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+*>=sys-apps/baselayout-2.0.0
+*>=sys-apps/openrc-0.2.5
+
+# Not necessary dev-libs/libiconv and freebsd-contrib in 10.0 and later.
+-*dev-libs/libiconv
+-*sys-freebsd/freebsd-contrib
diff --git a/profiles/releases/freebsd-11.0/packages.build b/profiles/releases/freebsd-11.0/packages.build
new file mode 100644
index 000000000000..a647c54c3d75
--- /dev/null
+++ b/profiles/releases/freebsd-11.0/packages.build
@@ -0,0 +1,6 @@
+# Copyright 1999-2016 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+
+-dev-libs/libiconv
+-sys-freebsd/freebsd-contrib
+sys-freebsd/freebsd-share
diff --git a/profiles/releases/freebsd-11.0/parent b/profiles/releases/freebsd-11.0/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/releases/freebsd-11.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/releases/freebsd-11.0/profile.bashrc b/profiles/releases/freebsd-11.0/profile.bashrc
new file mode 100644
index 000000000000..502446f59325
--- /dev/null
+++ b/profiles/releases/freebsd-11.0/profile.bashrc
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+bsd-fbsd10fix(){
+ # http://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk
+
+ for f in `find ${WORKDIR} -type f \( -name config.libpath -o \
+ -name config.rpath -o -name configure -o -name libtool.m4 -o \
+ -name ltconfig -o -name libtool -o -name aclocal.m4 -o \
+ -name acinclude.m4 \)` ; do \
+ sed -i.fbsd10bak \
+ -e 's|freebsd1\*)|freebsd1.\*)|g' \
+ -e 's|freebsd\[12\]\*)|freebsd[12].*)|g' \
+ -e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \
+ -e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \
+ -e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \
+ ${f} ; \
+ touch -mr ${f}.fbsd10bak ${f} ; \
+ rm -f ${f}.fbsd10bak ; \
+ einfo "===> FreeBSD 10 autotools fix applied to ${f}"; \
+ done
+}
+
+if [[ -n $EAPI ]] ; then
+ case "$EAPI" in
+ 0|1)
+ post_src_unpack() { bsd-patch_install-sh ; bsd-fbsd10fix ; }
+ ;;
+ *)
+ post_src_prepare() { bsd-patch_install-sh ; bsd-fbsd10fix ; }
+ ;;
+ esac
+fi
diff --git a/profiles/releases/freebsd-11.1/package.mask b/profiles/releases/freebsd-11.1/package.mask
new file mode 100644
index 000000000000..d2db415aa6b9
--- /dev/null
+++ b/profiles/releases/freebsd-11.1/package.mask
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# Make sure we don't get wrong versions
+<sys-freebsd/freebsd-pam-modules-11.1_alpha
+>sys-freebsd/freebsd-pam-modules-11.1.99
+<sys-freebsd/freebsd-rescue-11.1_alpha
+>sys-freebsd/freebsd-rescue-11.1.99
+<sys-freebsd/freebsd-pf-11.1_alpha
+>sys-freebsd/freebsd-pf-11.1.99
+<sys-freebsd/freebsd-mk-defs-11.1_alpha
+>sys-freebsd/freebsd-mk-defs-11.1.99
+<sys-freebsd/freebsd-lib-11.1_alpha
+>sys-freebsd/freebsd-lib-11.1.99
+<sys-freebsd/freebsd-libexec-11.1_alpha
+>sys-freebsd/freebsd-libexec-11.1.99
+<sys-freebsd/freebsd-bin-11.1_alpha
+>sys-freebsd/freebsd-bin-11.1.99
+<sys-freebsd/freebsd-sbin-11.1_alpha
+>sys-freebsd/freebsd-sbin-11.1.99
+<sys-freebsd/freebsd-ubin-11.1_alpha
+>sys-freebsd/freebsd-ubin-11.1.99
+>sys-freebsd/freebsd-usbin-11.1.99
+<sys-freebsd/freebsd-share-11.1_alpha
+>sys-freebsd/freebsd-share-11.1.99
+<sys-freebsd/freebsd-contrib-11.1_alpha
+>sys-freebsd/freebsd-contrib-11.1.99
+>sys-freebsd/freebsd-cddl-11.1.99
+<sys-freebsd/boot0-11.1_alpha
+>sys-freebsd/boot0-11.1.99
+<sys-freebsd/freebsd-sources-11.1_alpha
+>sys-freebsd/freebsd-sources-11.1.99
+
+# We masked different versions for easy upgrade. bug #491774
+# Please keep <freebsd-cddl-9.2_alpha and <freebsd-usbin-9.1_alpha.
+<sys-freebsd/freebsd-cddl-9.2_alpha
+<sys-freebsd/freebsd-usbin-9.1_alpha
+
+# Alexis Ballier <aballier@gentoo.org> (07 Nov 2011)
+# It is in freebsd-ubin starting from FreeBSD 9.0
+sys-process/fuser-bsd
+
+# Alexis Ballier <aballier@gentoo.org> (11 May 2012)
+# freebsd-lib provides a utempter compatible interface starting from FreeBSD 9.0
+# via libulog.
+# this package does not build anymore as it requires utmp
+sys-libs/libutempter
diff --git a/profiles/releases/freebsd-11.1/package.use.force b/profiles/releases/freebsd-11.1/package.use.force
new file mode 100644
index 000000000000..dcb6a5d2e7ca
--- /dev/null
+++ b/profiles/releases/freebsd-11.1/package.use.force
@@ -0,0 +1,5 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# freebsd-sources[build-generic] requires clang
+sys-devel/llvm clang
diff --git a/profiles/releases/freebsd-11.1/packages b/profiles/releases/freebsd-11.1/packages
new file mode 100644
index 000000000000..a68d7505d934
--- /dev/null
+++ b/profiles/releases/freebsd-11.1/packages
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+*>=sys-apps/baselayout-2.0.0
+*>=sys-apps/openrc-0.2.5
+
+# dev-libs/libiconv and freebsd-contrib aren't necessary in 10.0 and later.
+-*dev-libs/libiconv
+-*sys-freebsd/freebsd-contrib
+
+# sys-freebsd/freebsd-libexec was merged into freebsd-lib in 11.1 and later.
+-*sys-freebsd/freebsd-libexec
diff --git a/profiles/releases/freebsd-11.1/packages.build b/profiles/releases/freebsd-11.1/packages.build
new file mode 100644
index 000000000000..a6ca5a9327c9
--- /dev/null
+++ b/profiles/releases/freebsd-11.1/packages.build
@@ -0,0 +1,7 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+-dev-libs/libiconv
+-sys-freebsd/freebsd-contrib
+-sys-freebsd/freebsd-libexec
+sys-freebsd/freebsd-share
diff --git a/profiles/releases/freebsd-11.1/parent b/profiles/releases/freebsd-11.1/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/releases/freebsd-11.1/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/releases/freebsd-11.1/profile.bashrc b/profiles/releases/freebsd-11.1/profile.bashrc
new file mode 100644
index 000000000000..8987e6d324f7
--- /dev/null
+++ b/profiles/releases/freebsd-11.1/profile.bashrc
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+bsd-fbsd10fix(){
+ # http://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk
+
+ for f in `find ${WORKDIR} -type f \( -name config.libpath -o \
+ -name config.rpath -o -name configure -o -name libtool.m4 -o \
+ -name ltconfig -o -name libtool -o -name aclocal.m4 -o \
+ -name acinclude.m4 \)` ; do \
+ sed -i.fbsd10bak \
+ -e 's|freebsd1\*)|freebsd1.\*)|g' \
+ -e 's|freebsd\[12\]\*)|freebsd[12].*)|g' \
+ -e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \
+ -e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \
+ -e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \
+ ${f} ; \
+ touch -mr ${f}.fbsd10bak ${f} ; \
+ rm -f ${f}.fbsd10bak ; \
+ einfo "===> FreeBSD 10 autotools fix applied to ${f}"; \
+ done
+}
+
+if [[ -n $EAPI ]] ; then
+ case "$EAPI" in
+ 0|1)
+ post_src_unpack() { bsd-patch_install-sh ; bsd-fbsd10fix ; }
+ ;;
+ *)
+ post_src_prepare() { bsd-patch_install-sh ; bsd-fbsd10fix ; }
+ ;;
+ esac
+fi
diff --git a/profiles/releases/freebsd-8.2/eapi b/profiles/releases/freebsd-8.2/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/releases/freebsd-8.2/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/releases/freebsd-8.2/package.mask b/profiles/releases/freebsd-8.2/package.mask
new file mode 100644
index 000000000000..64f2eef23545
--- /dev/null
+++ b/profiles/releases/freebsd-8.2/package.mask
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# Make sure we don't get wrong versions
+<sys-freebsd/freebsd-pam-modules-8.2_alpha
+>sys-freebsd/freebsd-pam-modules-8.2.99
+<sys-freebsd/freebsd-rescue-8.2_alpha
+>sys-freebsd/freebsd-rescue-8.2.99
+<sys-freebsd/freebsd-pf-8.2_alpha
+>sys-freebsd/freebsd-pf-8.2.99
+<sys-freebsd/freebsd-mk-defs-8.2_alpha
+>sys-freebsd/freebsd-mk-defs-8.2.99
+<sys-freebsd/freebsd-lib-8.2_alpha
+>sys-freebsd/freebsd-lib-8.2.99
+<sys-freebsd/freebsd-libexec-8.2_alpha
+>sys-freebsd/freebsd-libexec-8.2.99
+<sys-freebsd/freebsd-bin-8.2_alpha
+>sys-freebsd/freebsd-bin-8.2.99
+<sys-freebsd/freebsd-sbin-8.2_alpha
+>sys-freebsd/freebsd-sbin-8.2.99
+<sys-freebsd/freebsd-ubin-8.2_alpha
+>sys-freebsd/freebsd-ubin-8.2.99
+<sys-freebsd/freebsd-usbin-8.2_alpha
+>sys-freebsd/freebsd-usbin-8.2.99
+<sys-freebsd/freebsd-share-8.2_alpha
+>sys-freebsd/freebsd-share-8.2.99
+<sys-freebsd/freebsd-contrib-8.2_alpha
+>sys-freebsd/freebsd-contrib-8.2.99
+<sys-freebsd/freebsd-cddl-8.2_alpha
+>sys-freebsd/freebsd-cddl-8.2.99
+<sys-freebsd/boot0-8.2_alpha
+>sys-freebsd/boot0-8.2.99
+<sys-freebsd/freebsd-sources-8.2_alpha
+>sys-freebsd/freebsd-sources-8.2.99
+
+# A critical issue is in freebsd-libexec, bug #573358.
+>=sys-devel/gcc-5.0
+
+# A serious problem is caused by >=binutils-2.28. #629128
+>=sys-devel/binutils-2.28
diff --git a/profiles/releases/freebsd-8.2/package.use.mask b/profiles/releases/freebsd-8.2/package.use.mask
new file mode 100644
index 000000000000..5cbc9179d4ad
--- /dev/null
+++ b/profiles/releases/freebsd-8.2/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 1999-2012 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# Not built due to lacking of O_CLOEXEC, bug #390387
+media-libs/mesa egl
diff --git a/profiles/releases/freebsd-8.2/packages b/profiles/releases/freebsd-8.2/packages
new file mode 100644
index 000000000000..d05effb51076
--- /dev/null
+++ b/profiles/releases/freebsd-8.2/packages
@@ -0,0 +1,5 @@
+# Copyright 1999-2011 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+*>=sys-apps/baselayout-2.0.0
+*>=sys-apps/openrc-0.2.5
diff --git a/profiles/releases/freebsd-8.2/parent b/profiles/releases/freebsd-8.2/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/releases/freebsd-8.2/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/releases/freebsd-9.1/eapi b/profiles/releases/freebsd-9.1/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/releases/freebsd-9.1/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/releases/freebsd-9.1/package.mask b/profiles/releases/freebsd-9.1/package.mask
new file mode 100644
index 000000000000..686dc81d524e
--- /dev/null
+++ b/profiles/releases/freebsd-9.1/package.mask
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+# Make sure we don't get wrong versions
+<sys-freebsd/freebsd-pam-modules-9.1_alpha
+>sys-freebsd/freebsd-pam-modules-9.1.99
+<sys-freebsd/freebsd-rescue-9.1_alpha
+>sys-freebsd/freebsd-rescue-9.1.99
+<sys-freebsd/freebsd-pf-9.1_alpha
+>sys-freebsd/freebsd-pf-9.1.99
+<sys-freebsd/freebsd-mk-defs-9.1_alpha
+>sys-freebsd/freebsd-mk-defs-9.1.99
+<sys-freebsd/freebsd-lib-9.1_alpha
+>sys-freebsd/freebsd-lib-9.1.99
+<sys-freebsd/freebsd-libexec-9.1_alpha
+>sys-freebsd/freebsd-libexec-9.1.99
+<sys-freebsd/freebsd-bin-9.1_alpha
+>sys-freebsd/freebsd-bin-9.1.99
+<sys-freebsd/freebsd-sbin-9.1_alpha
+>sys-freebsd/freebsd-sbin-9.1.99
+<sys-freebsd/freebsd-ubin-9.1_alpha
+>sys-freebsd/freebsd-ubin-9.1.99
+<sys-freebsd/freebsd-usbin-9.1_alpha
+>sys-freebsd/freebsd-usbin-9.1.99
+<sys-freebsd/freebsd-share-9.1_alpha
+>sys-freebsd/freebsd-share-9.1.99
+<sys-freebsd/freebsd-contrib-9.1_alpha
+>sys-freebsd/freebsd-contrib-9.1.99
+<sys-freebsd/freebsd-cddl-9.1_alpha
+>sys-freebsd/freebsd-cddl-9.1.99
+<sys-freebsd/boot0-9.1_alpha
+>sys-freebsd/boot0-9.1.99
+<sys-freebsd/freebsd-sources-9.1_alpha
+>sys-freebsd/freebsd-sources-9.1.99
+
+# Alexis Ballier <aballier@gentoo.org> (07 Nov 2011)
+# It is in freebsd-ubin starting from FreeBSD 9.0
+sys-process/fuser-bsd
+
+# Alexis Ballier <aballier@gentoo.org> (11 May 2012)
+# freebsd-lib provides a utempter compatible interface starting from FreeBSD 9.0
+# via libulog.
+# this package does not build anymore as it requires utmp
+sys-libs/libutempter
+
+# A critical issue is in freebsd-libexec, bug #573358.
+>=sys-devel/gcc-5.0
+
+# A serious problem is caused by >=binutils-2.28. #629128
+>=sys-devel/binutils-2.28
diff --git a/profiles/releases/freebsd-9.1/packages b/profiles/releases/freebsd-9.1/packages
new file mode 100644
index 000000000000..014a7e09a50c
--- /dev/null
+++ b/profiles/releases/freebsd-9.1/packages
@@ -0,0 +1,5 @@
+# Copyright 1999-2012 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+
+*>=sys-apps/baselayout-2.0.0
+*>=sys-apps/openrc-0.2.5
diff --git a/profiles/releases/freebsd-9.1/parent b/profiles/releases/freebsd-9.1/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/releases/freebsd-9.1/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/releases/make.defaults b/profiles/releases/make.defaults
new file mode 100644
index 000000000000..a0a37cc33d79
--- /dev/null
+++ b/profiles/releases/make.defaults
@@ -0,0 +1,6 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# These USE flags are what is common between the various sub-profiles. Stages 2
+# and 3 are built against these, so be careful what you add.
+USE="acl gdbm nptl unicode"