Gentoo Archives: gentoo-commits

From: "Javier Villavicencio (the_paya)" <the_paya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-freebsd/boot0: ChangeLog boot0-7.1.ebuild
Date: Thu, 22 Jan 2009 21:00:20
Message-Id: E1LQ6eW-0007W1-LO@stork.gentoo.org
1 the_paya 09/01/22 20:59:52
2
3 Modified: ChangeLog
4 Added: boot0-7.1.ebuild
5 Log:
6 Import of the 7.1 ebuilds from gentoo-bsd overlay.
7 (Portage version: 2.2_rc23/cvs/FreeBSD i386)
8
9 Revision Changes Path
10 1.22 sys-freebsd/boot0/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/boot0/ChangeLog?rev=1.22&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/boot0/ChangeLog?rev=1.22&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/boot0/ChangeLog?r1=1.21&r2=1.22
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v
19 retrieving revision 1.21
20 retrieving revision 1.22
21 diff -u -r1.21 -r1.22
22 --- ChangeLog 16 Oct 2007 08:47:02 -0000 1.21
23 +++ ChangeLog 22 Jan 2009 20:59:52 -0000 1.22
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-freebsd/boot0
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.21 2007/10/16 08:47:02 uberlord Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.22 2009/01/22 20:59:52 the_paya Exp $
30 +
31 +*boot0-7.1 (22 Jan 2009)
32 +
33 + 22 Jan 2009; Javier Villavicencio <the_paya@g.o>
34 + +files/boot0-7.0-gentoo.patch, +boot0-7.1.ebuild:
35 + Import 7.1 ebuilds from gentoo-bsd overlay.
36
37 16 Oct 2007; Roy Marples <uberlord@g.o>
38 -files/freebsd-sources-6.2-sparc64.patch, boot0-6.2.ebuild:
39
40
41
42 1.1 sys-freebsd/boot0/boot0-7.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/boot0/boot0-7.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/boot0/boot0-7.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: boot0-7.1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-7.1.ebuild,v 1.1 2009/01/22 20:59:52 the_paya Exp $
52
53 inherit bsdmk freebsd
54
55 DESCRIPTION="FreeBSD's bootloader"
56 SLOT="0"
57 KEYWORDS="~sparc-fbsd ~x86-fbsd"
58
59 IUSE=""
60
61 SRC_URI="mirror://gentoo/${SYS}.tar.bz2"
62
63 RDEPEND=""
64 DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}*
65 =sys-freebsd/freebsd-lib-${RV}*"
66
67 S="${WORKDIR}/sys/boot"
68
69 PATCHES="${FILESDIR}/boot0-7.0-gentoo.patch"
70
71 src_unpack() {
72 freebsd_src_unpack
73
74 grep -lr --null -- -ffreestanding "${S}" | xargs -0 sed -i -e \
75 "s:-ffreestanding:-ffreestanding $(test-flags -fno-stack-protector -fno-stack-protector-all):g" || die
76 sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \
77 -i "${S}"/i386/boot2/Makefile \
78 -i "${S}"/i386/gptboot/Makefile || die
79 }
80
81 src_install() {
82 dodir /boot/defaults
83
84 mkinstall FILESDIR=/boot || die "mkinstall failed"
85 }