From cd356b722fd8d162f02a5059fae1a66e00be52e3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 17 Mar 2024 00:48:59 +0000 Subject: gentoo auto-resync : 17:03:2024 - 00:48:58 --- net-misc/Manifest.gz | Bin 54993 -> 54985 bytes net-misc/freerdp/Manifest | 10 +- net-misc/freerdp/freerdp-2.11.5-r1.ebuild | 142 ++++++++ net-misc/freerdp/freerdp-2.11.5.ebuild | 142 -------- net-misc/freerdp/freerdp-2.9999.ebuild | 2 +- net-misc/freerdp/freerdp-3.2.0-r1.ebuild | 156 -------- net-misc/freerdp/freerdp-3.2.0-r2.ebuild | 156 ++++++++ net-misc/freerdp/freerdp-3.4.0-r1.ebuild | 156 -------- net-misc/freerdp/freerdp-3.4.0-r2.ebuild | 156 ++++++++ net-misc/freerdp/freerdp-9999.ebuild | 2 +- net-misc/networkmanager/Manifest | 2 +- .../networkmanager/networkmanager-1.46.0-r1.ebuild | 393 +++++++++++++++++++++ .../networkmanager/networkmanager-1.46.0.ebuild | 390 -------------------- 13 files changed, 855 insertions(+), 852 deletions(-) create mode 100644 net-misc/freerdp/freerdp-2.11.5-r1.ebuild delete mode 100644 net-misc/freerdp/freerdp-2.11.5.ebuild delete mode 100644 net-misc/freerdp/freerdp-3.2.0-r1.ebuild create mode 100644 net-misc/freerdp/freerdp-3.2.0-r2.ebuild delete mode 100644 net-misc/freerdp/freerdp-3.4.0-r1.ebuild create mode 100644 net-misc/freerdp/freerdp-3.4.0-r2.ebuild create mode 100644 net-misc/networkmanager/networkmanager-1.46.0-r1.ebuild delete mode 100644 net-misc/networkmanager/networkmanager-1.46.0.ebuild (limited to 'net-misc') diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz index f7449f3c1b23..b870634c7335 100644 Binary files a/net-misc/Manifest.gz and b/net-misc/Manifest.gz differ diff --git a/net-misc/freerdp/Manifest b/net-misc/freerdp/Manifest index 533688d61f34..87254b88c693 100644 --- a/net-misc/freerdp/Manifest +++ b/net-misc/freerdp/Manifest @@ -3,9 +3,9 @@ AUX freerdp-2.11.2-clang.patch 1132 BLAKE2B ba35de705f66e571e177f1291ccaf3c72f23 DIST freerdp-2.11.5.tar.gz 7330372 BLAKE2B 53adf40ca8f6c226f93cbc4599d857170bed2cbbe233860f52b30416b3a5d15c1ef2268c329790553dd1dbbcd93dedd834e5b62f67128029e551083d1053b357 SHA512 152dfef2783283ef703eb28ebe4d32fb02519ee6de9042b124af34395a2a6db36bd4cf1e96200ba3e93acf06c245109413e3e36e6143ed4409bd90ede6c383bd DIST freerdp-3.2.0.tar.gz 8407869 BLAKE2B cebb14965a71a441d1e53b778db1464751830e96660b6f0d68f32c741544a173b57c4fc92ec24ea6aa3599b62db666987e66b46bd4e6fd2de7ce72869a5d1a07 SHA512 ace6004d11f7fea0e1f927a84367afd9e51b2b566135d7055f548146922a949b9324a2e172bfc1c055bcd27f0eea3e077dc6cfd825c172bffdecb8c28edb076e DIST freerdp-3.4.0.tar.gz 9331562 BLAKE2B 888d6c5786c7b3c5eea89e41bca23ef2b323377b8115c5f5bfd0dd38e5ed2d3701ffc7603e4aa4253e9116804a12268f4b59dadeb2f60f5c39e8170e78ba6bd1 SHA512 b69f2a2a5f6c70b4a21f0768ce2050020af47b83a3cf06d3b3b46a0e6aa7c062ed2b9de04782a8d6651002ded4c267f8653dfdc2517323926aaab3675924b6c5 -EBUILD freerdp-2.11.5.ebuild 3383 BLAKE2B f845c84d88923801d371a075033dff512c457cb85c411961b754c8ef14521343718bb8ee2988d3e2280ec8c5291375014d0b1b1d83af9935094212248126c961 SHA512 3dbc6db657855fef9c770a20d864f7e21c2b7815b53311cad95bd12119eae738e94a373fe3c21d67c46e2422dcd7037a8b8ace46df73888523fa3cefb324e3d3 -EBUILD freerdp-2.9999.ebuild 3248 BLAKE2B 977546bf36497225536b8796a6e050be5e343b4e28e573f0813ef8f87e54717e211c20acc02b36b1a8dd5457fb7aaff82b7df50196d77bd5012db26da4ce4b76 SHA512 449c04a5761cc92f9b8ccc8825d38feada98352903af08db706b60ede48dfaefde464a9343ba1273a1c32bac8c3607e16c7d6a3cc5926a7a7d49f2c189fbf791 -EBUILD freerdp-3.2.0-r1.ebuild 3788 BLAKE2B ca2df812b3ecad0f529e56bbe23a1bb2f6b23bd5ed6ff56d08e3c3d294d96c8be3e1b27a921bcfb4131e9981a326614638edcc49654c930cb002c7eb05aa7087 SHA512 4cc015c41ef81e8917f0b2cc755d6818ae3eaf0b3a92a5ecd4529a7f526ac830e9f86794595697da3c2dd36e405cd43a28fa47ed50276ef0c0323d794611aaaa -EBUILD freerdp-3.4.0-r1.ebuild 3788 BLAKE2B ca2df812b3ecad0f529e56bbe23a1bb2f6b23bd5ed6ff56d08e3c3d294d96c8be3e1b27a921bcfb4131e9981a326614638edcc49654c930cb002c7eb05aa7087 SHA512 4cc015c41ef81e8917f0b2cc755d6818ae3eaf0b3a92a5ecd4529a7f526ac830e9f86794595697da3c2dd36e405cd43a28fa47ed50276ef0c0323d794611aaaa -EBUILD freerdp-9999.ebuild 3788 BLAKE2B ca2df812b3ecad0f529e56bbe23a1bb2f6b23bd5ed6ff56d08e3c3d294d96c8be3e1b27a921bcfb4131e9981a326614638edcc49654c930cb002c7eb05aa7087 SHA512 4cc015c41ef81e8917f0b2cc755d6818ae3eaf0b3a92a5ecd4529a7f526ac830e9f86794595697da3c2dd36e405cd43a28fa47ed50276ef0c0323d794611aaaa +EBUILD freerdp-2.11.5-r1.ebuild 3390 BLAKE2B 0d737f70a9631c8fbc984578d351d501763aed71acd3543153088ad464dd6fa704bc346e5b51d7197b165adc6d6538446f5ddfa0b54a5cf68e1d40c6fe849744 SHA512 b7a34473f106d3bc438b4315e66e5e2e572ac4e7b3114facb657f103d114eb49cd0bd8661440b06e21bed58ae693c1dfcd84525af342fb9af25570a37156bd07 +EBUILD freerdp-2.9999.ebuild 3255 BLAKE2B fa65f3ed311801dfa1ac4493a81a1a3551724e68722cdb825c9c159ff06d158c20c722184108ceaf87ded460f60d41e5ab849ac77b8b9155ff14f3c7943f831c SHA512 8058dbdcd89d40e84883b82aef17d7096bb93faf1e35f0198063a2807106d4814b0332fed7f626c43aade813391c557787f0a65c6dbc75d0ff04f2b27ff1ccdf +EBUILD freerdp-3.2.0-r2.ebuild 3795 BLAKE2B 8653776ac56bc09b9e19ca8c70cad31ffa554ff3cae6f48d1d2d3afa14f76ba7bd2b21508caa68a2d1aac8605fab80e89ad95d25d89ebc12ba42b7997e9bd6bf SHA512 3738ec8393ea0cd2ce324040691ffe7c9e4a2d75833c4181eeab5ce965cdb8e5f7ea2ace4474caec1d695a1ad48fc5e9d6f6145a0499844753fdb1b07bb56b7d +EBUILD freerdp-3.4.0-r2.ebuild 3795 BLAKE2B 8653776ac56bc09b9e19ca8c70cad31ffa554ff3cae6f48d1d2d3afa14f76ba7bd2b21508caa68a2d1aac8605fab80e89ad95d25d89ebc12ba42b7997e9bd6bf SHA512 3738ec8393ea0cd2ce324040691ffe7c9e4a2d75833c4181eeab5ce965cdb8e5f7ea2ace4474caec1d695a1ad48fc5e9d6f6145a0499844753fdb1b07bb56b7d +EBUILD freerdp-9999.ebuild 3795 BLAKE2B 8653776ac56bc09b9e19ca8c70cad31ffa554ff3cae6f48d1d2d3afa14f76ba7bd2b21508caa68a2d1aac8605fab80e89ad95d25d89ebc12ba42b7997e9bd6bf SHA512 3738ec8393ea0cd2ce324040691ffe7c9e4a2d75833c4181eeab5ce965cdb8e5f7ea2ace4474caec1d695a1ad48fc5e9d6f6145a0499844753fdb1b07bb56b7d MISC metadata.xml 599 BLAKE2B abc5045f654a1dee76a0c4352bb2374063a885c1bce2b0ccf43a62cf933119a6aa50bf835c3b35e546d6bbd772100d8523e4f388ebbb43883e5903957799d65e SHA512 7f06ed1615b32380a21e5fe772e0e36c475dc105a78f8766c13158b49526b288d4de81be2649861544acd8cd3ac51720c985ebfe19cb4439f3ea96c67b729c01 diff --git a/net-misc/freerdp/freerdp-2.11.5-r1.ebuild b/net-misc/freerdp/freerdp-2.11.5-r1.ebuild new file mode 100644 index 000000000000..1d009bf8f0f4 --- /dev/null +++ b/net-misc/freerdp/freerdp-2.11.5-r1.ebuild @@ -0,0 +1,142 @@ +# Copyright 2011-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/FreeRDP/FreeRDP.git" + case ${PV} in + 2.*) EGIT_BRANCH="stable-2.0";; + esac +else + MY_P=${P/_/-} + S="${WORKDIR}/${MY_P}" + SRC_URI="https://pub.freerdp.com/releases/${MY_P}.tar.gz" + KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv x86" +fi + +DESCRIPTION="Free implementation of the Remote Desktop Protocol" +HOMEPAGE="https://www.freerdp.com/" + +LICENSE="Apache-2.0" +SLOT="0/2" +IUSE="alsa cpu_flags_arm_neon cups debug doc +ffmpeg gstreamer icu jpeg kerberos openh264 pulseaudio server smartcard systemd test usb valgrind wayland X xinerama xv" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/openssl:0= + sys-libs/zlib:0 + alsa? ( media-libs/alsa-lib ) + cups? ( net-print/cups ) + usb? ( + virtual/libudev:0= + sys-apps/util-linux:0= + dev-libs/dbus-glib:0= + virtual/libusb:1= + ) + X? ( + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrender + xinerama? ( x11-libs/libXinerama ) + xv? ( x11-libs/libXv ) + ) + ffmpeg? ( media-video/ffmpeg:0= ) + !ffmpeg? ( + x11-libs/cairo:0= + ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + X? ( x11-libs/libXrandr ) + ) + icu? ( dev-libs/icu:0= ) + jpeg? ( media-libs/libjpeg-turbo:0= ) + kerberos? ( virtual/krb5 ) + openh264? ( media-libs/openh264:0= ) + pulseaudio? ( media-libs/libpulse ) + server? ( + X? ( + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXtst + xinerama? ( x11-libs/libXinerama ) + ) + ) + smartcard? ( sys-apps/pcsc-lite ) + systemd? ( sys-apps/systemd:0= ) + wayland? ( + dev-libs/wayland + x11-libs/libxkbcommon + ) + X? ( + x11-libs/libX11 + x11-libs/libxkbfile + ) +" +DEPEND=" + ${RDEPEND} + valgrind? ( dev-debug/valgrind ) +" +BDEPEND=" + virtual/pkgconfig + X? ( doc? ( + app-text/docbook-xml-dtd:4.1.2 + app-text/xmlto + ) ) +" + +PATCHES=( + "${FILESDIR}/freerdp-2.11.2-clang.patch" + "${FILESDIR}/freerdp-2.11-Revert-codec-encode-messages-considering-endianness.patch" +) + +src_configure() { + # bug #881695 + filter-lto + + local mycmakeargs=( + -Wno-dev + -DBUILD_TESTING=$(usex test ON OFF) + -DCHANNEL_URBDRC=$(usex usb ON OFF) + -DWITH_ALSA=$(usex alsa ON OFF) + -DWITH_CCACHE=OFF + -DWITH_CUPS=$(usex cups ON OFF) + -DWITH_DEBUG_ALL=$(usex debug ON OFF) + -DWITH_MANPAGES=$(usex doc ON OFF) + -DWITH_FFMPEG=$(usex ffmpeg ON OFF) + -DWITH_SWSCALE=$(usex ffmpeg ON OFF) + -DWITH_CAIRO=$(usex ffmpeg OFF ON) + -DWITH_DSP_FFMPEG=$(usex ffmpeg ON OFF) + -DWITH_GSTREAMER_1_0=$(usex gstreamer ON OFF) + -DWITH_ICU=$(usex icu ON OFF) + -DWITH_JPEG=$(usex jpeg ON OFF) + -DWITH_GSSAPI=$(usex kerberos ON OFF) + -DWITH_NEON=$(usex cpu_flags_arm_neon ON OFF) + -DWITH_OPENH264=$(usex openh264 ON OFF) + -DWITH_OSS=OFF + -DWITH_PULSE=$(usex pulseaudio ON OFF) + -DWITH_SERVER=$(usex server ON OFF) + -DWITH_PCSC=$(usex smartcard ON OFF) + -DWITH_LIBSYSTEMD=$(usex systemd ON OFF) + -DWITH_VALGRIND_MEMCHECK=$(usex valgrind ON OFF) + -DWITH_X11=$(usex X ON OFF) + -DWITH_XINERAMA=$(usex xinerama ON OFF) + -DWITH_XV=$(usex xv ON OFF) + -DWITH_WAYLAND=$(usex wayland ON OFF) + ) + cmake_src_configure +} + +src_test() { + local myctestargs=() + use elibc_musl && myctestargs+=( -E TestBacktrace ) + cmake_src_test +} diff --git a/net-misc/freerdp/freerdp-2.11.5.ebuild b/net-misc/freerdp/freerdp-2.11.5.ebuild deleted file mode 100644 index d4068b5b9c9e..000000000000 --- a/net-misc/freerdp/freerdp-2.11.5.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 2011-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/FreeRDP/FreeRDP.git" - case ${PV} in - 2.*) EGIT_BRANCH="stable-2.0";; - esac -else - MY_P=${P/_/-} - S="${WORKDIR}/${MY_P}" - SRC_URI="https://pub.freerdp.com/releases/${MY_P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv x86" -fi - -DESCRIPTION="Free implementation of the Remote Desktop Protocol" -HOMEPAGE="https://www.freerdp.com/" - -LICENSE="Apache-2.0" -SLOT="0/2" -IUSE="alsa cpu_flags_arm_neon cups debug doc +ffmpeg gstreamer icu jpeg kerberos openh264 pulseaudio server smartcard systemd test usb valgrind wayland X xinerama xv" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/openssl:0= - sys-libs/zlib:0 - alsa? ( media-libs/alsa-lib ) - cups? ( net-print/cups ) - usb? ( - virtual/libudev:0= - sys-apps/util-linux:0= - dev-libs/dbus-glib:0= - virtual/libusb:1= - ) - X? ( - x11-libs/libXcursor - x11-libs/libXext - x11-libs/libXi - x11-libs/libXrender - xinerama? ( x11-libs/libXinerama ) - xv? ( x11-libs/libXv ) - ) - ffmpeg? ( media-video/ffmpeg:0= ) - !ffmpeg? ( - x11-libs/cairo:0= - ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - x11-libs/libXrandr - ) - icu? ( dev-libs/icu:0= ) - jpeg? ( media-libs/libjpeg-turbo:0= ) - kerberos? ( virtual/krb5 ) - openh264? ( media-libs/openh264:0= ) - pulseaudio? ( media-libs/libpulse ) - server? ( - X? ( - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXtst - xinerama? ( x11-libs/libXinerama ) - ) - ) - smartcard? ( sys-apps/pcsc-lite ) - systemd? ( sys-apps/systemd:0= ) - wayland? ( - dev-libs/wayland - x11-libs/libxkbcommon - ) - X? ( - x11-libs/libX11 - x11-libs/libxkbfile - ) -" -DEPEND=" - ${RDEPEND} - valgrind? ( dev-debug/valgrind ) -" -BDEPEND=" - virtual/pkgconfig - X? ( doc? ( - app-text/docbook-xml-dtd:4.1.2 - app-text/xmlto - ) ) -" - -PATCHES=( - "${FILESDIR}/freerdp-2.11.2-clang.patch" - "${FILESDIR}/freerdp-2.11-Revert-codec-encode-messages-considering-endianness.patch" -) - -src_configure() { - # bug #881695 - filter-lto - - local mycmakeargs=( - -Wno-dev - -DBUILD_TESTING=$(usex test ON OFF) - -DCHANNEL_URBDRC=$(usex usb ON OFF) - -DWITH_ALSA=$(usex alsa ON OFF) - -DWITH_CCACHE=OFF - -DWITH_CUPS=$(usex cups ON OFF) - -DWITH_DEBUG_ALL=$(usex debug ON OFF) - -DWITH_MANPAGES=$(usex doc ON OFF) - -DWITH_FFMPEG=$(usex ffmpeg ON OFF) - -DWITH_SWSCALE=$(usex ffmpeg ON OFF) - -DWITH_CAIRO=$(usex ffmpeg OFF ON) - -DWITH_DSP_FFMPEG=$(usex ffmpeg ON OFF) - -DWITH_GSTREAMER_1_0=$(usex gstreamer ON OFF) - -DWITH_ICU=$(usex icu ON OFF) - -DWITH_JPEG=$(usex jpeg ON OFF) - -DWITH_GSSAPI=$(usex kerberos ON OFF) - -DWITH_NEON=$(usex cpu_flags_arm_neon ON OFF) - -DWITH_OPENH264=$(usex openh264 ON OFF) - -DWITH_OSS=OFF - -DWITH_PULSE=$(usex pulseaudio ON OFF) - -DWITH_SERVER=$(usex server ON OFF) - -DWITH_PCSC=$(usex smartcard ON OFF) - -DWITH_LIBSYSTEMD=$(usex systemd ON OFF) - -DWITH_VALGRIND_MEMCHECK=$(usex valgrind ON OFF) - -DWITH_X11=$(usex X ON OFF) - -DWITH_XINERAMA=$(usex xinerama ON OFF) - -DWITH_XV=$(usex xv ON OFF) - -DWITH_WAYLAND=$(usex wayland ON OFF) - ) - cmake_src_configure -} - -src_test() { - local myctestargs=() - use elibc_musl && myctestargs+=( -E TestBacktrace ) - cmake_src_test -} diff --git a/net-misc/freerdp/freerdp-2.9999.ebuild b/net-misc/freerdp/freerdp-2.9999.ebuild index dab2510207ae..6e2277b4bffe 100644 --- a/net-misc/freerdp/freerdp-2.9999.ebuild +++ b/net-misc/freerdp/freerdp-2.9999.ebuild @@ -52,7 +52,7 @@ RDEPEND=" gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 - x11-libs/libXrandr + X? ( x11-libs/libXrandr ) ) icu? ( dev-libs/icu:0= ) jpeg? ( media-libs/libjpeg-turbo:0= ) diff --git a/net-misc/freerdp/freerdp-3.2.0-r1.ebuild b/net-misc/freerdp/freerdp-3.2.0-r1.ebuild deleted file mode 100644 index 6063aa81da39..000000000000 --- a/net-misc/freerdp/freerdp-3.2.0-r1.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 2011-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/FreeRDP/FreeRDP.git" - case ${PV} in - 2.*) EGIT_BRANCH="stable-2.0";; - esac -else - MY_P=${P/_/-} - S="${WORKDIR}/${MY_P}" - SRC_URI="https://pub.freerdp.com/releases/${MY_P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -fi - -DESCRIPTION="Free implementation of the Remote Desktop Protocol" -HOMEPAGE="https://www.freerdp.com/" - -LICENSE="Apache-2.0" -SLOT="0/3" -IUSE="aad alsa cpu_flags_arm_neon cups debug +ffmpeg +fuse gstreamer +icu jpeg kerberos openh264 pulseaudio sdl server smartcard systemd test usb valgrind wayland X xinerama xv" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/openssl:0= - sys-libs/zlib:0 - aad? ( dev-libs/cJSON ) - alsa? ( media-libs/alsa-lib ) - cups? ( net-print/cups ) - usb? ( - virtual/libudev:0= - sys-apps/util-linux:0= - dev-libs/dbus-glib:0= - virtual/libusb:1= - ) - X? ( - x11-libs/libXcursor - x11-libs/libXext - x11-libs/libXi - x11-libs/libXrender - xinerama? ( x11-libs/libXinerama ) - xv? ( x11-libs/libXv ) - ) - ffmpeg? ( media-video/ffmpeg:0= ) - !ffmpeg? ( - x11-libs/cairo:0= - ) - fuse? ( sys-fs/fuse:3 ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - x11-libs/libXrandr - ) - icu? ( dev-libs/icu:0= ) - jpeg? ( media-libs/libjpeg-turbo:0= ) - kerberos? ( virtual/krb5 ) - openh264? ( media-libs/openh264:0= ) - pulseaudio? ( media-libs/libpulse ) - sdl? ( - media-libs/libsdl2[haptic(+),joystick(+),sound(+),video(+)] - media-libs/sdl2-ttf - ) - server? ( - X? ( - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXtst - xinerama? ( x11-libs/libXinerama ) - ) - ) - smartcard? ( - dev-libs/pkcs11-helper - sys-apps/pcsc-lite - ) - systemd? ( sys-apps/systemd:0= ) - wayland? ( - dev-libs/wayland - x11-libs/libxkbcommon - ) - X? ( - x11-libs/libX11 - x11-libs/libxkbfile - ) -" -DEPEND=" - ${RDEPEND} - valgrind? ( dev-debug/valgrind ) -" -BDEPEND=" - virtual/pkgconfig - app-text/docbook-xsl-stylesheets - dev-libs/libxslt -" - -src_configure() { - # bug #881695 - filter-lto - - local mycmakeargs=( - -Wno-dev - - # https://bugs.gentoo.org/927037 - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF - - -DBUILD_TESTING=$(usex test ON OFF) - -DCHANNEL_URBDRC=$(usex usb ON OFF) - -DWITH_AAD=$(usex aad ON OFF) - -DWITH_ALSA=$(usex alsa ON OFF) - -DWITH_CCACHE=OFF - -DWITH_CLIENT_SDL=$(usex sdl ON OFF) - -DWITH_SAMPLE=OFF - -DWITH_CUPS=$(usex cups ON OFF) - -DWITH_DEBUG_ALL=$(usex debug ON OFF) - -DWITH_MANPAGES=ON - -DWITH_FFMPEG=$(usex ffmpeg ON OFF) - -DWITH_FREERDP_DEPRECATED_COMMANDLINE=ON - -DWITH_SWSCALE=$(usex ffmpeg ON OFF) - -DWITH_CAIRO=$(usex ffmpeg OFF ON) - -DWITH_DSP_FFMPEG=$(usex ffmpeg ON OFF) - -DWITH_FUSE=$(usex fuse ON OFF) - -DWITH_GSTREAMER_1_0=$(usex gstreamer ON OFF) - -DWITH_JPEG=$(usex jpeg ON OFF) - -DWITH_KRB5=$(usex kerberos ON OFF) - -DWITH_NEON=$(usex cpu_flags_arm_neon ON OFF) - -DWITH_OPENH264=$(usex openh264 ON OFF) - -DWITH_OSS=OFF - -DWITH_PCSC=$(usex smartcard ON OFF) - -DWITH_PKCS11=$(usex smartcard ON OFF) - -DWITH_PULSE=$(usex pulseaudio ON OFF) - -DWITH_SERVER=$(usex server ON OFF) - -DWITH_LIBSYSTEMD=$(usex systemd ON OFF) - -DWITH_UNICODE_BUILTIN=$(usex icu OFF ON) - -DWITH_VALGRIND_MEMCHECK=$(usex valgrind ON OFF) - -DWITH_X11=$(usex X ON OFF) - -DWITH_XINERAMA=$(usex xinerama ON OFF) - -DWITH_XV=$(usex xv ON OFF) - -DWITH_WAYLAND=$(usex wayland ON OFF) - -DWITH_WEBVIEW=OFF - ) - cmake_src_configure -} - -src_test() { - local myctestargs=() - use elibc_musl && myctestargs+=( -E TestBacktrace ) - has network-sandbox ${FEATURES} && myctestargs+=( -E TestConnect ) - cmake_src_test -} diff --git a/net-misc/freerdp/freerdp-3.2.0-r2.ebuild b/net-misc/freerdp/freerdp-3.2.0-r2.ebuild new file mode 100644 index 000000000000..82b1a427b285 --- /dev/null +++ b/net-misc/freerdp/freerdp-3.2.0-r2.ebuild @@ -0,0 +1,156 @@ +# Copyright 2011-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/FreeRDP/FreeRDP.git" + case ${PV} in + 2.*) EGIT_BRANCH="stable-2.0";; + esac +else + MY_P=${P/_/-} + S="${WORKDIR}/${MY_P}" + SRC_URI="https://pub.freerdp.com/releases/${MY_P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="Free implementation of the Remote Desktop Protocol" +HOMEPAGE="https://www.freerdp.com/" + +LICENSE="Apache-2.0" +SLOT="0/3" +IUSE="aad alsa cpu_flags_arm_neon cups debug +ffmpeg +fuse gstreamer +icu jpeg kerberos openh264 pulseaudio sdl server smartcard systemd test usb valgrind wayland X xinerama xv" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/openssl:0= + sys-libs/zlib:0 + aad? ( dev-libs/cJSON ) + alsa? ( media-libs/alsa-lib ) + cups? ( net-print/cups ) + usb? ( + virtual/libudev:0= + sys-apps/util-linux:0= + dev-libs/dbus-glib:0= + virtual/libusb:1= + ) + X? ( + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrender + xinerama? ( x11-libs/libXinerama ) + xv? ( x11-libs/libXv ) + ) + ffmpeg? ( media-video/ffmpeg:0= ) + !ffmpeg? ( + x11-libs/cairo:0= + ) + fuse? ( sys-fs/fuse:3 ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + X? ( x11-libs/libXrandr ) + ) + icu? ( dev-libs/icu:0= ) + jpeg? ( media-libs/libjpeg-turbo:0= ) + kerberos? ( virtual/krb5 ) + openh264? ( media-libs/openh264:0= ) + pulseaudio? ( media-libs/libpulse ) + sdl? ( + media-libs/libsdl2[haptic(+),joystick(+),sound(+),video(+)] + media-libs/sdl2-ttf + ) + server? ( + X? ( + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXtst + xinerama? ( x11-libs/libXinerama ) + ) + ) + smartcard? ( + dev-libs/pkcs11-helper + sys-apps/pcsc-lite + ) + systemd? ( sys-apps/systemd:0= ) + wayland? ( + dev-libs/wayland + x11-libs/libxkbcommon + ) + X? ( + x11-libs/libX11 + x11-libs/libxkbfile + ) +" +DEPEND=" + ${RDEPEND} + valgrind? ( dev-debug/valgrind ) +" +BDEPEND=" + virtual/pkgconfig + app-text/docbook-xsl-stylesheets + dev-libs/libxslt +" + +src_configure() { + # bug #881695 + filter-lto + + local mycmakeargs=( + -Wno-dev + + # https://bugs.gentoo.org/927037 + -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF + + -DBUILD_TESTING=$(usex test ON OFF) + -DCHANNEL_URBDRC=$(usex usb ON OFF) + -DWITH_AAD=$(usex aad ON OFF) + -DWITH_ALSA=$(usex alsa ON OFF) + -DWITH_CCACHE=OFF + -DWITH_CLIENT_SDL=$(usex sdl ON OFF) + -DWITH_SAMPLE=OFF + -DWITH_CUPS=$(usex cups ON OFF) + -DWITH_DEBUG_ALL=$(usex debug ON OFF) + -DWITH_MANPAGES=ON + -DWITH_FFMPEG=$(usex ffmpeg ON OFF) + -DWITH_FREERDP_DEPRECATED_COMMANDLINE=ON + -DWITH_SWSCALE=$(usex ffmpeg ON OFF) + -DWITH_CAIRO=$(usex ffmpeg OFF ON) + -DWITH_DSP_FFMPEG=$(usex ffmpeg ON OFF) + -DWITH_FUSE=$(usex fuse ON OFF) + -DWITH_GSTREAMER_1_0=$(usex gstreamer ON OFF) + -DWITH_JPEG=$(usex jpeg ON OFF) + -DWITH_KRB5=$(usex kerberos ON OFF) + -DWITH_NEON=$(usex cpu_flags_arm_neon ON OFF) + -DWITH_OPENH264=$(usex openh264 ON OFF) + -DWITH_OSS=OFF + -DWITH_PCSC=$(usex smartcard ON OFF) + -DWITH_PKCS11=$(usex smartcard ON OFF) + -DWITH_PULSE=$(usex pulseaudio ON OFF) + -DWITH_SERVER=$(usex server ON OFF) + -DWITH_LIBSYSTEMD=$(usex systemd ON OFF) + -DWITH_UNICODE_BUILTIN=$(usex icu OFF ON) + -DWITH_VALGRIND_MEMCHECK=$(usex valgrind ON OFF) + -DWITH_X11=$(usex X ON OFF) + -DWITH_XINERAMA=$(usex xinerama ON OFF) + -DWITH_XV=$(usex xv ON OFF) + -DWITH_WAYLAND=$(usex wayland ON OFF) + -DWITH_WEBVIEW=OFF + ) + cmake_src_configure +} + +src_test() { + local myctestargs=() + use elibc_musl && myctestargs+=( -E TestBacktrace ) + has network-sandbox ${FEATURES} && myctestargs+=( -E TestConnect ) + cmake_src_test +} diff --git a/net-misc/freerdp/freerdp-3.4.0-r1.ebuild b/net-misc/freerdp/freerdp-3.4.0-r1.ebuild deleted file mode 100644 index 6063aa81da39..000000000000 --- a/net-misc/freerdp/freerdp-3.4.0-r1.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 2011-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/FreeRDP/FreeRDP.git" - case ${PV} in - 2.*) EGIT_BRANCH="stable-2.0";; - esac -else - MY_P=${P/_/-} - S="${WORKDIR}/${MY_P}" - SRC_URI="https://pub.freerdp.com/releases/${MY_P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -fi - -DESCRIPTION="Free implementation of the Remote Desktop Protocol" -HOMEPAGE="https://www.freerdp.com/" - -LICENSE="Apache-2.0" -SLOT="0/3" -IUSE="aad alsa cpu_flags_arm_neon cups debug +ffmpeg +fuse gstreamer +icu jpeg kerberos openh264 pulseaudio sdl server smartcard systemd test usb valgrind wayland X xinerama xv" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/openssl:0= - sys-libs/zlib:0 - aad? ( dev-libs/cJSON ) - alsa? ( media-libs/alsa-lib ) - cups? ( net-print/cups ) - usb? ( - virtual/libudev:0= - sys-apps/util-linux:0= - dev-libs/dbus-glib:0= - virtual/libusb:1= - ) - X? ( - x11-libs/libXcursor - x11-libs/libXext - x11-libs/libXi - x11-libs/libXrender - xinerama? ( x11-libs/libXinerama ) - xv? ( x11-libs/libXv ) - ) - ffmpeg? ( media-video/ffmpeg:0= ) - !ffmpeg? ( - x11-libs/cairo:0= - ) - fuse? ( sys-fs/fuse:3 ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - x11-libs/libXrandr - ) - icu? ( dev-libs/icu:0= ) - jpeg? ( media-libs/libjpeg-turbo:0= ) - kerberos? ( virtual/krb5 ) - openh264? ( media-libs/openh264:0= ) - pulseaudio? ( media-libs/libpulse ) - sdl? ( - media-libs/libsdl2[haptic(+),joystick(+),sound(+),video(+)] - media-libs/sdl2-ttf - ) - server? ( - X? ( - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXtst - xinerama? ( x11-libs/libXinerama ) - ) - ) - smartcard? ( - dev-libs/pkcs11-helper - sys-apps/pcsc-lite - ) - systemd? ( sys-apps/systemd:0= ) - wayland? ( - dev-libs/wayland - x11-libs/libxkbcommon - ) - X? ( - x11-libs/libX11 - x11-libs/libxkbfile - ) -" -DEPEND=" - ${RDEPEND} - valgrind? ( dev-debug/valgrind ) -" -BDEPEND=" - virtual/pkgconfig - app-text/docbook-xsl-stylesheets - dev-libs/libxslt -" - -src_configure() { - # bug #881695 - filter-lto - - local mycmakeargs=( - -Wno-dev - - # https://bugs.gentoo.org/927037 - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF - - -DBUILD_TESTING=$(usex test ON OFF) - -DCHANNEL_URBDRC=$(usex usb ON OFF) - -DWITH_AAD=$(usex aad ON OFF) - -DWITH_ALSA=$(usex alsa ON OFF) - -DWITH_CCACHE=OFF - -DWITH_CLIENT_SDL=$(usex sdl ON OFF) - -DWITH_SAMPLE=OFF - -DWITH_CUPS=$(usex cups ON OFF) - -DWITH_DEBUG_ALL=$(usex debug ON OFF) - -DWITH_MANPAGES=ON - -DWITH_FFMPEG=$(usex ffmpeg ON OFF) - -DWITH_FREERDP_DEPRECATED_COMMANDLINE=ON - -DWITH_SWSCALE=$(usex ffmpeg ON OFF) - -DWITH_CAIRO=$(usex ffmpeg OFF ON) - -DWITH_DSP_FFMPEG=$(usex ffmpeg ON OFF) - -DWITH_FUSE=$(usex fuse ON OFF) - -DWITH_GSTREAMER_1_0=$(usex gstreamer ON OFF) - -DWITH_JPEG=$(usex jpeg ON OFF) - -DWITH_KRB5=$(usex kerberos ON OFF) - -DWITH_NEON=$(usex cpu_flags_arm_neon ON OFF) - -DWITH_OPENH264=$(usex openh264 ON OFF) - -DWITH_OSS=OFF - -DWITH_PCSC=$(usex smartcard ON OFF) - -DWITH_PKCS11=$(usex smartcard ON OFF) - -DWITH_PULSE=$(usex pulseaudio ON OFF) - -DWITH_SERVER=$(usex server ON OFF) - -DWITH_LIBSYSTEMD=$(usex systemd ON OFF) - -DWITH_UNICODE_BUILTIN=$(usex icu OFF ON) - -DWITH_VALGRIND_MEMCHECK=$(usex valgrind ON OFF) - -DWITH_X11=$(usex X ON OFF) - -DWITH_XINERAMA=$(usex xinerama ON OFF) - -DWITH_XV=$(usex xv ON OFF) - -DWITH_WAYLAND=$(usex wayland ON OFF) - -DWITH_WEBVIEW=OFF - ) - cmake_src_configure -} - -src_test() { - local myctestargs=() - use elibc_musl && myctestargs+=( -E TestBacktrace ) - has network-sandbox ${FEATURES} && myctestargs+=( -E TestConnect ) - cmake_src_test -} diff --git a/net-misc/freerdp/freerdp-3.4.0-r2.ebuild b/net-misc/freerdp/freerdp-3.4.0-r2.ebuild new file mode 100644 index 000000000000..82b1a427b285 --- /dev/null +++ b/net-misc/freerdp/freerdp-3.4.0-r2.ebuild @@ -0,0 +1,156 @@ +# Copyright 2011-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/FreeRDP/FreeRDP.git" + case ${PV} in + 2.*) EGIT_BRANCH="stable-2.0";; + esac +else + MY_P=${P/_/-} + S="${WORKDIR}/${MY_P}" + SRC_URI="https://pub.freerdp.com/releases/${MY_P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="Free implementation of the Remote Desktop Protocol" +HOMEPAGE="https://www.freerdp.com/" + +LICENSE="Apache-2.0" +SLOT="0/3" +IUSE="aad alsa cpu_flags_arm_neon cups debug +ffmpeg +fuse gstreamer +icu jpeg kerberos openh264 pulseaudio sdl server smartcard systemd test usb valgrind wayland X xinerama xv" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/openssl:0= + sys-libs/zlib:0 + aad? ( dev-libs/cJSON ) + alsa? ( media-libs/alsa-lib ) + cups? ( net-print/cups ) + usb? ( + virtual/libudev:0= + sys-apps/util-linux:0= + dev-libs/dbus-glib:0= + virtual/libusb:1= + ) + X? ( + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrender + xinerama? ( x11-libs/libXinerama ) + xv? ( x11-libs/libXv ) + ) + ffmpeg? ( media-video/ffmpeg:0= ) + !ffmpeg? ( + x11-libs/cairo:0= + ) + fuse? ( sys-fs/fuse:3 ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + X? ( x11-libs/libXrandr ) + ) + icu? ( dev-libs/icu:0= ) + jpeg? ( media-libs/libjpeg-turbo:0= ) + kerberos? ( virtual/krb5 ) + openh264? ( media-libs/openh264:0= ) + pulseaudio? ( media-libs/libpulse ) + sdl? ( + media-libs/libsdl2[haptic(+),joystick(+),sound(+),video(+)] + media-libs/sdl2-ttf + ) + server? ( + X? ( + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXtst + xinerama? ( x11-libs/libXinerama ) + ) + ) + smartcard? ( + dev-libs/pkcs11-helper + sys-apps/pcsc-lite + ) + systemd? ( sys-apps/systemd:0= ) + wayland? ( + dev-libs/wayland + x11-libs/libxkbcommon + ) + X? ( + x11-libs/libX11 + x11-libs/libxkbfile + ) +" +DEPEND=" + ${RDEPEND} + valgrind? ( dev-debug/valgrind ) +" +BDEPEND=" + virtual/pkgconfig + app-text/docbook-xsl-stylesheets + dev-libs/libxslt +" + +src_configure() { + # bug #881695 + filter-lto + + local mycmakeargs=( + -Wno-dev + + # https://bugs.gentoo.org/927037 + -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF + + -DBUILD_TESTING=$(usex test ON OFF) + -DCHANNEL_URBDRC=$(usex usb ON OFF) + -DWITH_AAD=$(usex aad ON OFF) + -DWITH_ALSA=$(usex alsa ON OFF) + -DWITH_CCACHE=OFF + -DWITH_CLIENT_SDL=$(usex sdl ON OFF) + -DWITH_SAMPLE=OFF + -DWITH_CUPS=$(usex cups ON OFF) + -DWITH_DEBUG_ALL=$(usex debug ON OFF) + -DWITH_MANPAGES=ON + -DWITH_FFMPEG=$(usex ffmpeg ON OFF) + -DWITH_FREERDP_DEPRECATED_COMMANDLINE=ON + -DWITH_SWSCALE=$(usex ffmpeg ON OFF) + -DWITH_CAIRO=$(usex ffmpeg OFF ON) + -DWITH_DSP_FFMPEG=$(usex ffmpeg ON OFF) + -DWITH_FUSE=$(usex fuse ON OFF) + -DWITH_GSTREAMER_1_0=$(usex gstreamer ON OFF) + -DWITH_JPEG=$(usex jpeg ON OFF) + -DWITH_KRB5=$(usex kerberos ON OFF) + -DWITH_NEON=$(usex cpu_flags_arm_neon ON OFF) + -DWITH_OPENH264=$(usex openh264 ON OFF) + -DWITH_OSS=OFF + -DWITH_PCSC=$(usex smartcard ON OFF) + -DWITH_PKCS11=$(usex smartcard ON OFF) + -DWITH_PULSE=$(usex pulseaudio ON OFF) + -DWITH_SERVER=$(usex server ON OFF) + -DWITH_LIBSYSTEMD=$(usex systemd ON OFF) + -DWITH_UNICODE_BUILTIN=$(usex icu OFF ON) + -DWITH_VALGRIND_MEMCHECK=$(usex valgrind ON OFF) + -DWITH_X11=$(usex X ON OFF) + -DWITH_XINERAMA=$(usex xinerama ON OFF) + -DWITH_XV=$(usex xv ON OFF) + -DWITH_WAYLAND=$(usex wayland ON OFF) + -DWITH_WEBVIEW=OFF + ) + cmake_src_configure +} + +src_test() { + local myctestargs=() + use elibc_musl && myctestargs+=( -E TestBacktrace ) + has network-sandbox ${FEATURES} && myctestargs+=( -E TestConnect ) + cmake_src_test +} diff --git a/net-misc/freerdp/freerdp-9999.ebuild b/net-misc/freerdp/freerdp-9999.ebuild index 6063aa81da39..82b1a427b285 100644 --- a/net-misc/freerdp/freerdp-9999.ebuild +++ b/net-misc/freerdp/freerdp-9999.ebuild @@ -54,7 +54,7 @@ RDEPEND=" gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 - x11-libs/libXrandr + X? ( x11-libs/libXrandr ) ) icu? ( dev-libs/icu:0= ) jpeg? ( media-libs/libjpeg-turbo:0= ) diff --git a/net-misc/networkmanager/Manifest b/net-misc/networkmanager/Manifest index 9fc173da05bd..fe804719f070 100644 --- a/net-misc/networkmanager/Manifest +++ b/net-misc/networkmanager/Manifest @@ -10,5 +10,5 @@ DIST networkmanager-ppp-2.5.0.patch 45845 BLAKE2B afcf1410f89db950a7e7c2c0af3aae EBUILD networkmanager-1.42.6-r2.ebuild 11947 BLAKE2B 20ffa1a873ebd171c47d2fa5feeb65647656c5239c716b4969a82722674dae3fcdeef3ecf1bb30cbf5ea85d0412b3677df5bd40ad83994c4c42c9c359c664e54 SHA512 19f0896a05be639186da85f5d46d07d02a467d3d5c559a5b3ecab41acaa073ffcd70359b76af1cd95d31ba4c0b881e0460b5b5f4c2cf60613d0f7586e2b9cdfe EBUILD networkmanager-1.44.0-r1.ebuild 11693 BLAKE2B e87be9fbf57bdd519339c6bd4750c508731cf88e5baa251b257c2e9c142a212676b08cf752cecdd5a75397b7ad6972421c2cf54bb903e478de4668ab9093b690 SHA512 5f8619be794991ae8ba31c26f8505d477ddd9833c55eac75ebd22e76702641ebfc2a15d5e313d61b467fb3e5957d7b5dfd22ee101fb7f66bf50b8685885d8517 EBUILD networkmanager-1.44.2.ebuild 11693 BLAKE2B e87be9fbf57bdd519339c6bd4750c508731cf88e5baa251b257c2e9c142a212676b08cf752cecdd5a75397b7ad6972421c2cf54bb903e478de4668ab9093b690 SHA512 5f8619be794991ae8ba31c26f8505d477ddd9833c55eac75ebd22e76702641ebfc2a15d5e313d61b467fb3e5957d7b5dfd22ee101fb7f66bf50b8685885d8517 -EBUILD networkmanager-1.46.0.ebuild 11710 BLAKE2B 1644aba066b8a80173aa52a6e3f705ed5b5eee41518b7944828b169f62f6ae75b2e343100823fcfbb50de7bba331cf04b4042b40f8308b8827a122bce1e2cd1f SHA512 24444458d3e66795fbc63a22f1528c53d7a8046f57a1b4e83ffe6e3b6160797082332f51d1a496a07fffbc04f77391d680b40a1fa6563697358c2f614791bb40 +EBUILD networkmanager-1.46.0-r1.ebuild 11873 BLAKE2B 93e1314556a9bff1739ad79b0e289b6d45d15f43f56cf085acf2f5963a4a87e73c0f25cae59e004b089c18dfe73baa2a95d8322920fb48b3901773110aed3714 SHA512 0044e19d77d2b97e1bac916afbb15eb6d245f54d888668027f211b8b4455b4581087d407ad70b561f68cc2e3552f9ec40a9df471aa3e2edc96cf67ea1c5f5986 MISC metadata.xml 2360 BLAKE2B 0d95733c3909e35ef555ad32c44e706d48347e6b8a5f7f915831edf7a43376e973fa32c7704325818704b59082fbbb2e4610e075848f09ac7c818d8fdbb94830 SHA512 c4478c41989eca2b777bb59767ce7660d70b261f61bc42673bc61e7e4db528c45f921c384de5454e7f901f4cfdb3cf1303e183397671606ed43c1fdaa59762c7 diff --git a/net-misc/networkmanager/networkmanager-1.46.0-r1.ebuild b/net-misc/networkmanager/networkmanager-1.46.0-r1.ebuild new file mode 100644 index 000000000000..1bc89e1e14e6 --- /dev/null +++ b/net-misc/networkmanager/networkmanager-1.46.0-r1.ebuild @@ -0,0 +1,393 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +GNOME_ORG_MODULE="NetworkManager" +PYTHON_COMPAT=( python3_{10..12} ) + +inherit gnome.org linux-info meson-multilib flag-o-matic 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 +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 ) + test? ( tools ) + 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[${MULTILIB_USEDEP}] + net-libs/libndp + systemd? ( >=sys-apps/systemd-209:0= ) + >=dev-libs/glib-2.42: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 +} + +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 +} + +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() { + # Workaround for LLD 17 (bug #915819) + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + # Build system requires -flto-partition=none support for LTO + tc-is-clang && filter-lto + + 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) + # ebpf is problematic in at least v1.46.0, bug #926943 + -Debpf=false + + -Dconfig_wifi_backend_default=$(multilib_native_usex iwd iwd default) + -Dconfig_plugins_default=keyfile + -Difcfg_rh=false + -Difupdown=false + -Dconfig_migrate_ifcfg_rh_default=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 + ) + + 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.46.0.ebuild b/net-misc/networkmanager/networkmanager-1.46.0.ebuild deleted file mode 100644 index 06d5ab263971..000000000000 --- a/net-misc/networkmanager/networkmanager-1.46.0.ebuild +++ /dev/null @@ -1,390 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -GNOME_ORG_MODULE="NetworkManager" -PYTHON_COMPAT=( python3_{10..12} ) - -inherit gnome.org linux-info meson-multilib flag-o-matic python-any-r1 readme.gentoo-r1 systemd 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 +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 ) - test? ( tools ) - 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[${MULTILIB_USEDEP}] - net-libs/libndp - systemd? ( >=sys-apps/systemd-209:0= ) - >=dev-libs/glib-2.42: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 -} - -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 -} - -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() { - # Workaround for LLD 17 (bug #915819) - append-ldflags $(test-flags-CCLD -Wl,--undefined-version) - - 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 - -Dconfig_migrate_ifcfg_rh_default=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 - ) - - 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 -} -- cgit v1.2.3