Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-boot/silo: ChangeLog silo-1.4.14_p20120226.ebuild
Date: Sun, 29 Jul 2012 16:26:40
Message-Id: 20120729162630.7D65D2004B@flycatcher.gentoo.org
1 armin76 12/07/29 16:26:30
2
3 Modified: ChangeLog
4 Added: silo-1.4.14_p20120226.ebuild
5 Log:
6 Verion bump, bug #412197, straight to stable
7
8 (Portage version: 2.1.11.5/cvs/Linux ia64, RepoMan options: --force)
9
10 Revision Changes Path
11 1.49 sys-boot/silo/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/silo/ChangeLog?rev=1.49&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/silo/ChangeLog?rev=1.49&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/silo/ChangeLog?r1=1.48&r2=1.49
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-boot/silo/ChangeLog,v
20 retrieving revision 1.48
21 retrieving revision 1.49
22 diff -u -r1.48 -r1.49
23 --- ChangeLog 24 May 2012 05:12:20 -0000 1.48
24 +++ ChangeLog 29 Jul 2012 16:26:30 -0000 1.49
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-boot/silo
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/silo/ChangeLog,v 1.48 2012/05/24 05:12:20 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/silo/ChangeLog,v 1.49 2012/07/29 16:26:30 armin76 Exp $
30 +
31 +*silo-1.4.14_p20120226 (29 Jul 2012)
32 +
33 + 29 Jul 2012; Raúl Porcel <armin76@g.o> +silo-1.4.14_p20120226.ebuild:
34 + Verion bump, bug #412197, straight to stable
35
36 24 May 2012; Mike Frysinger <vapier@g.o> silo-1.4.14_p20100228.ebuild:
37 Inherit eutils for epatch.
38
39
40
41 1.1 sys-boot/silo/silo-1.4.14_p20120226.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/silo/silo-1.4.14_p20120226.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/silo/silo-1.4.14_p20120226.ebuild?rev=1.1&content-type=text/plain
45
46 Index: silo-1.4.14_p20120226.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-boot/silo/silo-1.4.14_p20120226.ebuild,v 1.1 2012/07/29 16:26:30 armin76 Exp $
51
52 inherit mount-boot flag-o-matic toolchain-funcs eutils
53
54 DEB_PL="1"
55 MY_PV="${PV##*_p}"
56 MY_GIT="git${MY_PV%%_*}"
57 MY_PV="${PV%%_*}"
58 MY_P="${PN}_${MY_PV}+${MY_GIT}"
59
60 DESCRIPTION="SPARC/UltraSPARC Improved Loader, a boot loader for sparc"
61 SRC_URI="mirror://debian/pool/main/s/${PN}/${MY_P}.orig.tar.gz
62 mirror://debian/pool/main/s/${PN}/${MY_P}-${DEB_PL}.diff.gz"
63 HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/davem/silo.git;a=summary"
64
65 SLOT="0"
66 LICENSE="GPL-2"
67 KEYWORDS="-* sparc"
68 IUSE="hardened"
69
70 DEPEND="sys-fs/e2fsprogs
71 sys-apps/sparc-utils"
72
73 ABI_ALLOW="sparc32"
74
75 S="${WORKDIR}/${PN}"
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80
81 #Set the correct version
82 sed -i -e "s/1.4.14/1.4.14_git2012226_p1/g" Rules.make
83
84 # Fix build failure
85 sed -i -e "s/-fno-strict-aliasing/-fno-strict-aliasing -U_FORTIFY_SOURCE -mcpu=v9/g" Rules.make
86 }
87
88 src_compile() {
89 filter-flags "-fstack-protector"
90
91 if use hardened
92 then
93 make ${MAKEOPTS} CC="$(tc-getCC) -fno-stack-protector -fno-pic"
94 else
95 make ${MAKEOPTS} CC="$(tc-getCC)" || die
96 fi
97 }
98
99 src_install() {
100 make DESTDIR="${D}" install || die
101 dodoc first-isofs/README.SILO_ISOFS docs/README*
102
103 # Fix maketilo manpage
104 rm "${D}"/usr/share/man/man1/maketilo.1
105 dosym /usr/share/man/man1/tilo.1 /usr/share/man/man1/maketilo.1
106 }
107
108 pkg_postinst() {
109 mount-boot_pkg_postinst
110 ewarn "NOTE: If this is an upgrade to an existing SILO install,"
111 ewarn " you will need to re-run silo as the /boot/second.b"
112 ewarn " file has changed, else the system will fail to load"
113 ewarn " SILO at the next boot."
114 ewarn
115 ewarn "Support for EXT4 is broken, you've been warned!!"
116 }