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: uam-0.3.1.ebuild ChangeLog
Date: Tue, 04 Jun 2013 07:02:23
Message-Id: 20130604070216.7BF182171D@flycatcher.gentoo.org
1 mgorny 13/06/04 07:02:16
2
3 Modified: ChangeLog
4 Added: uam-0.3.1.ebuild
5 Log:
6 Version bump. Fixes notification text with uam-pmount.
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
9
10 Revision Changes Path
11 1.31 sys-apps/uam/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?rev=1.31&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?rev=1.31&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?r1=1.30&r2=1.31
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v
20 retrieving revision 1.30
21 retrieving revision 1.31
22 diff -u -r1.30 -r1.31
23 --- ChangeLog 4 Jun 2013 06:59:54 -0000 1.30
24 +++ ChangeLog 4 Jun 2013 07:02:16 -0000 1.31
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/uam
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v 1.30 2013/06/04 06:59:54 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v 1.31 2013/06/04 07:02:16 mgorny Exp $
30 +
31 +*uam-0.3.1 (04 Jun 2013)
32 +
33 + 04 Jun 2013; Michał Górny <mgorny@g.o> +uam-0.3.1.ebuild:
34 + Version bump. Fixes notification text with uam-pmount.
35
36 04 Jun 2013; Michał Górny <mgorny@g.o> uam-9999.ebuild:
37 Use udev_reload rather than custom reloading snippet.
38
39
40
41 1.1 sys-apps/uam/uam-0.3.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/uam-0.3.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/uam-0.3.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: uam-0.3.1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/uam-0.3.1.ebuild,v 1.1 2013/06/04 07:02:16 mgorny Exp $
51
52 EAPI=5
53
54 inherit autotools-utils udev user
55
56 DESCRIPTION="Simple udev-based automounter for removable USB media"
57 HOMEPAGE="https://bitbucket.org/mgorny/uam/"
58 SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
59
60 LICENSE="BSD"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE=""
64
65 RDEPEND="virtual/udev"
66 DEPEND="${RDEPEND}
67 virtual/pkgconfig"
68
69 pkg_postinst() {
70 # The plugdev group is created by pam, pmount and many other ebuilds
71 # in gx86. As we don't want to depend on any of them (even pmount is
72 # optional), we create it ourself too.
73 enewgroup plugdev
74
75 elog "To be able to access uam-mounted filesystems, you have to be"
76 elog "a member of the 'plugdev' group."
77 elog
78 elog "Note that uam doesn't provide any way to allow unprivileged user"
79 elog "to manually umount devices. The upstream suggested solution"
80 elog "is to use [sys-apps/pmount]. If you don't feel like installing"
81 elog "additional tools, remember to sync before removing your USB stick."
82 elog
83 elog "If you'd like uam to mount ejectable media like CDs/DVDs, you need"
84 elog "to enable in-kernel media polling, e.g.:"
85 elog " echo 5000 > /sys/module/block/parameters/events_dfl_poll_msecs"
86 elog "where 5000 would mean a poll will occur every 5 seconds."
87 elog
88 elog "If you'd like to receive libnotify-based notifications, you need"
89 elog "to install the [x11-misc/sw-notify-send] tool."
90
91 udev_reload
92 }