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.3.ebuild uam-0.2.1.ebuild
Date: Sat, 07 Jan 2012 18:56:05
Message-Id: 20120107185555.21AF82004B@flycatcher.gentoo.org
1 mgorny 12/01/07 18:55:55
2
3 Modified: ChangeLog
4 Added: uam-0.3.ebuild
5 Removed: uam-0.2.1.ebuild
6 Log:
7 Version bump. The new version adds pmount/pumount wrappers, sends notifications with actions and fixes a number of minor issues.
8
9 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.19 sys-apps/uam/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?rev=1.19&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?rev=1.19&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/ChangeLog?r1=1.18&r2=1.19
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v
21 retrieving revision 1.18
22 retrieving revision 1.19
23 diff -u -r1.18 -r1.19
24 --- ChangeLog 26 Nov 2011 22:40:07 -0000 1.18
25 +++ ChangeLog 7 Jan 2012 18:55:54 -0000 1.19
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.18 2011/11/26 22:40:07 mgorny Exp $
30 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v 1.19 2012/01/07 18:55:54 mgorny Exp $
32 +
33 +*uam-0.3 (07 Jan 2012)
34 +
35 + 07 Jan 2012; Michał Górny <mgorny@g.o> -uam-0.2.1.ebuild,
36 + +uam-0.3.ebuild:
37 + Version bump. The new version adds pmount/pumount wrappers, sends
38 + notifications with actions and fixes a number of minor issues.
39
40 26 Nov 2011; Michał Górny <mgorny@g.o> metadata.xml:
41 Update bugs-to.
42
43
44
45 1.1 sys-apps/uam/uam-0.3.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/uam-0.3.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/uam/uam-0.3.ebuild?rev=1.1&content-type=text/plain
49
50 Index: uam-0.3.ebuild
51 ===================================================================
52 # Copyright 1999-2012 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/uam-0.3.ebuild,v 1.1 2012/01/07 18:55:54 mgorny Exp $
55
56 EAPI=4
57
58 inherit autotools-utils eutils
59
60 DESCRIPTION="Simple udev-based automounter for removable USB media"
61 HOMEPAGE="https://github.com/mgorny/uam/"
62 SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
63
64 LICENSE="BSD"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68
69 RDEPEND="sys-fs/udev"
70 DEPEND="${RDEPEND}
71 dev-util/pkgconfig"
72
73 DOCS=( NEWS README )
74
75 pkg_postinst() {
76 # The plugdev group is created by pam, pmount and many other ebuilds
77 # in gx86. As we don't want to depend on any of them (even pmount is
78 # optional), we create it ourself too.
79 enewgroup plugdev
80
81 elog "To be able to access uam-mounted filesystems, you have to be"
82 elog "a member of the 'plugdev' group."
83 elog
84 elog "Note that uam doesn't provide any way to allow unprivileged user"
85 elog "to manually umount devices. The upstream suggested solution"
86 elog "is to use [sys-apps/pmount]. If you don't feel like installing"
87 elog "additional tools, remember to sync before removing your USB stick."
88 elog
89 elog "If you'd like uam to mount ejectable media like CDs/DVDs, you need"
90 elog "to enable in-kernel media polling, e.g.:"
91 elog " echo 5000 > /sys/module/block/parameters/events_dfl_poll_msecs"
92 elog "where 5000 would mean a poll will occur every 5 seconds."
93 elog
94 elog "If you'd like to receive libnotify-based notifications, you need"
95 elog "to install the [x11-misc/sw-notify-send] tool."
96
97 if [[ -e "${EROOT}"/dev/.udev ]]; then
98 ebegin "Calling udev to reload its rules"
99 udevadm control --reload-rules
100 eend $?
101 fi
102 }