diff options
author | 2012-01-09 15:46:42 +0000 | |
---|---|---|
committer | 2012-01-09 15:46:42 +0000 | |
commit | 88571274cbd74ae40b1a6ea6f1bfddaefa5f4699 (patch) | |
tree | 57c30dd2bb3d3d5496a88fceac4bd48efd5b918c /sys-apps | |
parent | x86 stable wrt bug #396359 (diff) | |
download | gentoo-2-88571274cbd74ae40b1a6ea6f1bfddaefa5f4699.tar.gz gentoo-2-88571274cbd74ae40b1a6ea6f1bfddaefa5f4699.tar.bz2 gentoo-2-88571274cbd74ae40b1a6ea6f1bfddaefa5f4699.zip |
Restore the stable ebuild. Sorry for the mistake.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/uam/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/uam/uam-0.2.1.ebuild | 56 |
2 files changed, 60 insertions, 1 deletions
diff --git a/sys-apps/uam/ChangeLog b/sys-apps/uam/ChangeLog index df09b2971cd9..67f853d433f9 100644 --- a/sys-apps/uam/ChangeLog +++ b/sys-apps/uam/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/uam # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v 1.19 2012/01/07 18:55:54 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/ChangeLog,v 1.20 2012/01/09 15:46:42 mgorny Exp $ + + 09 Jan 2012; Michał Górny <mgorny@gentoo.org> +uam-0.2.1.ebuild: + Restore the stable ebuild. Sorry for the mistake. *uam-0.3 (07 Jan 2012) diff --git a/sys-apps/uam/uam-0.2.1.ebuild b/sys-apps/uam/uam-0.2.1.ebuild new file mode 100644 index 000000000000..670ca0eba322 --- /dev/null +++ b/sys-apps/uam/uam-0.2.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/uam/uam-0.2.1.ebuild,v 1.6 2012/01/09 15:46:42 mgorny Exp $ + +EAPI=3 +inherit autotools-utils eutils + +DESCRIPTION="Simple udev-based automounter for removable USB media" +HOMEPAGE="https://github.com/mgorny/uam/" +SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="sys-fs/udev" +DEPEND="${RDEPEND}" + +DOCS=( NEWS README ) + +src_configure() { + myeconfargs=( + --libdir=/lib + ) + autotools-utils_src_configure +} + +pkg_postinst() { + # The plugdev group is created by pam, pmount and many other ebuilds + # in gx86. As we don't want to depend on any of them (even pmount is + # optional), we create it ourself too. + enewgroup plugdev + + elog "To be able to access uam-mounted filesystems, you have to be" + elog "a member of the 'plugdev' group." + elog + elog "Note that uam doesn't provide any way to allow unprivileged user" + elog "to manually umount devices. The upstream suggested solution" + elog "is to use [sys-apps/pmount]. If you don't feel like installing" + elog "additional tools, remember to sync before removing your USB stick." + elog + elog "If you'd like uam to mount ejectable media like CDs/DVDs, you need" + elog "to enable in-kernel media polling, e.g.:" + elog " echo 5000 > /sys/module/block/parameters/events_dfl_poll_msecs" + elog "where 5000 would mean a poll will occur every 5 seconds." + elog + elog "If you'd like to receive libnotify-based notifications, you need" + elog "to install the [x11-misc/sw-notify-send] tool." + + if [[ -e "${EROOT}"/dev/.udev ]]; then + ebegin "Calling udev to reload its rules" + udevadm control --reload-rules + eend $? + fi +} |