summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-11-23 01:18:15 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-11-23 01:18:15 +0000
commit1e7e7e80657c83f0123e25a5a06a9efd0a2c2d95 (patch)
tree1a215f13264680c7d87de679a42ffee9b1b9ca8e /sys-apps/ivman
parentStable on amd64, closes bug 111291. (diff)
downloadhistorical-1e7e7e80657c83f0123e25a5a06a9efd0a2c2d95.tar.gz
historical-1e7e7e80657c83f0123e25a5a06a9efd0a2c2d95.tar.bz2
historical-1e7e7e80657c83f0123e25a5a06a9efd0a2c2d95.zip
version bump
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'sys-apps/ivman')
-rw-r--r--sys-apps/ivman/ChangeLog5
-rw-r--r--sys-apps/ivman/Manifest16
-rw-r--r--sys-apps/ivman/files/digest-ivman-0.6.61
-rw-r--r--sys-apps/ivman/ivman-0.6.6.ebuild72
4 files changed, 86 insertions, 8 deletions
diff --git a/sys-apps/ivman/ChangeLog b/sys-apps/ivman/ChangeLog
index fdb01f755399..144b08acf7c2 100644
--- a/sys-apps/ivman/ChangeLog
+++ b/sys-apps/ivman/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/ivman
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ivman/ChangeLog,v 1.21 2005/11/14 21:39:09 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ivman/ChangeLog,v 1.22 2005/11/23 01:18:15 genstef Exp $
+
+ 23 Nov 2005; Stefan Schweizer <genstef@gentoo.org> ChangeLog:
+ version bump
14 Nov 2005; Markus Rothe <corsair@gentoo.org> ivman-0.6.4.ebuild,
ivman-0.6.5.ebuild:
diff --git a/sys-apps/ivman/Manifest b/sys-apps/ivman/Manifest
index 5a24493b12e5..7adf544894f6 100644
--- a/sys-apps/ivman/Manifest
+++ b/sys-apps/ivman/Manifest
@@ -1,11 +1,13 @@
-MD5 16903ac157e573757e4e920e4590d361 ChangeLog 3532
-MD5 7a702903471226e8942d6d9c8dfdcba5 ivman-0.5_pre2.ebuild 1309
-MD5 217682a6813a0a28a1a7be4b3b6adc54 ivman-0.5_pre3.ebuild 1310
-MD5 94ae54dc83c1b4b61c9edccab725465b metadata.xml 265
-MD5 0a279ef04950ef7acd46341ecb0b0d7d ivman-0.6.4.ebuild 2581
-MD5 b233402a9b0c06809675c49c7290c8b8 ivman-0.6.5.ebuild 2601
+MD5 7de15b51dc1d968d9624184ae72fe1dd ChangeLog 3612
MD5 7b663d58e12a086e30f6eb8e5cf965d3 files/digest-ivman-0.5_pre2 67
MD5 a561344e43c3fcfab148515b471ecd5a files/digest-ivman-0.5_pre3 67
-MD5 f1e67af6cdf8b51ac4c5cd5e8e7ec298 files/ivman-0.3.init 524
MD5 4aac9f5d6f83eeda363d051c89933adf files/digest-ivman-0.6.4 64
MD5 bc91a3cd4a282da93547f727c80d20b6 files/digest-ivman-0.6.5 64
+MD5 6afe4349611729cde7fbf79486132a4b files/digest-ivman-0.6.6 64
+MD5 f1e67af6cdf8b51ac4c5cd5e8e7ec298 files/ivman-0.3.init 524
+MD5 7a702903471226e8942d6d9c8dfdcba5 ivman-0.5_pre2.ebuild 1309
+MD5 217682a6813a0a28a1a7be4b3b6adc54 ivman-0.5_pre3.ebuild 1310
+MD5 0a279ef04950ef7acd46341ecb0b0d7d ivman-0.6.4.ebuild 2581
+MD5 b233402a9b0c06809675c49c7290c8b8 ivman-0.6.5.ebuild 2601
+MD5 3688ac929410b2952685a389f1753ec8 ivman-0.6.6.ebuild 2601
+MD5 94ae54dc83c1b4b61c9edccab725465b metadata.xml 265
diff --git a/sys-apps/ivman/files/digest-ivman-0.6.6 b/sys-apps/ivman/files/digest-ivman-0.6.6
new file mode 100644
index 000000000000..a06866e9fcfd
--- /dev/null
+++ b/sys-apps/ivman/files/digest-ivman-0.6.6
@@ -0,0 +1 @@
+MD5 35b5ba1e83b906f98c5352fb42ae73bb ivman-0.6.6.tar.bz2 286864
diff --git a/sys-apps/ivman/ivman-0.6.6.ebuild b/sys-apps/ivman/ivman-0.6.6.ebuild
new file mode 100644
index 000000000000..6fede07ba269
--- /dev/null
+++ b/sys-apps/ivman/ivman-0.6.6.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ivman/ivman-0.6.6.ebuild,v 1.1 2005/11/23 01:15:33 genstef Exp $
+
+inherit eutils
+
+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="QPL"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="debug"
+SLOT="0"
+
+RDEPEND=">=dev-libs/glib-2.6
+ dev-libs/libxml2
+ sys-devel/gettext
+ >=sys-apps/hal-0.4.0
+ >=sys-apps/pmount-0.8"
+# We now require a minimum of glib 2.6.
+# We should be able to build with either HAL 0.4.x or HAL 0.5.x, but HAL 0.5.x
+# is now what I primarily use ( -> Ivman is now better tested with 0.5.x ).
+# I'm not really certain which version of pmount is required, but it's only
+# been tested with >= 0.8 .
+DEPEND="${RDEPEND}
+ >=sys-devel/libtool-1.5
+ dev-util/pkgconfig"
+
+src_compile() {
+ econf $(use_enable debug) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ exeinto /etc/init.d/
+ newexe ${FILESDIR}/ivman-0.3.init ivman
+
+ # Ivman can now run as a non-root user :-) Create a dedicated user account,
+ # so users can add rules to /etc/sudoers for programs Ivman wants to
+ # execute...
+ # The group here is intended to be the one needed to use pmount, but Ivman
+ # will still work as long as the group in IvmConfigBase.xml is correct.
+ enewuser ivman -1 -1 /dev/null plugdev || die "Problem adding ivman user"
+}
+
+pkg_postinst() {
+
+ if has_version "<sys-apps/hal-0.5.0"; then
+ einfo "Ivman was built against HAL 0.4.x. If you later upgrade to HAL 0.5,"
+ einfo "you must re-merge Ivman."
+ echo
+ else
+ einfo "Ivman was built against HAL 0.5.x. If you later downgrade to HAL 0.4,"
+ einfo "you must re-merge Ivman."
+ echo
+ fi
+
+ einfo "Note that, as of version 0.6.0, the IvmConfigMappings.xml configuration"
+ einfo "file is no longer required to correctly mount fstab entries which"
+ einfo "use symbolic links. You may safely remove this file if desired."
+ einfo "However, HAL typically does not correctly deal with fstab"
+ einfo "entries of this nature, therefore it is strongly recommanded that"
+ einfo "you have real device names (i.e. not symlinks) in /etc/fstab."
+ echo
+
+ einfo "By default, Ivman will mount any removable disks as they are"
+ einfo "attached. If you want Ivman to do more, such as hibernating"
+ einfo "your laptop when the lid is closed or when the battery is low,"
+ einfo "look at the configuration files in /etc/ivman/ ."
+}