diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-21 12:05:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-21 12:05:28 +0100 |
commit | 490ef2c2dc8b4e808f37add1adee21a754efd9a9 (patch) | |
tree | e235cdf15550b3d2f644b6fc4a8aa726971416f5 /sys-apps/uam/uam-0.3.2-r2.ebuild | |
parent | da7ae1dd1fccb6b3c0e4763ab983ad96d57bf463 (diff) |
gentoo auto-resync : 21:04:2024 - 12:05:28
Diffstat (limited to 'sys-apps/uam/uam-0.3.2-r2.ebuild')
-rw-r--r-- | sys-apps/uam/uam-0.3.2-r2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sys-apps/uam/uam-0.3.2-r2.ebuild b/sys-apps/uam/uam-0.3.2-r2.ebuild new file mode 100644 index 000000000000..2aea00b7b611 --- /dev/null +++ b/sys-apps/uam/uam-0.3.2-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit udev + +DESCRIPTION="Simple udev-based automounter for removable USB media" +HOMEPAGE="https://github.com/projg2/uam/" +SRC_URI="https://github.com/projg2/uam/releases/download/${P}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=" + acct-group/plugdev + virtual/udev" +BDEPEND="virtual/pkgconfig" + +pkg_postinst() { + 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." + + udev_reload +} + +pkg_postrm() { + udev_reload +} |