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