diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-02-03 01:15:33 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-02-03 01:15:33 +0100 |
commit | 83bf1db55c74f5b3f3b8837d65214abf2fa420f2 (patch) | |
tree | 43b551c3ee90d616cb73da84cfe3ace8d391f09f /sys-boot/os-prober | |
parent | app-text/txt2man: keyword for ~arm (diff) | |
download | gentoo-83bf1db55c74f5b3f3b8837d65214abf2fa420f2.tar.gz gentoo-83bf1db55c74f5b3f3b8837d65214abf2fa420f2.tar.bz2 gentoo-83bf1db55c74f5b3f3b8837d65214abf2fa420f2.zip |
sys-boot/os-prober: Version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'sys-boot/os-prober')
-rw-r--r-- | sys-boot/os-prober/Manifest | 1 | ||||
-rw-r--r-- | sys-boot/os-prober/os-prober-1.71.ebuild | 77 |
2 files changed, 78 insertions, 0 deletions
diff --git a/sys-boot/os-prober/Manifest b/sys-boot/os-prober/Manifest index 8ed88c0583ed..e4b2bd4844b7 100644 --- a/sys-boot/os-prober/Manifest +++ b/sys-boot/os-prober/Manifest @@ -1,3 +1,4 @@ DIST os-prober_1.65.tar.xz 24712 SHA256 c4a7661a52edae722f7e6bacb3f107cf7086cbe768275fadf5398d04360bfc84 SHA512 64dd9042a26dc859d9186bb48545d85b1a369d00a93b5045c420eac0c4b672ab32cb6028eada5f1cc21c8ab9386c35b8eedb79bc7975faf7b0a7b2841b284f53 WHIRLPOOL 397a92312b018fa08b2e838bc6b85fa4d55502dfb8e8725c79f4a0ae397e3bd258a7bb302f74b2293cd85f4ddabf4cba75ff2b4b57fa9904094c3a50e1ace36e DIST os-prober_1.68.tar.xz 25336 SHA256 ad0b98c3e59239bff94e8f03bb618c21043c5314a7d00726d53f84add8478804 SHA512 b545cb42eb6e46da051aa7b63ec2cb29549aa197d0e0c361fa5d4a92ae3774c665003b4c1cd4294c9d26a63a71cd50cce75fed3be9d770adffeb0bd0b8cfc79e WHIRLPOOL a337446d1e6691d50b749fe3843452389845dbb5de5e06227baebd90b2535aa3111f7373f7c26335feef5637dc84ae5c1f0faa8bcaf97dfa4393129129e8cbf2 DIST os-prober_1.70.tar.xz 25468 SHA256 f95a8998e106578edf105c42c84809c71e413a01370be9bd0b6d238d5b63bf1d SHA512 d060a7fd4e128693b1bb79cff014b4583f56fd0ed4fdd1afd9670623538c03c4e458697c85c753ef4746b1acc5f91e31ef1f0d83fcb696e35ae8355f16edd9a4 WHIRLPOOL 9414e27187223aa6cddf910bcf77f2b677bf1bef0b358b287a59dbbd2acb9a35060163d18c26808a97da061b8d3e77713e283de2d32e23188400fde975c607a7 +DIST os-prober_1.71.tar.xz 25540 SHA256 5d6141e02b58e82194422b97d683d61c7ff78175d89c2f055f5d2e7a363bdd20 SHA512 adb7b8cf54c6169510c7ce2bf40e4b659c97eecfb7c1dd149269520ef13cdc2b6587f221fcfcb95c18caf9dba8144bbba561abb158e986ab02f4e0d338317d04 WHIRLPOOL cb3d8596c1e753fc2d687b30c6bd386d160114524b7b4f2d39dfe208191b231962311103a3106a7ccad8fa05bee132a5faa72265c44c33e22cb3d6090dd1cb04 diff --git a/sys-boot/os-prober/os-prober-1.71.ebuild b/sys-boot/os-prober/os-prober-1.71.ebuild new file mode 100644 index 000000000000..83b93c9e5f0d --- /dev/null +++ b/sys-boot/os-prober/os-prober-1.71.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2016 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 || die +} + +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" +} |