Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/uam/
Date: Tue, 02 Jan 2018 06:19:19
Message-Id: 1514873935.94430e13013be64b454278d3c655cb7a2730c18e.mgorny@gentoo
1 commit: 94430e13013be64b454278d3c655cb7a2730c18e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 1 22:13:44 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 2 06:18:55 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94430e13
7
8 sys-apps/uam: Clean old up
9
10 sys-apps/uam/Manifest | 2 --
11 sys-apps/uam/uam-0.3.1.ebuild | 44 -------------------------------------
12 sys-apps/uam/uam-0.3.ebuild | 50 -------------------------------------------
13 3 files changed, 96 deletions(-)
14
15 diff --git a/sys-apps/uam/Manifest b/sys-apps/uam/Manifest
16 index 6a361c0b1f2..0eb41229ce8 100644
17 --- a/sys-apps/uam/Manifest
18 +++ b/sys-apps/uam/Manifest
19 @@ -1,3 +1 @@
20 -DIST uam-0.3.1.tar.bz2 59632 BLAKE2B 7134ac7754635904023a6b6272786f078d87b4cde13e949046bc48492f7632ef1c8af24f6d16a2c09abcff59df4047f875645ac13836457f1ea35af495396ecd SHA512 bcd7a37701eb73bf3443d1fa98372fc0788cb3101619265c012d010f83e2cccc17fa8bc033704396707aa6de9caf0a80c9637dd7c7d1f86b01fd844967dac5a5
21 DIST uam-0.3.2.tar.bz2 60508 BLAKE2B 35accde4ae392f33af0d1c0f30069975e30691927dff33ac754d00f1de7b30d1b789e9797637f9701913796b5993add4b2405294fa47b1fbd6f8d6e1946b1ad8 SHA512 4a4ee9286b3762227fc5a03a10998cb3b4a2f110cd648bb2ed45f400e31218a17d3929c83450e9190255bda1f22f4001a7f33842999b79c27aa12fc11f286273
22 -DIST uam-0.3.tar.bz2 58143 BLAKE2B 08a20293e66c649b9933138888411c0a8bbf86d24dfe5bff7714d6e9f6d96e6608de237ef0cd09a9d4b5b7f24566dfc0add581a64592c02c8f4b0325c132cf4d SHA512 6b5ce8b37ea7b430a492c4411ac005d6555e49bbc4849ae03c5bb16e7dd89e8cac32349dfa0507f01cc6b22bdb111eda69471141da4952f8425f9390035c6085
23
24 diff --git a/sys-apps/uam/uam-0.3.1.ebuild b/sys-apps/uam/uam-0.3.1.ebuild
25 deleted file mode 100644
26 index facab0b105e..00000000000
27 --- a/sys-apps/uam/uam-0.3.1.ebuild
28 +++ /dev/null
29 @@ -1,44 +0,0 @@
30 -# Copyright 1999-2014 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=5
34 -
35 -inherit autotools-utils udev user
36 -
37 -DESCRIPTION="Simple udev-based automounter for removable USB media"
38 -HOMEPAGE="https://bitbucket.org/mgorny/uam/"
39 -SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
40 -
41 -LICENSE="BSD"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~x86"
44 -IUSE=""
45 -
46 -RDEPEND="virtual/udev"
47 -DEPEND="${RDEPEND}
48 - virtual/pkgconfig"
49 -
50 -pkg_postinst() {
51 - # The plugdev group is created by pam, pmount and many other ebuilds
52 - # in gx86. As we don't want to depend on any of them (even pmount is
53 - # optional), we create it ourself too.
54 - enewgroup plugdev
55 -
56 - elog "To be able to access uam-mounted filesystems, you have to be"
57 - elog "a member of the 'plugdev' group."
58 - elog
59 - elog "Note that uam doesn't provide any way to allow unprivileged user"
60 - elog "to manually umount devices. The upstream suggested solution"
61 - elog "is to use [sys-apps/pmount]. If you don't feel like installing"
62 - elog "additional tools, remember to sync before removing your USB stick."
63 - elog
64 - elog "If you'd like uam to mount ejectable media like CDs/DVDs, you need"
65 - elog "to enable in-kernel media polling, e.g.:"
66 - elog " echo 5000 > /sys/module/block/parameters/events_dfl_poll_msecs"
67 - elog "where 5000 would mean a poll will occur every 5 seconds."
68 - elog
69 - elog "If you'd like to receive libnotify-based notifications, you need"
70 - elog "to install the [x11-misc/sw-notify-send] tool."
71 -
72 - udev_reload
73 -}
74
75 diff --git a/sys-apps/uam/uam-0.3.ebuild b/sys-apps/uam/uam-0.3.ebuild
76 deleted file mode 100644
77 index 097c74fe846..00000000000
78 --- a/sys-apps/uam/uam-0.3.ebuild
79 +++ /dev/null
80 @@ -1,50 +0,0 @@
81 -# Copyright 1999-2014 Gentoo Foundation
82 -# Distributed under the terms of the GNU General Public License v2
83 -
84 -EAPI=4
85 -
86 -inherit autotools-utils user
87 -
88 -DESCRIPTION="Simple udev-based automounter for removable USB media"
89 -HOMEPAGE="https://bitbucket.org/mgorny/uam/"
90 -SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
91 -
92 -LICENSE="BSD"
93 -SLOT="0"
94 -KEYWORDS="amd64 x86"
95 -IUSE=""
96 -
97 -RDEPEND="virtual/udev"
98 -DEPEND="${RDEPEND}
99 - virtual/pkgconfig"
100 -
101 -DOCS=( NEWS README )
102 -
103 -pkg_postinst() {
104 - # The plugdev group is created by pam, pmount and many other ebuilds
105 - # in gx86. As we don't want to depend on any of them (even pmount is
106 - # optional), we create it ourself too.
107 - enewgroup plugdev
108 -
109 - elog "To be able to access uam-mounted filesystems, you have to be"
110 - elog "a member of the 'plugdev' group."
111 - elog
112 - elog "Note that uam doesn't provide any way to allow unprivileged user"
113 - elog "to manually umount devices. The upstream suggested solution"
114 - elog "is to use [sys-apps/pmount]. If you don't feel like installing"
115 - elog "additional tools, remember to sync before removing your USB stick."
116 - elog
117 - elog "If you'd like uam to mount ejectable media like CDs/DVDs, you need"
118 - elog "to enable in-kernel media polling, e.g.:"
119 - elog " echo 5000 > /sys/module/block/parameters/events_dfl_poll_msecs"
120 - elog "where 5000 would mean a poll will occur every 5 seconds."
121 - elog
122 - elog "If you'd like to receive libnotify-based notifications, you need"
123 - elog "to install the [x11-misc/sw-notify-send] tool."
124 -
125 - if [[ -e "${EROOT}"/dev/.udev ]]; then
126 - ebegin "Calling udev to reload its rules"
127 - udevadm control --reload-rules
128 - eend $?
129 - fi
130 -}