Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pmount: pmount-0.9.23.ebuild ChangeLog pmount-0.9.22.ebuild
Date: Fri, 25 Jun 2010 13:47:45
Message-Id: 20100625134739.D8B3D2CF61@corvid.gentoo.org
1 ssuominen 10/06/25 13:47:39
2
3 Modified: ChangeLog
4 Added: pmount-0.9.23.ebuild
5 Removed: pmount-0.9.22.ebuild
6 Log:
7 Version bump.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.81 sys-apps/pmount/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/ChangeLog?rev=1.81&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/ChangeLog?rev=1.81&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/ChangeLog?r1=1.80&r2=1.81
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v
20 retrieving revision 1.80
21 retrieving revision 1.81
22 diff -u -r1.80 -r1.81
23 --- ChangeLog 14 May 2010 21:15:17 -0000 1.80
24 +++ ChangeLog 25 Jun 2010 13:47:39 -0000 1.81
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/pmount
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.80 2010/05/14 21:15:17 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.81 2010/06/25 13:47:39 ssuominen Exp $
30 +
31 +*pmount-0.9.23 (25 Jun 2010)
32 +
33 + 25 Jun 2010; Samuli Suominen <ssuominen@g.o> +pmount-0.9.23.ebuild:
34 + Version bump.
35
36 *pmount-0.9.22 (14 May 2010)
37
38
39
40
41 1.1 sys-apps/pmount/pmount-0.9.23.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/pmount-0.9.23.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/pmount-0.9.23.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pmount-0.9.23.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.23.ebuild,v 1.1 2010/06/25 13:47:39 ssuominen Exp $
51
52 EAPI=2
53 inherit base eutils
54
55 DESCRIPTION="Policy based mounter that gives the ability to mount removable devices as a user"
56 HOMEPAGE="http://pmount.alioth.debian.org/"
57 SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.bz2"
58 #SRC_URI="https://alioth.debian.org/frs/download.php/3310/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
63 IUSE="crypt"
64
65 RDEPEND=">=sys-apps/util-linux-2.16
66 crypt? ( >=sys-fs/cryptsetup-1.0.5 )"
67 DEPEND="${RDEPEND}
68 dev-util/intltool
69 sys-devel/gettext"
70
71 PATCHES=( "${FILESDIR}/${PN}-0.9.19-testsuite-missing-dir.patch" )
72
73 pkg_setup() {
74 enewgroup plugdev
75 }
76
77 src_configure() {
78 econf \
79 --disable-dependency-tracking \
80 --disable-hal
81 }
82
83 src_test() {
84 local testdir=${S}/tests/check_fstab
85
86 ln -s $testdir/a $testdir/b && ln -s $testdir/d $testdir/c && \
87 ln -s $testdir/c $testdir/e \
88 || die "Unable to create fake symlinks required for testsuite"
89 emake check || die
90 }
91
92 src_install () {
93 # Must be run SETUID+SETGID, bug #250106
94 exeinto /usr/bin
95 exeopts -m 6710 -g plugdev
96 doexe src/pmount src/pumount || die
97
98 dodoc AUTHORS ChangeLog TODO || die
99 doman man/pmount.1 man/pumount.1 || die
100
101 insinto /etc
102 doins etc/pmount.allow || die
103 }
104
105 pkg_postinst() {
106 elog
107 elog "This package has been installed setuid and setgid."
108
109 elog "The permissions are as such that only users that belong to the plugdev"
110 elog "group are allowed to run this. But if a script run by root mounts a"
111 elog "device, members of the plugdev group will have access to it."
112 elog
113 elog "Please add your user to the plugdev group to be able to mount USB drives"
114 }