Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/silo/
Date: Tue, 13 Feb 2018 19:59:13
Message-Id: 1518551813.3035a543e7e0fa1ee22e69d66f69863db920f62c.slyfox@gentoo
1 commit: 3035a543e7e0fa1ee22e69d66f69863db920f62c
2 Author: Stephan Hartmann <stha09 <AT> googlemail <DOT> com>
3 AuthorDate: Mon Feb 12 18:56:32 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 13 19:56:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3035a543
7
8 sys-boot/silo: bump 1.4.14_p20170829
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11 Closes: https://github.com/gentoo/gentoo/pull/7170
12
13 sys-boot/silo/Manifest | 1 +
14 sys-boot/silo/silo-1.4.14_p20170829.ebuild | 64 ++++++++++++++++++++++++++++++
15 2 files changed, 65 insertions(+)
16
17 diff --git a/sys-boot/silo/Manifest b/sys-boot/silo/Manifest
18 index fee880417db..8f3abcfcba2 100644
19 --- a/sys-boot/silo/Manifest
20 +++ b/sys-boot/silo/Manifest
21 @@ -1,3 +1,4 @@
22 +DIST silo-1.4.14_p20170829.tar.gz 183612 BLAKE2B 88fb4b0ce4e9b8fa9518bcb6226f4fe9ec7011bf3f73d9f0f1562ff837217ca8d54ee783eed0b50096b009fc56527be8e4211623f5b0e4ef5372c38c0fe304f1 SHA512 bda31084ba2ee5b01d331fd390cbccf039dc812debe25f3af97dd5d2855668cbe7e160dee4ca45c16af1fa4aa86224daf3b474fd49b22a8b7f453584a12f3c2b
23 DIST silo_1.4.14+git20100228-1.diff.gz 10143 BLAKE2B 4282de2900dfa670164ab9c7d64c7793cb5a132fda015750355bad9d94269c223f850d23fe048c215df9653689774dadd8f9cbbdd2919751e574f00b10053e08 SHA512 7209fd4fe65d7d72866ce41d25498e8369f59b51833550ecf9ae84badce33e82eccf97835558d560ca9937ebf37d0de99da7876ee4de1bafbe96e931c6d72cf0
24 DIST silo_1.4.14+git20100228.orig.tar.gz 738325 BLAKE2B 5e5e221a9df91b94523c366a9f6ab2d195567e9f2938f141d93750a2fd15ec3cf657ca48155ea1113c7b6db011953fa15c1c6fd05759d7bc47cfc274c43424da SHA512 aa119893695fe0ce5eb30c7a461aa77b0f8935b1e2bcff9f83b232aad8b44cce72662c7c6716c61ea914dd5217edaf8d0e01b363010a2f7d9be9ac80a666bb77
25 DIST silo_1.4.14+git20120226-1.diff.gz 10389 BLAKE2B ad2f6dfdb468a81b71f1f9b43668d162ca946278b03ce115527712beb49c5319e1e285df7e0fa45bc126264b6c35cb2e950184c0647da3a990e087c6dc28fbca SHA512 0dd39461357f862bc0eb7d0b4db8e3e9acadb30f70c8c638b1adef6f6c306d0c475bf59e29c72a91594fcbf544c80e05e5293b857265d4cd579696f10993483b
26
27 diff --git a/sys-boot/silo/silo-1.4.14_p20170829.ebuild b/sys-boot/silo/silo-1.4.14_p20170829.ebuild
28 new file mode 100644
29 index 00000000000..dde2b3c9a73
30 --- /dev/null
31 +++ b/sys-boot/silo/silo-1.4.14_p20170829.ebuild
32 @@ -0,0 +1,64 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit mount-boot flag-o-matic toolchain-funcs vcs-snapshot
39 +
40 +MY_SNAPSHOT="${PN}-2506051d55dd5cb9fe10b4e978e22fa00363044b"
41 +
42 +DESCRIPTION="SPARC/UltraSPARC Improved Loader, a boot loader for sparc"
43 +SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/davem/silo.git/snapshot/${MY_SNAPSHOT}.tar.gz -> ${P}.tar.gz"
44 +HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/davem/silo.git;a=summary"
45 +
46 +SLOT="0"
47 +LICENSE="GPL-2"
48 +KEYWORDS="-* ~sparc"
49 +IUSE=""
50 +
51 +DEPEND="sys-fs/e2fsprogs
52 + sys-apps/sparc-utils"
53 +RDEPEND=""
54 +
55 +ABI_ALLOW="sparc32"
56 +
57 +src_prepare() {
58 + default
59 +
60 + # Set the correct version
61 + sed -i -e "s/1.4.14/1.4.14_git20170829/g" Rules.make || die
62 +
63 + # Fix build failure
64 + sed -i -e "s/-fno-strict-aliasing/-fno-strict-aliasing -U_FORTIFY_SOURCE -mcpu=v9/g" Rules.make || die
65 +
66 + # Don't strip ieee32.b during compile
67 + sed -i -e '/^ $(STRIP) ieee32.b/d' first/Makefile || die
68 +}
69 +
70 +src_compile() {
71 + filter-flags "-fstack-protector"
72 +
73 + emake CC="$(tc-getCC)" \
74 + STRIP="$(tc-getSTRIP)" \
75 + NM="$(tc-getNM)" \
76 + LD="$(tc-getLD)"
77 +}
78 +
79 +src_install() {
80 + default
81 +
82 + dodoc first-isofs/README.SILO_ISOFS docs/README*
83 +
84 + # Fix maketilo manpage
85 + rm "${D}"/usr/share/man/man1/maketilo.1
86 + dosym tilo.1 /usr/share/man/man1/maketilo.1
87 +}
88 +
89 +pkg_postinst() {
90 + mount-boot_pkg_postinst
91 + ewarn "NOTE: If this is an upgrade to an existing SILO install,"
92 + ewarn " you will need to re-run silo as the /boot/second.b"
93 + ewarn " file has changed, else the system will fail to load"
94 + ewarn " SILO at the next boot."
95 + ewarn
96 +}