sys-boot/os-prober: Version bump
authorManuel Rüger <mrueg@gentoo.org>
Mon, 5 Oct 2015 22:25:10 +0000 (00:25 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 5 Oct 2015 22:25:10 +0000 (00:25 +0200)
Package-Manager: portage-2.2.22

sys-boot/os-prober/Manifest
sys-boot/os-prober/os-prober-1.67.ebuild [new file with mode: 0644]

index 2300cc357cc461a04928eacf53563841434ee6de..6b16974935fdd6dd96ad54bde132013b91c0a338 100644 (file)
@@ -1,2 +1,3 @@
 DIST os-prober_1.65.tar.xz 24712 SHA256 c4a7661a52edae722f7e6bacb3f107cf7086cbe768275fadf5398d04360bfc84 SHA512 64dd9042a26dc859d9186bb48545d85b1a369d00a93b5045c420eac0c4b672ab32cb6028eada5f1cc21c8ab9386c35b8eedb79bc7975faf7b0a7b2841b284f53 WHIRLPOOL 397a92312b018fa08b2e838bc6b85fa4d55502dfb8e8725c79f4a0ae397e3bd258a7bb302f74b2293cd85f4ddabf4cba75ff2b4b57fa9904094c3a50e1ace36e
 DIST os-prober_1.66.tar.xz 24904 SHA256 ab66eab63223d651cb6f9221ddffc958521b13edee4996c4fd87f08cb1955057 SHA512 6aaa2787be9ea522ae71b8c65fc04bb05af233c81e2a8cd0c27b79d6f8c697c5585b5f5fce91c67eab3bbc782e29087fb22db2626609702ab272a398e59ce333 WHIRLPOOL 12d058e78ddd168938b0160b8a2348b497d24c17b99a30a34edcd3e663e8c57eded8d85d02d97c85ad936aadce123387c85dd9c3f0510bf200a9fbf632fd95bf
+DIST os-prober_1.67.tar.xz 25092 SHA256 69d5b5f5ab9182025fda9cfd9f09be20f28ed6fe7ea07c26664d5e571ed355aa SHA512 bc05256d9e1ef808ccaf5a95e23a811f3086ad5b54b444b30b9b21e0c56c71f5c4a7dc69b5d2604ec90209f9a0ef1e00286da016f953f430a5c269a6dc75a718 WHIRLPOOL 5b88ed969d64555ee663a19572bfeaff8ecd3ca750765133791fe597f953394630b3a631c49733142775291ad61fedccec0090f26ab3017f0df2607fc49ad6ca
diff --git a/sys-boot/os-prober/os-prober-1.67.ebuild b/sys-boot/os-prober/os-prober-1.67.ebuild
new file mode 100644 (file)
index 0000000..1163bc0
--- /dev/null
@@ -0,0 +1,77 @@
+# Copyright 1999-2015 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=""
+
+src_prepare() {
+       # use default GNU rules
+       rm Makefile || die 'rm Makefile failed'
+       # Fix references to grub-mount
+       sed -i -e 's:grub-mount:grub2-mount:g' \
+               common.sh \
+               linux-boot-probes/common/50mounted-tests \
+               os-probes/common/50mounted-tests
+}
+
+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"
+}