summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/os-prober/ChangeLog10
-rw-r--r--sys-boot/os-prober/Manifest33
-rw-r--r--sys-boot/os-prober/files/os-prober-1.35-multilib.patch120
-rw-r--r--sys-boot/os-prober/os-prober-1.35.ebuild72
-rw-r--r--sys-boot/os-prober/os-prober-1.36.ebuild72
-rw-r--r--sys-boot/os-prober/os-prober-1.38.ebuild72
-rw-r--r--sys-boot/os-prober/os-prober-1.39.ebuild72
-rw-r--r--sys-boot/os-prober/os-prober-1.46.ebuild (renamed from sys-boot/os-prober/os-prober-1.44.ebuild)6
8 files changed, 19 insertions, 438 deletions
diff --git a/sys-boot/os-prober/ChangeLog b/sys-boot/os-prober/ChangeLog
index 803bfedafe6c..37bfd37449e5 100644
--- a/sys-boot/os-prober/ChangeLog
+++ b/sys-boot/os-prober/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-boot/os-prober
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/ChangeLog,v 1.7 2011/04/16 15:37:45 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/ChangeLog,v 1.8 2011/05/05 00:30:51 scarabeus Exp $
+
+*os-prober-1.46 (05 May 2011)
+
+ 05 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> -os-prober-1.35.ebuild,
+ -files/os-prober-1.35-multilib.patch, -os-prober-1.36.ebuild,
+ -os-prober-1.38.ebuild, -os-prober-1.39.ebuild, -os-prober-1.44.ebuild,
+ +os-prober-1.46.ebuild:
+ Version bump to latest. Drop older.
16 Apr 2011; Jonathan Callen <abcd@gentoo.org> os-prober-1.44.ebuild:
Fix build (upstream changed where the tarball unpacks)
diff --git a/sys-boot/os-prober/Manifest b/sys-boot/os-prober/Manifest
index ff8e8ddd684a..1fa6789eb799 100644
--- a/sys-boot/os-prober/Manifest
+++ b/sys-boot/os-prober/Manifest
@@ -1,33 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
-AUX os-prober-1.35-multilib.patch 5193 RMD160 2ba20c730fd73e8038e22474173d72ceea6aa841 SHA1 1e620b908f43bf315390cd68e989a28cce9c518b SHA256 12202f0d76d19cec348d21834d2dd7f01c803bcfb0cb77ccae09b42d46435ae9
-DIST os-prober_1.35.tar.gz 21612 RMD160 63e51815989f9fe7b2f288f98429d5b74aaad2a2 SHA1 ff164c80620b9f8b9e6d13e851e739eec4d6a5be SHA256 a2ca555c331d6cc9f32b7b431d02f4e9ea274abf3405419d0903038bd4931549
-DIST os-prober_1.36.tar.gz 21651 RMD160 23639574083751bcf1348384a442305d13fb8329 SHA1 b915d0634cdc3c399dd90f81beb9c831b237e104 SHA256 6343c84c959c192675e205d45f896870e5131bd228fca7a4d162a04c139f41b8
-DIST os-prober_1.38.tar.gz 22523 RMD160 069dfcc15bc389a3adaf31d3caebfdea28ea51aa SHA1 54128594c90771f62d7deaf6dcb1123495a7d989 SHA256 50dbd9fb8dfa06bfa0ba1e5ab1c46868a54ab604910e32f1d76543dd4123f01b
-DIST os-prober_1.39.tar.gz 22691 RMD160 2aa34d3f4158b0912b8bf69f4051ba6aaf08e575 SHA1 75ff4b1b9bb9fe92a79268ea2b82d64721f55f72 SHA256 d5b440d5d8872a864c063d17981adedfacb74d9fb478a3a6fa572da6f34e4ccc
-DIST os-prober_1.44.tar.gz 24421 RMD160 aa40d4ebaf5707295870822867013f7c71d8a92c SHA1 60ca180312b25422bc11bc258e611ec2e285d0e9 SHA256 3e920d3d6aafef1e291e827abf8575d55534dee69b2acff826d22f234d0ca849
-EBUILD os-prober-1.35.ebuild 1934 RMD160 f87b5c9e3688138a567a8791cec6c275c73cef12 SHA1 e05e2b18836f1b06bb4f80adb7f0efafb1820fbe SHA256 6989fc2d0d3495d747337fc08d28c32d70a3513fc52964f364438a8d84ee24b2
-EBUILD os-prober-1.36.ebuild 2134 RMD160 2e936b20ce71ba35edf6c89434532f754c33031b SHA1 9ffa90b08d162559b07475844a7e9d2c787149e6 SHA256 9ac3e64aa9d12bddd5377728e6489e3086636330a56eb37c4f988c36703fe1cb
-EBUILD os-prober-1.38.ebuild 2137 RMD160 4b9553982d428a823265d862d557d64ecc0879e6 SHA1 6a1050f0d32aaf0cbb17370c18a8045d3cce5a01 SHA256 bb8a69fcc0c1547191eff64eb2c911d2ecbd9cd7a36bfb20f1d851cbac1603b7
-EBUILD os-prober-1.39.ebuild 2135 RMD160 6f702f465426d7924864bf0f0090d31af8c176c6 SHA1 8cb908dc3a9404eec4b5e0d5dfd732d4c4e84e3f SHA256 a8841c19cbf5a4e5bbbc4f81f26a1d6f69fea3ae5c7125c2d9507486410cded4
-EBUILD os-prober-1.44.ebuild 1876 RMD160 ba7458c67f73f443938a570b085357b9756f2d7a SHA1 614d3aa0760c8592b294194ce754930f0386a9da SHA256 02629e3f346f115d72ad9bce6b38d39e7380a3cb0ae4a1d50143e18ed43cbdc9
-MISC ChangeLog 1205 RMD160 6d092ff781748c9979e9fef4defc75ce96d7ba99 SHA1 03fbf14f3f3cfb90eebcf13a77d2f3accd085ebc SHA256 493b4f828530c679654cff2d7d4cd64ddb33aafca56e6f5d8d8dabb4944878e8
+DIST os-prober_1.46.tar.gz 25061 RMD160 97e799f7d624e5b3923c5d18d6fc8518fbbc657b SHA1 39fcec328e7781042df1ca01d38079f566d2964a SHA256 c73b7790c3b54bca664dde3aa49412c3fb244c7d9478cfa8316144ceb4c4e0a1
+EBUILD os-prober-1.46.ebuild 1853 RMD160 7bd5506c6fc69e60b55edb72179b964f162a3e00 SHA1 e1b6b7e28afb4e1f3d10ac02ae0d5a3e166d55c2 SHA256 b8ed397e617b9ab1e7ba9f12806164b871b5b75d6ff178035ec2166d85bdbd04
+MISC ChangeLog 1523 RMD160 73e93f3062cec0ee22de045bd57b92a683bb14a7 SHA1 e73f30d7c6f9a6fbd3cebb9d630715239144d426 SHA256 3d21d2716a1549f6335ccbbb0aa3be746ece2abd4ae0d2d0be8f169cab5e86a9
MISC metadata.xml 401 RMD160 b2015cdd71ee05f4fd4e699b66d555acdad36ded SHA1 cc9d332a754696d44ca2a6565dd1ea434297a7fd SHA256 ee990e817f07b4d3d9b5fc555d8679a51ed4b258ea45b534181c6c7b36809892
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBCAAGBQJNqbfRAAoJELHSF2kinlg4t0wQAKvtbLwSAEiGSx0f3jMepyWS
-QD0f59qw9mQAy2lQnMd2sV5d+zka6aCtdozC8aS3yZcObs4ombjTYkcHIhOqzuTD
-ClKWX0YdmEkVZawl8wJf3SZez9IWlUSOPdIsUlfUfGH5PZbXGVqjGcpbJFCAApII
-ODJvX7saoS1yLQutzWMEdg41K4Wmpz/t4WiQKOWsxh0qsJhausPBc/eE+rDyfgGg
-CZ5YTZeG+7S07He4mpAFEr4HInQHXbRbb+iLvcYQr/f+YKob1px9CRdXWNfKvn7T
-8j5l1lOWSHb7mIUx1yohha3l7stMpJcSq1DFcygfkZt48UtqTl07zqAWCpI5LnqT
-fA73wnajoLPLNJz4RIMM6EkudDZoX9rZPSqPInNfTp95L55OoGo1wyjaVIcIIimB
-RKJRwnr71UK3BIGZtklt1rQlSMluoXAFXbmV+VhAY1IvLnxM0dvKL7Ga+9bzdexj
-9OPK5QnxUQvK3SxcpVSQwVGAtg6BQAEj9QHQAW0r/yTtqmWfDgx62IsPI3nhLkm1
-gJY3CWtpcjOoj0je1QvkB3hBSc9m8hcXx2YcgLEKEe/XDjLKhNGFpgUrXiiaK3ng
-3cHfrML6sawDbt4nAotgahsSr/LsizRZuMv2TOCOp9dx1GfISulX4ivVb37ezPaZ
-KdyjI08Evhw6jyVHA0fj
-=57sq
+iEYEARECAAYFAk3B78gACgkQHB6c3gNBRYdLfgCgrFqvB+8RRdSuM0KWkdOCI3aA
+6PcAoIWk6Avn8WO8DMzhWilV7JROP4bK
+=KlDj
-----END PGP SIGNATURE-----
diff --git a/sys-boot/os-prober/files/os-prober-1.35-multilib.patch b/sys-boot/os-prober/files/os-prober-1.35-multilib.patch
deleted file mode 100644
index 8f10676462c4..000000000000
--- a/sys-boot/os-prober/files/os-prober-1.35-multilib.patch
+++ /dev/null
@@ -1,120 +0,0 @@
---- os-prober.orig/common.sh
-+++ os-prober/common.sh
-@@ -1,5 +1,5 @@
- newns () {
-- [ "$OS_PROBER_NEWNS" ] || exec /usr/lib/os-prober/newns "$0" "$@"
-+ [ "$OS_PROBER_NEWNS" ] || exec /usr/libexec/os-prober/newns "$0" "$@"
- }
-
- require_tmpdir() {
---- os-prober.orig/linux-boot-prober
-+++ os-prober/linux-boot-prober
-@@ -15,7 +15,7 @@ if ! mapped="$(mapdevfs "$partition")";
- fi
-
- if ! grep -q "^$mapped " "$OS_PROBER_TMP/mounted-map"; then
-- for test in /usr/lib/linux-boot-probes/*; do
-+ for test in /usr/libexec/linux-boot-probes/*; do
- debug "running $test"
- if [ -x $test ] && [ -f $test ]; then
- if $test "$partition"; then
-@@ -37,7 +37,7 @@ else
- bootpart="$partition"
- bootmounted=0
- fi
-- for test in /usr/lib/linux-boot-probes/mounted/*; do
-+ for test in /usr/libexec/linux-boot-probes/mounted/*; do
- if [ -f $test ] && [ -x $test ]; then
- debug "running $test on mounted $partition"
- if $test "$partition" "$bootpart" "$mpoint" "$type"; then
---- os-prober.orig/linux-boot-probes/common/50mounted-tests
-+++ os-prober/linux-boot-probes/common/50mounted-tests
-@@ -39,7 +39,7 @@ for type in $types; do
- bootpart="${mountboot%% *}"
- mounted="${mountboot#* }"
-
-- for test in /usr/lib/linux-boot-probes/mounted/*; do
-+ for test in /usr/libexec/linux-boot-probes/mounted/*; do
- if [ -f $test ] && [ -x $test ]; then
- debug "running $test $partition $bootpart $tmpmnt $type"
- if $test "$partition" "$bootpart" "$tmpmnt" "$type"; then
---- os-prober.orig/os-prober
-+++ os-prober/os-prober
-@@ -88,7 +88,7 @@ parse_proc_mdstat () {
- # Needed for idempotency
- rm -f /var/lib/os-prober/labels
-
--for prog in /usr/lib/os-probes/init/*; do
-+for prog in /usr/libexec/os-probes/init/*; do
- if [ -x $prog ] && [ -f $prog ]; then
- $prog || true
- fi
-@@ -115,7 +115,7 @@ for partition in $(partitions); do
- fi
-
- if ! grep -q "^$mapped " "$OS_PROBER_TMP/mounted-map" ; then
-- for test in /usr/lib/os-probes/*; do
-+ for test in /usr/libexec/os-probes/*; do
- if [ -f $test ] && [ -x $test ]; then
- debug "running $test on $partition"
- if $test "$partition"; then
-@@ -129,7 +129,7 @@ for partition in $(partitions); do
- mpoint="$(unescape_mount "$mpoint")"
- if [ "$mpoint" != "/target/boot" ] && [ "$mpoint" != "/target" ] && [ "$mpoint" != "/" ]; then
- type=$(grep "^$mapped " "$OS_PROBER_TMP/mounted-map" | head -n1 | cut -d " " -f 3)
-- for test in /usr/lib/os-probes/mounted/*; do
-+ for test in /usr/libexec/os-probes/mounted/*; do
- if [ -f $test ] && [ -x $test ]; then
- debug "running $test on mounted $partition"
- if $test "$partition" "$mpoint" "$type"; then
---- os-prober.orig/os-probes/common/50mounted-tests
-+++ os-prober/os-probes/common/50mounted-tests
-@@ -48,7 +48,7 @@ fi
- for type in $types $delaytypes; do
- if mount -o ro -t "$type" "$partition" "$tmpmnt" 2>/dev/null; then
- debug "mounted as $type filesystem"
-- for test in /usr/lib/os-probes/mounted/*; do
-+ for test in /usr/libexec/os-probes/mounted/*; do
- debug "running subtest $test"
- if [ -f $test ] && [ -x $test ]; then
- if $test "$partition" "$tmpmnt" "$type"; then
---- os-prober.orig/os-probes/mounted/common/90linux-distro
-+++ os-prober/os-probes/mounted/common/90linux-distro
-@@ -13,7 +13,7 @@ type="$3"
- # better. Make sure this test has a high number so that more accurate tests
- # can come first.
- # TODO: look for ld-linux.so on arches that have it
--if ls $dir/lib/ld*.so* >/dev/null 2>/dev/null; then
-+if ls $dir/lib*/ld*.so* >/dev/null 2>/dev/null; then
- if [ -e "$dir/etc/debian_version" ]; then
- short="Debian"
- long=$(printf "Debian GNU/Linux (%s)\n" "$(cat $dir/etc/debian_version)")
---- os-prober.orig/README
-+++ os-prober/README
-@@ -18,7 +18,7 @@ such as:
- a chain one for other partitions
- with their own boot sectors.
-
--Tests are executable programs in the directory /usr/lib/os-probes/. Each
-+Tests are executable programs in the directory /usr/libexec/os-probes/. Each
- test is called once per partition, with the partiton to check as its
- parameter, and may output a string as described above, or nothing if it does
- not recognise an OS on that partition. Tests return an exit code of 0
-@@ -27,7 +27,7 @@ partition; or return an exit code of 1 t
- and let the next test run.
-
- Tests that require the partition to be mounted can be placed in
--/usr/lib/os-probes/mounted/. These tests are passed the following
-+/usr/libexec/os-probes/mounted/. These tests are passed the following
- parameters: partition, mount point, filesystem.
-
- Bootloader installer packages will then have to process this output (fairly
-@@ -62,7 +62,7 @@ short (or nonexistent), and may be inacc
- TODO for other limitations.
-
- The tests used by linux-boot-prober are in the directory
--/usr/lib/linux-boot-probes/ and also in /usr/lib/linux-boot-probes/mounted,
-+/usr/libexec/linux-boot-probes/ and also in /usr/libexec/linux-boot-probes/mounted,
- and they are called in a similar way as the os-probes described above.
- The mounted probes are passed parameters for the root partition, the boot
- partition, and the directory the filesystems are mounted in.
diff --git a/sys-boot/os-prober/os-prober-1.35.ebuild b/sys-boot/os-prober/os-prober-1.35.ebuild
deleted file mode 100644
index 3fc6c663667e..000000000000
--- a/sys-boot/os-prober/os-prober-1.35.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/os-prober-1.35.ebuild,v 1.2 2009/12/15 21:37:03 abcd Exp $
-
-EAPI="2"
-
-inherit eutils multilib 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.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-multilib.patch
-
- sed -i -e "s:/lib/udev:/$(get_libdir)/udev:g" common.sh || die "sed failed on common.sh"
-
- # Just use the default rules provided by GNU Make
- rm Makefile
-}
-
-src_compile() {
- tc-export CC
- emake newns || die "emake failed"
-}
-
-src_install() {
- dobin os-prober linux-boot-prober || die "dobin failed"
-
- exeinto /usr/libexec/os-prober
- doexe newns || die "doexe newns failed"
-
- insinto /usr/share/os-prober
- doins common.sh || die "doins common.sh failed"
-
- 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/libexec/$dir
- doexe $dir/common/* || die "doexe failed in $dir/common"
- if [[ -d $dir/$debarch ]]; then
- doexe $dir/$debarch/* || die "doexe failed in $dir/$debarch"
- fi
- done
-
- if use amd64 || use x86; then
- exeinto /usr/libexec/os-probes/mounted
- doexe os-probes/mounted/powerpc/20macosx || die "doexe failed on 20macosx"
- fi
-
- dodoc README TODO debian/changelog || die "dodoc failed"
-}
-
-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"
-}
diff --git a/sys-boot/os-prober/os-prober-1.36.ebuild b/sys-boot/os-prober/os-prober-1.36.ebuild
deleted file mode 100644
index 4a353a0a7fc2..000000000000
--- a/sys-boot/os-prober/os-prober-1.36.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/os-prober-1.36.ebuild,v 1.1 2010/03/06 21:25:32 abcd Exp $
-
-EAPI="2"
-
-inherit eutils multilib 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.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
- sed -i -e "s:/lib/udev:/$(get_libdir)/udev:g" common.sh || die "sed failed on common.sh"
- find "${S}" -type f -exec sed -i -e "s:/usr/lib/:/usr/libexec/:g" {} + || die "failed on find and sed lib->libexec"
- sed -i -e "s:/lib/ld\*\.so\*:/lib*/ld*.so*:g" os-probes/mounted/common/90linux-distro || die "sed failed on 90linux-distro"
-
- # Just use the default rules provided by GNU Make
- rm Makefile
-}
-
-src_compile() {
- tc-export CC
- emake newns || die "emake failed"
-}
-
-src_install() {
- dobin os-prober linux-boot-prober || die "dobin failed"
-
- exeinto /usr/libexec/os-prober
- doexe newns || die "doexe newns failed"
-
- insinto /usr/share/os-prober
- doins common.sh || die "doins common.sh failed"
-
- 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/libexec/$dir
- doexe $dir/common/* || die "doexe failed in $dir/common"
- if [[ -d $dir/$debarch ]]; then
- doexe $dir/$debarch/* || die "doexe failed in $dir/$debarch"
- fi
- done
-
- if use amd64 || use x86; then
- exeinto /usr/libexec/os-probes/mounted
- doexe os-probes/mounted/powerpc/20macosx || die "doexe failed on 20macosx"
- fi
-
- dodoc README TODO debian/changelog || die "dodoc failed"
-}
-
-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"
-}
diff --git a/sys-boot/os-prober/os-prober-1.38.ebuild b/sys-boot/os-prober/os-prober-1.38.ebuild
deleted file mode 100644
index 8194b88791bd..000000000000
--- a/sys-boot/os-prober/os-prober-1.38.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/os-prober-1.38.ebuild,v 1.1 2010/06/04 02:31:38 beandog Exp $
-
-EAPI="2"
-
-inherit eutils multilib 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.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
- sed -i -e "s:/lib/udev:/$(get_libdir)/udev:g" common.sh || die "sed failed on common.sh"
- find "${S}" -type f -exec sed -i -e "s:/usr/lib/:/usr/libexec/:g" {} + || die "failed on find and sed lib->libexec"
- sed -i -e "s:/lib/ld\*\.so\*:/lib*/ld*.so*:g" os-probes/mounted/common/90linux-distro || die "sed failed on 90linux-distro"
-
- # Just use the default rules provided by GNU Make
- rm Makefile
-}
-
-src_compile() {
- tc-export CC
- emake newns || die "emake failed"
-}
-
-src_install() {
- dobin os-prober linux-boot-prober || die "dobin failed"
-
- exeinto /usr/libexec/os-prober
- doexe newns || die "doexe newns failed"
-
- insinto /usr/share/os-prober
- doins common.sh || die "doins common.sh failed"
-
- 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/libexec/$dir
- doexe $dir/common/* || die "doexe failed in $dir/common"
- if [[ -d $dir/$debarch ]]; then
- doexe $dir/$debarch/* || die "doexe failed in $dir/$debarch"
- fi
- done
-
- if use amd64 || use x86; then
- exeinto /usr/libexec/os-probes/mounted
- doexe os-probes/mounted/powerpc/20macosx || die "doexe failed on 20macosx"
- fi
-
- dodoc README TODO debian/changelog || die "dodoc failed"
-}
-
-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"
-}
diff --git a/sys-boot/os-prober/os-prober-1.39.ebuild b/sys-boot/os-prober/os-prober-1.39.ebuild
deleted file mode 100644
index 9b0452c27bf3..000000000000
--- a/sys-boot/os-prober/os-prober-1.39.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/os-prober-1.39.ebuild,v 1.1 2010/07/26 11:00:51 lxnay Exp $
-
-EAPI="2"
-
-inherit eutils multilib 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.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
- sed -i -e "s:/lib/udev:/$(get_libdir)/udev:g" common.sh || die "sed failed on common.sh"
- find "${S}" -type f -exec sed -i -e "s:/usr/lib/:/usr/libexec/:g" {} + || die "failed on find and sed lib->libexec"
- sed -i -e "s:/lib/ld\*\.so\*:/lib*/ld*.so*:g" os-probes/mounted/common/90linux-distro || die "sed failed on 90linux-distro"
-
- # Just use the default rules provided by GNU Make
- rm Makefile
-}
-
-src_compile() {
- tc-export CC
- emake newns || die "emake failed"
-}
-
-src_install() {
- dobin os-prober linux-boot-prober || die "dobin failed"
-
- exeinto /usr/libexec/os-prober
- doexe newns || die "doexe newns failed"
-
- insinto /usr/share/os-prober
- doins common.sh || die "doins common.sh failed"
-
- 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/libexec/$dir
- doexe $dir/common/* || die "doexe failed in $dir/common"
- if [[ -d $dir/$debarch ]]; then
- doexe $dir/$debarch/* || die "doexe failed in $dir/$debarch"
- fi
- done
-
- if use amd64 || use x86; then
- exeinto /usr/libexec/os-probes/mounted
- doexe os-probes/mounted/powerpc/20macosx || die "doexe failed on 20macosx"
- fi
-
- dodoc README TODO debian/changelog || die "dodoc failed"
-}
-
-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"
-}
diff --git a/sys-boot/os-prober/os-prober-1.44.ebuild b/sys-boot/os-prober/os-prober-1.46.ebuild
index abdffffb0c86..cd5bbf605211 100644
--- a/sys-boot/os-prober/os-prober-1.44.ebuild
+++ b/sys-boot/os-prober/os-prober-1.46.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/os-prober-1.44.ebuild,v 1.2 2011/04/16 15:37:45 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/os-prober/os-prober-1.46.ebuild,v 1.1 2011/05/05 00:30:51 scarabeus Exp $
-EAPI="4"
+EAPI=4
inherit eutils multilib toolchain-funcs
@@ -20,7 +20,7 @@ src_prepare() {
find "${S}" -type f -exec sed -i -e "s:/usr/lib/:/usr/libexec/:g" {} + || die "failed on find and sed lib->libexec"
sed -i -e "s:/lib/ld\*\.so\*:/lib*/ld*.so*:g" os-probes/mounted/common/90linux-distro || die "sed failed on 90linux-distro"
- # Just use the default rules provided by GNU Make
+ # use default GNU rules
rm Makefile
}