Browse Source

Package updates and cleanup

Elisa 5 months ago
parent
commit
9fc6f00363

+ 2 - 0
app-admin/colormap/Manifest View File

@@ -1,4 +1,6 @@
1 1
 DIST v0.2.4.tar.gz 17358 BLAKE2B 1655c6a4e2207f95f892064df78c1d90144b4153e01a53395e82f3235ad24dcc41eb907da6ed68721fdbb1ce4b08ec0ed8a4f8ed1a935bccb6db71b40c676417 SHA512 dff6f4d8b84db901487393ee0dc42d98e970cb623fabde26e74d2c61a08b9a528eff2d73095d0ffe4418811bf229054606b57ee083eb1e5917bb8385acad64a3
2 2
 DIST v0.2.5.tar.gz 17493 BLAKE2B 6f8b89a545ccf928e2268db1579152eb0f739106a4bca6e0371c631da7736c8ec80e97a7908dc6a22067846c53c5a40497c6e4aee99c3a37d3abb1eb43846d77 SHA512 e7845113f948f9562e0d60683d92d3ab724144320f751cc398e92c62b6b334fb0eceebf883ba8fe16a59e81f8f99c722b5ff5fee8bdc191f1b85ad4633bfc7bc
3
+DIST v0.2.6.tar.gz 19677 BLAKE2B c7a42fb1afe7507c7f5551ee8c37fed2de45f75a7101e10d208837abc05a0ebd379e096fb0b7af34b2d61157d66732cae14954d7ffba74061d7f074d50a3cc5b SHA512 e21a39278d4a02890bb1b007a1d166da864799b81308cb7fa7fec32dbb28e29fc1d24079410b21f4251b6c488b4b66b7b884c582d1da1984a4c533711916b9f2
3 4
 EBUILD colormap-0.2.4.ebuild 904 BLAKE2B 639704983b31e7f01f66c01abd13045766dd57d15299a119c46e16a34f7e762de0d266c669651c8532b78a71d78bc8ab4e570b47f2129ce7ae12db68d824c404 SHA512 112d768eea443a6936fc963567911aef734fd38fd665e0bd52949e602a082a50748f21e0725b4fa06fba7e41b23788802ddce2e1d7d2d5f3563d4a96e63c88d1
4 5
 EBUILD colormap-0.2.5.ebuild 904 BLAKE2B 639704983b31e7f01f66c01abd13045766dd57d15299a119c46e16a34f7e762de0d266c669651c8532b78a71d78bc8ab4e570b47f2129ce7ae12db68d824c404 SHA512 112d768eea443a6936fc963567911aef734fd38fd665e0bd52949e602a082a50748f21e0725b4fa06fba7e41b23788802ddce2e1d7d2d5f3563d4a96e63c88d1
6
+EBUILD colormap-0.2.6.ebuild 904 BLAKE2B 639704983b31e7f01f66c01abd13045766dd57d15299a119c46e16a34f7e762de0d266c669651c8532b78a71d78bc8ab4e570b47f2129ce7ae12db68d824c404 SHA512 112d768eea443a6936fc963567911aef734fd38fd665e0bd52949e602a082a50748f21e0725b4fa06fba7e41b23788802ddce2e1d7d2d5f3563d4a96e63c88d1

+ 47 - 0
app-admin/colormap/colormap-0.2.6.ebuild View File

@@ -0,0 +1,47 @@
1
+# Copyright 1999-2016 Gentoo Foundation
2
+# Distributed under the terms of the GNU General Public License v2
3
+# $Id$
4
+
5
+EAPI=5
6
+
7
+PYTHON_COMPAT=( python3_4 python3_5 python3_6 )
8
+
9
+inherit distutils-r1
10
+
11
+DESCRIPTION="Génère des heatmaps à partir de commandes, fichiers systèmes ou données de ping"
12
+HOMEPAGE="http://git.art-software.fr/electron/Colormap"
13
+
14
+if [[ ${PV} == "9999" ]] ; then
15
+	EGIT_REPO_URI="http://git.art-software.fr/electron/Colormap.git"
16
+	inherit git-r3
17
+	SRC_URI=""
18
+else
19
+	SRC_URI="http://git.art-software.fr/electron/Colormap/archive/v${PV}.tar.gz"
20
+	S="${WORKDIR}/${PN}"
21
+fi
22
+KEYWORDS="~amd64 ~x86"
23
+
24
+LICENSE="GPL-3"
25
+SLOT="0"
26
+IUSE=""
27
+
28
+DEPEND="dev-python/wheel"
29
+
30
+# INSTALL contains list of optional deps
31
+DOCS=()
32
+
33
+python_install() {
34
+	distutils-r1_python_install
35
+}
36
+
37
+src_prepare() {
38
+	distutils-r1_src_prepare
39
+}
40
+
41
+src_compile() {
42
+	distutils-r1_src_compile
43
+}
44
+
45
+src_install() {
46
+	distutils-r1_src_install
47
+}

+ 0 - 7
games-util/lutris/Manifest View File

@@ -1,7 +0,0 @@
1
-DIST v0.4.1.tar.gz 825351 SHA256 25225c552cbbddbb6234e30ab04103c6810b7e856938999954d39c70949b9fc2 SHA512 568717957e89a949438ada3d718f9f4e6937bdca339e31a32fe4b568ca99bf1923b1bc718153590fe715454ee9b6e577b13fc34b8002817adbcf2a2d0854e7d5 WHIRLPOOL 9c0324061e8271e0c313fdd28b46cc86d44ddb8d76a041853769fd70d4a5d69b77330ff7854c3d3947f720b3c0edd01b5fb3743325cac89a44617bf499b450b6
2
-DIST v0.4.13.tar.gz 1028111 SHA256 720ee375104af791f42298ea8d3beb5353ecbb8e933706768d95065724f17114 SHA512 006e4cc237a60bd925cee87046664f766686a15c692f7717e6fd25bee377880bd96f788309966e8e0dabdf2c938e0da0f8914c7e70554f216b8513aa41bc808a WHIRLPOOL 64f96116b6b448097c6de9bc955902669aa787a865604763a90dac0cc7a8712a0a484bf2dbe75144cb21f031c35f3f7a005845b8e2a38ed6a3fcd5c17ec67de0
3
-DIST v0.4.2.tar.gz 827877 SHA256 43b5a8780f597bf4c24c08dc2654183375cb0a7ec252e8b88539319e0af38d6a SHA512 23797d814db1ecec2499e5e4df821ae2bbca2d7733f54cbe747c3a2ae80e45e8e8b6556fd96f0e20d7354fd258d383911a60e7d4111ed8ee9a1279376a6ce0ff WHIRLPOOL e5682abb23ee002c56f7c9802390466b6ebb2bab5d30fe559e2b59784402a1ecde7b07911721443e31fbc81c2dc4b1a2b5ef30b0687ae8fd33a106e0e20c018c
4
-EBUILD lutris-0.4.1.ebuild 1388 SHA256 072ed275e765b473de3f08b5d42f495a342bdb23a1cadc3c498e26b09af97aad SHA512 a409ed0ba158634791597b92e908349667c7cd84686f5291e873a420920679d04226e1a2f57083b679d2f28f4891fb7cc8659eca11475b036a1f46879bd27600 WHIRLPOOL f289a69c00f5bb00233cf6cd213c09c5bddd2b290a6ef7b7edb9f6a303c17bf8cf10a20c12dc3b29f6e3cd7fcf64c854a00d6c9e2ba8a97a5841d0d5069f305b
5
-EBUILD lutris-0.4.13.ebuild 1367 SHA256 f322d26fd8a89b191f0f6be0dc4262fe4c60b6cbc4428c3a6ec3f9d4d2279af0 SHA512 a124264490b6ad6fd43823d59b790cc7a170e5f34f778717518877e12630818b10bc7feed1968cbcc217b413233b127cf65d23291cc56275523792bb32395830 WHIRLPOOL 48db9a4ab3d9a08cebb23cc0985901a805c60d9aede3373da3e3b840926e117b371b2ed5711c0a031badf95029a8c56bce96f8a3e0607248b8e3dc7195da3ae5
6
-EBUILD lutris-0.4.2-r2.ebuild 1455 SHA256 7b41e10e099f9d4a7d6306f86c0fededeec2977a95ffa0f51933cdb1d0dff321 SHA512 f0596ac41085ea8a47480d74fd0c5064be6ced7e9fd3ca7672795d01ce609e6b863b39ceef04cd233142b8186ac47e7d34334587f569d77d019be337a4d07828 WHIRLPOOL f42ce38b3a6d916ea3feba09e17d67a64ce72ece3d382ea06c465c64b9d3709551da73463c22823f08401eb11dd3257b0ce46250b50bf211de6f567fbdb7ea74
7
-MISC metadata.xml 764 SHA256 c0cb6a782dda80e2db500d0f26935ed56604e6f4ff0bcdf4a952575aa9567993 SHA512 c3e4afd0c4fac7adefb5614d41eb56f27d96645364134110509b1bfed695cc16f4b8f289877122158c2ebccdb2742b5056838c2d19f9ebd7da16775379021759 WHIRLPOOL a09dd78fa4ae78084697f9c675f955d42927d0bcad5f28469be7a5e54aefc72d844733361194efca535d52b1168ba1feae1acf34a223b48593df15a0c72f11ef

+ 0 - 78
games-util/lutris/lutris-0.4.1.ebuild View File

@@ -1,78 +0,0 @@
1
-# Copyright 1999-2016 Gentoo Foundation
2
-# Distributed under the terms of the GNU General Public License v2
3
-# $Id$
4
-
5
-EAPI=5
6
-
7
-PYTHON_COMPAT=( python3_4 python3_5 )
8
-
9
-inherit distutils-r1 gnome2-utils
10
-
11
-DESCRIPTION="Lutris is an open source gaming platform for GNU/Linux."
12
-HOMEPAGE="http://lutris.net/"
13
-
14
-if [[ ${PV} == "9999" ]] ; then
15
-	EGIT_REPO_URI="https://github.com/lutris/${PN}.git"
16
-	inherit git-r3
17
-	SRC_URI=""
18
-	#KEYWORDS=""
19
-else
20
-	SRC_URI="https://github.com/lutris/${PN}/archive/v${PV}.tar.gz"
21
-	KEYWORDS="~amd64 ~x86"
22
-fi
23
-
24
-LICENSE="GPL-3"
25
-SLOT="0"
26
-IUSE="inotify"
27
-
28
-RDEPEND="
29
-	dev-python/dbus-python
30
-	dev-python/pygobject:3[threads]
31
-	inotify? ( dev-python/pyinotify )
32
-	dev-python/pyyaml
33
-	dev-python/pyxdg
34
-	net-libs/libsoup
35
-	x11-apps/xrandr
36
-	x11-apps/xgamma
37
-	x11-misc/xdg-utils"
38
-DEPEND="
39
-	${RDEPEND}
40
-	dev-python/wheel
41
-"
42
-
43
-# INSTALL contains list of optional deps
44
-DOCS=( AUTHORS README.rst INSTALL.rst )
45
-
46
-python_install() {
47
-	distutils-r1_python_install
48
-}
49
-
50
-src_prepare() {
51
-	distutils-r1_src_prepare
52
-}
53
-
54
-src_compile() {
55
-	distutils-r1_src_compile
56
-}
57
-
58
-src_install() {
59
-	distutils-r1_src_install
60
-}
61
-
62
-pkg_preinst() {
63
-	gnome2_icon_savelist
64
-	gnome2_schemas_savelist
65
-}
66
-
67
-pkg_postinst() {
68
-	gnome2_icon_cache_update
69
-	gnome2_schemas_update
70
-
71
-	elog "For a list of optional dependencies (runners) see:"
72
-	elog "/usr/share/doc/${PF}/INSTALL.rst"
73
-}
74
-
75
-pkg_postrm() {
76
-	gnome2_icon_cache_update
77
-	gnome2_schemas_update
78
-}

+ 0 - 75
games-util/lutris/lutris-0.4.13.ebuild View File

@@ -1,75 +0,0 @@
1
-# Copyright 1999-2016 Gentoo Foundation
2
-# Distributed under the terms of the GNU General Public License v2
3
-# $Id$
4
-
5
-EAPI=5
6
-
7
-PYTHON_COMPAT=( python3_4 python3_5 python3_6 )
8
-
9
-inherit distutils-r1 gnome2-utils
10
-
11
-DESCRIPTION="Lutris is an open source gaming platform for GNU/Linux."
12
-HOMEPAGE="http://lutris.net/"
13
-
14
-if [[ ${PV} == "9999" ]] ; then
15
-	EGIT_REPO_URI="https://github.com/lutris/${PN}.git"
16
-	inherit git-r3
17
-	SRC_URI=""
18
-	#KEYWORDS=""
19
-else
20
-	SRC_URI="https://github.com/lutris/${PN}/archive/v${PV}.tar.gz"
21
-	KEYWORDS="~amd64 ~x86"
22
-fi
23
-
24
-LICENSE="GPL-3"
25
-SLOT="0"
26
-IUSE="inotify"
27
-
28
-RDEPEND="
29
-	dev-python/pygobject:3[threads]
30
-	inotify? ( dev-python/pyinotify )
31
-	dev-python/pyyaml
32
-	dev-python/python-evdev"
33
-DEPEND="
34
-	${RDEPEND}
35
-	dev-python/wheel
36
-"
37
-
38
-# INSTALL contains list of optional deps
39
-DOCS=( AUTHORS README.rst INSTALL.rst )
40
-
41
-python_install() {
42
-	distutils-r1_python_install
43
-}
44
-
45
-src_prepare() {
46
-	distutils-r1_src_prepare
47
-}
48
-
49
-src_compile() {
50
-	distutils-r1_src_compile
51
-}
52
-
53
-src_install() {
54
-	distutils-r1_src_install
55
-}
56
-
57
-pkg_preinst() {
58
-	gnome2_icon_savelist
59
-	gnome2_schemas_savelist
60
-}
61
-
62
-pkg_postinst() {
63
-	gnome2_icon_cache_update
64
-	gnome2_schemas_update
65
-	xdg_desktop_database_update
66
-
67
-	elog "For a list of optional dependencies (runners) see:"
68
-	elog "/usr/share/doc/${PF}/INSTALL.rst"
69
-}
70
-
71
-pkg_postrm() {
72
-	gnome2_icon_cache_update
73
-	gnome2_schemas_update
74
-	xdg_desktop_database_update
75
-}

+ 0 - 79
games-util/lutris/lutris-0.4.2-r2.ebuild View File

@@ -1,79 +0,0 @@
1
-# Copyright 1999-2016 Gentoo Foundation
2
-# Distributed under the terms of the GNU General Public License v2
3
-# $Id$
4
-
5
-EAPI=5
6
-
7
-PYTHON_COMPAT=( python3_4 python3_5 python3_6 )
8
-
9
-inherit distutils-r1 gnome2-utils
10
-
11
-DESCRIPTION="Lutris is an open source gaming platform for GNU/Linux."
12
-HOMEPAGE="http://lutris.net/"
13
-
14
-if [[ ${PV} == "9999" ]] ; then
15
-	EGIT_REPO_URI="https://github.com/lutris/${PN}.git"
16
-	inherit git-r3
17
-	SRC_URI=""
18
-	#KEYWORDS=""
19
-else
20
-	SRC_URI="https://github.com/lutris/${PN}/archive/v${PV}.tar.gz"
21
-	KEYWORDS="~amd64 ~x86"
22
-fi
23
-
24
-LICENSE="GPL-3"
25
-SLOT="0"
26
-IUSE="dbus evdev inotify"
27
-
28
-RDEPEND="
29
-	dev-python/pygobject:3[threads]
30
-	dbus? ( dev-python/dbus-python )
31
-	inotify? ( dev-python/pyinotify )
32
-	evdev? ( dev-python/python-evdev )
33
-	dev-python/pyyaml
34
-	dev-python/pyxdg
35
-	net-libs/libsoup
36
-	x11-apps/xrandr
37
-	x11-apps/xgamma
38
-	x11-misc/xdg-utils"
39
-DEPEND="
40
-	${RDEPEND}
41
-	dev-python/wheel
42
-"
43
-
44
-# INSTALL contains list of optional deps
45
-DOCS=( AUTHORS README.rst INSTALL.rst )
46
-
47
-python_install() {
48
-	distutils-r1_python_install
49
-}
50
-
51
-src_prepare() {
52
-	distutils-r1_src_prepare
53
-}
54
-
55
-src_compile() {
56
-	distutils-r1_src_compile
57
-}
58
-
59
-src_install() {
60
-	distutils-r1_src_install
61
-}
62
-
63
-pkg_preinst() {
64
-	gnome2_icon_savelist
65
-	gnome2_schemas_savelist
66
-}
67
-
68
-pkg_postinst() {
69
-	gnome2_icon_cache_update
70
-	gnome2_schemas_update
71
-
72
-	elog "For a list of optional dependencies (runners) see:"
73
-	elog "/usr/share/doc/${PF}/INSTALL.rst"
74
-}
75
-
76
-pkg_postrm() {
77
-	gnome2_icon_cache_update
78
-	gnome2_schemas_update
79
-}

+ 0 - 20
games-util/lutris/metadata.xml View File

@@ -1,20 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
-<!--
4
-This is the example metadata file.
5
-The root element of this file is <pkgmetadata>. Within this element a
6
-number of subelements are allowed, the most common being maintainer.
7
-
8
-For a full description look at:
9
-https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/
10
-
11
-Before committing, please remove the comments from this file. They are
12
-not relevant for general metadata.xml files.
13
--->
14
-<pkgmetadata>
15
-<maintainer type="person">
16
-	<email>adrien.sohier@art-software.fr</email>
17
-	<description>Primary maintainer</description>
18
-</maintainer>
19
-<longdescription>Lutris client - Open Source gaming platform for GNU/Linux</longdescription>
20
-</pkgmetadata>

+ 0 - 10
sys-fs/eudev/Manifest View File

@@ -1,10 +0,0 @@
1
-AUX 40-gentoo.rules 365 SHA256 e11d66732dc0d629fdb8c06357db8be5339f2ecf28c2572c5af8637449f549ec SHA512 7554879eaeb12869a78835e4ac814b63c41ddd8715ff9b8d1b75e5b13edf697906371eb10d6c4f0a4c6cb9a44b21a4839985811a3357e18d3b8a842181666e0b WHIRLPOOL 54d962fa515255df5f37bc5c71a3774a909a809809138dba12ed22c6fda78ef336f4e98014f37dbc44289de1ba08f5f2ea31311e14b29a0bbe2cc3d6587d7425
2
-AUX eudev-3.1.5-sysmacros.patch 278 SHA256 b38b2ee9152133c441e7d76b317a4b0d78caedc0441b0e7301176940a8ce1431 SHA512 37b5ddaf4266deeb65aa3fa9a59700fc8b1f4cc82fb962c0694780c5e1f3bb48f73c6cc5790a3d4c7eafcbe3b2b59cf1b80bffacab42400e25a014ac69d99597 WHIRLPOOL ee86d3cac4199e767842813084a29b312daa9c773ac32b551e3549be1301e98b399cb349d0c36c73647077fb2ec965753df9e1d08848c95f3a30e10618017ea5
3
-AUX eudev-exclude-MD.patch 2887 SHA256 3e9889862756ad7b683593e5a63316b4531a1836bec324c0dec647339f53cf53 SHA512 955013bcb849f156b8c3b17d99c52699ac371b05c0fa866a473b7db049c77cd86ef41192301bf78af97ea944e8e6d09e60288348198b73f340517fd2be19004b WHIRLPOOL 745b16d56a6000d88a2b711a21bbbfe1d96a9d33d8eb6d9e51491a26266924b5092cf8b8a4ffa5f0247887a3ef0a83b2ea4c8ee8ad620c601b9f7ae8e530c57a
4
-AUX eudev-fix-disk-by-id.patch 2381 SHA256 3f1e1bcbcfeb024b09f5e80210f24a89fd0bba254633f60856513c10a4af9579 SHA512 f5a6fdeaaebb64d4086c153ab0629cc826be961a3f8f7f5bbf4283617cb30b1f228e983ef76f023805ea00bff2b1f5c903a549c0d4675227b94c104f69e3fefe WHIRLPOOL 0e73e4c3b0e2b285c519eb12d6fa85f18f153b0a030803af07381cfece35beffb79e70d933c01ca28b1f0c4cad1f2bd650954ccd93260fe6272a48a70bec79e3
5
-AUX eudev-fix-selinux-headers.patch 788 SHA256 5845b7b5e337e7202fe9dede75d9f4c6b70ce5cb25252397bd16419e634981d5 SHA512 ee11d435bb40e64fa3f88799be3e803e30d779009389b5faecd6416fa8eebee36e55ec7e2d59c4894268881f838ea94ba56240a425694fdbfd9dc5fe297c1bcb WHIRLPOOL 14c086d5bc37933b7ac2e0b3b54d65cbe2c8a8afefe798c1ead516bb36196b783c4cbb13abf298be8918915bde3c4475a74545a793fed4393a93d67c719c773a
6
-AUX eudev-fix-selinux-linking.patch 919 SHA256 9d40fe52fa899334725e40b6cf56a92e7b1e276bfc15315026e8330a22125860 SHA512 27f15fb1ead796206cbbbd7296813303b01aaae35f67388dd7e126e1fab07231cad5735cb63d5a4bbade0d9736949af76c4cff9119be14f3bbeef8014e02daa1 WHIRLPOOL fb4a49beea0bdf8c91c78fbf314e8737ad7c2f26b374c921005a5171d34d672ffdeb5f0fa7198a9574ba822ac6cd59c321c9073149035d773c1c8f3331eabb20
7
-AUX udev-postmount 1208 SHA256 b0327069dbb57b39600079b87df80915dabb77c2fa298d6ae109ca04f8ba08b5 SHA512 8ef1b911843ab13acb1c1b9b7a0a5cd76659f395c3db9e579429556f23eacebb414507dc0231e2455e7589bc70054fa1e6b6dd93dd833f7101c0da0597aabf88 WHIRLPOOL d5263b61f1531822b9fd9f994d796c4328d7c4ccc0958bca27ca2c64b44549e5ca73334c94fd0e58aebc0f136ed8d60429736c2b8ee79d49572108525f362d45
8
-DIST eudev-3.1.5.tar.gz 1745524 SHA256 f75885a430cd50fe4b31732f808ba7f9b2adf0f26b53b8ba2957b0c1d84b6f2a SHA512 c5192e085ca4230aaac918e701989b712e5bda1558db31eb6ba635c17c4bdff398458d51cefbc5fb77a7c775ec1e04b1dbe019b8314cac3f43a5c1ae61521b5e WHIRLPOOL bc845c474101635c039515489e1316053156d3dd5f9c915c312324b9a1a6168f831e7476eeff834487fc83289e5d5eea2ba764c10bb6628b7c18d188de5f3846
9
-EBUILD eudev-3.1.5.ebuild 7346 SHA256 180abda8b7913b732890fdeeb2c40cbb897917a0a478efc2885b41ca02c544ad SHA512 a62b8481cfedf2bbb4a071c19e02cf87279628bebf925aacc582b4aac0c60f5d67d71663544b0ef6dc18da8e6a9b88e5aaecd8d5497b80b25c5d8ce4dc3c7f65 WHIRLPOOL 9c9b0f859a017701bfde7a8a34f9f352adc4432c76c5b5681239070a093a4a2506d792d293d75fdfd8ee80509d4d8d93603abe66ad71d698741863a5f31bd195
10
-MISC metadata.xml 1157 SHA256 ba03136f85c5709e7a5d6759ac8552626420aac0e192ea738a9d2846f97dfd13 SHA512 cff7201ebbe8f4d3de081755c7b2fab115cbde63f73dec4bb4d9a3e878ee62ff28559e4fed2ad0e571c5448029c4f3162466011dfcbc1efcb5296864d6f5ffcb WHIRLPOOL 9e7e177d3d73cd96b8c8de4f928045e2d92a41202ccfd1201f657e43efd5ed24399f412ccc2057aaef894fb6f928f2aadc252c1c16b39a6fa738edb5d7da5d8c

+ 0 - 243
sys-fs/eudev/eudev-3.1.5.ebuild View File

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

+ 0 - 10
sys-fs/eudev/files/40-gentoo.rules View File

@@ -1,10 +0,0 @@
1
-# do not edit this file, it will be overwritten on update
2
-
3
-# Propably unrequired, check how it is with OSS/OSS4, then remove
4
-SUBSYSTEM=="snd", GROUP="audio"
5
-
6
-# Gentoo specific usb group
7
-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb"
8
-
9
-# Keep this for Linux 2.6.32 support wrt #457868
10
-SUBSYSTEM=="mem", KERNEL=="null|zero|full|random|urandom", MODE="0666"

+ 0 - 10
sys-fs/eudev/files/eudev-3.1.5-sysmacros.patch View File

@@ -1,10 +0,0 @@
1
---- a/src/libudev/libudev.h	2017-09-02 08:04:46.391155066 +0200
2
-+++ b/src/libudev/libudev.h	2017-09-02 07:59:57.522741156 +0200
3
-@@ -23,6 +23,7 @@
4
- #include <stdarg.h>
5
- #include <sys/types.h>
6
- #include <sys/stat.h>
7
-+#include <sys/sysmacros.h>
8
- 
9
- #ifdef __cplusplus
10
- extern "C" {

+ 0 - 52
sys-fs/eudev/files/eudev-exclude-MD.patch View File

@@ -1,53 +0,0 @@
1
-From 2e5b17d01347d3c3118be2b8ad63d20415dbb1f0 Mon Sep 17 00:00:00 2001
2
-From: Kay Sievers <kay@vrfy.org>
3
-Date: Thu, 24 Jul 2014 23:37:35 +0200
4
-Subject: [PATCH] udev: exclude MD from block device ownership event locking
5
-
6
-MD instantiates devices at open(). This is incomptible with the
7
-locking logic, as the "change" event emitted when stopping a
8
-device will bring it back.
9
----
10
- src/udev/udevd.c | 23 +++++++----------------
11
- 1 file changed, 7 insertions(+), 16 deletions(-)
12
-
13
-diff --git a/src/udev/udevd.c b/src/udev/udevd.c
14
-index a45d324..db935d6 100644
15
---- a/src/udev/udevd.c
16
-+++ b/src/udev/udevd.c
17
-@@ -285,26 +285,17 @@ static void worker_new(struct event *event)
18
-                                 udev_event->exec_delay = exec_delay;
19
- 
20
-                         /*
21
--                         * Take a "read lock" on the device node; this establishes
22
-+                         * Take a shared lock on the device node; this establishes
23
-                          * a concept of device "ownership" to serialize device
24
--                         * access. External processes holding a "write lock" will
25
-+                         * access. External processes holding an exclusive lock will
26
-                          * cause udev to skip the event handling; in the case udev
27
--                         * acquired the lock, the external process will block until
28
-+                         * acquired the lock, the external process can block until
29
-                          * udev has finished its event handling.
30
-                          */
31
--
32
--                        /*
33
--                         * <kabi_> since we make check - device seems unused - we try
34
--                         *         ioctl to deactivate - and device is found to be opened
35
--                         * <kay> sure, you try to take a write lock
36
--                         * <kay> if you get it udev is out
37
--                         * <kay> if you can't get it, udev is busy
38
--                         * <kabi_> we cannot deactivate openned device  (as it is in-use)
39
--                         * <kay> maybe we should just exclude dm from that thing entirely
40
--                         * <kabi_> IMHO this sounds like a good plan for this moment
41
--                         */
42
--                        if (streq_ptr("block", udev_device_get_subsystem(dev)) &&
43
--                            !startswith(udev_device_get_sysname(dev), "dm-")) {
44
-+                        if (!streq_ptr(udev_device_get_action(dev), "remove") &&
45
-+                            streq_ptr("block", udev_device_get_subsystem(dev)) &&
46
-+                            !startswith(udev_device_get_sysname(dev), "dm-") &&
47
-+                            !startswith(udev_device_get_sysname(dev), "md")) {
48
-                                 struct udev_device *d = dev;
49
- 
50
-                                 if (streq_ptr("partition", udev_device_get_devtype(d)))
51
-1.8.5.5
52
-

+ 0 - 43
sys-fs/eudev/files/eudev-fix-disk-by-id.patch View File

@@ -1,43 +0,0 @@
1
-diff -ruN eudev-3.2.2-orig/rules/60-persistent-storage.rules eudev-3.2.2-new/rules/60-persistent-storage.rules
2
---- eudev-3.2.2-orig/rules/60-persistent-storage.rules	2016-12-11 16:41:58.000000000 +0100
3
-+++ eudev-3.2.2-new/rules/60-persistent-storage.rules	2017-04-26 23:14:04.197109882 +0200
4
-@@ -83,6 +83,9 @@
5
- # by-id (World Wide Name)
6
- ENV{DEVTYPE}=="disk", ENV{ID_WWN_WITH_EXTENSION}=="?*", SYMLINK+="disk/by-id/wwn-$env{ID_WWN_WITH_EXTENSION}"
7
- ENV{DEVTYPE}=="partition", ENV{ID_WWN_WITH_EXTENSION}=="?*", SYMLINK+="disk/by-id/wwn-$env{ID_WWN_WITH_EXTENSION}-part%n"
8
-+#(Temporary) Compatibility rule for old broken WWNs in case some uses them:
9
-+ENV{DEVTYPE}=="disk", ENV{ID_WWN_WITH_EXTENSION_REVERSED_DO_NOT_USE}=="?*", SYMLINK+="disk/by-id/wwn-$env{ID_WWN_WITH_EXTENSION_REVERSED_DO_NOT_USE}"
10
-+ENV{DEVTYPE}=="partition", ENV{ID_WWN_WITH_EXTENSION_REVERSED_DO_NOT_USE}=="?*", SYMLINK+="disk/by-id/wwn-$env{ID_WWN_WITH_EXTENSION_REVERSED_DO_NOT_USE}-part%n"
11
- 
12
- # by-partlabel/by-partuuid links (partition metadata)
13
- ENV{ID_PART_ENTRY_UUID}=="?*", SYMLINK+="disk/by-partuuid/$env{ID_PART_ENTRY_UUID}"
14
-diff -ruN eudev-3.2.2-orig/src/ata_id/ata_id.c eudev-3.2.2-new/src/ata_id/ata_id.c
15
---- eudev-3.2.2-orig/src/ata_id/ata_id.c	2016-11-17 22:14:19.000000000 +0100
16
-+++ eudev-3.2.2-new/src/ata_id/ata_id.c	2017-04-26 23:18:51.116127146 +0200
17
-@@ -645,10 +645,22 @@
18
-                  * All other values are reserved.
19
-                  */
20
-                 word = identify.wyde[108];
21
--                if ((word & 0xf000) == 0x5000)
22
--                        printf("ID_WWN=0x%1$"PRIu64"x\n"
23
--                               "ID_WWN_WITH_EXTENSION=0x%1$"PRIu64"x\n",
24
--                               identify.octa[108/4]);
25
-+                if ((word & 0xf000) == 0x5000){
26
-+			uint64_t wwn;
27
-+
28
-+			wwn = identify.wyde[108];
29
-+			wwn <<= 16;
30
-+			wwn |= identify.wyde[109];
31
-+			wwn <<= 16;
32
-+			wwn |= identify.wyde[110];
33
-+			wwn <<= 16;
34
-+			wwn |= identify.wyde[111]; /* Could possibly done nicer ? */ 
35
-+                        printf("ID_WWN=0x%1$" PRIx64 "\n"
36
-+                               "ID_WWN_WITH_EXTENSION=0x%1$" PRIx64 "\n",
37
-+                               wwn);
38
-+			printf("ID_WWN_WITH_EXTENSION_REVERSED_DO_NOT_USE=0x%" PRIu64 "x\n",
39
-+			       identify.octa[108/4]);
40
-+		}
41
- 
42
-                 /* from Linux's include/linux/ata.h */
43
-                 if (identify.wyde[0] == 0x848a ||

+ 0 - 31
sys-fs/eudev/files/eudev-fix-selinux-headers.patch View File

@@ -1,32 +0,0 @@
1
-From 361aa273d6fedda161c14b24302f009a58331693 Mon Sep 17 00:00:00 2001
2
-From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= <amade@asmblr.net>
3
-Date: Tue, 2 Sep 2014 21:20:24 +0200
4
-Subject: [PATCH] fix SELINUX build
5
-MIME-Version: 1.0
6
-Content-Type: text/plain; charset=UTF-8
7
-Content-Transfer-Encoding: 8bit
8
-
9
-Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
10
----
11
- src/shared/label.c | 5 +++++
12
- 1 file changed, 5 insertions(+)
13
-
14
-diff --git a/src/shared/label.c b/src/shared/label.c
15
-index 3c6277a..e674241 100644
16
---- a/src/shared/label.c
17
-+++ b/src/shared/label.c
18
-@@ -23,6 +23,11 @@
19
- #include <sys/socket.h>
20
- #include <sys/un.h>
21
- 
22
-+#ifdef HAVE_SELINUX
23
-+#include <selinux/selinux.h>
24
-+#include <selinux/label.h>
25
-+#endif
26
-+
27
- #include "label.h"
28
- #include "util.h"
29
- #include "path-util.h"
30
-2.1.0
31
-

+ 0 - 29
sys-fs/eudev/files/eudev-fix-selinux-linking.patch View File

@@ -1,30 +0,0 @@
1
-From e7f7217b9b9dbb3304116eae2b0ad90c84ede034 Mon Sep 17 00:00:00 2001
2
-From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= <amade@asmblr.net>
3
-Date: Wed, 3 Sep 2014 11:01:31 +0200
4
-Subject: [PATCH] link libudev against SELINUX
5
-MIME-Version: 1.0
6
-Content-Type: text/plain; charset=UTF-8
7
-Content-Transfer-Encoding: 8bit
8
-
9
-Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
10
----
11
- src/libudev/Makefile.am | 3 ++-
12
- 1 file changed, 2 insertions(+), 1 deletion(-)
13
-
14
-diff --git a/src/libudev/Makefile.am b/src/libudev/Makefile.am
15
-index 868a9fc..72e43bc 100644
16
---- a/src/libudev/Makefile.am
17
-+++ b/src/libudev/Makefile.am
18
-@@ -54,7 +54,8 @@ libudev_la_LDFLAGS = \
19
- 	-Wl,--version-script=$(top_srcdir)/src/libudev/libudev.sym
20
- 
21
- libudev_la_LIBADD = \
22
--	$(top_builddir)/src/shared/libudev_shared.la
23
-+	$(top_builddir)/src/shared/libudev_shared.la \
24
-+	$(SELINUX_LIBS)
25
- 
26
- libudev_private_la_SOURCES = \
27
- 	$(libudev_la_SOURCES) \
28
-2.1.0
29
-

+ 0 - 55
sys-fs/eudev/files/udev-postmount View File

@@ -1,55 +0,0 @@
1
-#!/sbin/openrc-run
2
-# Copyright 1999-2013 Gentoo Foundation
3
-# Distributed under the terms of the GNU General Public License v2
4
-
5
-depend()
6
-{
7
-	need localmount
8
-	keyword -vserver -lxc
9
-}
10
-
11
-dir_writeable()
12
-{
13
-        touch "$1"/.test.$$ 2>/dev/null && rm "$1"/.test.$$
14
-}
15
-
16
-# store persistent-rules that got created while booting
17
-# when / was still read-only
18
-store_persistent_rules()
19
-{
20
-	# create /etc/udev/rules.d if it does not exist and /etc/udev is writable
21
-	[ -d /etc/udev/rules.d ] || \
22
-		dir_writeable /etc/udev && \
23
-		mkdir -p /etc/udev/rules.d
24
-
25
-	# only continue if rules-directory is writable
26
-	dir_writeable /etc/udev/rules.d || return 0
27
-
28
-	local file dest
29
-	for file in /run/udev/tmp-rules--*; do
30
-		dest=${file##*tmp-rules--}
31
-		[ "$dest" = '*' ] && break
32
-		type=${dest##70-persistent-}
33
-		type=${type%%.rules}
34
-		ebegin "Saving udev persistent ${type} rules to /etc/udev/rules.d"
35
-		cat "$file" >> /etc/udev/rules.d/"$dest" && rm -f "$file"
36
-		eend $? "Failed moving persistent rules!"
37
-	done
38
-}
39
-
40
-start()
41
-{
42
-	# check if this system uses udev
43
-	[ -d /run/udev ] || return 0
44
-
45
-	# store persistent-rules that got created while booting
46
-	# when / was still read-only
47
-	store_persistent_rules
48
-}
49
-
50
-stop()
51
-{
52
-	return 0
53
-}
54
-
55
-# vim:ts=4

+ 0 - 24
sys-fs/eudev/metadata.xml View File

@@ -1,24 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
-<pkgmetadata>
4
-  <maintainer type="project">
5
-    <email>eudev@gentoo.org</email>
6
-  </maintainer>
7
-  <use>
8
-    <flag name="blkid">enable blkid support</flag>
9
-    <flag name="efi">enable EFI support</flag>
10
-    <flag name="gudev">enable libudev gobject interface</flag>
11
-    <flag name="hwdb">read vendor/device string database and add it to udev database</flag>
12
-    <flag name="keymap">map custom hardware's multimedia keys</flag>
13
-    <flag name="kmod">enable module loading through libkmod</flag>
14
-    <flag name="modutils">enable module loading support - use modutils calls if kmod not enabled</flag>
15
-    <flag name="openrc">install the OpenRC init scripts</flag>
16
-    <flag name="smack">enable SMACK security model</flag>
17
-    <flag name="rule-generator">install legacy rule generator rules and support scripts - note
18
-    that the functionality within was dropped from sys-fs/udev as it is not stable in
19
-    all cases; use at your own risk</flag>
20
-  </use>
21
-  <upstream>
22
-    <remote-id type="github">gentoo/eudev</remote-id>
23
-  </upstream>
24
-</pkgmetadata>