1 |
aballier 13/11/09 09:15:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: boot0-9.2.ebuild |
5 |
Log: |
6 |
bump to 9.2 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
9 |
|
10 |
Revision Changes Path |
11 |
1.49 sys-freebsd/boot0/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/ChangeLog?rev=1.49&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/ChangeLog?rev=1.49&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/ChangeLog?r1=1.48&r2=1.49 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v |
20 |
retrieving revision 1.48 |
21 |
retrieving revision 1.49 |
22 |
diff -u -r1.48 -r1.49 |
23 |
--- ChangeLog 27 Aug 2013 23:08:11 -0000 1.48 |
24 |
+++ ChangeLog 9 Nov 2013 09:15:50 -0000 1.49 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-freebsd/boot0 |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.48 2013/08/27 23:08:11 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.49 2013/11/09 09:15:50 aballier Exp $ |
30 |
+ |
31 |
+*boot0-9.2 (09 Nov 2013) |
32 |
+ |
33 |
+ 09 Nov 2013; Alexis Ballier <aballier@g.o> +boot0-9.2.ebuild: |
34 |
+ bump to 9.2 |
35 |
|
36 |
27 Aug 2013; Alexis Ballier <aballier@g.o> boot0-9.1.ebuild: |
37 |
backport fix from 9.2 for bug #409815 by Yuta SATOH |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-freebsd/boot0/boot0-9.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/boot0-9.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/boot0-9.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: boot0-9.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-9.2.ebuild,v 1.1 2013/11/09 09:15:50 aballier Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit bsdmk freebsd flag-o-matic toolchain-funcs |
55 |
|
56 |
DESCRIPTION="FreeBSD's bootloader" |
57 |
SLOT="0" |
58 |
|
59 |
IUSE="bzip2 ieee1394 tftp zfs" |
60 |
|
61 |
if [[ ${PV} != *9999* ]]; then |
62 |
KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
63 |
SRC_URI="mirror://gentoo/${SYS}.tar.bz2 |
64 |
mirror://gentoo/${LIB}.tar.bz2 |
65 |
mirror://gentoo/${CONTRIB}.tar.bz2" |
66 |
fi |
67 |
|
68 |
RDEPEND="" |
69 |
DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* |
70 |
=sys-freebsd/freebsd-lib-${RV}*" |
71 |
|
72 |
S="${WORKDIR}/sys/boot" |
73 |
|
74 |
PATCHES=( "${FILESDIR}/${PN}-9.2-gcc46.patch" ) |
75 |
|
76 |
boot0_use_enable() { |
77 |
use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" |
78 |
} |
79 |
|
80 |
pkg_setup() { |
81 |
boot0_use_enable ieee1394 FIREWIRE |
82 |
boot0_use_enable zfs ZFS |
83 |
boot0_use_enable tftp TFTP |
84 |
boot0_use_enable bzip2 BZIP2 |
85 |
} |
86 |
|
87 |
src_prepare() { |
88 |
sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ |
89 |
-i "${S}"/i386/boot2/Makefile \ |
90 |
-i "${S}"/i386/gptboot/Makefile \ |
91 |
-i "${S}"/i386/gptzfsboot/Makefile \ |
92 |
-i "${S}"/i386/zfsboot/Makefile || die |
93 |
} |
94 |
|
95 |
src_compile() { |
96 |
strip-flags |
97 |
append-flags "-fno-strict-aliasing" |
98 |
|
99 |
cd "${WORKDIR}/lib/libstand" || die |
100 |
freebsd_src_compile |
101 |
|
102 |
cd "${S}" |
103 |
CFLAGS="${CFLAGS} -I${WORKDIR}/lib/libstand" |
104 |
LDFLAGS="${LDFLAGS} -L${WORKDIR}/lib/libstand" |
105 |
export LIBSTAND="${WORKDIR}/lib/libstand/libstand.a" |
106 |
NOFLAGSTRIP="yes" freebsd_src_compile |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
dodir /boot/defaults |
111 |
mkinstall FILESDIR=/boot || die "mkinstall failed" |
112 |
|
113 |
cd "${WORKDIR}/sys/$(tc-arch-kernel)/conf" || die |
114 |
insinto /boot |
115 |
newins GENERIC.hints device.hints |
116 |
|
117 |
echo 'CONFIG_PROTECT="/boot/device.hints"' > "${T}"/50boot0 |
118 |
doenvd "${T}"/50boot0 |
119 |
} |