commit:     bd62b20a2fc4b8d3b049067bb6347917eaf43aba
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 20:12:42 2017 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 20:12:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd62b20a

sys-boot/os-prober: Version bump to 1.74

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-boot/os-prober/Manifest              |  1 +
 sys-boot/os-prober/os-prober-1.74.ebuild | 77 ++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/sys-boot/os-prober/Manifest b/sys-boot/os-prober/Manifest
index 288d5e42ce..ef180e19d9 100644
--- a/sys-boot/os-prober/Manifest
+++ b/sys-boot/os-prober/Manifest
@@ -1,2 +1,3 @@
 DIST os-prober_1.71.tar.xz 25540 SHA256 
5d6141e02b58e82194422b97d683d61c7ff78175d89c2f055f5d2e7a363bdd20 SHA512 
adb7b8cf54c6169510c7ce2bf40e4b659c97eecfb7c1dd149269520ef13cdc2b6587f221fcfcb95c18caf9dba8144bbba561abb158e986ab02f4e0d338317d04
 WHIRLPOOL 
cb3d8596c1e753fc2d687b30c6bd386d160114524b7b4f2d39dfe208191b231962311103a3106a7ccad8fa05bee132a5faa72265c44c33e22cb3d6090dd1cb04
 DIST os-prober_1.73.tar.xz 26532 SHA256 
588395e38e9123f414cc1e7ea2374e4bd133bb7a8d0e0aff18acc8d7f8d23adf SHA512 
7db2c276a16fefb53750889c5e784cdfe285b0124e8eb0c5dd92a9ce7addef95ef6e62d6ccd3c66788f6d1c9d029e9e98ae21040d1d84885e756691504e63ea4
 WHIRLPOOL 
7ed340397ff4075b28d6de5e4de347a2cbfeddaa52f4861dbe96efb7b07dda729c39f926abbdf689899cee157c0b900edcacf10c7340c6118d9b84a431a385a8
+DIST os-prober_1.74.tar.xz 26692 SHA256 
c8e97ae193783eb8b5f5aba6b6d447b2e3e60696bb71f86ad029c33e14c5a7be SHA512 
5407fb3c782ae0532120995d60cfc307028de9bea52ce5534baaf940a99269b735c1174ef0f7a5316be485a1e8bfd097108c2819eadf00e2e38595bfc2c22245
 WHIRLPOOL 
31d478df1d8cf2fa353620632baf0b668ba3676f9286ec5eb21ed72be3995958f7d0cbbcd8403999dfe2234997f02589bb9b0e67aee919938282feb2c1d1a37d

diff --git a/sys-boot/os-prober/os-prober-1.74.ebuild 
b/sys-boot/os-prober/os-prober-1.74.ebuild
new file mode 100644
index 0000000000..d636a50160
--- /dev/null
+++ b/sys-boot/os-prober/os-prober-1.74.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+#inherit eutils multilib toolchain-funcs
+inherit toolchain-funcs
+
+DESCRIPTION="Utility to detect other OSs on a set of drives"
+HOMEPAGE="http://packages.debian.org/source/sid/os-prober";
+SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+# bug 594250
+QA_MULTILIB_PATHS="usr/lib/os-prober/.*"
+
+src_prepare() {
+       # use default GNU rules
+       rm Makefile || die 'rm Makefile failed'
+}
+
+src_compile() {
+       tc-export CC
+       emake newns
+}
+
+src_install() {
+       dobin os-prober linux-boot-prober
+
+       # Note: as no shared libraries are installed, /usr/lib is correct
+       exeinto /usr/lib/os-prober
+       doexe newns
+
+       insinto /usr/share/os-prober
+       doins common.sh
+
+       keepdir /var/lib/os-prober
+
+       local debarch=${ARCH%-*} dir
+
+       case ${debarch} in
+               amd64)          debarch=x86 ;;
+               ppc|ppc64)      debarch=powerpc ;;
+       esac
+
+       for dir in os-probes{,/mounted,/init} linux-boot-probes{,/mounted}; do
+               exeinto /usr/lib/$dir
+               doexe $dir/common/*
+               if [[ -d $dir/$debarch ]]; then
+                       doexe $dir/$debarch/*
+               fi
+               if [[ -d $dir/$debarch/efi ]]; then
+                       exeinto /usr/lib/$dir/efi
+                       doexe $dir/$debarch/efi/*
+               fi
+       done
+
+       if use amd64 || use x86; then
+               exeinto /usr/lib/os-probes/mounted
+               doexe os-probes/mounted/powerpc/20macosx
+       fi
+
+       dodoc README TODO debian/changelog
+}
+
+pkg_postinst() {
+       elog "If you intend for os-prober to detect versions of Windows 
installed on"
+       elog "NTFS-formatted partitions, your system must be capable of reading 
the"
+       elog "NTFS filesystem. One way to do this is by installing 
sys-fs/ntfs3g"
+}

Reply via email to