Gentoo Archives: gentoo-commits

From: "Doug Klima (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pmount: ChangeLog pmount-0.9.17.ebuild
Date: Wed, 20 Feb 2008 23:49:59
Message-Id: E1JRyhI-0000R5-6D@stork.gentoo.org
1 cardoe 08/02/20 23:49:56
2
3 Modified: ChangeLog
4 Added: pmount-0.9.17.ebuild
5 Log:
6 version bump. bug #204991
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.55 sys-apps/pmount/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pmount/ChangeLog?rev=1.55&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pmount/ChangeLog?rev=1.55&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pmount/ChangeLog?r1=1.54&r2=1.55
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v
19 retrieving revision 1.54
20 retrieving revision 1.55
21 diff -u -r1.54 -r1.55
22 --- ChangeLog 27 Jan 2008 23:43:39 -0000 1.54
23 +++ ChangeLog 20 Feb 2008 23:49:55 -0000 1.55
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/pmount
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.54 2008/01/27 23:43:39 leio Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.55 2008/02/20 23:49:55 cardoe Exp $
29 +
30 +*pmount-0.9.17 (20 Feb 2008)
31 +
32 + 20 Feb 2008; Doug Klima <cardoe@g.o> +pmount-0.9.17.ebuild:
33 + version bump. bug #204991
34
35 27 Jan 2008; Mart Raudsepp <leio@g.o> pmount-0.9.16.ebuild:
36 Add missing intltool DEPEND
37
38
39
40 1.1 sys-apps/pmount/pmount-0.9.17.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pmount/pmount-0.9.17.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pmount/pmount-0.9.17.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pmount-0.9.17.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/pmount-0.9.17.ebuild,v 1.1 2008/02/20 23:49:55 cardoe Exp $
50
51 inherit eutils
52
53 DESCRIPTION="Policy based mounter that gives the ability to mount removable devices as a user"
54 HOMEPAGE="http://pmount.alioth.debian.org/"
55 SRC_URI="http://alioth.debian.org/frs/download.php/2057/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
60 IUSE="crypt hal"
61
62 RDEPEND="hal? ( >=sys-apps/dbus-0.33 >=sys-apps/hal-0.5.2 )
63 >=sys-fs/sysfsutils-1.3.0
64 crypt? ( || ( >=sys-fs/cryptsetup-1.0.5 sys-fs/cryptsetup-luks ) )"
65 DEPEND="${RDEPEND}
66 >=dev-util/intltool-0.21"
67
68 pkg_setup() {
69 enewgroup plugdev
70 }
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75 # Fix make check wrt #202150.
76 echo src/luks.c >> po/POTFILES.skip
77 echo src/realpath.c >> po/POTFILES.skip
78 }
79
80 src_compile() {
81 econf $(use_enable hal) \
82 --with-cryptsetup-prog=/bin/cryptsetup
83 emake || die "emake failed"
84 }
85
86 src_install () {
87 # this is where we mount stuff
88 # moved to hal as of 0.5.7-r1
89 #keepdir /media
90
91 # Must be run SETUID
92 exeinto /usr/bin
93 exeopts -m 4710 -g plugdev
94 doexe src/pmount src/pumount src/pmount-hal
95
96 dodoc AUTHORS ChangeLog TODO
97 doman man/pmount.1 man/pumount.1 man/pmount-hal.1
98
99 insinto /etc
100 doins etc/pmount.allow
101 }
102
103 pkg_postinst() {
104 elog
105 elog "This package has been installed setuid. The permissions are as such that"
106 elog "only users that belong to the plugdev group are allowed to run this."
107 elog
108 elog "Please add your user to the plugdev group to be able to mount USB drives"
109 }
110
111
112
113 --
114 gentoo-commits@l.g.o mailing list