diff options
author | Yuta Satoh <nigoro.dev@gmail.com> | 2017-09-18 20:39:08 +0900 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-10-02 10:56:07 +0200 |
commit | 29b385e9e5029880c0c71c2e07cc200e5cb8edda (patch) | |
tree | 50b5c8f6ec8653e21ad792a98f9a7acb49f5fc7b /profiles/releases | |
parent | profiles: mask >=binutils-2.28 on older versions of Gentoo/FreeBSD. #629128 (diff) | |
download | gentoo-29b385e9e5029880c0c71c2e07cc200e5cb8edda.tar.gz gentoo-29b385e9e5029880c0c71c2e07cc200e5cb8edda.tar.bz2 gentoo-29b385e9e5029880c0c71c2e07cc200e5cb8edda.zip |
profiles: add Gentoo/FreeBSD 11.1 profile.
Diffstat (limited to 'profiles/releases')
-rw-r--r-- | profiles/releases/freebsd-11.1/package.mask | 47 | ||||
-rw-r--r-- | profiles/releases/freebsd-11.1/package.use.force | 5 | ||||
-rw-r--r-- | profiles/releases/freebsd-11.1/packages | 12 | ||||
-rw-r--r-- | profiles/releases/freebsd-11.1/packages.build | 7 | ||||
-rw-r--r-- | profiles/releases/freebsd-11.1/parent | 1 | ||||
-rw-r--r-- | profiles/releases/freebsd-11.1/profile.bashrc | 33 |
6 files changed, 105 insertions, 0 deletions
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 |