Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-boot/os-prober: os-prober-1.46.ebuild ChangeLog os-prober-1.44.ebuild os-prober-1.36.ebuild os-prober-1.35.ebuild os-prober-1.39.ebuild os-prober-1.38.ebuild
Date: Thu, 05 May 2011 00:31:03
Message-Id: 20110505003052.573DF20054@flycatcher.gentoo.org
1 scarabeus 11/05/05 00:30:52
2
3 Modified: ChangeLog
4 Added: os-prober-1.46.ebuild
5 Removed: os-prober-1.44.ebuild os-prober-1.36.ebuild
6 os-prober-1.35.ebuild os-prober-1.39.ebuild
7 os-prober-1.38.ebuild
8 Log:
9 Version bump to latest. Drop older.
10
11 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.8 sys-boot/os-prober/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/os-prober/ChangeLog?rev=1.8&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/os-prober/ChangeLog?rev=1.8&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/os-prober/ChangeLog?r1=1.7&r2=1.8
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/sys-boot/os-prober/ChangeLog,v
23 retrieving revision 1.7
24 retrieving revision 1.8
25 diff -u -r1.7 -r1.8
26 --- ChangeLog 16 Apr 2011 15:37:45 -0000 1.7
27 +++ ChangeLog 5 May 2011 00:30:51 -0000 1.8
28 @@ -1,6 +1,14 @@
29 # ChangeLog for sys-boot/os-prober
30 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/ChangeLog,v 1.7 2011/04/16 15:37:45 abcd Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/ChangeLog,v 1.8 2011/05/05 00:30:51 scarabeus Exp $
33 +
34 +*os-prober-1.46 (05 May 2011)
35 +
36 + 05 May 2011; Tomáš Chvátal <scarabeus@g.o> -os-prober-1.35.ebuild,
37 + -files/os-prober-1.35-multilib.patch, -os-prober-1.36.ebuild,
38 + -os-prober-1.38.ebuild, -os-prober-1.39.ebuild, -os-prober-1.44.ebuild,
39 + +os-prober-1.46.ebuild:
40 + Version bump to latest. Drop older.
41
42 16 Apr 2011; Jonathan Callen <abcd@g.o> os-prober-1.44.ebuild:
43 Fix build (upstream changed where the tarball unpacks)
44
45
46
47 1.1 sys-boot/os-prober/os-prober-1.46.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/os-prober/os-prober-1.46.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/os-prober/os-prober-1.46.ebuild?rev=1.1&content-type=text/plain
51
52 Index: os-prober-1.46.ebuild
53 ===================================================================
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/os-prober-1.46.ebuild,v 1.1 2011/05/05 00:30:51 scarabeus Exp $
57
58 EAPI=4
59
60 inherit eutils multilib toolchain-funcs
61
62 DESCRIPTION="Utility to detect other OSs on a set of drives"
63 HOMEPAGE="http://packages.debian.org/source/sid/os-prober"
64 SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.gz"
65
66 LICENSE="GPL-3"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE=""
70
71 src_prepare() {
72 sed -i -e "s:/lib/udev:/$(get_libdir)/udev:g" common.sh || die "sed failed on common.sh"
73 find "${S}" -type f -exec sed -i -e "s:/usr/lib/:/usr/libexec/:g" {} + || die "failed on find and sed lib->libexec"
74 sed -i -e "s:/lib/ld\*\.so\*:/lib*/ld*.so*:g" os-probes/mounted/common/90linux-distro || die "sed failed on 90linux-distro"
75
76 # use default GNU rules
77 rm Makefile
78 }
79
80 src_compile() {
81 tc-export CC
82 emake newns
83 }
84
85 src_install() {
86 dobin os-prober linux-boot-prober
87
88 exeinto /usr/libexec/os-prober
89 doexe newns
90
91 insinto /usr/share/os-prober
92 doins common.sh
93
94 keepdir /var/lib/os-prober
95
96 local debarch=${ARCH%-*} dir
97
98 case ${debarch} in
99 amd64) debarch=x86 ;;
100 ppc|ppc64) debarch=powerpc ;;
101 esac
102
103 for dir in os-probes{,/mounted,/init} linux-boot-probes{,/mounted}; do
104 exeinto /usr/libexec/$dir
105 doexe $dir/common/*
106 if [[ -d $dir/$debarch ]]; then
107 doexe $dir/$debarch/*
108 fi
109 done
110
111 if use amd64 || use x86; then
112 exeinto /usr/libexec/os-probes/mounted
113 doexe os-probes/mounted/powerpc/20macosx
114 fi
115
116 dodoc README TODO debian/changelog
117 }
118
119 pkg_postinst() {
120 elog "If you intend for os-prober to detect versions of Windows installed on"
121 elog "NTFS-formatted partitions, your system must be capable of reading the"
122 elog "NTFS filesystem. One way to do this is by installing sys-fs/ntfs3g"
123 }