Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/os-prober/
Date: Mon, 05 Oct 2015 22:25:45
Message-Id: 1444083910.49f4489e8ccb7be4d245d8f8a333e6c9df3922d5.mrueg@gentoo
1 commit: 49f4489e8ccb7be4d245d8f8a333e6c9df3922d5
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 5 22:25:10 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 5 22:25:10 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f4489e
7
8 sys-boot/os-prober: Version bump
9
10 Package-Manager: portage-2.2.22
11
12 sys-boot/os-prober/Manifest | 1 +
13 sys-boot/os-prober/os-prober-1.67.ebuild | 77 ++++++++++++++++++++++++++++++++
14 2 files changed, 78 insertions(+)
15
16 diff --git a/sys-boot/os-prober/Manifest b/sys-boot/os-prober/Manifest
17 index 2300cc3..6b16974 100644
18 --- a/sys-boot/os-prober/Manifest
19 +++ b/sys-boot/os-prober/Manifest
20 @@ -1,2 +1,3 @@
21 DIST os-prober_1.65.tar.xz 24712 SHA256 c4a7661a52edae722f7e6bacb3f107cf7086cbe768275fadf5398d04360bfc84 SHA512 64dd9042a26dc859d9186bb48545d85b1a369d00a93b5045c420eac0c4b672ab32cb6028eada5f1cc21c8ab9386c35b8eedb79bc7975faf7b0a7b2841b284f53 WHIRLPOOL 397a92312b018fa08b2e838bc6b85fa4d55502dfb8e8725c79f4a0ae397e3bd258a7bb302f74b2293cd85f4ddabf4cba75ff2b4b57fa9904094c3a50e1ace36e
22 DIST os-prober_1.66.tar.xz 24904 SHA256 ab66eab63223d651cb6f9221ddffc958521b13edee4996c4fd87f08cb1955057 SHA512 6aaa2787be9ea522ae71b8c65fc04bb05af233c81e2a8cd0c27b79d6f8c697c5585b5f5fce91c67eab3bbc782e29087fb22db2626609702ab272a398e59ce333 WHIRLPOOL 12d058e78ddd168938b0160b8a2348b497d24c17b99a30a34edcd3e663e8c57eded8d85d02d97c85ad936aadce123387c85dd9c3f0510bf200a9fbf632fd95bf
23 +DIST os-prober_1.67.tar.xz 25092 SHA256 69d5b5f5ab9182025fda9cfd9f09be20f28ed6fe7ea07c26664d5e571ed355aa SHA512 bc05256d9e1ef808ccaf5a95e23a811f3086ad5b54b444b30b9b21e0c56c71f5c4a7dc69b5d2604ec90209f9a0ef1e00286da016f953f430a5c269a6dc75a718 WHIRLPOOL 5b88ed969d64555ee663a19572bfeaff8ecd3ca750765133791fe597f953394630b3a631c49733142775291ad61fedccec0090f26ab3017f0df2607fc49ad6ca
24
25 diff --git a/sys-boot/os-prober/os-prober-1.67.ebuild b/sys-boot/os-prober/os-prober-1.67.ebuild
26 new file mode 100644
27 index 0000000..1163bc0
28 --- /dev/null
29 +++ b/sys-boot/os-prober/os-prober-1.67.ebuild
30 @@ -0,0 +1,77 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +#inherit eutils multilib toolchain-funcs
38 +inherit toolchain-funcs
39 +
40 +DESCRIPTION="Utility to detect other OSs on a set of drives"
41 +HOMEPAGE="http://packages.debian.org/source/sid/os-prober"
42 +SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE=""
48 +
49 +src_prepare() {
50 + # use default GNU rules
51 + rm Makefile || die 'rm Makefile failed'
52 + # Fix references to grub-mount
53 + sed -i -e 's:grub-mount:grub2-mount:g' \
54 + common.sh \
55 + linux-boot-probes/common/50mounted-tests \
56 + os-probes/common/50mounted-tests
57 +}
58 +
59 +src_compile() {
60 + tc-export CC
61 + emake newns
62 +}
63 +
64 +src_install() {
65 + dobin os-prober linux-boot-prober
66 +
67 + # Note: as no shared libraries are installed, /usr/lib is correct
68 + exeinto /usr/lib/os-prober
69 + doexe newns
70 +
71 + insinto /usr/share/os-prober
72 + doins common.sh
73 +
74 + keepdir /var/lib/os-prober
75 +
76 + local debarch=${ARCH%-*} dir
77 +
78 + case ${debarch} in
79 + amd64) debarch=x86 ;;
80 + ppc|ppc64) debarch=powerpc ;;
81 + esac
82 +
83 + for dir in os-probes{,/mounted,/init} linux-boot-probes{,/mounted}; do
84 + exeinto /usr/lib/$dir
85 + doexe $dir/common/*
86 + if [[ -d $dir/$debarch ]]; then
87 + doexe $dir/$debarch/*
88 + fi
89 + if [[ -d $dir/$debarch/efi ]]; then
90 + exeinto /usr/lib/$dir/efi
91 + doexe $dir/$debarch/efi/*
92 + fi
93 + done
94 +
95 + if use amd64 || use x86; then
96 + exeinto /usr/lib/os-probes/mounted
97 + doexe os-probes/mounted/powerpc/20macosx
98 + fi
99 +
100 + dodoc README TODO debian/changelog
101 +}
102 +
103 +pkg_postinst() {
104 + elog "If you intend for os-prober to detect versions of Windows installed on"
105 + elog "NTFS-formatted partitions, your system must be capable of reading the"
106 + elog "NTFS filesystem. One way to do this is by installing sys-fs/ntfs3g"
107 +}