summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Klimaszewski <steev@gentoo.org>2006-04-28 03:35:16 +0000
committerStephen Klimaszewski <steev@gentoo.org>2006-04-28 03:35:16 +0000
commitcd84c92b15cceb6775e8841acb275c93283f37ac (patch)
tree1e616a8c8d971de438015168bd3353d80b728875 /sys-apps/pmount
parentrev bump (diff)
downloadgentoo-2-cd84c92b15cceb6775e8841acb275c93283f37ac.tar.gz
gentoo-2-cd84c92b15cceb6775e8841acb275c93283f37ac.tar.bz2
gentoo-2-cd84c92b15cceb6775e8841acb275c93283f37ac.zip
New upstream release, fixes possible problems with hal 0.5.7
(Portage version: 2.1_pre9-r4)
Diffstat (limited to 'sys-apps/pmount')
-rw-r--r--sys-apps/pmount/ChangeLog7
-rw-r--r--sys-apps/pmount/files/digest-pmount-0.9.93
-rw-r--r--sys-apps/pmount/pmount-0.9.9.ebuild54
3 files changed, 63 insertions, 1 deletions
diff --git a/sys-apps/pmount/ChangeLog b/sys-apps/pmount/ChangeLog
index 79654ebc9e5e..9db45c3de47c 100644
--- a/sys-apps/pmount/ChangeLog
+++ b/sys-apps/pmount/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/pmount
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.22 2006/02/03 19:27:18 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.23 2006/04/28 03:35:16 steev Exp $
+
+*pmount-0.9.9 (28 Apr 2006)
+
+ 28 Apr 2006; Steev Klimaszewski <steev@gentoo.org> +pmount-0.9.9.ebuild:
+ New upstream release of pmount. Fixes some bugs with hal 0.5.7
03 Feb 2006; Aron Griffis <agriffis@gentoo.org> pmount-0.9.6.ebuild:
Mark 0.9.6 stable on ia64
diff --git a/sys-apps/pmount/files/digest-pmount-0.9.9 b/sys-apps/pmount/files/digest-pmount-0.9.9
new file mode 100644
index 000000000000..b15c3671ad85
--- /dev/null
+++ b/sys-apps/pmount/files/digest-pmount-0.9.9
@@ -0,0 +1,3 @@
+MD5 f62d39a33399dbb206791bf03f66da3f pmount-0.9.9.tar.gz 416898
+RMD160 f24e7bab64d4163a1f32a2a69fbd0e12c0ca2049 pmount-0.9.9.tar.gz 416898
+SHA256 19a15780cd1083bfbef432436402db665dac131013a005b4cd27ad49341d465d pmount-0.9.9.tar.gz 416898
diff --git a/sys-apps/pmount/pmount-0.9.9.ebuild b/sys-apps/pmount/pmount-0.9.9.ebuild
new file mode 100644
index 000000000000..51c5be5067f5
--- /dev/null
+++ b/sys-apps/pmount/pmount-0.9.9.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/pmount-0.9.9.ebuild,v 1.1 2006/04/28 03:35:16 steev Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Policy based mounter that gives the ability to mount removable devices as a user"
+HOMEPAGE="http://www.piware.de/projects.shtml"
+SRC_URI="http://www.piware.de/projects/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="crypt"
+
+DEPEND=">=sys-apps/dbus-0.33
+ >=sys-apps/hal-0.5.2
+ >=sys-fs/sysfsutils-1.3.0
+ crypt? ( sys-fs/cryptsetup-luks )"
+
+pkg_setup() {
+ enewgroup plugdev
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e 's:/sbin/cryptsetup:/bin/cryptsetup:' -i src/policy.h
+ append-ldflags $(bindnow-flags)
+}
+
+src_install () {
+ #this is where we mount stuff
+ keepdir /media
+
+ # Must be run SETUID
+ exeinto /usr/bin
+ exeopts -m 4710 -g plugdev
+ doexe src/pmount src/pumount src/pmount-hal
+
+ dodoc AUTHORS ChangeLog TODO
+ doman man/pmount.1 man/pumount.1 man/pmount-hal.1
+
+ insinto /etc
+ doins etc/pmount.allow
+}
+
+pkg_postinst() {
+ einfo
+ einfo "This package has been installed setuid. The permissions are as such that"
+ einfo "only users that belong to the plugdev group are allowed to run this."
+ einfo
+ einfo "Please add your user to the plugdev group to be able to mount USB drives"
+}