Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pmount: ChangeLog pmount-0.9.18.ebuild
Date: Sun, 01 Feb 2009 01:09:25
Message-Id: E1LTQpv-0002ob-IB@stork.gentoo.org
1 eva 09/02/01 01:09:23
2
3 Modified: ChangeLog
4 Added: pmount-0.9.18.ebuild
5 Log:
6 Bump to 0.9.18, bug #252954. Make it find cryptsetup, bug #205935. Install pmount setgid, bug #250106.
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.62 sys-apps/pmount/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pmount/ChangeLog?rev=1.62&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pmount/ChangeLog?rev=1.62&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pmount/ChangeLog?r1=1.61&r2=1.62
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v
19 retrieving revision 1.61
20 retrieving revision 1.62
21 diff -u -r1.61 -r1.62
22 --- ChangeLog 13 Jan 2009 15:20:43 -0000 1.61
23 +++ ChangeLog 1 Feb 2009 01:09:23 -0000 1.62
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/pmount
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.61 2009/01/13 15:20:43 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.62 2009/02/01 01:09:23 eva Exp $
29 +
30 +*pmount-0.9.18 (01 Feb 2009)
31 +
32 + 01 Feb 2009; Gilles Dartiguelongue <eva@g.o> +pmount-0.9.18.ebuild:
33 + Bump to 0.9.18, bug #252954. Make it find cryptsetup, bug #205935. Install
34 + pmount setgid, bug #250106.
35
36 13 Jan 2009; Doug Goldstein <cardoe@g.o> metadata.xml:
37 gentopia is becoming freedesktop
38
39
40
41 1.1 sys-apps/pmount/pmount-0.9.18.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pmount/pmount-0.9.18.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pmount/pmount-0.9.18.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pmount-0.9.18.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/pmount-0.9.18.ebuild,v 1.1 2009/02/01 01:09:23 eva Exp $
51
52 inherit eutils
53
54 DESCRIPTION="Policy based mounter that gives the ability to mount removable devices as a user"
55 HOMEPAGE="http://pmount.alioth.debian.org/"
56 SRC_URI="http://alioth.debian.org/frs/download.php/2624/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
61 IUSE="crypt hal"
62
63 RDEPEND="hal? ( >=sys-apps/dbus-0.33 >=sys-apps/hal-0.5.2 )
64 >=sys-fs/sysfsutils-1.3.0
65 crypt? ( >=sys-fs/cryptsetup-1.0.5 )"
66 DEPEND="${RDEPEND}
67 >=dev-util/intltool-0.40"
68
69 # Newly introduced test suite fails.
70 RESTRICT="test"
71
72 pkg_setup() {
73 enewgroup plugdev
74 }
75
76 src_compile() {
77 econf $(use_enable hal)
78 emake || die "emake failed"
79 }
80
81 src_install () {
82 # this is where we mount stuff
83 # moved to hal as of 0.5.7-r1
84 #keepdir /media
85
86 # Must be run SETUID+SETGID, bug #250106
87 exeinto /usr/bin
88 exeopts -m 6710 -g plugdev
89 doexe src/pmount src/pumount src/pmount-hal
90
91 dodoc AUTHORS ChangeLog TODO
92 doman man/pmount.1 man/pumount.1 man/pmount-hal.1
93
94 insinto /etc
95 doins etc/pmount.allow
96 }
97
98 pkg_postinst() {
99 elog
100 elog "This package has been installed setuid and setgid."
101
102 elog "The permissions are as such that only users that belong to the plugdev"
103 elog "group are allowed to run this. But if a script run by root mounts a"
104 elog "device, members of the plugdev group will have access to it."
105 elog
106 elog "Please add your user to the plugdev group to be able to mount USB drives"
107 }