commit:     d1e6a0c08311e86204590525daa211dd4d387089
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  9 18:21:50 2017 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Oct  9 18:21:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e6a0c0

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

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 sys-boot/os-prober/Manifest              |  1 +
 sys-boot/os-prober/os-prober-1.76.ebuild | 74 ++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/sys-boot/os-prober/Manifest b/sys-boot/os-prober/Manifest
index ef180e19d9f..54ce3c18d68 100644
--- a/sys-boot/os-prober/Manifest
+++ b/sys-boot/os-prober/Manifest
@@ -1,3 +1,4 @@
 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
+DIST os-prober_1.76.tar.xz 26432 SHA256 
d3a580610e0148ee1fea98de993b27b856870fb0a31e9ce1a33be2654e2c64ed SHA512 
64800c99e0959a35edb639f50d2467453c6f6a7d7fa7a8d74141be36e0ade96ce4f874ba6376adfd663585ce9f47b99038dc00c2f722e6236344047567ed14f3
 WHIRLPOOL 
1000e53e9c8bb508fa73d228b65f2fb97823dd84134f976ba569edefd5727ffdb901b77bc07906a0b2c322d2ed8814957be715537e4b7c0ec9751288ee8f626c

diff --git a/sys-boot/os-prober/os-prober-1.76.ebuild 
b/sys-boot/os-prober/os-prober-1.76.ebuild
new file mode 100644
index 00000000000..0fcffc88252
--- /dev/null
+++ b/sys-boot/os-prober/os-prober-1.76.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+#inherit eutils multilib toolchain-funcs
+inherit toolchain-funcs
+
+DESCRIPTION="Utility to detect other OSs on a set of drives"
+HOMEPAGE="https://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=""
+
+# 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