summaryrefslogtreecommitdiff
path: root/net-misc
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/Manifest.gzbin54277 -> 54276 bytes
-rw-r--r--net-misc/gnome-remote-desktop/Manifest2
-rw-r--r--net-misc/gnome-remote-desktop/gnome-remote-desktop-43.2.ebuild73
-rw-r--r--net-misc/iputils/Manifest5
-rw-r--r--net-misc/iputils/iputils-20221126-r1.ebuild (renamed from net-misc/iputils/iputils-20221126.ebuild)64
-rw-r--r--net-misc/iputils/iputils-99999999.ebuild66
-rw-r--r--net-misc/networkmanager/Manifest6
-rw-r--r--net-misc/networkmanager/networkmanager-1.40.10.ebuild418
-rw-r--r--net-misc/networkmanager/networkmanager-1.40.6.ebuild418
-rw-r--r--net-misc/networkmanager/networkmanager-1.40.8.ebuild418
-rw-r--r--net-misc/xmrig/Manifest7
-rw-r--r--net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch70
-rw-r--r--net-misc/xmrig/xmrig-6.18.1-r1.ebuild (renamed from net-misc/xmrig/xmrig-6.18.1.ebuild)3
-rw-r--r--net-misc/xmrig/xmrig-6.19.0-r1.ebuild (renamed from net-misc/xmrig/xmrig-6.19.0.ebuild)1
-rw-r--r--net-misc/xmrig/xmrig-9999.ebuild3
15 files changed, 104 insertions, 1450 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz
index c562c69b164c..1a1f054dd6f6 100644
--- a/net-misc/Manifest.gz
+++ b/net-misc/Manifest.gz
Binary files differ
diff --git a/net-misc/gnome-remote-desktop/Manifest b/net-misc/gnome-remote-desktop/Manifest
index 6502cc15474f..cf58ed8ae2ca 100644
--- a/net-misc/gnome-remote-desktop/Manifest
+++ b/net-misc/gnome-remote-desktop/Manifest
@@ -1,5 +1,3 @@
-DIST gnome-remote-desktop-43.2.tar.xz 195984 BLAKE2B 7f6bcf142f98a1b6f357cbc6bb651c63bcae5360a52a83ac44b8eea8f0f3bcdb29c23ec4d973ee40b29ebc0ff59958468a236238b50e68a886e31334a45f5c5c SHA512 e7e9c36e04a7273cb1700859d59ab8130bca7103c3def7f51a6df31b98f6021b9ceb15d2f9e71fef2464141dcd01d467e126731028d7dd6b6ec843dd52b1e8d4
DIST gnome-remote-desktop-43.3.tar.xz 196540 BLAKE2B a33dcb830cd5ed0e9c44da8717a7c621231a97a0d503daa007d6d4c47feb83e16905f61a9ebe60ce5231b7fbad035ab24603284f9c9212ccb48dab90cb845a5c SHA512 67dc7c4ab7d2db9ef843e30b688e024ed91341c09fbf4c7d33f4c1d8b7d9d3564fb64bc948b12f2aee3ca8a545fb21842ce79970ec1ddaf99fd64c41a44b8f59
-EBUILD gnome-remote-desktop-43.2.ebuild 1368 BLAKE2B b579aab040bebf357e960ba6f65813026023a63dc5023f4079dc5b7b3fe38d71fe7c1dd549ea541d90bb5f23c017e89900c56987eefbaf96e5868e152efefd33 SHA512 68ec11a3b414a8847900f9900af4beeacd9a6e45b0958afda0e4fa5351a539ba2caede34e0a6bb9649d56d4a113bd1e20e7fc55cabf8da2e0240d65d70846651
EBUILD gnome-remote-desktop-43.3.ebuild 1368 BLAKE2B a35a6b6f2d7de6fce39bb9afc777a77800dbfd3daa568912256ed82f68cc834feb0d4e94395e179ae1e4ac2963353d96f569dacc27011953c44c6dcc3f38033a SHA512 eeb72aa501adc54fc4ac7d2616e592fd1c8c0d47583c9f23e43d55861bd1b7a5b84cadf17f2d657c0518943d595bbc65e8b630af483c137343bb4b64da978c82
MISC metadata.xml 488 BLAKE2B 14e2e29779ea62269e8c473a877b3da316a60b6b970ac784e6cd853610ac81a981ed9dd4104a99d5e7c48f4146f74efdbab9f71d81c405baf24f3cb3e9a1702c SHA512 7d9b8b371cc0f609e77baa3a3eff701a5a68922e5405995d5c3f70bc92af0308ca409bc05e28480ab8f008b879e417cd679bb0ec5494f17d3abb8a7b52248a06
diff --git a/net-misc/gnome-remote-desktop/gnome-remote-desktop-43.2.ebuild b/net-misc/gnome-remote-desktop/gnome-remote-desktop-43.2.ebuild
deleted file mode 100644
index 90f943fab5e7..000000000000
--- a/net-misc/gnome-remote-desktop/gnome-remote-desktop-43.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit gnome.org gnome2-utils meson systemd xdg
-
-DESCRIPTION="Remote desktop daemon for GNOME using pipewire"
-HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-remote-desktop"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="aac doc +rdp systemd +vnc"
-REQUIRED_USE="|| ( rdp vnc ) aac? ( rdp )"
-RESTRICT="test" # Tests run xvfb-run directly
-
-DEPEND="
- x11-libs/cairo
- x11-libs/libdrm
- >=media-libs/libepoxy-1.4
- >=dev-libs/glib-2.68:2
- x11-libs/libnotify
- app-crypt/libsecret
- >=media-video/pipewire-0.3.49:=
- app-crypt/tpm2-tss:=
- rdp? (
- >=media-libs/nv-codec-headers-11.1.5.0
- >=net-misc/freerdp-2.8.0:=[server]
- >=sys-fs/fuse-3.9.1:3
- >=x11-libs/libxkbcommon-1.0.0
-
- aac? (
- media-libs/fdk-aac:=
- )
- )
- vnc? (
- net-libs/libvncserver
- )
-"
-RDEPEND="${DEPEND}
- x11-wm/mutter[screencast]
-"
-BDEPEND="
- dev-util/gdbus-codegen
- dev-util/glib-utils
- virtual/pkgconfig
- doc? (
- app-text/asciidoc
- )
-"
-
-src_configure() {
- local emesonargs=(
- $(meson_use doc man)
- $(meson_use aac fdk_aac)
- $(meson_use rdp)
- $(meson_use vnc)
- $(meson_use systemd)
- -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)"
- )
- meson_src_configure
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
diff --git a/net-misc/iputils/Manifest b/net-misc/iputils/Manifest
index 6a9847453e66..e80377453191 100644
--- a/net-misc/iputils/Manifest
+++ b/net-misc/iputils/Manifest
@@ -1,8 +1,7 @@
DIST iputils-20211215.tar.gz 524567 BLAKE2B b88ff84be1d4d6a741f8f3514739ceff45ea40c475b5d4c2df8571fe84d4f1af9bc3fdce29e9ff393417671c75204261c8d64dde00473caa314b0aeb1fbf74ce SHA512 191062e51f7c8e8b38e3e4a96845adb77cd69f487d548c7cc578fad544443b4bc0dbe965d8f8e6fbda0a2f5b2fe2829789c05f873190c53d773245959298f6e9
-DIST iputils-20221126-docs.tar.xz 13000 BLAKE2B 8a9dae136f6555ed933f97d26be82a7d9ab228efd40cc03d065b39374f13000604e3bbbc856124076ec6934c92845d7b974eff64bbf65fc3a63a2266ba920e2f SHA512 efa60b618238b6e7614828a3c3a30e58ac311a82a686a28a186110cc28dae96f509199f057b1855b08954b1b5a3f6be63e0de6c0c028f4eb5f88c6dcd973a93b
DIST iputils-20221126.tar.gz 511944 BLAKE2B 97bdc49810ce9e517211323e8e8ffd2f2be505704d67533db0e8f296701048b82c61b39062aab4a8fa148b29175636a657c2dcdd65e3a16b1572d2f392b8ecf0 SHA512 7fdfd76e6f2977039bc0930a1a5451f17319bf17beefc429751d99ffe143a83344d5b4cdbf008627bd70caafeadaf906a8b7c00393fa819e50d6c02b512c367f
DIST iputils-manpages-20211215.tar.xz 17148 BLAKE2B 63a956805b01f57b070b6b4ceb32f6ddf4313c74203cde821fc2f6f16ab8de14861da31163adf496db555f1961592d4fbc2ba7a977ccb18773af3bdb8d3795c0 SHA512 eb8c8508221b06fc13bf196b01b11f3ec87cd77e25d89c088776e39d249e10a3915ebb39942805adee179b352543063ce3dac158d68783c68c23de550ec14eee
EBUILD iputils-20211215.ebuild 4754 BLAKE2B f5e6b11dcf1642695fb3fe8be537a5df04359d397c28f7a86fff5b11c8dc37743597df22721d41bdd8c45f3f06f76325c236e3159602b15bc8cd1200d3389c41 SHA512 aa0565d5645f4acba4bfa3ca6d425e2538922ec9f3405ba1f4542941e7f21f5399e8709b71d76292a927109911226cdaa2be56ad63b62006e59a759556747bd5
-EBUILD iputils-20221126.ebuild 4430 BLAKE2B d9c7e626c6215fe2c2a5fd7bb29268baef9427c6c87434c549a3db82f09f422e075e93163f840194a87b987019e1a877c1d2b4cc5e83dee2f0ab7cd81ca2c2f2 SHA512 3ddbbbb538fa357a9846c96fb93687f7ec93c7d8eaff02f5d33df97d5e39f50874a0037d14bd03de48b8a81aaa2fb6f1efa923d7e6db5137c552261484cd5756
-EBUILD iputils-99999999.ebuild 4438 BLAKE2B b253fc86cf35107dbe8e164e2ef224ee07f1299c54d8ac8e38ede449e87214da2dd5eda26f3a73fcbade1a142bf457bf55bd253cf205be4bb9590264ab48fb01 SHA512 9f4f7ef308d09bdb1fb9f0e6733eeb2580864dcf4dc0b16f5843f8c49e6eabdcd4f6f33689d8401b16c9eb3397631651e87fd5d2478386237a158b0af830b737
+EBUILD iputils-20221126-r1.ebuild 3514 BLAKE2B a8989c0d42de3cd3963e0e3875ab7992741c08a29d1ebcac2f1ed505b46b5eb55707d33e45ca86aa23c9542fd8646c8b2a649e271588274174052853b80c6727 SHA512 de6328ef0d9fb99632bf92390f9db6105d21ae9517442089686bdf72bdf1efcdc080d36e56f4f2ca18837039a8864968bdff1fdf7892b1f535db41988ec7126f
+EBUILD iputils-99999999.ebuild 3522 BLAKE2B 61d39b4161982d5a47535cc92ffcea6c3f0ee796e7131faa2a1647a93887dfc6e8c598bffb0de03cc575c996b13e5dfcc32a5a6cf8b8202ec36a0f68fec3312e SHA512 281b78238e1c843a975d1dbe25412981334694f689dcd00abc34105d0f4e6223fdfb078db77741af9fcb846fd6e33c7f07341fa7eb8296492705d60b6c1c79c9
MISC metadata.xml 1034 BLAKE2B a1d9c98f71961b483d73229a2fbb8b272b2c1693f89fbe6921f657949da45c87fe7408aa8ce39059ba6ce3e79bb4621e4d303ed2302ab3363c5492e174fc2149 SHA512 8df2ddb2ea153af627c8c353af03675e70028017987c83e4d70ee9f1a97ae79c4fdfc8eb5987efaf8daeeb0955ef04a65315fe6033e71e9cb32e8059294716fd
diff --git a/net-misc/iputils/iputils-20221126.ebuild b/net-misc/iputils/iputils-20221126-r1.ebuild
index 67616acd2ae3..e758f6d437a8 100644
--- a/net-misc/iputils/iputils-20221126.ebuild
+++ b/net-misc/iputils/iputils-20221126-r1.ebuild
@@ -18,10 +18,7 @@ if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/iputils/iputils.git"
inherit git-r3
else
- SRC_URI="
- https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz
- https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-docs.tar.xz
- "
+ SRC_URI="https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
fi
@@ -50,21 +47,16 @@ DEPEND="
virtual/os-headers
"
BDEPEND="
+ app-text/docbook-xml-dtd:4.2
+ app-text/docbook-xml-dtd:4.5
+ app-text/docbook-xsl-ns-stylesheets
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
virtual/pkgconfig
test? ( sys-apps/iproute2 )
nls? ( sys-devel/gettext )
"
-if [[ ${PV} == *9999 ]] ; then
- BDEPEND+="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-ns-stylesheets
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- "
-fi
-
src_prepare() {
default
@@ -83,20 +75,10 @@ src_configure() {
-Dsystemdunitdir=$(systemd_get_systemunitdir)
-DUSE_GETTEXT=$(usex nls true false)
$(meson_use !test SKIP_TESTS)
+ -DBUILD_HTML_MANS=$(usex doc true false)
+ -DBUILD_MANS=true
)
- if [[ ${PV} == *9999 ]] ; then
- emesonargs+=(
- -DBUILD_HTML_MANS=$(usex doc true false)
- -DBUILD_MANS=true
- )
- else
- emesonargs+=(
- -DBUILD_HTML_MANS=false
- -DBUILD_MANS=false
- )
- fi
-
meson_src_configure
}
@@ -128,36 +110,12 @@ src_install() {
if use tracepath ; then
dosym tracepath /usr/bin/tracepath4
dosym tracepath /usr/bin/tracepath6
+ dosym tracepath.8 /usr/share/man/man8/tracepath4.8
dosym tracepath.8 /usr/share/man/man8/tracepath6.8
fi
- if [[ ${PV} != *9999 ]] ; then
- local -a man_pages
- local -a html_man_pages
-
- while IFS= read -r -u 3 -d $'\0' my_bin; do
- my_bin=$(basename "${my_bin}")
- [[ -z "${my_bin}" ]] && continue
-
- if [[ -f "${WORKDIR}/${PN}-99999999-docs/doc/${my_bin}.8" ]] ; then
- man_pages+=( ${my_bin}.8 )
- fi
-
- if [[ -f "${WORKDIR}/${PN}-99999999-docs/doc/${my_bin}.html" ]] ; then
- html_man_pages+=( ${my_bin}.html )
- fi
- done 3< <(find "${ED}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
-
- pushd "${WORKDIR}"/${PN}-99999999-docs/doc &>/dev/null || die
- doman "${man_pages[@]}"
- if use doc ; then
- dodoc "${html_man_pages[@]}"
- fi
- popd &>/dev/null || die
- else
- if use doc ; then
- mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
- fi
+ if use doc ; then
+ mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
fi
}
diff --git a/net-misc/iputils/iputils-99999999.ebuild b/net-misc/iputils/iputils-99999999.ebuild
index a23c56b4174c..b4e1ae73bca6 100644
--- a/net-misc/iputils/iputils-99999999.ebuild
+++ b/net-misc/iputils/iputils-99999999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# For released versions, we precompile the man/html pages and store
@@ -18,10 +18,7 @@ if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/iputils/iputils.git"
inherit git-r3
else
- SRC_URI="
- https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz
- https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-docs.tar.xz
- "
+ SRC_URI="https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
fi
@@ -50,21 +47,16 @@ DEPEND="
virtual/os-headers
"
BDEPEND="
+ app-text/docbook-xml-dtd:4.2
+ app-text/docbook-xml-dtd:4.5
+ app-text/docbook-xsl-ns-stylesheets
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
virtual/pkgconfig
test? ( sys-apps/iproute2 )
nls? ( sys-devel/gettext )
"
-if [[ ${PV} == *9999 ]] ; then
- BDEPEND+="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-ns-stylesheets
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- "
-fi
-
src_prepare() {
default
@@ -83,20 +75,10 @@ src_configure() {
-Dsystemdunitdir=$(systemd_get_systemunitdir)
-DUSE_GETTEXT=$(usex nls true false)
$(meson_use !test SKIP_TESTS)
+ -DBUILD_HTML_MANS=$(usex doc true false)
+ -DBUILD_MANS=true
)
- if [[ ${PV} == *9999 ]] ; then
- emesonargs+=(
- -DBUILD_HTML_MANS=$(usex doc true false)
- -DBUILD_MANS=true
- )
- else
- emesonargs+=(
- -DBUILD_HTML_MANS=false
- -DBUILD_MANS=false
- )
- fi
-
meson_src_configure
}
@@ -128,36 +110,12 @@ src_install() {
if use tracepath ; then
dosym tracepath /usr/bin/tracepath4
dosym tracepath /usr/bin/tracepath6
+ dosym tracepath.8 /usr/share/man/man8/tracepath4.8
dosym tracepath.8 /usr/share/man/man8/tracepath6.8
fi
- if [[ ${PV} != *9999 ]] ; then
- local -a man_pages
- local -a html_man_pages
-
- while IFS= read -r -u 3 -d $'\0' my_bin; do
- my_bin=$(basename "${my_bin}")
- [[ -z "${my_bin}" ]] && continue
-
- if [[ -f "${WORKDIR}/${PN}-99999999-docs/doc/${my_bin}.8" ]] ; then
- man_pages+=( ${my_bin}.8 )
- fi
-
- if [[ -f "${WORKDIR}/${PN}-99999999-docs/doc/${my_bin}.html" ]] ; then
- html_man_pages+=( ${my_bin}.html )
- fi
- done 3< <(find "${ED}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
-
- pushd "${WORKDIR}"/${PN}-99999999-docs/doc &>/dev/null || die
- doman "${man_pages[@]}"
- if use doc ; then
- dodoc "${html_man_pages[@]}"
- fi
- popd &>/dev/null || die
- else
- if use doc ; then
- mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
- fi
+ if use doc ; then
+ mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
fi
}
diff --git a/net-misc/networkmanager/Manifest b/net-misc/networkmanager/Manifest
index f4d5863fdbb0..f8edf7574e62 100644
--- a/net-misc/networkmanager/Manifest
+++ b/net-misc/networkmanager/Manifest
@@ -2,14 +2,8 @@ AUX 01-org.freedesktop.NetworkManager.settings.modify.system.rules 265 BLAKE2B 0
AUX 10-openrc-status-r4 1182 BLAKE2B ab6f3e8340c3c53f5df667395489071c42320040a90356c94bca15c45a4d66c5e3e0870a17cda6531a98adee4ec92ca886f9be298765f1afbca864786abb495e SHA512 b1f0cd7eaeb13af9ab1ce192fd3f47e52d505c4ad5a0888af1ad2598701a034231c03f5346441f44443daca84f2089cb68e08c2876396be0e668c484c3d331ec
AUX conf.d.NetworkManager 230 BLAKE2B 987b6b39c6c8b14a788575241575f9a0761f320117ad8c70ff084e88f3282c2d384f49042beecdbf876a534e49d26b9ff8e385cd2f301a056a0ba3c45d5e04fc SHA512 f8c9331834cbc66ab0e4e6f4a120fde6a08a435d680a1e1087718fdbb2b9843a313e7ec30b7008822999dafd98e152aa7d2a96f87320ba9c91c3adb63e0b7c9a
AUX init.d.NetworkManager-r2 1880 BLAKE2B d765a298955cdcf0c62518488fc9f02f97c31ee645c7b15ed73914397e02266e1b72a32af1d9f8007ae81119e9223b3e41184aa58b9fa328ed72e0ebec91acd8 SHA512 f06e7e6b6ebeb991471cf6e71c44687210a115fd008505ebe01de1b52a059952c2b191789d217412ae30daaaecf8bc028c89daf536af793eac23cfcd62ba9ad4
-DIST NetworkManager-1.40.10.tar.xz 6595772 BLAKE2B fd36de7a06599b5b350a0c31a711ff16e306337235787003656b2c8e08a2242f823a6065ee54bc56896eb0adbcb525efc4046c2e444b013335c1243017c7e1eb SHA512 7454791592664a49f9340ee55b4c9abe0f32c00cb36a7864bf0da099315f874aebcb56103fb8c45f6420e60e4e9e030339e0e76db32f7c49ff64f6faed1ec18c
DIST NetworkManager-1.40.12.tar.xz 6520720 BLAKE2B 53b142e7eeb333e5293b361e8e918e471f242ae51f7058fc820e065714be2efef49bfd38571abb631aab9fa37f80fbba7d6d1aaf201a8ce24b097989308888a4 SHA512 567188e32406a1d5a43419fbd0186e2a47453b78674db1f2e0842bed1fe148cea0b93c92f4920a44cc74e76f968672dafcebdf2845debabbce947f39cb520cdf
-DIST NetworkManager-1.40.6.tar.xz 6596776 BLAKE2B 32e2a496d68d183a44a15f9ecfef18f5c7fcbc7ba5e27e0eb62825edb0ebbcf8ec34dcdd6d4da953aa46029d7063197f549cae13eb3622dd1f52c92aa5961941 SHA512 cd8ced0598ea4224cfde23a157108c872bb3935e539029571110b6a0bb4bf3637ad8e3afe8e5f162890ed557e8b42a803bc4e18db00e1de840dd0fa20643e036
-DIST NetworkManager-1.40.8.tar.xz 6518080 BLAKE2B 90a65dde96b3127a5438aa4add47e66887c940a86598109bde74f9bc56d317c41f835858a0b2ea89dca228f7fcc43e811b20e0d4528018ebe95947114f405cb4 SHA512 1c3f986c0f37160fced3cc790f6e569ae2185aec2bb2b5ef9635848ba493d4e920cc7ea83cd34a8df7bc12902d071238f9ae6aeb7721658ac54ba862f7c822ef
DIST NetworkManager-1.42.0.tar.xz 6720056 BLAKE2B 1bd59c2b7e004437ce47a69d187ed79e426e4e1f16b6e8106bef9afcad0cfd86ebfb9b3189533028f343dd757e6b6c3ca6031751b0c20fb2844d2b5be11079b1 SHA512 d6c57f79e1de669537501855545d0861044f07780fde61cbb643a955e84a3ca4e417cfb1978c277a1bca9002778dafda5387c28da1b4a58f9f320adaa553210c
-EBUILD networkmanager-1.40.10.ebuild 12535 BLAKE2B 0bcde7eda6079bb22c067f245f50b7bc8e9c22f63bb4a288b7d46464cd9de46a057595e5ea74e5cf090ce2bb6b70ea66ac92a73b0fa60c148f0926212a0b90ae SHA512 b30abc99629f71045e6459cf3bb8f2b4bceee7cdb90b61f59e0cc158a8d06bf51a20b84b12460e6e06ed018c27893deca15508671a3055dcb858e983d527825a
EBUILD networkmanager-1.40.12.ebuild 12529 BLAKE2B 2da7c08c4c1b8096c5fcdf2fb1b64057486bc89606a724fea04b04397860cbbdd88872425c216c92a2aa3f6b08a58f926e05e5d134c4fb52dda0437c533d2ed7 SHA512 f5ec872aa13144a50db211cae322ec3edef98a7fe11cd7099a90002a831b103334543d63df4499f80e2ebdd8814cef983d37f14754bbbbcb6da60886a1f7235f
-EBUILD networkmanager-1.40.6.ebuild 12529 BLAKE2B 2da7c08c4c1b8096c5fcdf2fb1b64057486bc89606a724fea04b04397860cbbdd88872425c216c92a2aa3f6b08a58f926e05e5d134c4fb52dda0437c533d2ed7 SHA512 f5ec872aa13144a50db211cae322ec3edef98a7fe11cd7099a90002a831b103334543d63df4499f80e2ebdd8814cef983d37f14754bbbbcb6da60886a1f7235f
-EBUILD networkmanager-1.40.8.ebuild 12535 BLAKE2B 0bcde7eda6079bb22c067f245f50b7bc8e9c22f63bb4a288b7d46464cd9de46a057595e5ea74e5cf090ce2bb6b70ea66ac92a73b0fa60c148f0926212a0b90ae SHA512 b30abc99629f71045e6459cf3bb8f2b4bceee7cdb90b61f59e0cc158a8d06bf51a20b84b12460e6e06ed018c27893deca15508671a3055dcb858e983d527825a
EBUILD networkmanager-1.42.0.ebuild 12535 BLAKE2B 0bcde7eda6079bb22c067f245f50b7bc8e9c22f63bb4a288b7d46464cd9de46a057595e5ea74e5cf090ce2bb6b70ea66ac92a73b0fa60c148f0926212a0b90ae SHA512 b30abc99629f71045e6459cf3bb8f2b4bceee7cdb90b61f59e0cc158a8d06bf51a20b84b12460e6e06ed018c27893deca15508671a3055dcb858e983d527825a
MISC metadata.xml 2430 BLAKE2B 564983bc42e2b87533286f90ad5e3988356169cf65436ec853a63183ae1086e5672afd7552c9a06fd17018158bab09acaedf015998eb4d10a9c11db1897b49a4 SHA512 39ae015637e571dc8268c750a6cf56c185a0716113670f58e4d33848c7d6c33b8decba6201a0600ab689d2bcc7d44a123003bcfc8696fd8b46eea376b498d6e2
diff --git a/net-misc/networkmanager/networkmanager-1.40.10.ebuild b/net-misc/networkmanager/networkmanager-1.40.10.ebuild
deleted file mode 100644
index 3c379b76059d..000000000000
--- a/net-misc/networkmanager/networkmanager-1.40.10.ebuild
+++ /dev/null
@@ -1,418 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-GNOME_ORG_MODULE="NetworkManager"
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit gnome.org linux-info meson-multilib python-any-r1 readme.gentoo-r1 systemd toolchain-funcs udev vala virtualx
-
-DESCRIPTION="A set of co-operative tools that make networking simple and straightforward"
-HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0"
-
-IUSE="audit bluetooth +concheck connection-sharing debug dhclient dhcpcd elogind gnutls +gtk-doc +introspection iptables iwd psl libedit lto +nss nftables +modemmanager ofono ovs policykit +ppp resolvconf selinux syslog systemd teamd test +tools vala +wext +wifi"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- bluetooth? ( modemmanager )
- connection-sharing? ( || ( iptables nftables ) )
- gtk-doc? ( introspection )
- iwd? ( wifi )
- vala? ( introspection )
- wext? ( wifi )
- ^^ ( gnutls nss )
- ?? ( elogind systemd )
- ?? ( dhclient dhcpcd )
- ?? ( syslog systemd )
-"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-COMMON_DEPEND="
- sys-apps/util-linux[${MULTILIB_USEDEP}]
- elogind? ( >=sys-auth/elogind-219 )
- >=virtual/libudev-175:=[${MULTILIB_USEDEP}]
- sys-apps/dbus
- net-libs/libndp
- systemd? ( >=sys-apps/systemd-209:0= )
- >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}]
- introspection? ( >=dev-libs/gobject-introspection-0.10.3:= )
- selinux? (
- sec-policy/selinux-networkmanager
- sys-libs/libselinux
- )
- audit? ( sys-process/audit )
- teamd? (
- >=dev-libs/jansson-2.7:=
- >=net-misc/libteam-1.9
- )
- policykit? ( >=sys-auth/polkit-0.106 )
- nss? (
- dev-libs/nspr[${MULTILIB_USEDEP}]
- >=dev-libs/nss-3.11[${MULTILIB_USEDEP}]
- )
- gnutls? (
- >=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}]
- )
- ppp? ( >=net-dialup/ppp-2.4.5:=[ipv6] )
- modemmanager? (
- net-misc/mobile-broadband-provider-info
- >=net-misc/modemmanager-0.7.991:0=
- )
- bluetooth? ( >=net-wireless/bluez-5:= )
- ofono? ( net-misc/ofono )
- dhclient? ( >=net-misc/dhcp-4[client] )
- dhcpcd? ( >=net-misc/dhcpcd-9.3.3 )
- ovs? ( >=dev-libs/jansson-2.7:= )
- resolvconf? ( virtual/resolvconf )
- connection-sharing? (
- net-dns/dnsmasq[dbus,dhcp]
- iptables? ( net-firewall/iptables )
- nftables? ( net-firewall/nftables )
- )
- psl? ( net-libs/libpsl )
- concheck? ( net-misc/curl )
- tools? (
- >=dev-libs/newt-0.52.15
- libedit? ( dev-libs/libedit )
- !libedit? ( sys-libs/readline:= )
- )
-"
-RDEPEND="${COMMON_DEPEND}
- acct-group/plugdev
- || (
- net-misc/iputils[arping(+)]
- net-analyzer/arping
- )
- wifi? (
- !iwd? ( >=net-wireless/wpa_supplicant-0.7.3-r3[dbus] )
- iwd? ( net-wireless/iwd )
- )
-"
-DEPEND="${COMMON_DEPEND}
- >=sys-kernel/linux-headers-3.18
- net-libs/libndp[${MULTILIB_USEDEP}]
- ppp? ( elibc_musl? ( net-libs/ppp-defs ) )
-"
-BDEPEND="
- dev-util/gdbus-codegen
- dev-util/glib-utils
- gtk-doc? (
- dev-util/gtk-doc
- app-text/docbook-xml-dtd:4.1.2
- )
- >=sys-devel/gettext-0.17
- virtual/pkgconfig
- introspection? (
- $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
- dev-lang/perl
- dev-libs/libxslt
- )
- vala? ( $(vala_depend) )
- test? (
- >=dev-libs/jansson-2.7
- $(python_gen_any_dep '
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]')
- )
-"
-
-python_check_deps() {
- if use introspection; then
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
- fi
- if use test; then
- python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
- fi
-}
-
-sysfs_deprecated_check() {
- ebegin "Checking for SYSFS_DEPRECATED support"
-
- if { linux_chkconfig_present SYSFS_DEPRECATED_V2; }; then
- eerror "Please disable SYSFS_DEPRECATED_V2 support in your kernel config and recompile your kernel"
- eerror "or NetworkManager will not work correctly."
- eerror "See https://bugs.gentoo.org/333639 for more info."
- die "CONFIG_SYSFS_DEPRECATED_V2 support detected!"
- fi
- eend $?
-}
-
-pkg_pretend() {
- if use kernel_linux; then
- get_version
- if linux_config_exists; then
- sysfs_deprecated_check
- else
- ewarn "Was unable to determine your kernel .config"
- ewarn "Please note that if CONFIG_SYSFS_DEPRECATED_V2 is set in your kernel .config, NetworkManager will not work correctly."
- ewarn "See https://bugs.gentoo.org/333639 for more info."
- fi
- fi
-}
-
-pkg_setup() {
- if use connection-sharing; then
- if kernel_is lt 5 1; then
- CONFIG_CHECK="~NF_NAT_IPV4 ~NF_NAT_MASQUERADE_IPV4"
- else
- CONFIG_CHECK="~NF_NAT ~NF_NAT_MASQUERADE"
- fi
- linux-info_pkg_setup
- fi
-
- if use introspection || use test; then
- python-any-r1_pkg_setup
- fi
-
- # bug 809695
- if tc-is-clang && use lto; then
- eerror "Clang does not support -flto-partition"
- die "Please use gcc or turn off USE=lto flag when building with clang"
- fi
-}
-
-src_prepare() {
- DOC_CONTENTS="To modify system network connections without needing to enter the
- root password, add your user account to the 'plugdev' group."
-
- default
- use vala && vala_setup
-
- sed -i \
- -e 's#/usr/bin/sed#/bin/sed#' \
- data/84-nm-drivers.rules \
- || die
-}
-
-meson_nm_program() {
- usex "$1" "-D${2:-$1}=$3" "-D${2:-$1}=no"
-}
-
-meson_nm_native_program() {
- multilib_native_usex "$1" "-D${2:-$1}=$3" "-D${2:-$1}=no"
-}
-
-multilib_src_configure() {
- local emesonargs=(
- --localstatedir="${EPREFIX}/var"
-
- -Dsystemdsystemunitdir=$(systemd_get_systemunitdir)
- -Dsystem_ca_path=/etc/ssl/certs
- -Dudev_dir=$(get_udevdir)
- -Ddbus_conf_dir=/usr/share/dbus-1/system.d
- -Dkernel_firmware_dir=/lib/firmware
- -Diptables=/sbin/iptables
- -Dnft=/sbin/nft
- -Ddnsmasq=/usr/sbin/dnsmasq
-
- -Ddist_version=${PVR}
- $(meson_native_use_bool policykit polkit)
- $(meson_native_use_bool policykit config_auth_polkit_default)
- -Dmodify_system=true
- -Dpolkit_agent_helper_1=/usr/lib/polkit-1/polkit-agent-helper-1
- $(meson_native_use_bool selinux)
- $(meson_native_use_bool systemd systemd_journal)
- -Dhostname_persist=gentoo
- -Dlibaudit=$(multilib_native_usex audit)
-
- $(meson_native_use_bool wext)
- $(meson_native_use_bool wifi)
- $(meson_native_use_bool iwd)
- $(meson_native_use_bool ppp)
- -Dpppd=/usr/sbin/pppd
- $(meson_native_use_bool modemmanager modem_manager)
- $(meson_native_use_bool ofono)
- $(meson_native_use_bool concheck)
- $(meson_native_use_bool teamd teamdctl)
- $(meson_native_use_bool ovs)
- $(meson_native_use_bool tools nmcli)
- $(meson_native_use_bool tools nmtui)
- $(meson_native_use_bool tools nm_cloud_setup)
- $(meson_native_use_bool bluetooth bluez5_dun)
- -Debpf=true
-
- -Dconfig_wifi_backend_default=$(multilib_native_usex iwd iwd default)
- -Dconfig_plugins_default=keyfile
- -Difcfg_rh=false
- -Difupdown=false
-
- $(meson_nm_native_program resolvconf "" /sbin/resolvconf)
- -Dnetconfig=no
- -Dconfig_dns_rc_manager_default=auto
-
- $(meson_nm_program dhclient "" /sbin/dhclient)
- -Ddhcpcanon=no
- $(meson_nm_program dhcpcd "" /sbin/dhcpcd)
-
- $(meson_native_use_bool introspection)
- $(meson_native_use_bool vala vapi)
- $(meson_native_use_bool gtk-doc docs)
- -Dtests=$(multilib_native_usex test)
- $(meson_native_true firewalld_zone)
- -Dmore_asserts=0
- $(meson_use debug more_logging)
- -Dvalgrind=no
- -Dvalgrind_suppressions=
- -Dld_gc=false
- $(meson_native_use_bool psl libpsl)
- -Dqt=false
-
- $(meson_use lto b_lto)
- )
-
- if multilib_is_native_abi && use systemd; then
- emesonargs+=( -Dsession_tracking_consolekit=false )
- emesonargs+=( -Dsession_tracking=systemd )
- emesonargs+=( -Dsuspend_resume=systemd )
- elif multilib_is_native_abi && use elogind; then
- emesonargs+=( -Dsession_tracking_consolekit=false )
- emesonargs+=( -Dsession_tracking=elogind )
- emesonargs+=( -Dsuspend_resume=elogind )
- else
- emesonargs+=( -Dsession_tracking_consolekit=false )
- emesonargs+=( -Dsession_tracking=no )
- emesonargs+=( -Dsuspend_resume=auto )
- fi
-
- if multilib_is_native_abi && use syslog; then
- emesonargs+=( -Dconfig_logging_backend_default=syslog )
- elif multilib_is_native_abi && use systemd; then
- emesonargs+=( -Dconfig_logging_backend_default=journal )
- else
- emesonargs+=( -Dconfig_logging_backend_default=default )
- fi
-
- if multilib_is_native_abi && use dhclient; then
- emesonargs+=( -Dconfig_dhcp_default=dhclient )
- elif multilib_is_native_abi && use dhcpcd; then
- emesonargs+=( -Dconfig_dhcp_default=dhcpcd )
- else
- emesonargs+=( -Dconfig_dhcp_default=internal )
- fi
-
- if use nss; then
- emesonargs+=( -Dcrypto=nss )
- else
- emesonargs+=( -Dcrypto=gnutls )
- fi
-
- if use tools ; then
- emesonargs+=( -Dreadline=$(usex libedit libedit libreadline) )
- else
- emesonargs+=( -Dreadline=none )
- fi
-
- # Same hack as net-dialup/pptpd to get proper plugin dir for ppp, bug #519986
- if use ppp; then
- local PPPD_VER=`best_version net-dialup/ppp`
- PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR}
- PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision
- emesonargs+=( -Dpppd_plugin_dir=/usr/$(get_libdir)/pppd/${PPPD_VER} )
- fi
-
- meson_src_configure
-}
-
-multilib_src_test() {
- if use test && multilib_is_native_abi; then
- python_setup
- virtx meson_src_test
- fi
-}
-
-multilib_src_install() {
- meson_src_install
- if ! multilib_is_native_abi; then
- rm -r "${ED}"/{etc,usr/{bin,lib/NetworkManager,share},var} || die
- fi
-}
-
-multilib_src_install_all() {
- ! use systemd && readme.gentoo_create_doc
-
- newinitd "${FILESDIR}/init.d.NetworkManager-r2" NetworkManager
- newconfd "${FILESDIR}/conf.d.NetworkManager" NetworkManager
-
- # Need to keep the /etc/NetworkManager/dispatched.d for dispatcher scripts
- keepdir /etc/NetworkManager/dispatcher.d
-
- # Provide openrc net dependency only when nm is connected
- exeinto /etc/NetworkManager/dispatcher.d
- newexe "${FILESDIR}/10-openrc-status-r4" 10-openrc-status
- sed -e "s:@EPREFIX@:${EPREFIX}:g" \
- -i "${ED}/etc/NetworkManager/dispatcher.d/10-openrc-status" || die
-
- keepdir /etc/NetworkManager/system-connections
- chmod 0600 "${ED}"/etc/NetworkManager/system-connections/.keep* # bug #383765, upstream bug #754594
-
- # Allow users in plugdev group to modify system connections
- insinto /usr/share/polkit-1/rules.d/
- doins "${FILESDIR}"/01-org.freedesktop.NetworkManager.settings.modify.system.rules
-
- insinto /usr/lib/NetworkManager/conf.d #702476
- doins "${S}"/examples/nm-conf.d/31-mac-addr-change.conf
-
- if use iwd; then
- # This goes to $nmlibdir/conf.d/ and $nmlibdir is '${prefix}'/lib/$PACKAGE, thus always lib, not get_libdir
- cat <<-EOF > "${ED}"/usr/lib/NetworkManager/conf.d/iwd.conf || die
- [device]
- wifi.backend=iwd
- EOF
- fi
-
- mv "${ED}"/usr/share/doc/{NetworkManager/examples/,${PF}} || die
- rmdir "${ED}"/usr/share/doc/NetworkManager || die
-
- # Empty
- rmdir "${ED}"/var{/lib{/NetworkManager,},} || die
-}
-
-pkg_postinst() {
- udev_reload
-
- systemd_reenable NetworkManager.service
- ! use systemd && readme.gentoo_print_elog
-
- if [[ -e "${EROOT}/etc/NetworkManager/nm-system-settings.conf" ]]; then
- ewarn "The ${PN} system configuration file has moved to a new location."
- ewarn "You must migrate your settings from ${EROOT}/etc/NetworkManager/nm-system-settings.conf"
- ewarn "to ${EROOT}/etc/NetworkManager/NetworkManager.conf"
- ewarn
- ewarn "After doing so, you can remove ${EROOT}/etc/NetworkManager/nm-system-settings.conf"
- fi
-
- # NM fallbacks to plugin specified at compile time (upstream bug #738611)
- # but still show a warning to remember people to have cleaner config file
- if [[ -e "${EROOT}/etc/NetworkManager/NetworkManager.conf" ]]; then
- if grep plugins "${EROOT}/etc/NetworkManager/NetworkManager.conf" | grep -q ifnet; then
- ewarn
- ewarn "You seem to use 'ifnet' plugin in ${EROOT}/etc/NetworkManager/NetworkManager.conf"
- ewarn "Since it won't be used, you will need to stop setting ifnet plugin there."
- ewarn
- fi
- fi
-
- # NM shows lots of errors making nmcli almost unusable, bug #528748 upstream bug #690457
- if grep -r "psk-flags=1" "${EROOT}"/etc/NetworkManager/; then
- ewarn "You have psk-flags=1 setting in above files, you will need to"
- ewarn "either reconfigure affected networks or, at least, set the flag"
- ewarn "value to '0'."
- fi
-
- if use dhclient || use dhcpcd; then
- ewarn "You have enabled USE=dhclient and/or USE=dhcpcd, but NetworkManager since"
- ewarn "version 1.20 defaults to the internal DHCP client. If the internal client"
- ewarn "works for you, and you're happy with, the alternative USE flags can be"
- ewarn "disabled. If you want to use dhclient or dhcpcd, then you need to tweak"
- ewarn "the main.dhcp configuration option to use one of them instead of internal."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/net-misc/networkmanager/networkmanager-1.40.6.ebuild b/net-misc/networkmanager/networkmanager-1.40.6.ebuild
deleted file mode 100644
index 3ed868d1086a..000000000000
--- a/net-misc/networkmanager/networkmanager-1.40.6.ebuild
+++ /dev/null
@@ -1,418 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-GNOME_ORG_MODULE="NetworkManager"
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit gnome.org linux-info meson-multilib python-any-r1 readme.gentoo-r1 systemd toolchain-funcs udev vala virtualx
-
-DESCRIPTION="A set of co-operative tools that make networking simple and straightforward"
-HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0"
-
-IUSE="audit bluetooth +concheck connection-sharing debug dhclient dhcpcd elogind gnutls +gtk-doc +introspection iptables iwd psl libedit lto +nss nftables +modemmanager ofono ovs policykit +ppp resolvconf selinux syslog systemd teamd test +tools vala +wext +wifi"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- bluetooth? ( modemmanager )
- connection-sharing? ( || ( iptables nftables ) )
- gtk-doc? ( introspection )
- iwd? ( wifi )
- vala? ( introspection )
- wext? ( wifi )
- ^^ ( gnutls nss )
- ?? ( elogind systemd )
- ?? ( dhclient dhcpcd )
- ?? ( syslog systemd )
-"
-
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
-
-COMMON_DEPEND="
- sys-apps/util-linux[${MULTILIB_USEDEP}]
- elogind? ( >=sys-auth/elogind-219 )
- >=virtual/libudev-175:=[${MULTILIB_USEDEP}]
- sys-apps/dbus
- net-libs/libndp
- systemd? ( >=sys-apps/systemd-209:0= )
- >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}]
- introspection? ( >=dev-libs/gobject-introspection-0.10.3:= )
- selinux? (
- sec-policy/selinux-networkmanager
- sys-libs/libselinux
- )
- audit? ( sys-process/audit )
- teamd? (
- >=dev-libs/jansson-2.7:=
- >=net-misc/libteam-1.9
- )
- policykit? ( >=sys-auth/polkit-0.106 )
- nss? (
- dev-libs/nspr[${MULTILIB_USEDEP}]
- >=dev-libs/nss-3.11[${MULTILIB_USEDEP}]
- )
- gnutls? (
- >=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}]
- )
- ppp? ( >=net-dialup/ppp-2.4.5:=[ipv6] )
- modemmanager? (
- net-misc/mobile-broadband-provider-info
- >=net-misc/modemmanager-0.7.991:0=
- )
- bluetooth? ( >=net-wireless/bluez-5:= )
- ofono? ( net-misc/ofono )
- dhclient? ( >=net-misc/dhcp-4[client] )
- dhcpcd? ( >=net-misc/dhcpcd-9.3.3 )
- ovs? ( >=dev-libs/jansson-2.7:= )
- resolvconf? ( virtual/resolvconf )
- connection-sharing? (
- net-dns/dnsmasq[dbus,dhcp]
- iptables? ( net-firewall/iptables )
- nftables? ( net-firewall/nftables )
- )
- psl? ( net-libs/libpsl )
- concheck? ( net-misc/curl )
- tools? (
- >=dev-libs/newt-0.52.15
- libedit? ( dev-libs/libedit )
- !libedit? ( sys-libs/readline:= )
- )
-"
-RDEPEND="${COMMON_DEPEND}
- acct-group/plugdev
- || (
- net-misc/iputils[arping(+)]
- net-analyzer/arping
- )
- wifi? (
- !iwd? ( >=net-wireless/wpa_supplicant-0.7.3-r3[dbus] )
- iwd? ( net-wireless/iwd )
- )
-"
-DEPEND="${COMMON_DEPEND}
- >=sys-kernel/linux-headers-3.18
- net-libs/libndp[${MULTILIB_USEDEP}]
- ppp? ( elibc_musl? ( net-libs/ppp-defs ) )
-"
-BDEPEND="
- dev-util/gdbus-codegen
- dev-util/glib-utils
- gtk-doc? (
- dev-util/gtk-doc
- app-text/docbook-xml-dtd:4.1.2
- )
- >=sys-devel/gettext-0.17
- virtual/pkgconfig
- introspection? (
- $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
- dev-lang/perl
- dev-libs/libxslt
- )
- vala? ( $(vala_depend) )
- test? (
- >=dev-libs/jansson-2.7
- $(python_gen_any_dep '
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]')
- )
-"
-
-python_check_deps() {
- if use introspection; then
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
- fi
- if use test; then
- python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
- fi
-}
-
-sysfs_deprecated_check() {
- ebegin "Checking for SYSFS_DEPRECATED support"
-
- if { linux_chkconfig_present SYSFS_DEPRECATED_V2; }; then
- eerror "Please disable SYSFS_DEPRECATED_V2 support in your kernel config and recompile your kernel"
- eerror "or NetworkManager will not work correctly."
- eerror "See https://bugs.gentoo.org/333639 for more info."
- die "CONFIG_SYSFS_DEPRECATED_V2 support detected!"
- fi
- eend $?
-}
-
-pkg_pretend() {
- if use kernel_linux; then
- get_version
- if linux_config_exists; then
- sysfs_deprecated_check
- else
- ewarn "Was unable to determine your kernel .config"
- ewarn "Please note that if CONFIG_SYSFS_DEPRECATED_V2 is set in your kernel .config, NetworkManager will not work correctly."
- ewarn "See https://bugs.gentoo.org/333639 for more info."
- fi
- fi
-}
-
-pkg_setup() {
- if use connection-sharing; then
- if kernel_is lt 5 1; then
- CONFIG_CHECK="~NF_NAT_IPV4 ~NF_NAT_MASQUERADE_IPV4"
- else
- CONFIG_CHECK="~NF_NAT ~NF_NAT_MASQUERADE"
- fi
- linux-info_pkg_setup
- fi
-
- if use introspection || use test; then
- python-any-r1_pkg_setup
- fi
-
- # bug 809695
- if tc-is-clang && use lto; then
- eerror "Clang does not support -flto-partition"
- die "Please use gcc or turn off USE=lto flag when building with clang"
- fi
-}
-
-src_prepare() {
- DOC_CONTENTS="To modify system network connections without needing to enter the
- root password, add your user account to the 'plugdev' group."
-
- default
- use vala && vala_setup
-
- sed -i \
- -e 's#/usr/bin/sed#/bin/sed#' \
- data/84-nm-drivers.rules \
- || die
-}
-
-meson_nm_program() {
- usex "$1" "-D${2:-$1}=$3" "-D${2:-$1}=no"
-}
-
-meson_nm_native_program() {
- multilib_native_usex "$1" "-D${2:-$1}=$3" "-D${2:-$1}=no"
-}
-
-multilib_src_configure() {
- local emesonargs=(
- --localstatedir="${EPREFIX}/var"
-
- -Dsystemdsystemunitdir=$(systemd_get_systemunitdir)
- -Dsystem_ca_path=/etc/ssl/certs
- -Dudev_dir=$(get_udevdir)
- -Ddbus_conf_dir=/usr/share/dbus-1/system.d
- -Dkernel_firmware_dir=/lib/firmware
- -Diptables=/sbin/iptables
- -Dnft=/sbin/nft
- -Ddnsmasq=/usr/sbin/dnsmasq
-
- -Ddist_version=${PVR}
- $(meson_native_use_bool policykit polkit)
- $(meson_native_use_bool policykit config_auth_polkit_default)
- -Dmodify_system=true
- -Dpolkit_agent_helper_1=/usr/lib/polkit-1/polkit-agent-helper-1
- $(meson_native_use_bool selinux)
- $(meson_native_use_bool systemd systemd_journal)
- -Dhostname_persist=gentoo
- -Dlibaudit=$(multilib_native_usex audit)
-
- $(meson_native_use_bool wext)
- $(meson_native_use_bool wifi)
- $(meson_native_use_bool iwd)
- $(meson_native_use_bool ppp)
- -Dpppd=/usr/sbin/pppd
- $(meson_native_use_bool modemmanager modem_manager)
- $(meson_native_use_bool ofono)
- $(meson_native_use_bool concheck)
- $(meson_native_use_bool teamd teamdctl)
- $(meson_native_use_bool ovs)
- $(meson_native_use_bool tools nmcli)
- $(meson_native_use_bool tools nmtui)
- $(meson_native_use_bool tools nm_cloud_setup)
- $(meson_native_use_bool bluetooth bluez5_dun)
- -Debpf=true
-
- -Dconfig_wifi_backend_default=$(multilib_native_usex iwd iwd default)
- -Dconfig_plugins_default=keyfile
- -Difcfg_rh=false
- -Difupdown=false
-
- $(meson_nm_native_program resolvconf "" /sbin/resolvconf)
- -Dnetconfig=no
- -Dconfig_dns_rc_manager_default=auto
-
- $(meson_nm_program dhclient "" /sbin/dhclient)
- -Ddhcpcanon=no
- $(meson_nm_program dhcpcd "" /sbin/dhcpcd)
-
- $(meson_native_use_bool introspection)
- $(meson_native_use_bool vala vapi)
- $(meson_native_use_bool gtk-doc docs)
- -Dtests=$(multilib_native_usex test)
- $(meson_native_true firewalld_zone)
- -Dmore_asserts=0
- $(meson_use debug more_logging)
- -Dvalgrind=no
- -Dvalgrind_suppressions=
- -Dld_gc=false
- $(meson_native_use_bool psl libpsl)
- -Dqt=false
-
- $(meson_use lto b_lto)
- )
-
- if multilib_is_native_abi && use systemd; then
- emesonargs+=( -Dsession_tracking_consolekit=false )
- emesonargs+=( -Dsession_tracking=systemd )
- emesonargs+=( -Dsuspend_resume=systemd )
- elif multilib_is_native_abi && use elogind; then
- emesonargs+=( -Dsession_tracking_consolekit=false )
- emesonargs+=( -Dsession_tracking=elogind )
- emesonargs+=( -Dsuspend_resume=elogind )
- else
- emesonargs+=( -Dsession_tracking_consolekit=false )
- emesonargs+=( -Dsession_tracking=no )
- emesonargs+=( -Dsuspend_resume=auto )
- fi
-
- if multilib_is_native_abi && use syslog; then
- emesonargs+=( -Dconfig_logging_backend_default=syslog )
- elif multilib_is_native_abi && use systemd; then
- emesonargs+=( -Dconfig_logging_backend_default=journal )
- else
- emesonargs+=( -Dconfig_logging_backend_default=default )
- fi
-
- if multilib_is_native_abi && use dhclient; then
- emesonargs+=( -Dconfig_dhcp_default=dhclient )
- elif multilib_is_native_abi && use dhcpcd; then
- emesonargs+=( -Dconfig_dhcp_default=dhcpcd )
- else
- emesonargs+=( -Dconfig_dhcp_default=internal )
- fi
-
- if use nss; then
- emesonargs+=( -Dcrypto=nss )
- else
- emesonargs+=( -Dcrypto=gnutls )
- fi
-
- if use tools ; then
- emesonargs+=( -Dreadline=$(usex libedit libedit libreadline) )
- else
- emesonargs+=( -Dreadline=none )
- fi
-
- # Same hack as net-dialup/pptpd to get proper plugin dir for ppp, bug #519986
- if use ppp; then
- local PPPD_VER=`best_version net-dialup/ppp`
- PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR}
- PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision
- emesonargs+=( -Dpppd_plugin_dir=/usr/$(get_libdir)/pppd/${PPPD_VER} )
- fi
-
- meson_src_configure
-}
-
-multilib_src_test() {
- if use test && multilib_is_native_abi; then
- python_setup
- virtx meson_src_test
- fi
-}
-
-multilib_src_install() {
- meson_src_install
- if ! multilib_is_native_abi; then
- rm -r "${ED}"/{etc,usr/{bin,lib/NetworkManager,share},var} || die
- fi
-}
-
-multilib_src_install_all() {
- ! use systemd && readme.gentoo_create_doc
-
- newinitd "${FILESDIR}/init.d.NetworkManager-r2" NetworkManager
- newconfd "${FILESDIR}/conf.d.NetworkManager" NetworkManager
-
- # Need to keep the /etc/NetworkManager/dispatched.d for dispatcher scripts
- keepdir /etc/NetworkManager/dispatcher.d
-
- # Provide openrc net dependency only when nm is connected
- exeinto /etc/NetworkManager/dispatcher.d
- newexe "${FILESDIR}/10-openrc-status-r4" 10-openrc-status
- sed -e "s:@EPREFIX@:${EPREFIX}:g" \
- -i "${ED}/etc/NetworkManager/dispatcher.d/10-openrc-status" || die
-
- keepdir /etc/NetworkManager/system-connections
- chmod 0600 "${ED}"/etc/NetworkManager/system-connections/.keep* # bug #383765, upstream bug #754594
-
- # Allow users in plugdev group to modify system connections
- insinto /usr/share/polkit-1/rules.d/
- doins "${FILESDIR}"/01-org.freedesktop.NetworkManager.settings.modify.system.rules
-
- insinto /usr/lib/NetworkManager/conf.d #702476
- doins "${S}"/examples/nm-conf.d/31-mac-addr-change.conf
-
- if use iwd; then
- # This goes to $nmlibdir/conf.d/ and $nmlibdir is '${prefix}'/lib/$PACKAGE, thus always lib, not get_libdir
- cat <<-EOF > "${ED}"/usr/lib/NetworkManager/conf.d/iwd.conf || die
- [device]
- wifi.backend=iwd
- EOF
- fi
-
- mv "${ED}"/usr/share/doc/{NetworkManager/examples/,${PF}} || die
- rmdir "${ED}"/usr/share/doc/NetworkManager || die
-
- # Empty
- rmdir "${ED}"/var{/lib{/NetworkManager,},} || die
-}
-
-pkg_postinst() {
- udev_reload
-
- systemd_reenable NetworkManager.service
- ! use systemd && readme.gentoo_print_elog
-
- if [[ -e "${EROOT}/etc/NetworkManager/nm-system-settings.conf" ]]; then
- ewarn "The ${PN} system configuration file has moved to a new location."
- ewarn "You must migrate your settings from ${EROOT}/etc/NetworkManager/nm-system-settings.conf"
- ewarn "to ${EROOT}/etc/NetworkManager/NetworkManager.conf"
- ewarn
- ewarn "After doing so, you can remove ${EROOT}/etc/NetworkManager/nm-system-settings.conf"
- fi
-
- # NM fallbacks to plugin specified at compile time (upstream bug #738611)
- # but still show a warning to remember people to have cleaner config file
- if [[ -e "${EROOT}/etc/NetworkManager/NetworkManager.conf" ]]; then
- if grep plugins "${EROOT}/etc/NetworkManager/NetworkManager.conf" | grep -q ifnet; then
- ewarn
- ewarn "You seem to use 'ifnet' plugin in ${EROOT}/etc/NetworkManager/NetworkManager.conf"
- ewarn "Since it won't be used, you will need to stop setting ifnet plugin there."
- ewarn
- fi
- fi
-
- # NM shows lots of errors making nmcli almost unusable, bug #528748 upstream bug #690457
- if grep -r "psk-flags=1" "${EROOT}"/etc/NetworkManager/; then
- ewarn "You have psk-flags=1 setting in above files, you will need to"
- ewarn "either reconfigure affected networks or, at least, set the flag"
- ewarn "value to '0'."
- fi
-
- if use dhclient || use dhcpcd; then
- ewarn "You have enabled USE=dhclient and/or USE=dhcpcd, but NetworkManager since"
- ewarn "version 1.20 defaults to the internal DHCP client. If the internal client"
- ewarn "works for you, and you're happy with, the alternative USE flags can be"
- ewarn "disabled. If you want to use dhclient or dhcpcd, then you need to tweak"
- ewarn "the main.dhcp configuration option to use one of them instead of internal."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/net-misc/networkmanager/networkmanager-1.40.8.ebuild b/net-misc/networkmanager/networkmanager-1.40.8.ebuild
deleted file mode 100644
index 3c379b76059d..000000000000
--- a/net-misc/networkmanager/networkmanager-1.40.8.ebuild
+++ /dev/null
@@ -1,418 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-GNOME_ORG_MODULE="NetworkManager"
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit gnome.org linux-info meson-multilib python-any-r1 readme.gentoo-r1 systemd toolchain-funcs udev vala virtualx
-
-DESCRIPTION="A set of co-operative tools that make networking simple and straightforward"
-HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0"
-
-IUSE="audit bluetooth +concheck connection-sharing debug dhclient dhcpcd elogind gnutls +gtk-doc +introspection iptables iwd psl libedit lto +nss nftables +modemmanager ofono ovs policykit +ppp resolvconf selinux syslog systemd teamd test +tools vala +wext +wifi"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- bluetooth? ( modemmanager )
- connection-sharing? ( || ( iptables nftables ) )
- gtk-doc? ( introspection )
- iwd? ( wifi )
- vala? ( introspection )
- wext? ( wifi )
- ^^ ( gnutls nss )
- ?? ( elogind systemd )
- ?? ( dhclient dhcpcd )
- ?? ( syslog systemd )
-"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-COMMON_DEPEND="
- sys-apps/util-linux[${MULTILIB_USEDEP}]
- elogind? ( >=sys-auth/elogind-219 )
- >=virtual/libudev-175:=[${MULTILIB_USEDEP}]
- sys-apps/dbus
- net-libs/libndp
- systemd? ( >=sys-apps/systemd-209:0= )
- >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}]
- introspection? ( >=dev-libs/gobject-introspection-0.10.3:= )
- selinux? (
- sec-policy/selinux-networkmanager
- sys-libs/libselinux
- )
- audit? ( sys-process/audit )
- teamd? (
- >=dev-libs/jansson-2.7:=
- >=net-misc/libteam-1.9
- )
- policykit? ( >=sys-auth/polkit-0.106 )
- nss? (
- dev-libs/nspr[${MULTILIB_USEDEP}]
- >=dev-libs/nss-3.11[${MULTILIB_USEDEP}]
- )
- gnutls? (
- >=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}]
- )
- ppp? ( >=net-dialup/ppp-2.4.5:=[ipv6] )
- modemmanager? (
- net-misc/mobile-broadband-provider-info
- >=net-misc/modemmanager-0.7.991:0=
- )
- bluetooth? ( >=net-wireless/bluez-5:= )
- ofono? ( net-misc/ofono )
- dhclient? ( >=net-misc/dhcp-4[client] )
- dhcpcd? ( >=net-misc/dhcpcd-9.3.3 )
- ovs? ( >=dev-libs/jansson-2.7:= )
- resolvconf? ( virtual/resolvconf )
- connection-sharing? (
- net-dns/dnsmasq[dbus,dhcp]
- iptables? ( net-firewall/iptables )
- nftables? ( net-firewall/nftables )
- )
- psl? ( net-libs/libpsl )
- concheck? ( net-misc/curl )
- tools? (
- >=dev-libs/newt-0.52.15
- libedit? ( dev-libs/libedit )
- !libedit? ( sys-libs/readline:= )
- )
-"
-RDEPEND="${COMMON_DEPEND}
- acct-group/plugdev
- || (
- net-misc/iputils[arping(+)]
- net-analyzer/arping
- )
- wifi? (
- !iwd? ( >=net-wireless/wpa_supplicant-0.7.3-r3[dbus] )
- iwd? ( net-wireless/iwd )
- )
-"
-DEPEND="${COMMON_DEPEND}
- >=sys-kernel/linux-headers-3.18
- net-libs/libndp[${MULTILIB_USEDEP}]
- ppp? ( elibc_musl? ( net-libs/ppp-defs ) )
-"
-BDEPEND="
- dev-util/gdbus-codegen
- dev-util/glib-utils
- gtk-doc? (
- dev-util/gtk-doc
- app-text/docbook-xml-dtd:4.1.2
- )
- >=sys-devel/gettext-0.17
- virtual/pkgconfig
- introspection? (
- $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
- dev-lang/perl
- dev-libs/libxslt
- )
- vala? ( $(vala_depend) )
- test? (
- >=dev-libs/jansson-2.7
- $(python_gen_any_dep '
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]')
- )
-"
-
-python_check_deps() {
- if use introspection; then
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
- fi
- if use test; then
- python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
- fi
-}
-
-sysfs_deprecated_check() {
- ebegin "Checking for SYSFS_DEPRECATED support"
-
- if { linux_chkconfig_present SYSFS_DEPRECATED_V2; }; then
- eerror "Please disable SYSFS_DEPRECATED_V2 support in your kernel config and recompile your kernel"
- eerror "or NetworkManager will not work correctly."
- eerror "See https://bugs.gentoo.org/333639 for more info."
- die "CONFIG_SYSFS_DEPRECATED_V2 support detected!"
- fi
- eend $?
-}
-
-pkg_pretend() {
- if use kernel_linux; then
- get_version
- if linux_config_exists; then
- sysfs_deprecated_check
- else
- ewarn "Was unable to determine your kernel .config"
- ewarn "Please note that if CONFIG_SYSFS_DEPRECATED_V2 is set in your kernel .config, NetworkManager will not work correctly."
- ewarn "See https://bugs.gentoo.org/333639 for more info."
- fi
- fi
-}
-
-pkg_setup() {
- if use connection-sharing; then
- if kernel_is lt 5 1; then
- CONFIG_CHECK="~NF_NAT_IPV4 ~NF_NAT_MASQUERADE_IPV4"
- else
- CONFIG_CHECK="~NF_NAT ~NF_NAT_MASQUERADE"
- fi
- linux-info_pkg_setup
- fi
-
- if use introspection || use test; then
- python-any-r1_pkg_setup
- fi
-
- # bug 809695
- if tc-is-clang && use lto; then
- eerror "Clang does not support -flto-partition"
- die "Please use gcc or turn off USE=lto flag when building with clang"
- fi
-}
-
-src_prepare() {
- DOC_CONTENTS="To modify system network connections without needing to enter the
- root password, add your user account to the 'plugdev' group."
-
- default
- use vala && vala_setup
-
- sed -i \
- -e 's#/usr/bin/sed#/bin/sed#' \
- data/84-nm-drivers.rules \
- || die
-}
-
-meson_nm_program() {
- usex "$1" "-D${2:-$1}=$3" "-D${2:-$1}=no"
-}
-
-meson_nm_native_program() {
- multilib_native_usex "$1" "-D${2:-$1}=$3" "-D${2:-$1}=no"
-}
-
-multilib_src_configure() {
- local emesonargs=(
- --localstatedir="${EPREFIX}/var"
-
- -Dsystemdsystemunitdir=$(systemd_get_systemunitdir)
- -Dsystem_ca_path=/etc/ssl/certs
- -Dudev_dir=$(get_udevdir)
- -Ddbus_conf_dir=/usr/share/dbus-1/system.d
- -Dkernel_firmware_dir=/lib/firmware
- -Diptables=/sbin/iptables
- -Dnft=/sbin/nft
- -Ddnsmasq=/usr/sbin/dnsmasq
-
- -Ddist_version=${PVR}
- $(meson_native_use_bool policykit polkit)
- $(meson_native_use_bool policykit config_auth_polkit_default)
- -Dmodify_system=true
- -Dpolkit_agent_helper_1=/usr/lib/polkit-1/polkit-agent-helper-1
- $(meson_native_use_bool selinux)
- $(meson_native_use_bool systemd systemd_journal)
- -Dhostname_persist=gentoo
- -Dlibaudit=$(multilib_native_usex audit)
-
- $(meson_native_use_bool wext)
- $(meson_native_use_bool wifi)
- $(meson_native_use_bool iwd)
- $(meson_native_use_bool ppp)
- -Dpppd=/usr/sbin/pppd
- $(meson_native_use_bool modemmanager modem_manager)
- $(meson_native_use_bool ofono)
- $(meson_native_use_bool concheck)
- $(meson_native_use_bool teamd teamdctl)
- $(meson_native_use_bool ovs)
- $(meson_native_use_bool tools nmcli)
- $(meson_native_use_bool tools nmtui)
- $(meson_native_use_bool tools nm_cloud_setup)
- $(meson_native_use_bool bluetooth bluez5_dun)
- -Debpf=true
-
- -Dconfig_wifi_backend_default=$(multilib_native_usex iwd iwd default)
- -Dconfig_plugins_default=keyfile
- -Difcfg_rh=false
- -Difupdown=false
-
- $(meson_nm_native_program resolvconf "" /sbin/resolvconf)
- -Dnetconfig=no
- -Dconfig_dns_rc_manager_default=auto
-
- $(meson_nm_program dhclient "" /sbin/dhclient)
- -Ddhcpcanon=no
- $(meson_nm_program dhcpcd "" /sbin/dhcpcd)
-
- $(meson_native_use_bool introspection)
- $(meson_native_use_bool vala vapi)
- $(meson_native_use_bool gtk-doc docs)
- -Dtests=$(multilib_native_usex test)
- $(meson_native_true firewalld_zone)
- -Dmore_asserts=0
- $(meson_use debug more_logging)
- -Dvalgrind=no
- -Dvalgrind_suppressions=
- -Dld_gc=false
- $(meson_native_use_bool psl libpsl)
- -Dqt=false
-
- $(meson_use lto b_lto)
- )
-
- if multilib_is_native_abi && use systemd; then
- emesonargs+=( -Dsession_tracking_consolekit=false )
- emesonargs+=( -Dsession_tracking=systemd )
- emesonargs+=( -Dsuspend_resume=systemd )
- elif multilib_is_native_abi && use elogind; then
- emesonargs+=( -Dsession_tracking_consolekit=false )
- emesonargs+=( -Dsession_tracking=elogind )
- emesonargs+=( -Dsuspend_resume=elogind )
- else
- emesonargs+=( -Dsession_tracking_consolekit=false )
- emesonargs+=( -Dsession_tracking=no )
- emesonargs+=( -Dsuspend_resume=auto )
- fi
-
- if multilib_is_native_abi && use syslog; then
- emesonargs+=( -Dconfig_logging_backend_default=syslog )
- elif multilib_is_native_abi && use systemd; then
- emesonargs+=( -Dconfig_logging_backend_default=journal )
- else
- emesonargs+=( -Dconfig_logging_backend_default=default )
- fi
-
- if multilib_is_native_abi && use dhclient; then
- emesonargs+=( -Dconfig_dhcp_default=dhclient )
- elif multilib_is_native_abi && use dhcpcd; then
- emesonargs+=( -Dconfig_dhcp_default=dhcpcd )
- else
- emesonargs+=( -Dconfig_dhcp_default=internal )
- fi
-
- if use nss; then
- emesonargs+=( -Dcrypto=nss )
- else
- emesonargs+=( -Dcrypto=gnutls )
- fi
-
- if use tools ; then
- emesonargs+=( -Dreadline=$(usex libedit libedit libreadline) )
- else
- emesonargs+=( -Dreadline=none )
- fi
-
- # Same hack as net-dialup/pptpd to get proper plugin dir for ppp, bug #519986
- if use ppp; then
- local PPPD_VER=`best_version net-dialup/ppp`
- PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR}
- PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision
- emesonargs+=( -Dpppd_plugin_dir=/usr/$(get_libdir)/pppd/${PPPD_VER} )
- fi
-
- meson_src_configure
-}
-
-multilib_src_test() {
- if use test && multilib_is_native_abi; then
- python_setup
- virtx meson_src_test
- fi
-}
-
-multilib_src_install() {
- meson_src_install
- if ! multilib_is_native_abi; then
- rm -r "${ED}"/{etc,usr/{bin,lib/NetworkManager,share},var} || die
- fi
-}
-
-multilib_src_install_all() {
- ! use systemd && readme.gentoo_create_doc
-
- newinitd "${FILESDIR}/init.d.NetworkManager-r2" NetworkManager
- newconfd "${FILESDIR}/conf.d.NetworkManager" NetworkManager
-
- # Need to keep the /etc/NetworkManager/dispatched.d for dispatcher scripts
- keepdir /etc/NetworkManager/dispatcher.d
-
- # Provide openrc net dependency only when nm is connected
- exeinto /etc/NetworkManager/dispatcher.d
- newexe "${FILESDIR}/10-openrc-status-r4" 10-openrc-status
- sed -e "s:@EPREFIX@:${EPREFIX}:g" \
- -i "${ED}/etc/NetworkManager/dispatcher.d/10-openrc-status" || die
-
- keepdir /etc/NetworkManager/system-connections
- chmod 0600 "${ED}"/etc/NetworkManager/system-connections/.keep* # bug #383765, upstream bug #754594
-
- # Allow users in plugdev group to modify system connections
- insinto /usr/share/polkit-1/rules.d/
- doins "${FILESDIR}"/01-org.freedesktop.NetworkManager.settings.modify.system.rules
-
- insinto /usr/lib/NetworkManager/conf.d #702476
- doins "${S}"/examples/nm-conf.d/31-mac-addr-change.conf
-
- if use iwd; then
- # This goes to $nmlibdir/conf.d/ and $nmlibdir is '${prefix}'/lib/$PACKAGE, thus always lib, not get_libdir
- cat <<-EOF > "${ED}"/usr/lib/NetworkManager/conf.d/iwd.conf || die
- [device]
- wifi.backend=iwd
- EOF
- fi
-
- mv "${ED}"/usr/share/doc/{NetworkManager/examples/,${PF}} || die
- rmdir "${ED}"/usr/share/doc/NetworkManager || die
-
- # Empty
- rmdir "${ED}"/var{/lib{/NetworkManager,},} || die
-}
-
-pkg_postinst() {
- udev_reload
-
- systemd_reenable NetworkManager.service
- ! use systemd && readme.gentoo_print_elog
-
- if [[ -e "${EROOT}/etc/NetworkManager/nm-system-settings.conf" ]]; then
- ewarn "The ${PN} system configuration file has moved to a new location."
- ewarn "You must migrate your settings from ${EROOT}/etc/NetworkManager/nm-system-settings.conf"
- ewarn "to ${EROOT}/etc/NetworkManager/NetworkManager.conf"
- ewarn
- ewarn "After doing so, you can remove ${EROOT}/etc/NetworkManager/nm-system-settings.conf"
- fi
-
- # NM fallbacks to plugin specified at compile time (upstream bug #738611)
- # but still show a warning to remember people to have cleaner config file
- if [[ -e "${EROOT}/etc/NetworkManager/NetworkManager.conf" ]]; then
- if grep plugins "${EROOT}/etc/NetworkManager/NetworkManager.conf" | grep -q ifnet; then
- ewarn
- ewarn "You seem to use 'ifnet' plugin in ${EROOT}/etc/NetworkManager/NetworkManager.conf"
- ewarn "Since it won't be used, you will need to stop setting ifnet plugin there."
- ewarn
- fi
- fi
-
- # NM shows lots of errors making nmcli almost unusable, bug #528748 upstream bug #690457
- if grep -r "psk-flags=1" "${EROOT}"/etc/NetworkManager/; then
- ewarn "You have psk-flags=1 setting in above files, you will need to"
- ewarn "either reconfigure affected networks or, at least, set the flag"
- ewarn "value to '0'."
- fi
-
- if use dhclient || use dhcpcd; then
- ewarn "You have enabled USE=dhclient and/or USE=dhcpcd, but NetworkManager since"
- ewarn "version 1.20 defaults to the internal DHCP client. If the internal client"
- ewarn "works for you, and you're happy with, the alternative USE flags can be"
- ewarn "disabled. If you want to use dhclient or dhcpcd, then you need to tweak"
- ewarn "the main.dhcp configuration option to use one of them instead of internal."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/net-misc/xmrig/Manifest b/net-misc/xmrig/Manifest
index efb1e6c64b81..50b9a294c24b 100644
--- a/net-misc/xmrig/Manifest
+++ b/net-misc/xmrig/Manifest
@@ -1,8 +1,9 @@
AUX xmrig-6.12.2-nonotls.patch 578 BLAKE2B 4d71c8d35be47fd12a019d7b8cb6e1b8787e153ab543b9b1e4079c911671ff886042d90cd439552bf364208d9a4afcc7fe088b50598bbc20e347b532dfc92a2d SHA512 fea6041879c414a4fc6006a413b217801d674f7b5d849d95c119d07e191c5d7a5e99fb959d89974b68be9df132ff480f8492645ba6821b369444b102596b06f3
+AUX xmrig-6.18.1-gcc-13.patch 1910 BLAKE2B e3a097ef3d4999a84a9aa4edad1fd14dc7c62253b907d9642337859b08e41523783a642650b86fa48bd78939fff6b248aa2bffefbc07c3b8e842627a1f285531 SHA512 4182acc2fdc3949ae02319af7408ef6059a1803213a3cf0f5c1cd4df33b71a30aa6b871990ed767cb7e0ce061ee03e34bd1878ffcc1a301ebb7cbb36ebd41e3f
AUX xmrig.service 946 BLAKE2B 1f3b28f8229183da528ac2b4279dd64b5c6f752720c6bdfe90fa9e127108623e4a577a274527249ee7a13969be97e9b1a4348f7c3e0798839d0ed3ee67b16188 SHA512 77da620627272113e7c77a090536b04cb5a89f4010060ffb21ea1c9edc50e0743f913a70e4fb612c23aeea2b8f1a3f9ce024a434076cf9498cce0b5f801faafa
DIST xmrig-6.18.1.tar.gz 2394259 BLAKE2B 4d7ed3ce7b6c9dce9b25da7c316df4542046b014167ce090c5c2ec4dbf61607e4238ce8a8407a396f1eb47dc76cbfac08e0131835d9c4bbff8f4e5920d2f19a6 SHA512 bb297b17f820ad38f0c68aebfe1be8e82e85aede99a9e2a7692935ed57dab06a36566d13c16f850123dc6e829dfb56bc9253c46b94e6a703fe169a0126feb37b
DIST xmrig-6.19.0.tar.gz 2409845 BLAKE2B 4798b40555b2ea57a76fedfc0a86dd27f035389b9709d71205c10a2da92e6738243c76d5b67ecefe3d66c597859db9191ff90893e50f8f89194c5c6454d3c02b SHA512 7dadab1c30dc76349148ab62968c999fdc01ac92e184c81b8693e90829aaff3d8be147996aae36efebb2d767f792cda30f365226942758620f6bfce3531b3f97
-EBUILD xmrig-6.18.1.ebuild 1339 BLAKE2B 9b7bcd3cf6831626278475a3b08c912da8d5cb646c928493dbcddea6b6a34dbe54a650200f2676921c7daa96b288b7654699a816d55d387174d475c6562ad786 SHA512 2d0e6334dcd30bf5a357c14089842bb00df837ea4fd37b5901687f568b2f23906da5ab2add4f15ea043ef2a56c5a022381d80c7227a0ef69131aff252f7c3824
-EBUILD xmrig-6.19.0.ebuild 1341 BLAKE2B db493c0263539534695db5ebcc4767cb8bfef9cfa78bb857abc40b6b58dde51f95352f67a73471163914e71104b62af80d84670baf6fa213cc27d9df5a765b25 SHA512 4573334068f2f06015b3b269dbe4eddd7a21c6d87730a1dcc037eb9f5a8e73fb4ca1b97804a313aade094f9afd9901c32c9f96ed3c51c27b50562c2298f76730
-EBUILD xmrig-9999.ebuild 1341 BLAKE2B 57e511706fc10b3ae13aa788cf98fc7bbae846e1993c16e30c6bee5b5ac4d65e43481542a11bdee219d5aa46be79e1d3281259bf61719f9095bd902660617748 SHA512 c2addf892f4692610fc4ff757f13b0528ebaad9aef07bd5d4c8923d97d13a493a169869fe611ea612c0e5607f8a4c67c4adf2f2845405de1f131d9e5800ddee6
+EBUILD xmrig-6.18.1-r1.ebuild 1380 BLAKE2B 19be293fb94993256abb1f94c29bb229d47cae8669ee2c88b5c2f93e792cdb35694c7642b355ff89ff0c4e6deffaf996896f70fb39e8fe7c91e5ed707ed22b07 SHA512 a5b5b4f17f5f29669ee0f712c58d044e55156102967446444f03db99b607fd158249afe4b2bf0cec0a442f45ad06b576431f6c0c239fcc63c86f92ef7aed0ca8
+EBUILD xmrig-6.19.0-r1.ebuild 1382 BLAKE2B e842e0f75c57b51801f7cd011f12726a1b44730fe2557c7f0741ab970b3ae0589d38853153be07d8e6320c253f7eb7851653754019f0372bc8284294f9fdc83f SHA512 fb9a23d6343f390d80a6584bad342b00a164d35deeac2b310abca54b791125bfc59ef2b84b1ed19c918f7e8468f7e86af67ec40449026d5a3eec83744ed5cc2b
+EBUILD xmrig-9999.ebuild 1382 BLAKE2B e842e0f75c57b51801f7cd011f12726a1b44730fe2557c7f0741ab970b3ae0589d38853153be07d8e6320c253f7eb7851653754019f0372bc8284294f9fdc83f SHA512 fb9a23d6343f390d80a6584bad342b00a164d35deeac2b310abca54b791125bfc59ef2b84b1ed19c918f7e8468f7e86af67ec40449026d5a3eec83744ed5cc2b
MISC metadata.xml 1023 BLAKE2B 207d4db4091e38a612d7bf060ca7f58c97454a03d39b0f49e0968f387a1d97d7624834ea0d010b650fc384ab51550693d90710808516082f14a5d51ecd42b9f4 SHA512 93dd1dc29085b6277a5787515449b67c45753cdd00de5a854522907cec0a59078327074c0f3a8577c1d505b0eb30e63267375b3ccc2cf0dcae697b56d163aa39
diff --git a/net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch b/net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch
new file mode 100644
index 000000000000..1726c3b01523
--- /dev/null
+++ b/net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch
@@ -0,0 +1,70 @@
+From bd14e6034ba2de0056278c3ad9923199b7f4d20f Mon Sep 17 00:00:00 2001
+From: Matthew Smith <matthew@gentoo.org>
+Date: Mon, 20 Feb 2023 16:09:19 +0000
+Subject: [PATCH] Fix build with gcc 13
+
+Now some header files are not included transistively with new
+libstdc++.
+
+Bug: https://bugs.gentoo.org/895226
+--- a/src/backend/opencl/runners/OclBaseRunner.cpp
++++ b/src/backend/opencl/runners/OclBaseRunner.cpp
+@@ -23,6 +23,9 @@
+ */
+
+
++#include <stdexcept>
++
++
+ #include "backend/opencl/runners/OclBaseRunner.h"
+ #include "backend/opencl/cl/OclSource.h"
+ #include "backend/opencl/OclCache.h"
+--- a/src/backend/opencl/runners/OclCnRunner.cpp
++++ b/src/backend/opencl/runners/OclCnRunner.cpp
+@@ -16,6 +16,9 @@
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
++#include <stdexcept>
++
++
+ #include "backend/opencl/runners/OclCnRunner.h"
+ #include "backend/opencl/kernels/Cn0Kernel.h"
+ #include "backend/opencl/kernels/Cn1Kernel.h"
+--- a/src/backend/opencl/runners/OclKawPowRunner.cpp
++++ b/src/backend/opencl/runners/OclKawPowRunner.cpp
+@@ -16,6 +16,9 @@
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
++#include <stdexcept>
++
++
+ #include "backend/opencl/runners/OclKawPowRunner.h"
+ #include "backend/common/Tags.h"
+ #include "3rdparty/libethash/ethash_internal.h"
+--- a/src/backend/opencl/runners/OclRxJitRunner.cpp
++++ b/src/backend/opencl/runners/OclRxJitRunner.cpp
+@@ -16,6 +16,9 @@
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
++#include <stdexcept>
++
++
+ #include "backend/opencl/runners/OclRxJitRunner.h"
+ #include "backend/opencl/cl/rx/randomx_run_gfx803.h"
+ #include "backend/opencl/cl/rx/randomx_run_gfx900.h"
+--- a/src/base/net/http/HttpResponse.h
++++ b/src/base/net/http/HttpResponse.h
+@@ -21,6 +21,7 @@
+ #define XMRIG_HTTPRESPONSE_H
+
+
++#include <cstdint>
+ #include <map>
+ #include <string>
+
+--
+2.39.2
+
diff --git a/net-misc/xmrig/xmrig-6.18.1.ebuild b/net-misc/xmrig/xmrig-6.18.1-r1.ebuild
index 0f1d09c1b7a9..89809b2e8627 100644
--- a/net-misc/xmrig/xmrig-6.18.1.ebuild
+++ b/net-misc/xmrig/xmrig-6.18.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -33,6 +33,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-6.12.2-nonotls.patch
+ "${FILESDIR}"/${PN}-6.18.1-gcc-13.patch
)
src_prepare() {
diff --git a/net-misc/xmrig/xmrig-6.19.0.ebuild b/net-misc/xmrig/xmrig-6.19.0-r1.ebuild
index 7f9e7dd2397c..7a4ceae89308 100644
--- a/net-misc/xmrig/xmrig-6.19.0.ebuild
+++ b/net-misc/xmrig/xmrig-6.19.0-r1.ebuild
@@ -33,6 +33,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-6.12.2-nonotls.patch
+ "${FILESDIR}"/${PN}-6.18.1-gcc-13.patch
)
src_prepare() {
diff --git a/net-misc/xmrig/xmrig-9999.ebuild b/net-misc/xmrig/xmrig-9999.ebuild
index 5e038e700270..7a4ceae89308 100644
--- a/net-misc/xmrig/xmrig-9999.ebuild
+++ b/net-misc/xmrig/xmrig-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -33,6 +33,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-6.12.2-nonotls.patch
+ "${FILESDIR}"/${PN}-6.18.1-gcc-13.patch
)
src_prepare() {