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