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