version bump thanks to iulica in bug 169593
authorStefan Schweizer <genstef@gentoo.org>
Tue, 6 Mar 2007 15:02:24 +0000 (15:02 +0000)
committerStefan Schweizer <genstef@gentoo.org>
Tue, 6 Mar 2007 15:02:24 +0000 (15:02 +0000)
Package-Manager: portage-2.1.2-r12

sys-apps/ivman/ChangeLog
sys-apps/ivman/Manifest
sys-apps/ivman/files/digest-ivman-0.6.11 [deleted file]
sys-apps/ivman/files/digest-ivman-0.6.14 [new file with mode: 0644]
sys-apps/ivman/files/ivman-0.6-hotpluggable.patch [new file with mode: 0644]
sys-apps/ivman/ivman-0.6.14.ebuild [moved from sys-apps/ivman/ivman-0.6.11.ebuild with 83% similarity]

index 7207fa922e973d42be88d17a67adc237868de8f6..1bc9a465120cc60cf6475a262fb0bcf49ad60175 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sys-apps/ivman
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ivman/ChangeLog,v 1.50 2007/02/13 10:01:37 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ivman/ChangeLog,v 1.51 2007/03/06 15:02:24 genstef Exp $
+
+*ivman-0.6.14 (06 Mar 2007)
+
+  06 Mar 2007; <genstef@gentoo.org> +files/ivman-0.6-hotpluggable.patch,
+  -ivman-0.6.11.ebuild, +ivman-0.6.14.ebuild:
+  version bump thanks to iulica in bug 169593
 
   13 Feb 2007; Markus Rothe <corsair@gentoo.org> ivman-0.6.13.ebuild:
   Stable on ppc64; bug #163436
index 2ed6ad46a0596c82325b3145a854c3f3b90588f8..f92802acd0b5ccc3ceacfab1eafff5ccd9870124 100644 (file)
@@ -2,13 +2,13 @@ AUX ivman-0.3.init 524 RMD160 b52e42d21994339186cad00fe5e3bf486d7cd6b0 SHA1 293f
 MD5 f1e67af6cdf8b51ac4c5cd5e8e7ec298 files/ivman-0.3.init 524
 RMD160 b52e42d21994339186cad00fe5e3bf486d7cd6b0 files/ivman-0.3.init 524
 SHA256 664dab391a0068bfc2c1eb84405b7c41d3111f6a9aa9f891f5531a01775bbb0e files/ivman-0.3.init 524
-DIST ivman-0.6.11.tar.bz2 312191 RMD160 cc7f3604e1984cbe2d75014f8a6f6ac163a6ca8a SHA1 346959b30084724f18ec1090512536beb70a53e3 SHA256 00a6f2be36a2a62cb6bf1b1c6d3f562aee168424e80f0bf378400930ebc1ae43
+AUX ivman-0.6-hotpluggable.patch 2347 RMD160 cf1ee700635b2e31270882011fb5096803941e64 SHA1 79d57555ee87fe2c2be378324cad09c077e2d47e SHA256 3e625239dabb6a62770584709ce251c9e0ed1c01557844b25c61dc0f12437b2c
+MD5 abac5016e0249b09212644be869c27ad files/ivman-0.6-hotpluggable.patch 2347
+RMD160 cf1ee700635b2e31270882011fb5096803941e64 files/ivman-0.6-hotpluggable.patch 2347
+SHA256 3e625239dabb6a62770584709ce251c9e0ed1c01557844b25c61dc0f12437b2c files/ivman-0.6-hotpluggable.patch 2347
 DIST ivman-0.6.12.tar.bz2 312274 RMD160 5b1747b6b69452172c26e5c0e8fc27d0a7d9a067 SHA1 5ef1de23da1cc178119c946194c898e598d04022 SHA256 1ee40db70a550bd8c42edeb7b6f0d2206ca6a2ce4c562093efd0e92705705628
 DIST ivman-0.6.13.tar.bz2 317106 RMD160 a350d01ba4544813b9c738f2151023a11cb2a87e SHA1 2b0c0ceeba1eb26cac2c5a030e1e3c2e520c2e09 SHA256 c6cd955c33c8c6a20c4729d4c76571c08799f96f062e8d053b392a8e9a64a1a4
-EBUILD ivman-0.6.11.ebuild 2276 RMD160 21486288b14603864ccd768f4067ca84ec20207d SHA1 89bb50c6d2689e70be90516b8c39d594599be53c SHA256 d5f6fb63faa730f20a49e2d1922a93c1e093d886a6ad535ba7d77f7a8b8ef7e7
-MD5 5d83ec2e2897c74638768fbcc9e68fd3 ivman-0.6.11.ebuild 2276
-RMD160 21486288b14603864ccd768f4067ca84ec20207d ivman-0.6.11.ebuild 2276
-SHA256 d5f6fb63faa730f20a49e2d1922a93c1e093d886a6ad535ba7d77f7a8b8ef7e7 ivman-0.6.11.ebuild 2276
+DIST ivman-0.6.14.tar.bz2 318181 RMD160 edb6cdd7a2fe772a0cfa1ad3a0d03c7adb54043a SHA1 7b0c72cd25de8afcd2a9ab70ed9254c9d00175e1 SHA256 62a6f9cb90999694e48528e16f427433c13a99424b5dca4cb38cda99e13d10e8
 EBUILD ivman-0.6.12.ebuild 2273 RMD160 c0dede9978ad5a0a6847819f34c694c587635b3c SHA1 f1e23aef4f0b0c4c0f85a43e36aec1e0861378cc SHA256 86051160ac1401a32ff4f6a90bf5330a7d380b665460a8e38763148fd9447543
 MD5 3d8ff44224c9517bf91b7efdf7286b50 ivman-0.6.12.ebuild 2273
 RMD160 c0dede9978ad5a0a6847819f34c694c587635b3c ivman-0.6.12.ebuild 2273
@@ -17,20 +17,24 @@ EBUILD ivman-0.6.13.ebuild 2279 RMD160 3b582acfe00ad043f5eae8bd20275db737c2ccb9
 MD5 3ff8c9dd556152c8e729e5eab3c5d63d ivman-0.6.13.ebuild 2279
 RMD160 3b582acfe00ad043f5eae8bd20275db737c2ccb9 ivman-0.6.13.ebuild 2279
 SHA256 13614947c9f7af2d68069a02bb7f9f46c4ab457204f92659df87144e21208bcd ivman-0.6.13.ebuild 2279
-MISC ChangeLog 7033 RMD160 238e96b1bd0075542913be5b1637d4f263906552 SHA1 152bc815c70abdf40b645f2006a9ad8b0b840059 SHA256 9ff18c860db36a51482c7fa86341f3a910e8468f7bbe99d5cef8a55769db31a7
-MD5 7b4b50cf1934875ee55591fdf4ca02de ChangeLog 7033
-RMD160 238e96b1bd0075542913be5b1637d4f263906552 ChangeLog 7033
-SHA256 9ff18c860db36a51482c7fa86341f3a910e8468f7bbe99d5cef8a55769db31a7 ChangeLog 7033
+EBUILD ivman-0.6.14.ebuild 2431 RMD160 2173596b7caaeeaebaaea9d145ee42f645cb56d2 SHA1 94cf78554bba98081273a3d0376fcb44fc89bcea SHA256 e21020703a763a676ec238d62c720d60cc0ad9ff7ca60366f5940e17d937e972
+MD5 7fe149d3f6b30cd2a2d97adebe64718d ivman-0.6.14.ebuild 2431
+RMD160 2173596b7caaeeaebaaea9d145ee42f645cb56d2 ivman-0.6.14.ebuild 2431
+SHA256 e21020703a763a676ec238d62c720d60cc0ad9ff7ca60366f5940e17d937e972 ivman-0.6.14.ebuild 2431
+MISC ChangeLog 7228 RMD160 62a259f5624a4d75788b32a83d3dec1abfd3c8ba SHA1 b85a744320fdb694e66a2a2f40fda8b94fdd1f83 SHA256 526673b44350cf9a8d8e2b1b078017ea8e6b764dd53425839f040739d87468ef
+MD5 b3c5bbe657ff1a89e7ae9d2e147275ec ChangeLog 7228
+RMD160 62a259f5624a4d75788b32a83d3dec1abfd3c8ba ChangeLog 7228
+SHA256 526673b44350cf9a8d8e2b1b078017ea8e6b764dd53425839f040739d87468ef ChangeLog 7228
 MISC metadata.xml 265 RMD160 cce40429efbd2ff82afd327bff5f4ce00113a95e SHA1 845e142448e0353da66737ed5890a609784ee437 SHA256 0604c2f6367ee90ad73019023d1b5320d978f316d3cdaa6f42ffb0d45076d785
 MD5 94ae54dc83c1b4b61c9edccab725465b metadata.xml 265
 RMD160 cce40429efbd2ff82afd327bff5f4ce00113a95e metadata.xml 265
 SHA256 0604c2f6367ee90ad73019023d1b5320d978f316d3cdaa6f42ffb0d45076d785 metadata.xml 265
-MD5 ecbd5d9671fe33e177b6661e442c44bc files/digest-ivman-0.6.11 241
-RMD160 09843210437c0bb2ddc5b7daa1109199c497101b files/digest-ivman-0.6.11 241
-SHA256 d4c20bf2d126491102222cbb47f8dc6e846303d64075baef8b4b458744c03656 files/digest-ivman-0.6.11 241
 MD5 db07f3a923ac6fab1815e1138337a49f files/digest-ivman-0.6.12 241
 RMD160 71df321b1acb81660e1531b3cd295e28fe605f9d files/digest-ivman-0.6.12 241
 SHA256 059df597f00023ea0104b27da44742cf512627bea572b9f0a5c66290c46fa563 files/digest-ivman-0.6.12 241
 MD5 ae654ce39d50f9831809bae710f7aa3e files/digest-ivman-0.6.13 241
 RMD160 c1c0f627f06c878dc6bf3342f720589f6dcdbf7b files/digest-ivman-0.6.13 241
 SHA256 7d1eacd1a695a3c7dc0e22df6851e6234741d0789937463853ef3b38798ac30d files/digest-ivman-0.6.13 241
+MD5 8d0edc8795100c924ebded1cec475aef files/digest-ivman-0.6.14 241
+RMD160 7d3a039f8dede4629598320517f6d9f69da1e29f files/digest-ivman-0.6.14 241
+SHA256 cd87957da1c73966fea8664bd5f8c4d00b2a362cb4926a1b4f61eefe94c58b6b files/digest-ivman-0.6.14 241
diff --git a/sys-apps/ivman/files/digest-ivman-0.6.11 b/sys-apps/ivman/files/digest-ivman-0.6.11
deleted file mode 100644 (file)
index c7fc83e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 440db00c2d59c4d408812c9868ac4b32 ivman-0.6.11.tar.bz2 312191
-RMD160 cc7f3604e1984cbe2d75014f8a6f6ac163a6ca8a ivman-0.6.11.tar.bz2 312191
-SHA256 00a6f2be36a2a62cb6bf1b1c6d3f562aee168424e80f0bf378400930ebc1ae43 ivman-0.6.11.tar.bz2 312191
diff --git a/sys-apps/ivman/files/digest-ivman-0.6.14 b/sys-apps/ivman/files/digest-ivman-0.6.14
new file mode 100644 (file)
index 0000000..de62eac
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 ebef12559268e2c5ea932cbb5aaa789e ivman-0.6.14.tar.bz2 318181
+RMD160 edb6cdd7a2fe772a0cfa1ad3a0d03c7adb54043a ivman-0.6.14.tar.bz2 318181
+SHA256 62a6f9cb90999694e48528e16f427433c13a99424b5dca4cb38cda99e13d10e8 ivman-0.6.14.tar.bz2 318181
diff --git a/sys-apps/ivman/files/ivman-0.6-hotpluggable.patch b/sys-apps/ivman/files/ivman-0.6-hotpluggable.patch
new file mode 100644 (file)
index 0000000..2f662a2
--- /dev/null
@@ -0,0 +1,40 @@
+http://bugs.gentoo.org/show_bug.cgi?id=169593
+        iulica@box.co.uk
+This patch tests also for a storage if it is hotpluggable and mounts it
+automatically. A reason of creating the patch can be found here:
+http://lists.freedesktop.org/archives/hal/2005-October/003441.html
+
+--- src/IvmConfig/IvmConfigCommon.c.old        2007-03-05 15:28:49.000000000 +0100
++++ src/IvmConfig/IvmConfigCommon.c    2007-03-05 15:34:36.000000000 +0100
+@@ -146,7 +146,9 @@
+                volume.policy.should_mount does not exist
+                AND { storage.policy.should_mount == TRUE on block.storage_device
+                      OR { storage.policy.should_mount does not exist on
+-                          block.storage_device AND storage.removable == TRUE on
++                          block.storage_device AND { storage.removable == TRUE 
++                                                     OR storage.hotpluggable == TRUE 
++                                                   } on
+                           block.storage_device
+                         }
+                    }
+@@ -216,14 +218,16 @@
+         {
+           ivm_check_dbus_error(&dbus_error);
+             // OK, so no storage policy was specified anywhere.  Now we'll mount
+-            // if parent device is removable.
++            // if parent device is removable or hotpluggable.
+             if (
+-              !libhal_device_property_exists( hal_ctx, new_udi, "storage.removable", NULL ) ||
+-              !libhal_device_get_property_bool( hal_ctx, new_udi, "storage.removable", NULL )
++              (!libhal_device_property_exists( hal_ctx, new_udi, "storage.removable", NULL ) ||
++              !libhal_device_get_property_bool( hal_ctx, new_udi, "storage.removable", NULL )) &&
++              (!libhal_device_property_exists( hal_ctx, new_udi, "storage.hotpluggable", NULL ) ||
++              !libhal_device_get_property_bool( hal_ctx, new_udi, "storage.hotpluggable", NULL ))
+             ) {
+                 DEBUG(_("\
+ Device %s won't be mounted because no mount policy was specified on \
+-volume or storage device and storage device does not appear to be removable"), device
++volume or storage device and storage device does not appear to be removable or hotpluggable"), device
+                 );
+                 libhal_free_string( device );
+                 libhal_free_string( new_udi );
similarity index 83%
rename from sys-apps/ivman/ivman-0.6.11.ebuild
rename to sys-apps/ivman/ivman-0.6.14.ebuild
index a99259ed8d13541278b4248d373549d009fd966a..90350ed107946822bab1571da8573439f0a28af5 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ivman/ivman-0.6.11.ebuild,v 1.7 2006/08/05 15:17:19 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ivman/ivman-0.6.14.ebuild,v 1.1 2007/03/06 15:02:24 genstef Exp $
 
 inherit eutils
 
@@ -8,7 +8,7 @@ DESCRIPTION="Daemon to mount/unmount devices, based on info from HAL"
 HOMEPAGE="http://ivman.sf.net"
 SRC_URI="mirror://sourceforge/ivman/${P}.tar.bz2"
 LICENSE="GPL-2 QPL"
-KEYWORDS="amd64 ppc ppc64 sparc x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="debug"
 SLOT="0"
 
@@ -22,13 +22,21 @@ DEPEND="${RDEPEND}
        >=sys-devel/libtool-1.5
        dev-util/pkgconfig"
 
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       # Add support for hotpluggable devices (not removable)
+       epatch "${FILESDIR}"/${PN}-0.6-hotpluggable.patch
+}
+
 src_compile() {
        econf $(use_enable debug) || die "econf failed"
        emake || die "emake failed"
 }
 
 src_install() {
-       make DESTDIR="${D}" install || die "make install failed"
+       emake DESTDIR="${D}" install || die "emake install failed"
 
        exeinto /etc/init.d/
        newexe ${FILESDIR}/ivman-0.3.init ivman