# ChangeLog for sys-apps/pmount
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.4 2005/08/24 06:22:11 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.5 2005/08/25 16:07:09 cardoe Exp $
+
+*pmount-0.9.3-r1 (25 Aug 2005)
+
+ 25 Aug 2005; Doug Goldstein <cardoe@gentoo.org> -pmount-0.9.3.ebuild,
+ +pmount-0.9.3-r1.ebuild:
+ cleaned up ebuild with suggestions from Betelgeuse
*pmount-0.9.3 (24 Aug 2005)
Hash: SHA1
MD5 aac86bf5e50eb9cef83a6f6800c560af metadata.xml 253
-MD5 0a0130850a45e899d83b01f4d1acf664 pmount-0.9.3.ebuild 1121
-MD5 e471764442c16739fb435810c61dd7ae ChangeLog 401
-MD5 840c7e69303d19acc8e0a62976a4c135 files/digest-pmount-0.9.3 63
+MD5 511eb470ce91e062fb6ac31c3837fd6e ChangeLog 586
+MD5 38e0525e6391a1211ef0b8d978cd3569 pmount-0.9.3-r1.ebuild 1462
+MD5 840c7e69303d19acc8e0a62976a4c135 files/digest-pmount-0.9.3-r1 63
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDDBTgBtvusYtCZMsRAnzAAJ96WBG+qlJ1Gjowph2JCavXzwro+wCeKit4
-I472M1ZeDje4O2CRkqaKlaU=
-=prtM
+iD8DBQFDDezmBtvusYtCZMsRAme6AJ95AW9PP36Cd+/aebFB/NA7XsAZQwCfcGdw
+agKjy3a4l8hCtM0zSgL5LOI=
+=hr+X
-----END PGP SIGNATURE-----
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/pmount-0.9.3.ebuild,v 1.1 2005/08/24 06:22:11 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/pmount-0.9.3-r1.ebuild,v 1.1 2005/08/25 16:07:09 cardoe Exp $
inherit eutils
-DESCRIPTION="Mount removable devices as a normal user"
+DESCRIPTION="Policy based mounter that gives the ability to mount removable devices as a user"
SRC_URI="http://www.piware.de/projects/${P}.tar.gz"
HOMEPAGE="http://www.piware.de/projects.shtml"
LICENSE="GPL-2"
RDEPEND=">=sys-apps/dbus-0.33
>=sys-apps/hal-0.5.1
>=sys-fs/sysfsutils-1.0
- crypt? ( sys-fs/cryptsetup )"
+ crypt? ( sys-fs/cryptsetup-luks )"
DEPEND=${RDEPEND}
enewgroup plugdev || die "Error creating plugdev group"
}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -e 's:/sbin/cryptsetup:/bin/cryptsetup:' -i policy.h
+}
+
src_install () {
- dobin pmount-hal pmount pumount
- dodoc AUTHORS CHANGES
+ #this is where we mount stuff
+ dodir /media
+
+ # HAL informed mounter, used by Gnome/KDE
+ dobin pmount-hal
+
+ # Must be run SETUID
+ exeinto /usr/bin
+ exeopts -m 4770
+ doexe pmount pumount
+ fowners -1:plugdev /usr/bin/pmount
+ fowners -1:plugdev /usr/bin/pumount
+
+ dodoc AUTHORS CHANGES TODO
+ doman pmount.1 pumount.1
+
+ insinto /etc
+ doins pmount.allow
}
pkg_postinst() {
- chown root:plugdev /usr/bin/pmount /usr/bin/pumount
- chmod 4770 /usr/bin/pmount /usr/bin/pumount
-
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."