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.2.1.ebuild uam-0.2.ebuild
Date: Sun, 03 Jul 2011 19:10:51
Message-Id: 20110703175119.426892004B@flycatcher.gentoo.org
1 mgorny 11/07/03 17:51:19
2
3 Modified: ChangeLog
4 Added: uam-0.2.1.ebuild
5 Removed: uam-0.2.ebuild
6 Log:
7 Version bump. The new version fixes ntfs-3g config, and describes CD/DVD mounting a little more.
8
9 (Portage version: 2.2.0_alpha41_p36/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.14 sys-apps/uam/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?rev=1.14&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?rev=1.14&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?r1=1.13&r2=1.14
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v
21 retrieving revision 1.13
22 retrieving revision 1.14
23 diff -u -r1.13 -r1.14
24 --- ChangeLog 20 Jun 2011 07:43:21 -0000 1.13
25 +++ ChangeLog 3 Jul 2011 17:51:19 -0000 1.14
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.13 2011/06/20 07:43:21 mgorny Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v 1.14 2011/07/03 17:51:19 mgorny Exp $
31 +
32 +*uam-0.2.1 (03 Jul 2011)
33 +
34 + 03 Jul 2011; Michał Górny <mgorny@g.o> -uam-0.2.ebuild,
35 + +uam-0.2.1.ebuild:
36 + Version bump. The new version fixes ntfs-3g config, and describes CD/DVD
37 + mounting a little more.
38
39 *uam-0.2 (20 Jun 2011)
40
41
42
43
44 1.1 sys-apps/uam/uam-0.2.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/uam-0.2.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/uam-0.2.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: uam-0.2.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.2.1.ebuild,v 1.1 2011/07/03 17:51:19 mgorny Exp $
54
55 EAPI=3
56 inherit autotools-utils eutils
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=/lib
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 "If you'd like uam to mount ejectable media like CDs/DVDs, you need"
94 elog "to enable in-kernel media polling, e.g.:"
95 elog " echo 5000 > /sys/module/block/parameters/events_dfl_poll_msecs"
96 elog "where 5000 would mean a poll will occur every 5 seconds."
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 }