Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/uam: ChangeLog uam-0.1.1.ebuild uam-0.1.ebuild
Date: Mon, 31 Jan 2011 22:19:56
Message-Id: 20110131221945.85E2D20054@flycatcher.gentoo.org
1 mgorny 11/01/31 22:19:45
2
3 Modified: ChangeLog
4 Added: uam-0.1.1.ebuild
5 Removed: uam-0.1.ebuild
6 Log:
7 Version bump. The new version fixes trying to mount whole UDF volume (bug #353151) and introduces support for device filtering through uam.conf.
8
9 (Portage version: 2.2.0_alpha19_p22/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.11 sys-apps/uam/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?rev=1.11&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?rev=1.11&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?r1=1.10&r2=1.11
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v
21 retrieving revision 1.10
22 retrieving revision 1.11
23 diff -u -r1.10 -r1.11
24 --- ChangeLog 20 Jan 2011 21:19:26 -0000 1.10
25 +++ ChangeLog 31 Jan 2011 22:19:45 -0000 1.11
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-apps/uam
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v 1.10 2011/01/20 21:19:26 mgorny Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v 1.11 2011/01/31 22:19:45 mgorny Exp $
31 +
32 +*uam-0.1.1 (31 Jan 2011)
33 +
34 + 31 Jan 2011; Michał Górny <mgorny@g.o> -uam-0.1.ebuild,
35 + +uam-0.1.1.ebuild:
36 + Version bump. The new version fixes trying to mount whole UDF volume (bug
37 + #353151) and introduces support for device filtering through uam.conf.
38
39 *uam-0.1 (20 Jan 2011)
40
41
42
43
44 1.1 sys-apps/uam/uam-0.1.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/uam-0.1.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/uam-0.1.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: uam-0.1.1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/uam-0.1.1.ebuild,v 1.1 2011/01/31 22:19:45 mgorny Exp $
54
55 EAPI=3
56 inherit autotools-utils eutils multilib
57
58 DESCRIPTION="Simple udev-based automounter for removable USB media"
59 HOMEPAGE="https://github.com/mgorny/uam/"
60 SRC_URI="http://cloud.github.com/downloads/mgorny/${PN}/${P}.tar.bz2"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE=""
66
67 RDEPEND="sys-fs/udev"
68 DEPEND="${RDEPEND}"
69
70 DOCS=( NEWS README )
71
72 src_configure() {
73 myeconfargs=(
74 --libdir=/$(get_libdir)
75 )
76 autotools-utils_src_configure
77 }
78
79 pkg_postinst() {
80 # The plugdev group is created by pam, pmount and many other ebuilds
81 # in gx86. As we don't want to depend on any of them (even pmount is
82 # optional), we create it ourself too.
83 enewgroup plugdev
84
85 elog "To be able to access uam-mounted filesystems, you have to be"
86 elog "a member of the 'plugdev' group."
87 elog
88 elog "Note that uam doesn't provide any way to allow unprivileged user"
89 elog "to manually umount devices. The upstream suggested solution"
90 elog "is to use [sys-apps/pmount]. If you don't feel like installing"
91 elog "additional tools, remember to sync before removing your USB stick."
92 elog
93 elog "Another feature uam is not capable of is mounting removable media"
94 elog "in fixed drives, like CDs and floppies. You might, however, be able"
95 elog "to mount them as an unprivileged user using appropriate fstab entries"
96 elog "or [sys-apps/pmount]."
97 elog
98 elog "If you'd like to receive libnotify-based notifications, you need"
99 elog "to install the [x11-misc/sw-notify-send] tool."
100
101 if [[ -e "${EROOT}"/dev/.udev ]]; then
102 ebegin "Calling udev to reload its rules"
103 udevadm control --reload-rules
104 eend $?
105 fi
106 }