diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-03-19 11:51:07 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-03-19 11:51:07 +0000 |
commit | bbf334e5c06d8676968eb2327d560d97c76a4523 (patch) | |
tree | e2be7c9800aa6fed357f9dda0d7c5f9d20357b13 /sys-freebsd/boot0 | |
parent | Fix bug 293374 and sync with fedora to solve other issues (diff) | |
download | gentoo-2-bbf334e5c06d8676968eb2327d560d97c76a4523.tar.gz gentoo-2-bbf334e5c06d8676968eb2327d560d97c76a4523.tar.bz2 gentoo-2-bbf334e5c06d8676968eb2327d560d97c76a4523.zip |
bump to 8.0 from the bsd overlay
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-freebsd/boot0')
-rw-r--r-- | sys-freebsd/boot0/ChangeLog | 8 | ||||
-rw-r--r-- | sys-freebsd/boot0/boot0-8.0.ebuild | 52 | ||||
-rw-r--r-- | sys-freebsd/boot0/metadata.xml | 4 |
3 files changed, 63 insertions, 1 deletions
diff --git a/sys-freebsd/boot0/ChangeLog b/sys-freebsd/boot0/ChangeLog index 0a77687fce2a..6ae5cae4f032 100644 --- a/sys-freebsd/boot0/ChangeLog +++ b/sys-freebsd/boot0/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/boot0 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.24 2010/03/11 11:14:52 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.25 2010/03/19 11:51:04 aballier Exp $ + +*boot0-8.0 (19 Mar 2010) + + 19 Mar 2010; Alexis Ballier <aballier@gentoo.org> +boot0-8.0.ebuild, + metadata.xml: + bump to 8.0 from the bsd overlay 11 Mar 2010; Alexis Ballier <aballier@gentoo.org> -files/boot0-6.0-gentoo.patch, -boot0-6.2.ebuild, -boot0-7.1.ebuild: diff --git a/sys-freebsd/boot0/boot0-8.0.ebuild b/sys-freebsd/boot0/boot0-8.0.ebuild new file mode 100644 index 000000000000..baed3c7ab292 --- /dev/null +++ b/sys-freebsd/boot0/boot0-8.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-8.0.ebuild,v 1.1 2010/03/19 11:51:04 aballier Exp $ + +EAPI=2 + +inherit bsdmk freebsd flag-o-matic + +DESCRIPTION="FreeBSD's bootloader" +SLOT="0" +KEYWORDS="~sparc-fbsd ~x86-fbsd" + +IUSE="bzip2 ieee1394 tftp zfs" + +SRC_URI="mirror://gentoo/${SYS}.tar.bz2" + +RDEPEND="" +DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* + =sys-freebsd/freebsd-lib-${RV}*" + +S="${WORKDIR}/sys/boot" + +boot0_use_enable() { + use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" +} + +pkg_setup() { + boot0_use_enable ieee1394 FIREWIRE + boot0_use_enable zfs ZFS + boot0_use_enable tftp TFTP + boot0_use_enable bzip2 BZIP2 +} + +src_prepare() { + sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ + -i "${S}"/i386/boot2/Makefile \ + -i "${S}"/i386/gptboot/Makefile \ + -i "${S}"/i386/gptzfsboot/Makefile \ + -i "${S}"/i386/zfsboot/Makefile || die +} + +src_compile() { + strip-flags + append-flags "-I/usr/include/libstand/" + append-flags "-fno-strict-aliasing" + NOFLAGSTRIP="yes" freebsd_src_compile +} + +src_install() { + dodir /boot/defaults + mkinstall FILESDIR=/boot || die "mkinstall failed" +} diff --git a/sys-freebsd/boot0/metadata.xml b/sys-freebsd/boot0/metadata.xml index ecedda4aa2cc..42e7fdce24f9 100644 --- a/sys-freebsd/boot0/metadata.xml +++ b/sys-freebsd/boot0/metadata.xml @@ -2,4 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>bsd</herd> + <use> + <flag name='tftp'>Enable PXE/TFTP boot support.</flag> + <flag name='zfs'>Enable booting on ZFS filesystems.</flag> + </use> </pkgmetadata> |