1 |
ssuominen 11/12/03 01:22:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pmount-0.9.99_alpha.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.87 sys-apps/pmount/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/ChangeLog?rev=1.87&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/ChangeLog?rev=1.87&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/ChangeLog?r1=1.86&r2=1.87 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v |
20 |
retrieving revision 1.86 |
21 |
retrieving revision 1.87 |
22 |
diff -u -r1.86 -r1.87 |
23 |
--- ChangeLog 18 Jul 2010 14:20:06 -0000 1.86 |
24 |
+++ ChangeLog 3 Dec 2011 01:22:52 -0000 1.87 |
25 |
@@ -1,6 +1,12 @@ |
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.86 2010/07/18 14:20:06 nixnut Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.87 2011/12/03 01:22:52 ssuominen Exp $ |
31 |
+ |
32 |
+*pmount-0.9.99_alpha (03 Dec 2011) |
33 |
+ |
34 |
+ 03 Dec 2011; Samuli Suominen <ssuominen@g.o> |
35 |
+ +pmount-0.9.99_alpha.ebuild: |
36 |
+ Version bump. |
37 |
|
38 |
18 Jul 2010; <nixnut@g.o> pmount-0.9.23.ebuild: |
39 |
ppc stable #325507 |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-apps/pmount/pmount-0.9.99_alpha.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/pmount-0.9.99_alpha.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/pmount-0.9.99_alpha.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: pmount-0.9.99_alpha.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/pmount-0.9.99_alpha.ebuild,v 1.1 2011/12/03 01:22:52 ssuominen Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
inherit eutils |
56 |
|
57 |
DESCRIPTION="Policy based mounter that gives the ability to mount removable devices as a user" |
58 |
HOMEPAGE="http://pmount.alioth.debian.org/" |
59 |
SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV/_/-}.orig.tar.bz2" |
60 |
#SRC_URI="http://alioth.debian.org/frs/download.php/3530/${P/_/-}.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" |
65 |
IUSE="crypt" |
66 |
|
67 |
RDEPEND=">=sys-apps/util-linux-2.17.2 |
68 |
crypt? ( >=sys-fs/cryptsetup-1.0.6-r2 )" |
69 |
DEPEND="${RDEPEND} |
70 |
dev-util/intltool |
71 |
sys-devel/gettext" |
72 |
|
73 |
S=${WORKDIR}/${P/_/-} |
74 |
|
75 |
pkg_setup() { |
76 |
enewgroup plugdev |
77 |
} |
78 |
|
79 |
src_prepare() { |
80 |
cat <<-EOF > po/POTFILES.skip |
81 |
src/conffile.c |
82 |
src/configuration.c |
83 |
src/loop.c |
84 |
EOF |
85 |
|
86 |
epatch "${FILESDIR}"/${PN}-0.9.19-testsuite-missing-dir.patch |
87 |
} |
88 |
|
89 |
src_configure() { |
90 |
econf --disable-hal |
91 |
} |
92 |
|
93 |
src_test() { |
94 |
local testdir=${S}/tests/check_fstab |
95 |
|
96 |
ln -s $testdir/a $testdir/b && ln -s $testdir/d $testdir/c && \ |
97 |
ln -s $testdir/c $testdir/e \ |
98 |
|| die "Unable to create fake symlinks required for testsuite" |
99 |
|
100 |
emake check |
101 |
} |
102 |
|
103 |
src_install () { |
104 |
# Must be run SETUID+SETGID, bug #250106 |
105 |
exeinto /usr/bin |
106 |
exeopts -m 6710 -g plugdev |
107 |
doexe src/{p,pu}mount |
108 |
|
109 |
dodoc AUTHORS ChangeLog TODO |
110 |
doman man/{{p,pu}mount.1,pmount.conf.5} |
111 |
|
112 |
insinto /etc |
113 |
doins etc/pmount.{allow,conf} |
114 |
} |
115 |
|
116 |
pkg_postinst() { |
117 |
elog |
118 |
elog "This package has been installed setuid and setgid." |
119 |
|
120 |
elog "The permissions are as such that only users that belong to the plugdev" |
121 |
elog "group are allowed to run this. But if a script run by root mounts a" |
122 |
elog "device, members of the plugdev group will have access to it." |
123 |
elog |
124 |
elog "Please add your user to the plugdev group to be able to mount USB drives" |
125 |
} |