diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-03-01 18:25:32 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-03-01 18:25:32 +0000 |
commit | 1488faed431a7a157e4dd11714269e5fda1029a1 (patch) | |
tree | ab621b12bb644bbac50349e84b40790c465e6dbb /profiles/releases | |
parent | EAPI 5 (diff) | |
download | historical-1488faed431a7a157e4dd11714269e5fda1029a1.tar.gz historical-1488faed431a7a157e4dd11714269e5fda1029a1.tar.bz2 historical-1488faed431a7a157e4dd11714269e5fda1029a1.zip |
Introduce support for FreeBSD 10.1, https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/46 by nigoro.
Diffstat (limited to 'profiles/releases')
-rw-r--r-- | profiles/releases/freebsd-10.1/ChangeLog | 9 | ||||
-rw-r--r-- | profiles/releases/freebsd-10.1/package.mask | 53 | ||||
-rw-r--r-- | profiles/releases/freebsd-10.1/package.use.force | 6 | ||||
-rw-r--r-- | profiles/releases/freebsd-10.1/packages | 10 | ||||
-rw-r--r-- | profiles/releases/freebsd-10.1/packages.build | 7 | ||||
-rw-r--r-- | profiles/releases/freebsd-10.1/parent | 1 | ||||
-rw-r--r-- | profiles/releases/freebsd-10.1/profile.bashrc | 35 |
7 files changed, 121 insertions, 0 deletions
diff --git a/profiles/releases/freebsd-10.1/ChangeLog b/profiles/releases/freebsd-10.1/ChangeLog new file mode 100644 index 000000000000..0893b1860caf --- /dev/null +++ b/profiles/releases/freebsd-10.1/ChangeLog @@ -0,0 +1,9 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/releases/freebsd-10.1/ChangeLog,v 1.1 2015/03/01 18:25:22 mgorny Exp $ + + 01 Mar 2015; Michał Górny <mgorny@gentoo.org> +package.mask, + +package.use.force, +packages, +packages.build, +parent, +profile.bashrc: + Introduce support for FreeBSD 10.1, + https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/46 by nigoro. + diff --git a/profiles/releases/freebsd-10.1/package.mask b/profiles/releases/freebsd-10.1/package.mask new file mode 100644 index 000000000000..5fa40e967c6b --- /dev/null +++ b/profiles/releases/freebsd-10.1/package.mask @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/releases/freebsd-10.1/package.mask,v 1.1 2015/03/01 18:25:22 mgorny Exp $ + +# Make sure we don't get wrong versions +<sys-freebsd/freebsd-pam-modules-10.1_alpha +>sys-freebsd/freebsd-pam-modules-10.1.99 +<sys-freebsd/freebsd-rescue-10.1_alpha +>sys-freebsd/freebsd-rescue-10.1.99 +<sys-freebsd/freebsd-pf-10.1_alpha +>sys-freebsd/freebsd-pf-10.1.99 +<sys-freebsd/freebsd-mk-defs-10.1_alpha +>sys-freebsd/freebsd-mk-defs-10.1.99 +<sys-freebsd/freebsd-lib-10.1_alpha +>sys-freebsd/freebsd-lib-10.1.99 +<sys-freebsd/freebsd-libexec-10.1_alpha +>sys-freebsd/freebsd-libexec-10.1.99 +<sys-freebsd/freebsd-bin-10.1_alpha +>sys-freebsd/freebsd-bin-10.1.99 +<sys-freebsd/freebsd-sbin-10.1_alpha +>sys-freebsd/freebsd-sbin-10.1.99 +<sys-freebsd/freebsd-ubin-10.1_alpha +>sys-freebsd/freebsd-ubin-10.1.99 +>sys-freebsd/freebsd-usbin-10.1.99 +<sys-freebsd/freebsd-share-10.1_alpha +>sys-freebsd/freebsd-share-10.1.99 +<sys-freebsd/freebsd-contrib-10.1_alpha +>sys-freebsd/freebsd-contrib-10.1.99 +>sys-freebsd/freebsd-cddl-10.1.99 +<sys-freebsd/boot0-10.1_alpha +>sys-freebsd/boot0-10.1.99 +<sys-freebsd/freebsd-sources-10.1_alpha +>sys-freebsd/freebsd-sources-10.1.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> (19 Jul 2008) +# JDK/JRE 1.5 are specific to fbsd 6 and 5 +=virtual/jdk-1.5* +=virtual/jre-1.5* + +# 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-10.1/package.use.force b/profiles/releases/freebsd-10.1/package.use.force new file mode 100644 index 000000000000..68861ff56698 --- /dev/null +++ b/profiles/releases/freebsd-10.1/package.use.force @@ -0,0 +1,6 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/releases/freebsd-10.1/package.use.force,v 1.1 2015/03/01 18:25:22 mgorny Exp $ + +# freebsd-sources[build-generic] requires clang +sys-devel/llvm clang diff --git a/profiles/releases/freebsd-10.1/packages b/profiles/releases/freebsd-10.1/packages new file mode 100644 index 000000000000..c6b347b73e20 --- /dev/null +++ b/profiles/releases/freebsd-10.1/packages @@ -0,0 +1,10 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/releases/freebsd-10.1/packages,v 1.1 2015/03/01 18:25:22 mgorny Exp $ + +*>=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.1/packages.build b/profiles/releases/freebsd-10.1/packages.build new file mode 100644 index 000000000000..0166a9d7864d --- /dev/null +++ b/profiles/releases/freebsd-10.1/packages.build @@ -0,0 +1,7 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/releases/freebsd-10.1/packages.build,v 1.1 2015/03/01 18:25:22 mgorny Exp $ + +-dev-libs/libiconv +-sys-freebsd/freebsd-contrib +sys-freebsd/freebsd-share diff --git a/profiles/releases/freebsd-10.1/parent b/profiles/releases/freebsd-10.1/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/releases/freebsd-10.1/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/releases/freebsd-10.1/profile.bashrc b/profiles/releases/freebsd-10.1/profile.bashrc new file mode 100644 index 000000000000..957d46ef1dd8 --- /dev/null +++ b/profiles/releases/freebsd-10.1/profile.bashrc @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/releases/freebsd-10.1/profile.bashrc,v 1.1 2015/03/01 18:25:22 mgorny Exp $ + +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 + |