From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-freebsd/boot0: ChangeLog boot0-8.2.ebuild |
Date: | Wed, 06 Jul 2011 05:43:07 |
Message-Id: | 20110706054257.11AB42004B@flycatcher.gentoo.org |
1 | aballier 11/07/06 05:42:57 |
2 | |
3 | Modified: ChangeLog |
4 | Added: boot0-8.2.ebuild |
5 | Log: |
6 | bump to 8.2 |
7 | |
8 | (Portage version: 2.2.0_alpha43/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.26 sys-freebsd/boot0/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/ChangeLog?rev=1.26&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/ChangeLog?rev=1.26&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/ChangeLog?r1=1.25&r2=1.26 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v |
20 | retrieving revision 1.25 |
21 | retrieving revision 1.26 |
22 | diff -u -r1.25 -r1.26 |
23 | --- ChangeLog 19 Mar 2010 11:51:04 -0000 1.25 |
24 | +++ ChangeLog 6 Jul 2011 05:42:56 -0000 1.26 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sys-freebsd/boot0 |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.25 2010/03/19 11:51:04 aballier Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.26 2011/07/06 05:42:56 aballier Exp $ |
31 | + |
32 | +*boot0-8.2 (06 Jul 2011) |
33 | + |
34 | + 06 Jul 2011; Alexis Ballier <aballier@g.o> +boot0-8.2.ebuild: |
35 | + bump to 8.2 |
36 | |
37 | *boot0-8.0 (19 Mar 2010) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 sys-freebsd/boot0/boot0-8.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/boot0-8.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/boot0-8.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: boot0-8.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-8.2.ebuild,v 1.1 2011/07/06 05:42:56 aballier Exp $ |
52 | |
53 | EAPI=2 |
54 | |
55 | inherit bsdmk freebsd flag-o-matic |
56 | |
57 | DESCRIPTION="FreeBSD's bootloader" |
58 | SLOT="0" |
59 | KEYWORDS="~sparc-fbsd ~x86-fbsd" |
60 | |
61 | IUSE="bzip2 ieee1394 tftp zfs" |
62 | |
63 | SRC_URI="mirror://gentoo/${SYS}.tar.bz2" |
64 | |
65 | RDEPEND="" |
66 | DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* |
67 | =sys-freebsd/freebsd-lib-${RV}*" |
68 | |
69 | S="${WORKDIR}/sys/boot" |
70 | |
71 | boot0_use_enable() { |
72 | use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" |
73 | } |
74 | |
75 | pkg_setup() { |
76 | boot0_use_enable ieee1394 FIREWIRE |
77 | boot0_use_enable zfs ZFS |
78 | boot0_use_enable tftp TFTP |
79 | boot0_use_enable bzip2 BZIP2 |
80 | } |
81 | |
82 | src_prepare() { |
83 | sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ |
84 | -i "${S}"/i386/boot2/Makefile \ |
85 | -i "${S}"/i386/gptboot/Makefile \ |
86 | -i "${S}"/i386/gptzfsboot/Makefile \ |
87 | -i "${S}"/i386/zfsboot/Makefile || die |
88 | } |
89 | |
90 | src_compile() { |
91 | strip-flags |
92 | append-flags "-I/usr/include/libstand/" |
93 | append-flags "-fno-strict-aliasing" |
94 | NOFLAGSTRIP="yes" freebsd_src_compile |
95 | } |
96 | |
97 | src_install() { |
98 | dodir /boot/defaults |
99 | mkinstall FILESDIR=/boot || die "mkinstall failed" |
100 | } |