1 |
commit: d97e27eba0bcc78cb1ed0d6918a476f19e5976e7 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 24 19:57:28 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 25 00:02:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d97e27eb |
7 |
|
8 |
sys-fs/eudev: drop 3.2.10-r1 |
9 |
|
10 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
11 |
|
12 |
sys-fs/eudev/Manifest | 1 - |
13 |
sys-fs/eudev/eudev-3.2.10-r1.ebuild | 236 ------------------------------------ |
14 |
sys-fs/eudev/metadata.xml | 1 - |
15 |
3 files changed, 238 deletions(-) |
16 |
|
17 |
diff --git a/sys-fs/eudev/Manifest b/sys-fs/eudev/Manifest |
18 |
index 96e53cf784d9..e963c842d82f 100644 |
19 |
--- a/sys-fs/eudev/Manifest |
20 |
+++ b/sys-fs/eudev/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST eudev-3.2.10.tar.gz 1961960 BLAKE2B 3708c78fad3abad6aa4b2beaaa325e25e118621aa2e6cb351732f6d8349dc17da9be852cab79045c7a513e927c2d1266c6443814fd264943765d98fb5b404e75 SHA512 d0a076d8a54e9d4ca9ca48cf885d082965144b322950d351b7ead4a5035c2dad6fd66b7f137d7281982876c3c50330cdd5e599788f23e1369388181dd178941d |
23 |
DIST eudev-3.2.11.tar.gz 2254373 BLAKE2B cfa6235d6509b751fde93ff2b0961b93c3741458e561a7ad9b07b49a57779627532cff25ad3519e5f79320854fcedfcdc23642ef542505cebcd6b2803067389a SHA512 17b328365913af3e434abe667dd0498c3702a41c6cb66f3793ca2c195b05ac06397b0a401077f81df7dd25193e4eeea13657a221ca6cb3d237c4d91e31e30b33 |
24 |
|
25 |
diff --git a/sys-fs/eudev/eudev-3.2.10-r1.ebuild b/sys-fs/eudev/eudev-3.2.10-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 32609688f692..000000000000 |
28 |
--- a/sys-fs/eudev/eudev-3.2.10-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,236 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI="6" |
35 |
- |
36 |
-KV_min=2.6.39 |
37 |
- |
38 |
-inherit autotools linux-info multilib multilib-minimal toolchain-funcs |
39 |
- |
40 |
-if [[ ${PV} = 9999* ]]; then |
41 |
- EGIT_REPO_URI="https://github.com/gentoo/eudev.git" |
42 |
- inherit git-r3 |
43 |
-else |
44 |
- SRC_URI="https://dev.gentoo.org/~blueness/${PN}/${P}.tar.gz" |
45 |
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
46 |
-fi |
47 |
- |
48 |
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)" |
49 |
-HOMEPAGE="https://github.com/gentoo/eudev" |
50 |
- |
51 |
-LICENSE="LGPL-2.1 MIT GPL-2" |
52 |
-SLOT="0" |
53 |
-IUSE="+hwdb +kmod introspection rule-generator selinux static-libs test" |
54 |
-RESTRICT="!test? ( test )" |
55 |
- |
56 |
-COMMON_DEPEND=">=sys-apps/util-linux-2.20 |
57 |
- virtual/libcrypt:= |
58 |
- introspection? ( >=dev-libs/gobject-introspection-1.38 ) |
59 |
- kmod? ( >=sys-apps/kmod-16 ) |
60 |
- selinux? ( >=sys-libs/libselinux-2.1.9 ) |
61 |
- !<sys-libs/glibc-2.11 |
62 |
- !sys-apps/gentoo-systemd-integration |
63 |
- !sys-apps/systemd" |
64 |
-DEPEND="${COMMON_DEPEND} |
65 |
- dev-util/gperf |
66 |
- virtual/os-headers |
67 |
- virtual/pkgconfig |
68 |
- >=sys-devel/make-3.82-r4 |
69 |
- >=sys-kernel/linux-headers-${KV_min} |
70 |
- test? ( app-text/tree dev-lang/perl )" |
71 |
- |
72 |
-RDEPEND="${COMMON_DEPEND} |
73 |
- acct-group/input |
74 |
- acct-group/kvm |
75 |
- acct-group/render |
76 |
- !<sys-fs/lvm2-2.02.103 |
77 |
- !<sec-policy/selinux-base-2.20120725-r10 |
78 |
- !sys-fs/udev |
79 |
- !sys-apps/systemd" |
80 |
- |
81 |
-PDEPEND=">=sys-fs/udev-init-scripts-26 |
82 |
- hwdb? ( >=sys-apps/hwids-20140304[udev] )" |
83 |
- |
84 |
-MULTILIB_WRAPPED_HEADERS=( |
85 |
- /usr/include/udev.h |
86 |
-) |
87 |
- |
88 |
-pkg_pretend() { |
89 |
- ewarn |
90 |
- ewarn "As of 2013-01-29, ${P} provides the new interface renaming functionality," |
91 |
- ewarn "as described in the URL below:" |
92 |
- ewarn "https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames" |
93 |
- ewarn |
94 |
- ewarn "This functionality is enabled BY DEFAULT because eudev has no means of synchronizing" |
95 |
- ewarn "between the default or user-modified choice of sys-fs/udev. If you wish to disable" |
96 |
- ewarn "this new iface naming, please be sure that /etc/udev/rules.d/80-net-name-slot.rules" |
97 |
- ewarn "exists: touch /etc/udev/rules.d/80-net-name-slot.rules" |
98 |
- ewarn |
99 |
-} |
100 |
- |
101 |
-pkg_setup() { |
102 |
- CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL ~FHANDLE ~NET ~UNIX" |
103 |
- linux-info_pkg_setup |
104 |
- get_running_version |
105 |
- |
106 |
- # These are required kernel options, but we don't error out on them |
107 |
- # because you can build under one kernel and run under another. |
108 |
- if kernel_is lt ${KV_min//./ }; then |
109 |
- ewarn |
110 |
- ewarn "Your current running kernel version ${KV_FULL} is too old to run ${P}." |
111 |
- ewarn "Make sure to run udev under kernel version ${KV_min} or above." |
112 |
- ewarn |
113 |
- fi |
114 |
-} |
115 |
- |
116 |
-src_prepare() { |
117 |
- # change rules back to group uucp instead of dialout for now |
118 |
- sed -e 's/GROUP="dialout"/GROUP="uucp"/' -i rules/*.rules \ |
119 |
- || die "failed to change group dialout to uucp" |
120 |
- |
121 |
- eapply_user |
122 |
- eautoreconf |
123 |
-} |
124 |
- |
125 |
-multilib_src_configure() { |
126 |
- tc-export CC #463846 |
127 |
- export cc_cv_CFLAGS__flto=no #502950 |
128 |
- |
129 |
- # Keep sorted by ./configure --help and only pass --disable flags |
130 |
- # when *required* to avoid external deps or unnecessary compile |
131 |
- local econf_args |
132 |
- econf_args=( |
133 |
- ac_cv_search_cap_init= |
134 |
- ac_cv_header_sys_capability_h=yes |
135 |
- DBUS_CFLAGS=' ' |
136 |
- DBUS_LIBS=' ' |
137 |
- --with-rootprefix= |
138 |
- --with-rootrundir=/run |
139 |
- --exec-prefix="${EPREFIX}" |
140 |
- --bindir="${EPREFIX}"/bin |
141 |
- --includedir="${EPREFIX}"/usr/include |
142 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) |
143 |
- --with-rootlibexecdir="${EPREFIX}"/lib/udev |
144 |
- --enable-split-usr |
145 |
- --enable-manpages |
146 |
- --disable-hwdb |
147 |
- ) |
148 |
- |
149 |
- # Only build libudev for non-native_abi, and only install it to libdir, |
150 |
- # that means all options only apply to native_abi |
151 |
- if multilib_is_native_abi; then |
152 |
- econf_args+=( |
153 |
- --with-rootlibdir="${EPREFIX}"/$(get_libdir) |
154 |
- $(use_enable introspection) |
155 |
- $(use_enable kmod) |
156 |
- $(use_enable static-libs static) |
157 |
- $(use_enable selinux) |
158 |
- $(use_enable rule-generator) |
159 |
- ) |
160 |
- else |
161 |
- econf_args+=( |
162 |
- --disable-static |
163 |
- --disable-introspection |
164 |
- --disable-kmod |
165 |
- --disable-selinux |
166 |
- --disable-rule-generator |
167 |
- ) |
168 |
- fi |
169 |
- ECONF_SOURCE="${S}" econf "${econf_args[@]}" |
170 |
-} |
171 |
- |
172 |
-multilib_src_compile() { |
173 |
- if multilib_is_native_abi; then |
174 |
- emake |
175 |
- else |
176 |
- emake -C src/shared |
177 |
- emake -C src/libudev |
178 |
- fi |
179 |
-} |
180 |
- |
181 |
-multilib_src_install() { |
182 |
- if multilib_is_native_abi; then |
183 |
- emake DESTDIR="${D}" install |
184 |
- else |
185 |
- emake -C src/libudev DESTDIR="${D}" install |
186 |
- fi |
187 |
-} |
188 |
- |
189 |
-multilib_src_test() { |
190 |
- # make sandbox get out of the way |
191 |
- # these are safe because there is a fake root filesystem put in place, |
192 |
- # but sandbox seems to evaluate the paths of the test i/o instead of the |
193 |
- # paths of the actual i/o that results. |
194 |
- # also only test for native abi |
195 |
- if multilib_is_native_abi; then |
196 |
- addread /sys |
197 |
- addwrite /dev |
198 |
- addwrite /run |
199 |
- default_src_test |
200 |
- fi |
201 |
-} |
202 |
- |
203 |
-multilib_src_install_all() { |
204 |
- find "${D}" -name '*.la' -delete || die |
205 |
- |
206 |
- insinto /lib/udev/rules.d |
207 |
- doins "${FILESDIR}"/40-gentoo.rules |
208 |
- |
209 |
- use rule-generator && doinitd "${FILESDIR}"/udev-postmount |
210 |
-} |
211 |
- |
212 |
-pkg_postinst() { |
213 |
- mkdir -p "${EROOT}"run |
214 |
- |
215 |
- # "losetup -f" is confused if there is an empty /dev/loop/, Bug #338766 |
216 |
- # So try to remove it here (will only work if empty). |
217 |
- rmdir "${EROOT}"dev/loop 2>/dev/null |
218 |
- if [[ -d ${EROOT}dev/loop ]]; then |
219 |
- ewarn "Please make sure your remove /dev/loop," |
220 |
- ewarn "else losetup may be confused when looking for unused devices." |
221 |
- fi |
222 |
- |
223 |
- # REPLACING_VERSIONS should only ever have zero or 1 values but in case it doesn't, |
224 |
- # process it as a list. We only care about the zero case (new install) or the case where |
225 |
- # the same version is being re-emerged. If there is a second version, allow it to abort. |
226 |
- local rv rvres=doitnew |
227 |
- for rv in ${REPLACING_VERSIONS} ; do |
228 |
- if [[ ${rvres} == doit* ]]; then |
229 |
- if [[ ${rv%-r*} == ${PV} ]]; then |
230 |
- rvres=doit |
231 |
- else |
232 |
- rvres=${rv} |
233 |
- fi |
234 |
- fi |
235 |
- done |
236 |
- |
237 |
- if use hwdb && has_version 'sys-apps/hwids[udev]'; then |
238 |
- udevadm hwdb --update --root="${ROOT%/}" |
239 |
- |
240 |
- # https://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda |
241 |
- # reload database after it has be rebuilt, but only if we are not upgrading |
242 |
- # also pass if we are -9999 since who knows what hwdb related changes there might be |
243 |
- if [[ ${rvres} == doit* ]] && [[ ${ROOT%/} == "" ]] && [[ ${PV} != "9999" ]]; then |
244 |
- udevadm control --reload |
245 |
- fi |
246 |
- fi |
247 |
- if [[ ${rvres} != doitnew ]]; then |
248 |
- ewarn |
249 |
- ewarn "You need to restart eudev as soon as possible to make the" |
250 |
- ewarn "upgrade go into effect:" |
251 |
- ewarn "\t/etc/init.d/udev --nodeps restart" |
252 |
- fi |
253 |
- |
254 |
- if use rule-generator && \ |
255 |
- [[ -x $(type -P rc-update) ]] && rc-update show | grep udev-postmount | grep -qsv 'boot\|default\|sysinit'; then |
256 |
- ewarn |
257 |
- ewarn "Please add the udev-postmount init script to your default runlevel" |
258 |
- ewarn "to ensure the legacy rule-generator functionality works as reliably" |
259 |
- ewarn "as possible." |
260 |
- ewarn "\trc-update add udev-postmount default" |
261 |
- fi |
262 |
- |
263 |
- elog |
264 |
- elog "For more information on eudev on Gentoo, writing udev rules, and" |
265 |
- elog "fixing known issues visit: https://wiki.gentoo.org/wiki/Eudev" |
266 |
-} |
267 |
|
268 |
diff --git a/sys-fs/eudev/metadata.xml b/sys-fs/eudev/metadata.xml |
269 |
index 4ea35bd6e025..859a60f953f6 100644 |
270 |
--- a/sys-fs/eudev/metadata.xml |
271 |
+++ b/sys-fs/eudev/metadata.xml |
272 |
@@ -5,7 +5,6 @@ |
273 |
<email>eudev@g.o</email> |
274 |
</maintainer> |
275 |
<use> |
276 |
- <flag name="hwdb">read vendor/device string database and add it to udev database</flag> |
277 |
<flag name="kmod">enable module loading through libkmod</flag> |
278 |
<flag name="rule-generator">install legacy rule generator rules and support scripts - note |
279 |
that the functionality within was dropped from <pkg>sys-fs/udev</pkg> as it is not stable in |