Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-boot/os-prober: os-prober-1.65.ebuild ChangeLog os-prober-1.56.ebuild os-prober-1.57.ebuild
Date: Sun, 29 Mar 2015 04:51:47
Message-Id: 20150329045140.BA93D14C00@oystercatcher.gentoo.org
1 mrueg 15/03/29 04:51:39
2
3 Modified: ChangeLog
4 Added: os-prober-1.65.ebuild
5 Removed: os-prober-1.56.ebuild os-prober-1.57.ebuild
6 Log:
7 Version bump. Fixes bug #528038. Remove old.
8
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key )
10
11 Revision Changes Path
12 1.21 sys-boot/os-prober/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/os-prober/ChangeLog?rev=1.21&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/os-prober/ChangeLog?rev=1.21&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/os-prober/ChangeLog?r1=1.20&r2=1.21
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-boot/os-prober/ChangeLog,v
21 retrieving revision 1.20
22 retrieving revision 1.21
23 diff -u -r1.20 -r1.21
24 --- ChangeLog 27 Jul 2013 06:19:46 -0000 1.20
25 +++ ChangeLog 29 Mar 2015 04:51:39 -0000 1.21
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-boot/os-prober
28 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/ChangeLog,v 1.20 2013/07/27 06:19:46 jcallen Exp $
30 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/ChangeLog,v 1.21 2015/03/29 04:51:39 mrueg Exp $
32 +
33 +*os-prober-1.65 (29 Mar 2015)
34 +
35 + 29 Mar 2015; Manuel RĂ¼ger <mrueg@g.o> +os-prober-1.65.ebuild,
36 + -os-prober-1.56.ebuild, -os-prober-1.57.ebuild:
37 + Version bump. Fixes bug #528038. Remove old.
38
39 27 Jul 2013; Jonathan Callen <jcallen@g.o> metadata.xml:
40 Update metadata.xml to reflect new email address
41
42
43
44 1.1 sys-boot/os-prober/os-prober-1.65.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/os-prober/os-prober-1.65.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/os-prober/os-prober-1.65.ebuild?rev=1.1&content-type=text/plain
48
49 Index: os-prober-1.65.ebuild
50 ===================================================================
51 # Copyright 1999-2015 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/os-prober-1.65.ebuild,v 1.1 2015/03/29 04:51:39 mrueg Exp $
54
55 EAPI=5
56
57 #inherit eutils multilib toolchain-funcs
58 inherit toolchain-funcs
59
60 DESCRIPTION="Utility to detect other OSs on a set of drives"
61 HOMEPAGE="http://packages.debian.org/source/sid/os-prober"
62 SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz"
63
64 LICENSE="GPL-3"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68
69 S=${WORKDIR}/${PN}
70
71 src_prepare() {
72 # use default GNU rules
73 rm Makefile || die 'rm Makefile failed'
74 # Fix references to grub-mount
75 sed -i -e 's:grub-mount:grub2-mount:g' \
76 common.sh \
77 linux-boot-probes/common/50mounted-tests \
78 os-probes/common/50mounted-tests
79 }
80
81 src_compile() {
82 tc-export CC
83 emake newns
84 }
85
86 src_install() {
87 dobin os-prober linux-boot-prober
88
89 # Note: as no shared libraries are installed, /usr/lib is correct
90 exeinto /usr/lib/os-prober
91 doexe newns
92
93 insinto /usr/share/os-prober
94 doins common.sh
95
96 keepdir /var/lib/os-prober
97
98 local debarch=${ARCH%-*} dir
99
100 case ${debarch} in
101 amd64) debarch=x86 ;;
102 ppc|ppc64) debarch=powerpc ;;
103 esac
104
105 for dir in os-probes{,/mounted,/init} linux-boot-probes{,/mounted}; do
106 exeinto /usr/lib/$dir
107 doexe $dir/common/*
108 if [[ -d $dir/$debarch ]]; then
109 doexe $dir/$debarch/*
110 fi
111 if [[ -d $dir/$debarch/efi ]]; then
112 exeinto /usr/lib/$dir/efi
113 doexe $dir/$debarch/efi/*
114 fi
115 done
116
117 if use amd64 || use x86; then
118 exeinto /usr/lib/os-probes/mounted
119 doexe os-probes/mounted/powerpc/20macosx
120 fi
121
122 dodoc README TODO debian/changelog
123 }
124
125 pkg_postinst() {
126 elog "If you intend for os-prober to detect versions of Windows installed on"
127 elog "NTFS-formatted partitions, your system must be capable of reading the"
128 elog "NTFS filesystem. One way to do this is by installing sys-fs/ntfs3g"
129 }