1 |
commit: e2f4b21ab41116428c1b7d7cbfe6c0024a8e5638 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 11 11:27:03 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 11 16:20:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2f4b21a |
7 |
|
8 |
sys-apps/udevil: Drop old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-apps/udevil/udevil-0.4.4-r1.ebuild | 72 ------------------------------- |
13 |
sys-apps/udevil/udevil-0.4.4-r2.ebuild | 77 ---------------------------------- |
14 |
2 files changed, 149 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/udevil/udevil-0.4.4-r1.ebuild b/sys-apps/udevil/udevil-0.4.4-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 73596bdd436..00000000000 |
19 |
--- a/sys-apps/udevil/udevil-0.4.4-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,72 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit autotools epatch user |
28 |
- |
29 |
-DESCRIPTION="mount and unmount removable devices without a password" |
30 |
-HOMEPAGE="https://ignorantguru.github.com/udevil/" |
31 |
-SRC_URI="https://github.com/IgnorantGuru/udevil/archive/${PV}.tar.gz -> ${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="GPL-3" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="amd64 x86" |
36 |
-IUSE="" |
37 |
- |
38 |
-RDEPEND=">=app-shells/bash-4.0:* |
39 |
- dev-libs/glib:2 |
40 |
- sys-apps/util-linux |
41 |
- virtual/acl |
42 |
- >=virtual/udev-143" |
43 |
-DEPEND="${RDEPEND} |
44 |
- dev-util/intltool |
45 |
- sys-devel/gettext |
46 |
- virtual/pkgconfig" |
47 |
- |
48 |
-pkg_setup(){ |
49 |
- enewgroup plugdev |
50 |
-} |
51 |
- |
52 |
-src_prepare() { |
53 |
- # This works for 0.4.4 too, no sense copying the patch |
54 |
- epatch "${FILESDIR}"/${PN}-0.4.3-flags.patch |
55 |
- epatch "${FILESDIR}"/${PN}-0.4.4-stat.patch |
56 |
- eautoreconf |
57 |
-} |
58 |
- |
59 |
-src_configure() { |
60 |
- econf \ |
61 |
- --with-setfacl-prog="$(type -P setfacl)" \ |
62 |
- --enable-systemd |
63 |
-} |
64 |
- |
65 |
-src_install() { |
66 |
- default |
67 |
- fowners root:plugdev /usr/bin/udevil |
68 |
- fperms 4754 /usr/bin/udevil |
69 |
-} |
70 |
- |
71 |
-pkg_postinst() { |
72 |
- einfo |
73 |
- elog "Please add your user to the plugdev group" |
74 |
- elog "to be able to use ${PN} as a user" |
75 |
- elog |
76 |
- elog "Optional dependencies:" |
77 |
- elog " gnome-extra/zenity (devmon popups)" |
78 |
- elog " net-fs/davfs2 (mount WebDAV resources)" |
79 |
- elog " net-fs/cifs-utils (mounting samba shares)" |
80 |
- elog " net-fs/curlftpfs (mounting ftp shares)" |
81 |
- elog " net-fs/nfs-utils (mounting nfs shares)" |
82 |
- elog " net-fs/sshfs (mounting sftp shares)" |
83 |
- elog " virtual/eject (eject via devmon)" |
84 |
- if ! has_version 'sys-fs/udisks' ; then |
85 |
- elog |
86 |
- elog "When using ${PN} without udisks, and without the udisks-daemon running," |
87 |
- elog "you may need to enable kernel polling for device media changes to be detected." |
88 |
- elog "See https://ignorantguru.github.com/${PN}/#polling" |
89 |
- has_version '<virtual/udev-173' && ewarn "You need at least udev-173" |
90 |
- kernel_is lt 2 6 38 && ewarn "You need at least kernel 2.6.38" |
91 |
- einfo |
92 |
- fi |
93 |
-} |
94 |
|
95 |
diff --git a/sys-apps/udevil/udevil-0.4.4-r2.ebuild b/sys-apps/udevil/udevil-0.4.4-r2.ebuild |
96 |
deleted file mode 100644 |
97 |
index a75cf290506..00000000000 |
98 |
--- a/sys-apps/udevil/udevil-0.4.4-r2.ebuild |
99 |
+++ /dev/null |
100 |
@@ -1,77 +0,0 @@ |
101 |
-# Copyright 1999-2018 Gentoo Foundation |
102 |
-# Distributed under the terms of the GNU General Public License v2 |
103 |
- |
104 |
-EAPI=6 |
105 |
- |
106 |
-inherit autotools user |
107 |
- |
108 |
-DESCRIPTION="mount and unmount removable devices without a password" |
109 |
-HOMEPAGE="https://ignorantguru.github.com/udevil/" |
110 |
-SRC_URI="https://github.com/IgnorantGuru/udevil/archive/${PV}.tar.gz -> ${P}.tar.gz" |
111 |
- |
112 |
-LICENSE="GPL-3" |
113 |
-SLOT="0" |
114 |
-KEYWORDS="~amd64 ~x86" |
115 |
-IUSE="" |
116 |
- |
117 |
-RDEPEND=">=app-shells/bash-4.0:* |
118 |
- dev-libs/glib:2 |
119 |
- sys-apps/util-linux |
120 |
- virtual/acl |
121 |
- >=virtual/udev-143" |
122 |
-DEPEND="${RDEPEND} |
123 |
- dev-util/intltool |
124 |
- sys-devel/gettext |
125 |
- virtual/pkgconfig" |
126 |
- |
127 |
-pkg_setup(){ |
128 |
- enewgroup plugdev |
129 |
-} |
130 |
- |
131 |
-PATCHES=( |
132 |
- # This works for 0.4.4 too, no sense copying the patch |
133 |
- "${FILESDIR}"/${PN}-0.4.3-flags.patch |
134 |
- "${FILESDIR}"/${PN}-0.4.4-stat.patch |
135 |
- "${FILESDIR}"/${PN}-0.4.4-include-sysmacros.patch |
136 |
-) |
137 |
- |
138 |
-src_prepare() { |
139 |
- default |
140 |
- eautoreconf |
141 |
-} |
142 |
- |
143 |
-src_configure() { |
144 |
- econf \ |
145 |
- --with-setfacl-prog="$(type -P setfacl)" \ |
146 |
- --enable-systemd |
147 |
-} |
148 |
- |
149 |
-src_install() { |
150 |
- default |
151 |
- fowners root:plugdev /usr/bin/udevil |
152 |
- fperms 4754 /usr/bin/udevil |
153 |
-} |
154 |
- |
155 |
-pkg_postinst() { |
156 |
- einfo |
157 |
- elog "Please add your user to the plugdev group" |
158 |
- elog "to be able to use ${PN} as a user" |
159 |
- elog |
160 |
- elog "Optional dependencies:" |
161 |
- elog " gnome-extra/zenity (devmon popups)" |
162 |
- elog " net-fs/davfs2 (mount WebDAV resources)" |
163 |
- elog " net-fs/cifs-utils (mounting samba shares)" |
164 |
- elog " net-fs/curlftpfs (mounting ftp shares)" |
165 |
- elog " net-fs/nfs-utils (mounting nfs shares)" |
166 |
- elog " net-fs/sshfs (mounting sftp shares)" |
167 |
- elog " virtual/eject (eject via devmon)" |
168 |
- if ! has_version 'sys-fs/udisks' ; then |
169 |
- elog |
170 |
- elog "When using ${PN} without udisks, and without the udisks-daemon running," |
171 |
- elog "you may need to enable kernel polling for device media changes to be detected." |
172 |
- elog "See https://ignorantguru.github.com/${PN}/#polling" |
173 |
- has_version '<virtual/udev-173' && ewarn "You need at least udev-173" |
174 |
- kernel_is lt 2 6 38 && ewarn "You need at least kernel 2.6.38" |
175 |
- einfo |
176 |
- fi |
177 |
-} |