From 43c2a85d4e20318dd3d35872e348707900870067 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 6 May 2024 00:00:52 +0100 Subject: gentoo auto-resync : 06:05:2024 - 00:00:51 --- net-misc/Manifest.gz | Bin 54480 -> 54486 bytes net-misc/connman-json-client/Manifest | 2 +- .../connman-json-client-1.0_p20150721-r2.ebuild | 38 ----- .../connman-json-client-1.0_p20150721-r3.ebuild | 37 +++++ net-misc/gns3-gui/Manifest | 4 +- net-misc/gns3-gui/gns3-gui-2.2.44.1.ebuild | 40 ----- net-misc/gns3-gui/gns3-gui-2.2.46.ebuild | 41 +++++ net-misc/gns3-server/Manifest | 4 +- net-misc/gns3-server/gns3-server-2.2.44.1.ebuild | 71 --------- net-misc/gns3-server/gns3-server-2.2.46.ebuild | 68 ++++++++ net-misc/nx/Manifest | 4 +- net-misc/nx/nx-3.5.99.26.ebuild | 11 +- net-misc/nx/nx-3.5.99.27.ebuild | 11 +- net-misc/openvswitch/Manifest | 2 + net-misc/openvswitch/openvswitch-2.17.9.ebuild | 173 +++++++++++++++++++++ net-misc/passt/Manifest | 10 +- net-misc/passt/passt-2023.12.04.ebuild | 29 ---- net-misc/passt/passt-2023.12.30.ebuild | 29 ---- net-misc/passt/passt-2024.03.20.ebuild | 40 ----- net-misc/passt/passt-2024.04.26.ebuild | 40 +++++ net-misc/passt/passt-9999.ebuild | 2 +- net-misc/spice-gtk/Manifest | 4 +- .../spice-gtk/files/spice-gtk-0.42-lld17-fix.patch | 167 ++++++++++++++++++++ net-misc/spice-gtk/spice-gtk-0.42-r4.ebuild | 160 +++++++++++++++++++ net-misc/spice-gtk/spice-gtk-9999.ebuild | 2 +- net-misc/xmrig/Manifest | 1 - net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch | 70 --------- 27 files changed, 721 insertions(+), 339 deletions(-) delete mode 100644 net-misc/connman-json-client/connman-json-client-1.0_p20150721-r2.ebuild create mode 100644 net-misc/connman-json-client/connman-json-client-1.0_p20150721-r3.ebuild delete mode 100644 net-misc/gns3-gui/gns3-gui-2.2.44.1.ebuild create mode 100644 net-misc/gns3-gui/gns3-gui-2.2.46.ebuild delete mode 100644 net-misc/gns3-server/gns3-server-2.2.44.1.ebuild create mode 100644 net-misc/gns3-server/gns3-server-2.2.46.ebuild create mode 100644 net-misc/openvswitch/openvswitch-2.17.9.ebuild delete mode 100644 net-misc/passt/passt-2023.12.04.ebuild delete mode 100644 net-misc/passt/passt-2023.12.30.ebuild delete mode 100644 net-misc/passt/passt-2024.03.20.ebuild create mode 100644 net-misc/passt/passt-2024.04.26.ebuild create mode 100644 net-misc/spice-gtk/files/spice-gtk-0.42-lld17-fix.patch create mode 100644 net-misc/spice-gtk/spice-gtk-0.42-r4.ebuild delete mode 100644 net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch (limited to 'net-misc') diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz index 95c3b48fd1cd..5e491a167b76 100644 Binary files a/net-misc/Manifest.gz and b/net-misc/Manifest.gz differ diff --git a/net-misc/connman-json-client/Manifest b/net-misc/connman-json-client/Manifest index b9551d316e6a..df1851346eda 100644 --- a/net-misc/connman-json-client/Manifest +++ b/net-misc/connman-json-client/Manifest @@ -1,4 +1,4 @@ AUX cjc-fix-for-json-0.14.patch 1554 BLAKE2B a521777f66e34a425306c03f92096731f8ad93f6001930efabafbc4764ce698110a482063f53dcb0eec34a3ffae871407ef1ff53a6a918a6c809decee9b85cc7 SHA512 6a545259c2ffa4f9c5e628566890264aaf2be908e2a2a3313812777a28e1b57a60f1c8920f88f25a0574fe1a2e101c8dd020b51cb22ae1ebb851cca3b0f3bb50 DIST connman-json-client-1.0_p20150721.tar.gz 55520 BLAKE2B 81f81721563bb8a7c4e604e8a036b162329f1334092f345438c34f787bceb8e548d69e0c206773b880799d1327858275bbbade59d1b84271e4fc05372937ce7a SHA512 77cfbc9f1b57ff5ce73a80f42198bbdb7120db6510f3f33251465ed83d1fac3b2bb41e3959f43cc8d274d37c8da375009a07e9003664482136eed64f5b32c0bc -EBUILD connman-json-client-1.0_p20150721-r2.ebuild 788 BLAKE2B 88ba3ed6a0bc687211090152b38ea4f6a39435fbecc9c6555d77b6b85fffc65590436feb12bb3ff7f57cc501bd89c674040b23a3219bb077102c4070f0294c32 SHA512 1277acea76456709d7863d9e515960d6692b3c88dabb66bb3bab152937a3377bdf4195e5bd23c40f695a8fa2beddec5e28ddad03116bc3b9f7451d6744d397f2 +EBUILD connman-json-client-1.0_p20150721-r3.ebuild 781 BLAKE2B 3e9a30265ed733fcdf86a3a37ad3bbbab44dcb05f6960d9fa10195c1656c0a05efafac84acc5ac5d1a771952d32083b543b88e00094c64e076c30db05c33668e SHA512 2778287b8500aabbef5d7dab81fd9b1459a2ec6c6437a5cd8d11aef45d1113a22f61f05d7cddbb111b3fd133d6162eaac6d6c7e80f66a2f890ddb2f38a838bd3 MISC metadata.xml 337 BLAKE2B e5a3c97f738fc2c201f8f514b10061d8a25c1daf2b8f771c354f12cdad1d0992671ba128f6f9a15c925db3d5ec6c24422a7b0253af534c1842e7e532dc9a01e7 SHA512 02f8d70dde6c20b5d59c44751012c863fb6ee82786e5449f69877110a38fffc344687d11ec214c33113c3cc74d39385166df3bcc2af4cfe69d430a878c16e102 diff --git a/net-misc/connman-json-client/connman-json-client-1.0_p20150721-r2.ebuild b/net-misc/connman-json-client/connman-json-client-1.0_p20150721-r2.ebuild deleted file mode 100644 index 2fe35cf86af6..000000000000 --- a/net-misc/connman-json-client/connman-json-client-1.0_p20150721-r2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools vcs-snapshot -COMMIT="3c34b2ee62d2e188090d20e7ed2fd94bab9c47f2" - -DESCRIPTION="An ncurses UI for connman" -HOMEPAGE="https://github.com/eurogiciel-oss/connman-json-client" -SRC_URI="https://github.com/eurogiciel-oss/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="dev-libs/json-c:0= - >=sys-apps/dbus-1.4 - sys-libs/ncurses:0" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/cjc-fix-for-json-0.14.patch ) - -src_prepare() { - sed -i -e '/^AM_CFLAGS/ s/ -Werror$//' Makefile.am || die - default - eautoreconf -} - -src_compile() { - emake CFLAGS="${CFLAGS}" -} - -src_install() { - default - dobin connman_ncurses -} diff --git a/net-misc/connman-json-client/connman-json-client-1.0_p20150721-r3.ebuild b/net-misc/connman-json-client/connman-json-client-1.0_p20150721-r3.ebuild new file mode 100644 index 000000000000..c5fed0b76125 --- /dev/null +++ b/net-misc/connman-json-client/connman-json-client-1.0_p20150721-r3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools vcs-snapshot +COMMIT="3c34b2ee62d2e188090d20e7ed2fd94bab9c47f2" + +DESCRIPTION="An ncurses UI for connman" +HOMEPAGE="https://github.com/eurogiciel-oss/connman-json-client" +SRC_URI="https://github.com/eurogiciel-oss/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-libs/json-c:0= + >=sys-apps/dbus-1.4 + sys-libs/ncurses:0" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/cjc-fix-for-json-0.14.patch ) + +src_prepare() { + sed -i -e '/^AM_CFLAGS/ s/ -Werror$//' Makefile.am || die + default + eautoreconf +} + +src_compile() { + emake CFLAGS="${CFLAGS}" +} + +src_install() { + default + dobin connman_ncurses +} diff --git a/net-misc/gns3-gui/Manifest b/net-misc/gns3-gui/Manifest index 18df69775d1a..9ae4120d7b5c 100644 --- a/net-misc/gns3-gui/Manifest +++ b/net-misc/gns3-gui/Manifest @@ -1,5 +1,5 @@ -DIST gns3-gui-2.2.44.1.tar.gz 5056513 BLAKE2B ac9004771dea320dd24db905ae556c47c5950f95f6871272339223e019da804b97f3238677a0758426ec550ec354052196a4b30cbd4cc1cc154a3a437a3b006f SHA512 e9ae8604f6675ce7edc3e491dc5217b985ca948eaf0df69b59d60b236deee6e0d34e245b4779295d28a05b35eb01f93534a2da070817ace36a2d259525a606de DIST gns3-gui-2.2.45.tar.gz 5057093 BLAKE2B 0e5f92a5450f8bd87c67ef3916a949d12d3ba2222b9c894260fe4c486236455c5b0214350e6144081049a6e7a85a9fc60c596b5932dd3f6fa07c7f94cc5d31f5 SHA512 2122dbf88625ea8fbc7eae20d7d1406a72f8dc8a5fea2c9577218127c54c10b9db7b154010c519a170ea9067e1ea774181e0e56936129c091800dab615cb8b3b -EBUILD gns3-gui-2.2.44.1.ebuild 1029 BLAKE2B 2da071d1570adab8b3c50c71610fa8555fafd21f20894bb9011314bb6ebb9e22a2ff0dc550ca85ba78bc313bd01016940a068eb86c8a9b8d0368b49e26604303 SHA512 dff33f88c85f12c76169df66dc6243ca5b4e3396f7826ee4af8a38c3fc3329bcdeb80986030e4b7002fe7dd829667df42e56dcc68292ef5ae1fdb68b50fd87ee +DIST gns3-gui-2.2.46.tar.gz 5058596 BLAKE2B 1b3b84d3677c815bfe950f0fe2bf618bca12d1c854bf9d6328611feb41344b952a8579716db936a6010bbe4db772e9d3cc2e57b365b2e66264b9fd4dee576c4b SHA512 25ca6a9bf626182ae16662bc7d9f571c14b107c4036ccba0b4c2d562aa4f26fd7af23765de53e4159f67e48632548d3148dbb9c9ae19bffbef50c48a10f85a01 EBUILD gns3-gui-2.2.45.ebuild 1073 BLAKE2B f06ada27c2aa08a913a83a71688b892a003e0b4e8543b68fda350e42471a9df702c0d61c259f56882dd0caef37ff2ace520ba46b64281e62b55b8442c41873c8 SHA512 f2024b07e32b57aa5892140bcf94279f2634bebaa1c3b2fbbcf8d345f649cebb2a65ac623fd5399920d360b86bc1ee5e213c63b03459c1a68664dc4023726e38 +EBUILD gns3-gui-2.2.46.ebuild 1073 BLAKE2B 051752911b728153fcfaba792ff1055c04612ac0fa312209cf6eb2b41cea8052ec3e923e193b4068e9349e6c0ee925a40513e987ca2f220a34c289bc5c7fee9c SHA512 c5f1d73edc8c5afb4862787ca86d08b09751d0fce35fd26a42dab0abee76555f05c6a108e7f54127063d731266b22fe166242ca051e94811541f830b673a87f5 MISC metadata.xml 598 BLAKE2B 6fa3ab1fa771c772843ffc886170f11acfeadcca71d8bf198daa0da6aaca8e12becb430d289418da214537f5723a6a5d5784745a3c93655e6044ec4f3b975b93 SHA512 a5d11697dd82a2c99288f1acdcb9300402570853572995f4af53f2c2e844ecddbed334da72be91f9863725ff5cd7f676509a1f2b01c2b0cde834e62f142bec49 diff --git a/net-misc/gns3-gui/gns3-gui-2.2.44.1.ebuild b/net-misc/gns3-gui/gns3-gui-2.2.44.1.ebuild deleted file mode 100644 index c0d753adc2e4..000000000000 --- a/net-misc/gns3-gui/gns3-gui-2.2.44.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..12} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 virtualx xdg - -DESCRIPTION="Graphical Network Simulator" -HOMEPAGE="https://www.gns3.com https://github.com/GNS3/gns3-gui" -SRC_URI="https://github.com/GNS3/gns3-gui/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -#net-misc/gns3-server version should always match gns3-gui version -RDEPEND=" - >=dev-python/distro-1.8.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] - >=dev-python/psutil-5.9.6[${PYTHON_USEDEP}] - >=dev-python/sentry-sdk-1.34.0[${PYTHON_USEDEP}] - ~net-misc/gns3-server-${PV}[${PYTHON_USEDEP}] - dev-python/PyQt5[gui,network,svg,websockets,widgets,${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - default - - # newer python packages are fine - sed -i -e 's/[<>=].*//' requirements.txt || die -} - -src_test() { - virtx distutils-r1_src_test -} diff --git a/net-misc/gns3-gui/gns3-gui-2.2.46.ebuild b/net-misc/gns3-gui/gns3-gui-2.2.46.ebuild new file mode 100644 index 000000000000..9ced99155546 --- /dev/null +++ b/net-misc/gns3-gui/gns3-gui-2.2.46.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 virtualx xdg + +DESCRIPTION="Graphical Network Simulator" +HOMEPAGE="https://www.gns3.com https://github.com/GNS3/gns3-gui" +SRC_URI="https://github.com/GNS3/gns3-gui/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +#net-misc/gns3-server version should always match gns3-gui version +RDEPEND=" + >=dev-python/distro-1.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + >=dev-python/psutil-5.9.8[${PYTHON_USEDEP}] + >=dev-python/sentry-sdk-1.34.0[${PYTHON_USEDEP}] + >=dev-python/truststore-0.8.0[${PYTHON_USEDEP}] + ~net-misc/gns3-server-${PV}[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,network,svg,websockets,widgets,${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + default + + # newer python packages are fine + sed -i -e 's/[<>=].*//' requirements.txt || die +} + +src_test() { + virtx distutils-r1_src_test +} diff --git a/net-misc/gns3-server/Manifest b/net-misc/gns3-server/Manifest index 8a5171050f16..6bb404f85e42 100644 --- a/net-misc/gns3-server/Manifest +++ b/net-misc/gns3-server/Manifest @@ -1,5 +1,5 @@ -DIST gns3-server-2.2.44.1.tar.gz 10739635 BLAKE2B 8f9cc5affce48b95ef5ceee452d643f450594f1f5710ceace830ccd5a30281c6a04458a6864c65bcb3b023190b2aebe00d2f4316c80596a4c443616cad161cb6 SHA512 60c66f07242ba64a9bbc9471ee71fc975a95f36fced440798c8076b968a2e29cacccb889928f22b878d5928feb9024b26da854a03e3610b1ba36fa09826023fc DIST gns3-server-2.2.45.tar.gz 10747348 BLAKE2B bb8f45347f9ea2e05e199a5128f73fe7fad6d7b3bebf30dcae009c761934e5d2ee986623fa82bb328db31b43cd39da05f52ac9a3f534d223fbf46ca585f3b433 SHA512 570bac3aab8c0f31144f8ac34f27b04a16efadd02e93faf949d4fe0078bf87c59e479b17ead8feec774b3907703cddeae9a434b9abc7fbd459cc060636478a2e -EBUILD gns3-server-2.2.44.1.ebuild 2078 BLAKE2B bbd76963968f5640c56ec5f673ef3d0a606af9f44355a83536770f257e1c39d69e78c3f7ce8e47dc260d2ead552a70d9a88d19689dad580833eb719336436021 SHA512 d3ac8130780d003d753ae906c8422f0b4fb6e4a3cfbb7fd63ff9bd47b27ecccb6510b13b1b0f3c0e36605159883918d173eeb26d0a6dc389926e72fe2bcbecb3 +DIST gns3-server-2.2.46.tar.gz 10745825 BLAKE2B 280c16e76a73b638ea66c1c8a674a0e11eab3f0dee612b40c480d604244bf6e78d32c79f6a4587a95b88ce601ba3911672b6402831fce8c7a721465dcdd2da9d SHA512 6f7e52c0f1fcdbb0af7963cfaf1cd17c7d6af36e1ac89b4b2e725c14ff17d1560a50d286ea351ab2649560c09dcac62b35add9492f06c5068010129751b0848e EBUILD gns3-server-2.2.45.ebuild 2078 BLAKE2B 64741a73ff89e6803ea0e2c5dd5b75a9917991c772699acbc7382f12e2dbba3dabc6c2bebb5654976a9c469d3a55da30c173e67a28531a7a6c17672929730446 SHA512 4f0d1b1c4a1823594929822ba7140522a9ddd5b31412fcc4fcc10197dda455877fc1f790014127140d7d13a27e5ea66ecb1909b88ba52bd20f53edd6df7a51b8 +EBUILD gns3-server-2.2.46.ebuild 1887 BLAKE2B 161d290ff8157d99b6f7692699622ef0c735e49a1ccfdf84feb7e1c43eb7e8738c476594d1476366b9a21c0d22269164f6f340bcb4d3edd5c4051e48db2c4af1 SHA512 f0bf75787a0e0c4ae2c71a8da90d517177b4d7bbfc191561dfacb5553959a69f5f7030ed31da917c526e94e8e8ba2c0de903c0bc6ac3e560166849f0c50ee775 MISC metadata.xml 598 BLAKE2B 6fa3ab1fa771c772843ffc886170f11acfeadcca71d8bf198daa0da6aaca8e12becb430d289418da214537f5723a6a5d5784745a3c93655e6044ec4f3b975b93 SHA512 a5d11697dd82a2c99288f1acdcb9300402570853572995f4af53f2c2e844ecddbed334da72be91f9863725ff5cd7f676509a1f2b01c2b0cde834e62f142bec49 diff --git a/net-misc/gns3-server/gns3-server-2.2.44.1.ebuild b/net-misc/gns3-server/gns3-server-2.2.44.1.ebuild deleted file mode 100644 index ec1573e4269f..000000000000 --- a/net-misc/gns3-server/gns3-server-2.2.44.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..12} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 optfeature systemd - -DESCRIPTION="GNS3 server to asynchronously manage emulators" -HOMEPAGE="https://www.gns3.com https://github.com/GNS3/gns3-server" -SRC_URI="https://github.com/GNS3/gns3-server/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - acct-group/gns3 - acct-user/gns3 - app-emulation/dynamips - >=dev-python/aiofiles-23.2.1[${PYTHON_USEDEP}] - >=dev-python/aiohttp-3.8.5[${PYTHON_USEDEP}] - >=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] - >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] - >=dev-python/distro-1.8.0[${PYTHON_USEDEP}] - >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] - >=dev-python/psutil-5.9.6[${PYTHON_USEDEP}] - >=dev-python/py-cpuinfo-9.0.0[${PYTHON_USEDEP}] - >=dev-python/sentry-sdk-1.34.0[${PYTHON_USEDEP}] - net-misc/ubridge - sys-apps/busybox[static] -" -BDEPEND=" - test? ( - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - default - - # newer python packages are fine - sed -i -e 's/[<>=].*//' requirements.txt || die -} - -python_install() { - distutils-r1_python_install - - systemd_dounit init/gns3.service.systemd - newinitd init/gns3.service.openrc gns3server - - rm "${D}$(python_get_sitedir)/gns3server/compute/docker/resources/bin/busybox" || die - ln -s /bin/busybox "${D}$(python_get_sitedir)/gns3server/compute/docker/resources/bin/busybox" || die -} - -pkg_postinst() { - elog "net-misc/gns3-server has several optional packages that must be merged manually for additional functionality." - elog "" - optfeature "QEMU Support" "app-emulation/qemu" - optfeature "Virtualbox Support" "app-emulation/virtualbox" - optfeature "Docker Support" "app-containers/docker" - optfeature "Wireshark Support" "net-analyzer/wireshark" - elog "" - elog "The following packages are currently unsupported:" - elog "iouyap and vpcs" -} diff --git a/net-misc/gns3-server/gns3-server-2.2.46.ebuild b/net-misc/gns3-server/gns3-server-2.2.46.ebuild new file mode 100644 index 000000000000..3a083dab53e0 --- /dev/null +++ b/net-misc/gns3-server/gns3-server-2.2.46.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 optfeature systemd + +DESCRIPTION="GNS3 server to asynchronously manage emulators" +HOMEPAGE="https://www.gns3.com https://github.com/GNS3/gns3-server" +SRC_URI="https://github.com/GNS3/gns3-server/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + acct-group/gns3 + acct-user/gns3 + app-emulation/dynamips + >=dev-python/aiofiles-23.2.1[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.9.3[${PYTHON_USEDEP}] + >=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] + >=dev-python/async-timeout-4.0.3[${PYTHON_USEDEP}] + >=dev-python/distro-1.9.0[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1.3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + >=dev-python/psutil-5.9.8[${PYTHON_USEDEP}] + >=dev-python/py-cpuinfo-9.0.0[${PYTHON_USEDEP}] + >=dev-python/sentry-sdk-1.34.0[${PYTHON_USEDEP}] + net-misc/ubridge + sys-apps/busybox[static] +" +BDEPEND=" + test? ( + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + # newer python packages are fine + sed -i -e 's/[<>=].*//' requirements.txt || die +} + +python_install() { + distutils-r1_python_install + + systemd_dounit init/gns3.service.systemd + newinitd init/gns3.service.openrc gns3server +} + +pkg_postinst() { + elog "net-misc/gns3-server has several optional packages that must be merged manually for additional functionality." + elog "" + optfeature "QEMU Support" "app-emulation/qemu" + optfeature "Virtualbox Support" "app-emulation/virtualbox" + optfeature "Docker Support" "app-containers/docker" + optfeature "Wireshark Support" "net-analyzer/wireshark" + elog "" + elog "The following packages are currently unsupported:" + elog "iouyap and vpcs" +} diff --git a/net-misc/nx/Manifest b/net-misc/nx/Manifest index 43d07b4cce9a..d39d9bdbdb08 100644 --- a/net-misc/nx/Manifest +++ b/net-misc/nx/Manifest @@ -5,6 +5,6 @@ AUX nx-3.5.99.26-which.patch 1157 BLAKE2B 0118abda74ceffa96bbf7fc1518ca5073c3a51 AUX nx-3.5.99.27-which.patch 758 BLAKE2B 6d8841c80f086592365042d225128ebd897b118f5fdf6c573df2a845ae08d54e08f8c5c349a3a601325fb82f83bc5411262cc48b05f28a6ba24de685ab11a491 SHA512 3adca92c7e6aad36eec354f7a637c864e0ebba99535d6568c52e033ebd07ce1b026204f9b849889b324184f479ffe6195249c7d3affb1852934cca980b7c018c DIST nx-libs-3.5.99.26.tar.gz 11070624 BLAKE2B f67f522b127858aa2ddf1c9723468a74722a5ef2fa1e7f438844a8e5b05b868cacac22abf2c604c67d5e83a346217b192773f5debe67945d085768ae43205cb7 SHA512 1aead6161e4d7b8d7229ff80937935b23ad1f87135a578ae483a00348d0df7de35e9f9b78c47c473fda3ab2cc896ef23e845cc5656344a43520b091af9663211 DIST nx-libs-3.5.99.27.tar.gz 11076330 BLAKE2B 713f6052a8405bd61916bc2c31cff1b3b14f63f78138a2d8a3c8d85170fede3d126071ef0e03fa267ef1533432f324992ed67edc86f922e3dda4f0cb40811045 SHA512 bfba1eea6f4debe90fa020276079027c3716daaff91bded72297ecab2a8c9f56d07630ca8bc9084c319d2c674304ad80131190ec1272c161c05221d6f19089d0 -EBUILD nx-3.5.99.26.ebuild 3778 BLAKE2B b80f3f4a4b02aa32c3ce9d5a99521187b3284f1d1d8d850ab915792dd6ab48552d38d41df5f83068cbdac27ab9a1c39c85110618196e3737946cd38505028c48 SHA512 3ffaff82921912897ac112ff569cbcabe3809a256134b51eb6b2eb7746b50ab26c9c3300a2cda860bedca175f31fc6d64ffc80e635a3cddea49863a79ffc35fd -EBUILD nx-3.5.99.27.ebuild 3520 BLAKE2B d109cf890afbb7e00eb022db10ebadc8b8f1191fe3e6ebba891083c854110299fcee21d8222bdf17d433d9b5f3593adec009d598491a5545f89d3233632cee6e SHA512 66d6730129efeaf8d2e91f7ab3b6476b7593afe3f62ed720b5a841b8c21e0e65328a19edcede62b1e3e419ad05364c882da2a76a8c85dd9ba74655e815e81636 +EBUILD nx-3.5.99.26.ebuild 3976 BLAKE2B 6828daf2673119018868dea0b46fc333aa0b646134fb90a81d1cbd5a7fcd5350f91706cabe677a8ade0146830ac9490d27a6fe5b1218573690ddcf3a7b7a6696 SHA512 1b069fbaaf9b797208de3268d126a0e4f11b7faf2bd79dc552b65cd066e9e4ad810d028e7ff7f5c87b6909244223c669e9ef4eb758968ee9a0fb1ba4e70bb0ff +EBUILD nx-3.5.99.27.ebuild 3718 BLAKE2B 5c3eaa3e1a308e9712079289b6db7681a25a8153f114a2917cc6d017d1375bb49e5e3e296ba8d31e602c1d2cb73888948690a6133a6d8932a5044637d4bc1d24 SHA512 37b2f9e526b240209a6ca504d0c8d7c01d8d7356fc523b8a2cf001f6f066f7a11aa8a8cacc7e36a63caf872be5e4c00a4fe6b49f73cfb5a0ae455b69736b2723 MISC metadata.xml 333 BLAKE2B 1b2843f4928b28b0b3abea2c4b7cf046c77d8c87363672f8516c7edab36597bd2ae831f23eecbec5c38029891bd5fa5bc0dc42a407e3d656ab6cfb098262f64a SHA512 77a92a8f8cec2c2a236544dc53e58fce7e0d399d9122042ddc6a097b58d013d04bad6e2ccaafcca11ce3c2e0ddd2d6aa479776e1e37539e40e3645ed20485bfd diff --git a/net-misc/nx/nx-3.5.99.26.ebuild b/net-misc/nx/nx-3.5.99.26.ebuild index 01e20ce031b4..3a112d2be6bb 100644 --- a/net-misc/nx/nx-3.5.99.26.ebuild +++ b/net-misc/nx/nx-3.5.99.26.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools toolchain-funcs +inherit autotools flag-o-matic toolchain-funcs DESCRIPTION="NX compression technology core libraries" HOMEPAGE="https://github.com/ArcticaProject/nx-libs" @@ -72,6 +72,13 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/861680 + # + # inherited from libX11 vendored code. libX11 passes this flag already. + append-flags -fno-strict-aliasing + filter-lto + # From xorg-x11-6.9.0-r3.ebuild pushd nx-X11 || die HOSTCONF="config/cf/host.def" diff --git a/net-misc/nx/nx-3.5.99.27.ebuild b/net-misc/nx/nx-3.5.99.27.ebuild index e054f77bb1e5..60a90c7c8d28 100644 --- a/net-misc/nx/nx-3.5.99.27.ebuild +++ b/net-misc/nx/nx-3.5.99.27.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools toolchain-funcs +inherit autotools flag-o-matic toolchain-funcs DESCRIPTION="NX compression technology core libraries" HOMEPAGE="https://github.com/ArcticaProject/nx-libs" @@ -66,6 +66,13 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/861680 + # + # inherited from libX11 vendored code. libX11 passes this flag already. + append-flags -fno-strict-aliasing + filter-lto + # From xorg-x11-6.9.0-r3.ebuild pushd nx-X11 || die HOSTCONF="config/cf/host.def" diff --git a/net-misc/openvswitch/Manifest b/net-misc/openvswitch/Manifest index fdf2da39aeef..201668cbe277 100644 --- a/net-misc/openvswitch/Manifest +++ b/net-misc/openvswitch/Manifest @@ -10,6 +10,8 @@ AUX ovsdb-server_conf2 580 BLAKE2B dfd1ece1fe4799439c097cf87175b6d6b331fce4a920c AUX xcp-interface-reconfigure-2.3.2.patch 920 BLAKE2B a0cf230e9793484309ec38a6faf7ba386ae4e1ba7b8c77e3a3f0cbdef63d128dd765362e4ab8077da04a60444718283cc68d0a402ed12fa168c2ca983c1064a6 SHA512 7f2dd6fbd3f734abe2cf8e23a0aa49d81a8acb26ac5c28004a95ec0fe4630f7792aabdaeb8825a62ff96fcf1c3a871eea10b11c6b92ddf7965aa1f73150f7ec7 DIST openvswitch-2.17.6.tar.gz 8092331 BLAKE2B 0564a332e8c876552a9a3a068f4e54d3f5d56428e277e32f188aba9626035818c900be45171964ddcb782166a5e5b3b8f3a2fb80d5ed9723b94c9e1ed7410544 SHA512 ff9d19a9101c9a18117a859150d391eecbd6a331e35da3f20a62acaac1febbfbad716874734f9bd0d304d635212884f9f617b944e79bb7e554ddd9e5c53645c8 DIST openvswitch-2.17.8.tar.gz 8097747 BLAKE2B d37ae60481255476d41aa94086f6a597107b23176f7ff47eeff9d85a5904da3685886663451317e0b9e512fb049b4024e291f320752aa90fe798ff08f49772c5 SHA512 c94685b67f9f25c81a590696d36c431fadf09c2504b06565011c2945ef242c5039508b312992597822f8ee274ce615ca58bc6bb2aa0a9cf1346bc2dcada70fa1 +DIST openvswitch-2.17.9.tar.gz 8136490 BLAKE2B cdb5ec81fb9ac04786fc1230d60c6c9bbf7ec2929cf5ab40bb1e0e7442480383d0ad8f24f14df4901cab8f39a6532445cf1810c9b9e3a779d7d15bfe35101a37 SHA512 b91212f9c10a208bca9d15cd5a219ae24b7e9bf8b5c8fdebc21cd9fa8229bc655f9f3591d79dd30c1a8212daed15d5a26bf9532b3496e3660bc8b62012f45636 EBUILD openvswitch-2.17.6.ebuild 5256 BLAKE2B 60504d26e5f14d6fbc986d901cd7843f94daf39185c59b92c027a5f7372fb0a8fc3479dc4662b6f01871b899d0968032b42905e88534307d33099ac2fd0d1c15 SHA512 8443172dade0e5a0f2bd0ec6af8e69269fde4473255477108c16db1540443664644ac456d3bf271002f5b4f20d169f837f7cf6858a8214f652f7e04e2efaa539 EBUILD openvswitch-2.17.8.ebuild 5268 BLAKE2B 5f42a771aeae71d10e5af453f86e44c3b33511614b438cac6a7ede9c71bfffb41d305828a23170a6efc51a0efdb6bf713ad99689b3e9dc152211de734afeb36a SHA512 025747ed646b6e9ba61f9da57208a118a0b00ac73aa8d9f2013683cf5d34170a7187ef6fbd60938588bc464059d59d305837634a4afad4e454437f2012842c4d +EBUILD openvswitch-2.17.9.ebuild 5218 BLAKE2B d6a214a90b3937dd6a057c73926abfeafab4fc774589c95cd804fc8db19c9ebb1c8dc2c167765ad51ce5a0bde80ac81c5d6f2b4e8924f9518f8633c585914d9f SHA512 25eefed91c56016814af5f325fd837bbcac94a8c64b9aae84b24a504b36df276ccc5d809d07e63b59ace8a4ceb1c2c7998d56bc0e8e7e0ac8b2651d631f7dd2c MISC metadata.xml 539 BLAKE2B c6a7e8b9ffb18bd32be27bb2ba301b4b8872a0c17eec6b110f89562d261614ca9bc1a5d89350ac05b6dc26d7536fd7aa1920326c7f55a0ecb4693bfc99986810 SHA512 d731202dfe79480263006596d7da8349a6831e05d75d5ebc9cce28818d02d5a52e81b350f5afb06279e91e5dc700763fb2975b28aad15bc3a0ea72b6264eba71 diff --git a/net-misc/openvswitch/openvswitch-2.17.9.ebuild b/net-misc/openvswitch/openvswitch-2.17.9.ebuild new file mode 100644 index 000000000000..5443b1d05e16 --- /dev/null +++ b/net-misc/openvswitch/openvswitch-2.17.9.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MODULES_OPTIONAL_USE="modules" +PYTHON_COMPAT=( python3_{10..11} ) + +inherit autotools linux-mod-r1 python-single-r1 systemd tmpfiles + +DESCRIPTION="Production quality, multilayer virtual switch" +HOMEPAGE="https://www.openvswitch.org" +SRC_URI="https://www.openvswitch.org/releases/${P}.tar.gz" + +LICENSE="Apache-2.0 GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" +IUSE="debug modules monitor +ssl unwind valgrind" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Check python/ovs/version.py in tarball for dev-python/ovs dep +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + ~dev-python/ovs-2.17.1_p1[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + ') + debug? ( dev-lang/perl ) + unwind? ( sys-libs/libunwind:= ) + ssl? ( dev-libs/openssl:= )" +DEPEND="${RDEPEND} + sys-apps/util-linux[caps] + valgrind? ( dev-debug/valgrind )" +BDEPEND="virtual/pkgconfig + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/sphinx[${PYTHON_USEDEP}] + ')" + +PATCHES=( + "${FILESDIR}/xcp-interface-reconfigure-2.3.2.patch" +) + +CONFIG_CHECK="~NET_CLS_ACT ~NET_CLS_U32 ~NET_SCH_INGRESS ~NET_ACT_POLICE ~IPV6 ~TUN" +MODULE_NAMES="openvswitch(net:${S}/datapath/linux)" +BUILD_TARGETS="all" + +pkg_setup() { + if use modules ; then + CONFIG_CHECK+=" ~!OPENVSWITCH" + kernel_is ge 3 10 0 || die "Linux >= 3.10.0 and <= 5.8 required for userspace modules" + kernel_is le 5 8 999 || die "Linux >= 3.10.0 and <= 5.8 required for userspace modules" + linux-mod-r1_pkg_setup + else + CONFIG_CHECK+=" ~OPENVSWITCH" + linux-info_pkg_setup + fi +} + +src_prepare() { + default + + # Never build kernelmodules, doing this manually + sed -i \ + -e '/^SUBDIRS/d' \ + datapath/Makefile.in || die "sed failed" + + eautoreconf +} + +src_configure() { + set_arch_to_kernel + python_setup + + # monitor is statically enabled for bug #596206 + # use monitor || export ovs_cv_python="no" + # pyside is staticly disabled + export ovs_cv_pyuic4="no" + + # flake8 is primarily a style guide tool, running it as part of the tests + # in Gentoo does not make much sense, only breaks them: bug #607280 + export ovs_cv_flake8="no" + + # Only adds a diagram to the man page, just skip it as we don't + # want to add a BDEPEND on graphviz right now. bug #856286 + export ovs_cv_dot="no" + + export ac_cv_header_valgrind_valgrind_h=$(usex valgrind) + + local linux_config + use modules && linux_config="--with-linux=${KV_OUT_DIR}" + + export ac_cv_lib_unwind_unw_backtrace="$(usex unwind)" + + # Need PYTHON3 variable for bug #860240 + PYTHON3="${PYTHON}" CONFIG_SHELL="${BROOT}"/bin/bash SHELL="${BROOT}"/bin/bash econf ${linux_config} \ + --with-rundir=/run/openvswitch \ + --with-logdir=/var/log/openvswitch \ + --with-pkidir=/etc/ssl/openvswitch \ + --with-dbdir=/var/lib/openvswitch \ + $(use_enable ssl) \ + $(use_enable !debug ndebug) +} + +src_compile() { + default + + use modules && linux-mod-r1_src_compile +} + +src_install() { + default + + local SCRIPT + if use monitor; then + # ovs-bugtool is installed to sbin by the build system, but we + # install it to bin below, and these clash in merged-usr + # https://bugs.gentoo.org/889846 + rm "${ED}"/usr/sbin/ovs-bugtool || die + + for SCRIPT in ovs-{pcap,parse-backtrace,dpctl-top,l3ping,tcpdump,tcpundump,test,vlan-test} bugtool/ovs-bugtool; do + python_doscript utilities/"${SCRIPT}" + done + rm -r "${ED}"/usr/share/openvswitch/python || die + fi + + keepdir /var/{lib,log}/openvswitch + keepdir /etc/ssl/openvswitch + fperms 0750 /etc/ssl/openvswitch + + rm -rf "${ED}"/var/run || die + + newconfd "${FILESDIR}/ovsdb-server_conf2" ovsdb-server + newconfd "${FILESDIR}/ovs-vswitchd.confd-r2" ovs-vswitchd + newinitd "${FILESDIR}/ovsdb-server-r1" ovsdb-server + newinitd "${FILESDIR}/ovs-vswitchd-r1" ovs-vswitchd + + systemd_newunit "${FILESDIR}/ovsdb-server-r3.service" ovsdb-server.service + systemd_newunit "${FILESDIR}/ovs-vswitchd-r3.service" ovs-vswitchd.service + systemd_newunit rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service ovs-delete-transient-ports.service + newtmpfiles "${FILESDIR}/openvswitch.tmpfiles" openvswitch.conf + + insinto /etc/logrotate.d + newins rhel/etc_logrotate.d_openvswitch openvswitch + + use modules && linux-mod-r1_src_install +} + +pkg_postinst() { + use modules && linux-mod-r1_pkg_postinst + + tmpfiles_process openvswitch.conf + + # Only needed on non-systemd, but helps anyway + elog "Use the following command to create an initial database for ovsdb-server:" + elog " emerge --config =${CATEGORY}/${PF}" + elog "(will create a database in /var/lib/openvswitch/conf.db)" + elog "or to convert the database to the current schema after upgrading." +} + +pkg_config() { + local db="${EROOT%}"/var/lib/openvswitch/conf.db + if [[ -e "${db}" ]] ; then + einfo "Database '${db}' already exists, doing schema migration..." + einfo "(if the migration fails, make sure that ovsdb-server is not running)" + ovsdb-tool convert "${db}" \ + "${EROOT}"/usr/share/openvswitch/vswitch.ovsschema || die "converting database failed" + else + einfo "Creating new database '${db}'..." + ovsdb-tool create "${db}" \ + "${EROOT}"/usr/share/openvswitch/vswitch.ovsschema || die "creating database failed" + fi +} diff --git a/net-misc/passt/Manifest b/net-misc/passt/Manifest index 8a153016de16..ccba98c033a9 100644 --- a/net-misc/passt/Manifest +++ b/net-misc/passt/Manifest @@ -1,13 +1,9 @@ AUX Makefile-2024.03.20.patch 433 BLAKE2B 5e64a2a449806698bc812e38bfe46860e13a3bf64e1e6c7c96e3d43d8b30f1e6d6eedad8a89b500dced6ba81e8a8c0e7dfd74d889fed8dc1d7d7755d38e60156 SHA512 cbf5f29c96364438064ae65cc56501b1a5793530dedfeadf5184fa1a7df8c1b45786f39686e058178c2b7e58f0ae2aaa507fe986f01c4a6a6984276cd00c062e -DIST passt-2023.12.04.tar.xz 188136 BLAKE2B f1d72fbb4bbb25f6a11e9ff87a91cf9bac06e047b8cb9a8b40402ced1422c23b105fa7e64646698d38ad747efa449c34cfdaecf492a3e4984114cbcf60656cdc SHA512 febd9fa22363438b52b2688481183d81c22966e1775139fc559dbfa50437c9b00ba09800db867738d25fcea8ac05d4589b75dcd2d0c88eeffefc0598d4236001 -DIST passt-2023.12.30.tar.xz 188596 BLAKE2B 75712a7cb7a00fea20427979153090d938b8c7b0e3da61c83cabb3751786034df35ebbe8afbd991d582a680f55b12792547b68efa931a5576dc181040b31e5fd SHA512 4b19d191e2526bacc61bb8ab2964f5da4e0535656b094a7592f91d6b437c855a586fc772e2abd89138ff4f89aae12ade494c6e0fe7bee1502fe319215200d8f0 -DIST passt-2024.03.20.tar.xz 195332 BLAKE2B 1bed740ddd235f300a4233fb2024f155758809589f1fdd2174ab99a8a93dd16044ab41814b215d12eb1e557966a73a3754bbff2b9acd752b45b385edd88ba3c7 SHA512 3701820e539545771d0f867fe0b8977cb5967e7501413f717fed08d2d2c141f17d86ed7238177b4fb4cf4cfc01c6c9d07e3c218c34b48e0a5a1f2b2ce8a5b903 DIST passt-2024.03.26.tar.xz 195348 BLAKE2B d91e6ac1d50aae04ceb53a34341b545ff644ceccdfcfab461907050612d9d871f61591aac02ebddef9a607a9b39ce5017a2fc47c9189f85b9b9a70a30d010e4c SHA512 da771f8f334862f81702b22688c9d3552aefc2883b5a44c39156ff7a69f301cabf52fa0fb13f8695240db5411c498806d28d847fca8caff2bedb69d1a4b4e5a7 DIST passt-2024.04.05.tar.xz 195772 BLAKE2B 4c237aeda56455f948d4309624d171612d59fa7ec653e7f89c1aeb05c677ccbdeeaaf6e14c09cda1d5bc88a97fca57dbbe480095e9711045fbd381bd30fb644a SHA512 bf14689cb1c4780d4249562965ff9a5a0515756cbf5af4b531c17982a066f33001a65210959ff8da691ddaa75560ab5691c685a4c1a4b73e742a883d12d2a24b -EBUILD passt-2023.12.04.ebuild 707 BLAKE2B fe3b6c4c697e725c51b3cefec18e7501055c3abb0d2cb74d8b5983a73a6803ff2a5fafa2502b54725e4225072a5fa2dc6e0043524c89c6019d5380df79314aeb SHA512 0845a4d1dda79af28f08b2735297cd8fc515460df24fa9cf8d5d8653ffa3c20379e3ab5167b895fcd35b7f2068531aebe7c2e51fe9b86a65aa526f9a2cbf3306 -EBUILD passt-2023.12.30.ebuild 714 BLAKE2B afabcac34eb836f21812deeb1946d657a9bb7ed3e87868a2d50641ca8a21f43f869397f6ffe8736f66f96bf890f19f3c59f8f4c43956abfc9a0f8d17fa278b17 SHA512 e75a6066c5d13053047843c2bb0be917941d97305a53138e68dd6b5f758be01a623ca66c4d7dee37e14fc8fab212248d131cc1ccec049a506bc4ca0f679f2ec7 -EBUILD passt-2024.03.20.ebuild 842 BLAKE2B bdfd388a62cee3b064e5bdfd3f3960ff19fd505365469b3e5cc0d0148139b8dfb02020af67fda5be6e313faf1294a96ad6df106b8bf8b2fa01ee234285179bf7 SHA512 0c3f1480d9a325fba24471cd97a0030047d9f78261e93fc33429d6a56cb593f27828de96ddf5fd3cce547f0cfb95d5af8d5eae5331f9b29d9b565ac38ce94b27 +DIST passt-2024.04.26.tar.xz 196148 BLAKE2B f3a9b9d2a9fa42e0dd35894d4c92890af9935965ccfb3b1751c396080ab0482bd541fe22f09ae7b068f336f1e985b6905d2cc93987a17f243ba6ec97d880ee68 SHA512 f25b9bc695de555048f6a24ec9bb603ec6def0449227ce837b6e46f8cda5816c2450aa733257aaa349260b0b7c05b2d5580ad21010a1a45a74e9eb3027e37d98 EBUILD passt-2024.03.26.ebuild 842 BLAKE2B 2d3a84c42100682fc7cf027c16545a8ccb811f943a43bad17d8c8f00dfcbb54c5ecd73bb8e0690165dfa896baa6a898e95aa0c57482ec878b2d5bb46c593a2ac SHA512 7155fef1d337530c70ec44bef45a6acf5dbc9f747953a77569db921324ea0e69c3d314144735af83f33feef97f148fabd96c89779c17837f7062bdb4288f3a32 EBUILD passt-2024.04.05.ebuild 842 BLAKE2B 8cd4f2806d61b2e4d567bea4ba90d629d43f518153b36e5f343690b4bb7e70a476c35ec89305bc1d701f202b18af64ab2c65574642d72e1cf037b43b5fada0e6 SHA512 f7bfb90004c0a78b0a7a68e01c9431581dc1ade39457c8957555a157862716b27b0a6a814fc499674a69642467a913e7915b2a7554dd57b8638045dc676c3ea4 -EBUILD passt-9999.ebuild 842 BLAKE2B 8cd4f2806d61b2e4d567bea4ba90d629d43f518153b36e5f343690b4bb7e70a476c35ec89305bc1d701f202b18af64ab2c65574642d72e1cf037b43b5fada0e6 SHA512 f7bfb90004c0a78b0a7a68e01c9431581dc1ade39457c8957555a157862716b27b0a6a814fc499674a69642467a913e7915b2a7554dd57b8638045dc676c3ea4 +EBUILD passt-2024.04.26.ebuild 842 BLAKE2B 37a59ee6ef1ad40cc3af87a8c4a565ba5aa06183a9802b9bfdf54cf2cfe578c94473fd0605379224d39b5c7763bd05664c00b22c74ab6e97be7a6056f7c8c4cf SHA512 784ecc5756ec3cda106b5c730317dd15947790b4f9910aa9026c46b8d1220592fd470727df93402acb21c2bc8795c12a1e9da45309ce9691e53fb423e69fab28 +EBUILD passt-9999.ebuild 842 BLAKE2B 37a59ee6ef1ad40cc3af87a8c4a565ba5aa06183a9802b9bfdf54cf2cfe578c94473fd0605379224d39b5c7763bd05664c00b22c74ab6e97be7a6056f7c8c4cf SHA512 784ecc5756ec3cda106b5c730317dd15947790b4f9910aa9026c46b8d1220592fd470727df93402acb21c2bc8795c12a1e9da45309ce9691e53fb423e69fab28 MISC metadata.xml 1410 BLAKE2B 415cf4ab3e0d993066251ff9e136ea4a5ef13fc50b838b5dd057784600b5fb89fecb411cc0d61d08459e34da7fe34097d22b8908240f3e46e6ff50f503aa7089 SHA512 85d756f5b8077fb0838e1881f9ef48f08ca8da1ca540d8677632c81d34765d6fb1483b3fdd0eead64467aa7872b1ca133745610736d0afc5a2b8223abacc1cb6 diff --git a/net-misc/passt/passt-2023.12.04.ebuild b/net-misc/passt/passt-2023.12.04.ebuild deleted file mode 100644 index 5683bd6f8693..000000000000 --- a/net-misc/passt/passt-2023.12.04.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="User-mode networking daemons for VMs and namespaces, replacement for Slirp" -HOMEPAGE="https://passt.top/" - -RELEASE_COMMIT="b86afe3" - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="git://passt.top/passt" -else - SRC_URI="https://passt.top/passt/snapshot/passt-${RELEASE_COMMIT}.tar.xz -> ${P}.tar.xz" - S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" - KEYWORDS="~amd64" -fi - -LICENSE="BSD GPL-2+" -SLOT="0" -IUSE="static" - -src_compile() { - [[ ${PV} != 9999* ]] && export VERSION="${PV}" - export prefix="${EPREFIX}/usr" docdir="${EPREFIX}/usr/share/doc/${P}" - - emake $(usev static) -} diff --git a/net-misc/passt/passt-2023.12.30.ebuild b/net-misc/passt/passt-2023.12.30.ebuild deleted file mode 100644 index cf2c6784ce85..000000000000 --- a/net-misc/passt/passt-2023.12.30.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="User-mode networking daemons for VMs and namespaces, replacement for Slirp" -HOMEPAGE="https://passt.top/" - -RELEASE_COMMIT="f091893" - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="git://passt.top/passt" -else - SRC_URI="https://passt.top/passt/snapshot/passt-${RELEASE_COMMIT}.tar.xz -> ${P}.tar.xz" - S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" - KEYWORDS="~amd64 ~riscv" -fi - -LICENSE="BSD GPL-2+" -SLOT="0" -IUSE="static" - -src_compile() { - [[ ${PV} != 9999* ]] && export VERSION="${PV}" - export prefix="${EPREFIX}/usr" docdir="${EPREFIX}/usr/share/doc/${P}" - - emake $(usev static) -} diff --git a/net-misc/passt/passt-2024.03.20.ebuild b/net-misc/passt/passt-2024.03.20.ebuild deleted file mode 100644 index ed54ff64b6be..000000000000 --- a/net-misc/passt/passt-2024.03.20.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="User-mode networking daemons for VMs and namespaces, replacement for Slirp" -HOMEPAGE="https://passt.top/" - -RELEASE_COMMIT="71dd405" - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="git://passt.top/passt" -else - SRC_URI="https://passt.top/passt/snapshot/passt-${RELEASE_COMMIT}.tar.xz -> ${P}.tar.xz" - S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" - KEYWORDS="~amd64 ~arm64 ~riscv" -fi - -LICENSE="BSD GPL-2+" -SLOT="0" -IUSE="static" - -PATCHES=( - "${FILESDIR}"/Makefile-2024.03.20.patch -) - -src_prepare() { - default - tc-export CC -} - -src_compile() { - [[ ${PV} != 9999* ]] && export VERSION="${PV}" - export prefix="${EPREFIX}/usr" docdir="${EPREFIX}/usr/share/doc/${P}" - - emake $(usev static) -} diff --git a/net-misc/passt/passt-2024.04.26.ebuild b/net-misc/passt/passt-2024.04.26.ebuild new file mode 100644 index 000000000000..c73a0f7c146b --- /dev/null +++ b/net-misc/passt/passt-2024.04.26.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="User-mode networking daemons for VMs and namespaces, replacement for Slirp" +HOMEPAGE="https://passt.top/" + +RELEASE_COMMIT="d03c4e2" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="git://passt.top/passt" +else + SRC_URI="https://passt.top/passt/snapshot/passt-${RELEASE_COMMIT}.tar.xz -> ${P}.tar.xz" + S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" + KEYWORDS="~amd64 ~arm64 ~riscv" +fi + +LICENSE="BSD GPL-2+" +SLOT="0" +IUSE="static" + +PATCHES=( + "${FILESDIR}"/Makefile-2024.03.20.patch +) + +src_prepare() { + default + tc-export CC +} + +src_compile() { + [[ ${PV} != 9999* ]] && export VERSION="${PV}" + export prefix="${EPREFIX}/usr" docdir="${EPREFIX}/usr/share/doc/${P}" + + emake $(usev static) +} diff --git a/net-misc/passt/passt-9999.ebuild b/net-misc/passt/passt-9999.ebuild index e4201215e520..c73a0f7c146b 100644 --- a/net-misc/passt/passt-9999.ebuild +++ b/net-misc/passt/passt-9999.ebuild @@ -8,7 +8,7 @@ inherit toolchain-funcs DESCRIPTION="User-mode networking daemons for VMs and namespaces, replacement for Slirp" HOMEPAGE="https://passt.top/" -RELEASE_COMMIT="954589b" +RELEASE_COMMIT="d03c4e2" if [[ ${PV} == 9999* ]]; then inherit git-r3 diff --git a/net-misc/spice-gtk/Manifest b/net-misc/spice-gtk/Manifest index f6fe08f2bdc5..ac9687b2296d 100644 --- a/net-misc/spice-gtk/Manifest +++ b/net-misc/spice-gtk/Manifest @@ -1,6 +1,8 @@ AUX README.gentoo 527 BLAKE2B 5f02dbe14485894513b67bfb8b6f6159321e081f82f24c76a4b05f1463f8a6e332fffb2510b791a04fb9ad99ce7caba761b313fe2252c8d44893faa6ccef0d29 SHA512 2f8a79f6eea330ac9a6927c6cce29f9232c3c0650436f3f4c459d324bd5054a4ad82786d926e5e4c7384e74cb84d1fbb387c25b0b4c27fdb9514d526cbe02f9b AUX spice-gtk-0.42-libtool-export-symbols-fix.patch 2413 BLAKE2B afb7fb5763d28f9666e71ff55b3d66587922175bc518396a18cfe97544b3871185d51c170287508fc4a47e2ebc8ca0cf39ebdebb829b5213432eb15019a7e587 SHA512 df284e95f970149a75d87dbad6e06899e80f68721979f91b3246037b37e432e48beab832fe3d376814681f9e11611b9f4c3d3463f969f32c171879c2e6cd1c38 +AUX spice-gtk-0.42-lld17-fix.patch 5913 BLAKE2B 424f780a9e8386d9b7eacccc012e490cec4d62274d7d01269121f46c16eaa63a99280bd05adb36671151dc1ade3adffb44933546254812961e5633767662b613 SHA512 a6859c10cebd5be3e6661f5b2558e571f15d8d53fbb0bba3a40364632473043c6045e17f068d71135e4e61a9ea7d641f0aa0ca6eb6e0499f4aab168406e2b48e DIST spice-gtk-0.42.tar.xz 812776 BLAKE2B 406a2218d4ec0765173c911d6305cb0e043cd575c53ba51cbd53d922835b9d395873143f2388a5a02ee60ce617e32a1cb6a95008b67deec787fcf67da0d49736 SHA512 fd567e35f6d4ebfe6ef004f358dca4c41254336f55f7dd26cf67b62b2acb4866907186bd0526b7cb52b0c24020cdc8809251127498a8d357555bb0c5d3b8f137 EBUILD spice-gtk-0.42-r3.ebuild 3991 BLAKE2B 7363ae47a07944a1f84f74f00ec0dd0375968e5c51747ec0d383f821390a3ec94b3dc3b93f782f9e348836d395954a573158885aa3d094f385ea70fb67b2392b SHA512 2744690287e81f8614fe88444e3d2a468197e6ec78a375b44de3881a2f40ccbb3fe82edff9658d6e2d393bf504317eedfe5709c17a5acfdcbad69cb91b3f345c -EBUILD spice-gtk-9999.ebuild 3923 BLAKE2B d7ac20e48e55f4ba29037074a4e226b33597a50423b22d4c9e7ea437563eef2eeeaab8d843f229de844ea4734568ccdd827f7f3cf368d23ab4454259ce8f8da0 SHA512 bbc4ea378d3a483514bccf47d94cd1d8ee4a61735f4ff3301d8f606555a32365a84a18076837f54656300889fc558f5ca0542c218160e3d67e20e2b18d858c88 +EBUILD spice-gtk-0.42-r4.ebuild 4037 BLAKE2B 90374a9c5679beaabacef586d348db29618283c767abaa845c61f8ac7aac1f0f3b2e4419c7deddecd9e283748b1d9af43344155189b07cbd435a7cb6d9924d9c SHA512 386cbd38616d91107138c75e7ad7a079f43ecfc88ee90c956b4b74b9ec3118be0ac52591f847d0baf3718c962787309ee7881f51469fbff3aaa17697d307d2fc +EBUILD spice-gtk-9999.ebuild 3923 BLAKE2B 52e108cbd8a0f818123beb244ab8df538d9173a479d1f4ba27069e5a1a135736ae38905231259f721892c6a2d2216bab5bda34d137f15db17fcdd6064cf471d3 SHA512 f4681c903728c00a5406e60f5a9df363adc637977148b3cb87562cd5bd1f2526b904f564cbae4173e30aadcfae9c22c7bd21652cb3467ea28752cca6a98d3a91 MISC metadata.xml 878 BLAKE2B ed1c920773825632995e541e6bc7ec0b894005edcff41c90c2af4a47279db54bcc695b22e91e7aa3c1376cee6ed509f985cb7486a2f7d75e8b6ebbb8c6caa67b SHA512 308ea78d044e3c13ed40154b4835f202dc523fc8925aa3ad0304ddb6518a9c51437ebccc539998b8d55d6919649358a073b5c80a2e8dd0d8e82bb4e0ab6c6d0a diff --git a/net-misc/spice-gtk/files/spice-gtk-0.42-lld17-fix.patch b/net-misc/spice-gtk/files/spice-gtk-0.42-lld17-fix.patch new file mode 100644 index 000000000000..b6197fb15ba3 --- /dev/null +++ b/net-misc/spice-gtk/files/spice-gtk-0.42-lld17-fix.patch @@ -0,0 +1,167 @@ +https://gitlab.freedesktop.org/spice/spice-gtk/-/merge_requests/121 +https://bugs.gentoo.org/915210 + +From 7e87382b585a799ced543b0c3fd127b2a813285f Mon Sep 17 00:00:00 2001 +From: Frediano Ziglio +Date: Fri, 23 Jun 2023 21:17:26 +0100 +Subject: [PATCH] Split symbol file in 2 files + +One file for spice-glib and another for spice-gtk. +This avoid having duplicate exports in the future. +spice_g_signal_connect_object, spice_util_get_debug, +spice_util_get_version_string, spice_util_set_debug and +spice_uuid_to_string are exported by both libraries to keep ABI +compatibility. + +Signed-off-by: Frediano Ziglio +--- + src/{map-file => map-file-glib} | 22 --------------------- + src/map-file-gtk | 35 +++++++++++++++++++++++++++++++++ + src/meson.build | 17 ++++++++++------ + 3 files changed, 46 insertions(+), 28 deletions(-) + rename src/{map-file => map-file-glib} (89%) + create mode 100644 src/map-file-gtk + +diff --git a/src/map-file b/src/map-file-glib +similarity index 89% +rename from src/map-file +rename to src/map-file-glib +index c0d8ca6e..ef0a31f3 100644 +--- a/src/map-file ++++ b/src/map-file-glib +@@ -31,18 +31,8 @@ spice_display_channel_get_primary; + spice_display_channel_get_type; + spice_display_channel_gl_draw_done; + spice_display_get_gl_scanout; +-spice_display_get_grab_keys; +-spice_display_get_pixbuf; + spice_display_get_primary; +-spice_display_get_type; + spice_display_gl_draw_done; +-spice_display_key_event_get_type; +-spice_display_keyboard_ungrab; +-spice_display_mouse_ungrab; +-spice_display_new; +-spice_display_new_with_monitor; +-spice_display_send_keys; +-spice_display_set_grab_keys; + spice_file_transfer_task_cancel; + spice_file_transfer_task_get_filename; + spice_file_transfer_task_get_progress; +@@ -52,17 +42,7 @@ spice_file_transfer_task_get_type; + spice_get_option_group; + spice_gl_scanout_free; + spice_gl_scanout_get_type; +-spice_grab_sequence_as_string; +-spice_grab_sequence_copy; +-spice_grab_sequence_free; +-spice_grab_sequence_get_type; +-spice_grab_sequence_new; +-spice_grab_sequence_new_from_string; + spice_g_signal_connect_object; +-spice_gtk_session_copy_to_guest; +-spice_gtk_session_get; +-spice_gtk_session_get_type; +-spice_gtk_session_paste_from_guest; + spice_inputs_button_press; + spice_inputs_button_release; + spice_inputs_channel_button_press; +@@ -185,8 +165,6 @@ spice_usb_device_manager_is_redirecting; + spice_usb_device_manager_allocate_device_for_file_descriptor; + spice_usb_device_manager_create_shared_cd_device; + spice_usb_device_manager_is_device_shared_cd; +-spice_usb_device_widget_get_type; +-spice_usb_device_widget_new; + spice_usbredir_channel_get_type; + spice_util_get_debug; + spice_util_get_version_string; +diff --git a/src/map-file-gtk b/src/map-file-gtk +new file mode 100644 +index 00000000..ca5dd446 +--- /dev/null ++++ b/src/map-file-gtk +@@ -0,0 +1,35 @@ ++SPICEGTK_1 { ++global: ++spice_display_get_grab_keys; ++spice_display_get_pixbuf; ++spice_display_get_type; ++spice_display_key_event_get_type; ++spice_display_keyboard_ungrab; ++spice_display_mouse_ungrab; ++spice_display_new; ++spice_display_new_with_monitor; ++spice_display_send_keys; ++spice_display_set_grab_keys; ++spice_grab_sequence_as_string; ++spice_grab_sequence_copy; ++spice_grab_sequence_free; ++spice_grab_sequence_get_type; ++spice_grab_sequence_new; ++spice_grab_sequence_new_from_string; ++spice_gtk_session_copy_to_guest; ++spice_gtk_session_get; ++spice_gtk_session_get_type; ++spice_gtk_session_paste_from_guest; ++spice_usb_device_widget_get_type; ++spice_usb_device_widget_new; ++ ++/* FIXME: remove the following 5 duplicated symbols in next ABI break */ ++spice_g_signal_connect_object; ++spice_util_get_debug; ++spice_util_get_version_string; ++spice_util_set_debug; ++spice_uuid_to_string; ++ ++local: ++*; ++}; +diff --git a/src/meson.build b/src/meson.build +index 852217ac..68fe7ab2 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -185,14 +185,20 @@ test_syms_path = meson.current_source_dir() / 'test-map-file' + test_version_script = '-Wl,--version-script=@0@'.format(test_syms_path) + spice_has_version_script = compiler.has_link_argument(test_version_script) + +-spice_client_glib_syms = files('map-file') +-spice_client_glib_syms_path = meson.current_source_dir() / 'map-file' +-spice_gtk_version_script = '-Wl,--version-script=@0@'.format(spice_client_glib_syms_path) +-if not spice_has_version_script ++if spice_has_version_script ++ spice_client_glib_syms = files('map-file-glib') ++ spice_client_gtk_syms = files('map-file-gtk') ++ spice_client_glib_syms_path = meson.current_source_dir() / 'map-file-glib' ++ spice_client_gtk_syms_path = meson.current_source_dir() / 'map-file-gtk' ++ spice_glib_version_script = '-Wl,--version-script=@0@'.format(spice_client_glib_syms_path) ++ spice_gtk_version_script = '-Wl,--version-script=@0@'.format(spice_client_gtk_syms_path) ++else + if host_machine.system() == 'linux' + error('Version scripts should be supported on Linux') + endif + spice_client_glib_syms = [] ++ spice_client_gtk_syms = [] ++ spice_glib_version_script = [] + spice_gtk_version_script = [] + endif + +@@ -210,7 +216,7 @@ spice_client_glib_lib = library('spice-client-glib-2.0', spice_client_glib_sourc + version : spice_client_glib_so_version, + install : true, + include_directories : spice_gtk_include, +- link_args : [spice_gtk_version_script], ++ link_args : [spice_glib_version_script], + link_depends : spice_client_glib_syms, + dependencies : spice_glib_deps) + +@@ -377,7 +383,6 @@ if spice_gtk_has_gtk + # + # libspice-client-gtk.so + # +- spice_client_gtk_syms = spice_client_glib_syms + + # soversion + # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html +-- +GitLab + diff --git a/net-misc/spice-gtk/spice-gtk-0.42-r4.ebuild b/net-misc/spice-gtk/spice-gtk-0.42-r4.ebuild new file mode 100644 index 000000000000..677217bfee91 --- /dev/null +++ b/net-misc/spice-gtk/spice-gtk-0.42-r4.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VALA_USE_DEPEND="vapigen" +PYTHON_COMPAT=( python3_{10..12} ) + +inherit desktop meson optfeature python-any-r1 readme.gentoo-r1 vala xdg + +DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI" +HOMEPAGE="https://www.spice-space.org https://cgit.freedesktop.org/spice/spice-gtk/" +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI="https://anongit.freedesktop.org/git/spice/spice-gtk.git" + inherit git-r3 + + SPICE_PROTOCOL_VER=9999 +else + SRC_URI="https://www.spice-space.org/download/gtk/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + + SPICE_PROTOCOL_VER=0.14.3 +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="gtk-doc +gtk3 +introspection lz4 mjpeg policykit sasl smartcard usbredir vala valgrind wayland webdav" + +# TODO: +# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h +# * use external pnp.ids as soon as that means not pulling in gnome-desktop +RDEPEND=" + >=dev-libs/glib-2.46:2 + dev-libs/json-glib:0= + media-libs/gst-plugins-base:1.0 + media-libs/gst-plugins-good:1.0 + media-libs/gstreamer:1.0[introspection?] + media-libs/opus + media-libs/libjpeg-turbo:= + sys-libs/zlib + >=x11-libs/cairo-1.2 + >=x11-libs/pixman-0.17.7 + x11-libs/libX11 + gtk3? ( x11-libs/gtk+:3[introspection?] ) + introspection? ( dev-libs/gobject-introspection ) + dev-libs/openssl:= + lz4? ( app-arch/lz4 ) + policykit? ( + >=sys-auth/polkit-0.110-r1 + ) + sasl? ( dev-libs/cyrus-sasl ) + smartcard? ( app-emulation/qemu[smartcard] ) + usbredir? ( + sys-apps/hwdata + >=sys-apps/usbredir-0.4.2 + virtual/acl + virtual/libusb:1 + ) + webdav? ( + net-libs/phodav:3.0 + net-libs/libsoup:3.0 + ) +" +# TODO: spice-gtk has an automagic dependency on media-libs/libva without a +# configure knob. The package is relatively lightweight so we just depend +# on it unconditionally for now. It would be cleaner to transform this into +# a USE="vaapi" conditional and patch the buildsystem... +RDEPEND=" + ${RDEPEND} + amd64? ( media-libs/libva:= ) + arm64? ( media-libs/libva:= ) + x86? ( media-libs/libva:= ) +" +DEPEND=" + ${RDEPEND} + >=app-emulation/spice-protocol-${SPICE_PROTOCOL_VER} + valgrind? ( dev-debug/valgrind ) +" +BDEPEND=" + $(python_gen_any_dep ' + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ') + dev-perl/Text-CSV + dev-util/glib-utils + >=sys-devel/gettext-0.17 + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc ) + vala? ( $(vala_depend) ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.42-libtool-export-symbols-fix.patch" + "${FILESDIR}/${PN}-0.42-lld17-fix.patch" +) + +python_check_deps() { + python_has_version "dev-python/six[${PYTHON_USEDEP}]" && + python_has_version "dev-python/pyparsing[${PYTHON_USEDEP}]" +} + +src_prepare() { + default + + python_fix_shebang subprojects/keycodemapdb/tools/keymap-gen + + use vala && vala_setup +} + +src_configure() { + local emesonargs=( + $(meson_feature gtk-doc gtk_doc) + $(meson_feature gtk3 gtk) + $(meson_feature introspection) + $(meson_use mjpeg builtin-mjpeg) + $(meson_feature policykit polkit) + $(meson_feature lz4) + $(meson_feature sasl) + $(meson_feature smartcard) + $(meson_feature usbredir) + $(meson_feature vala vapi) + $(meson_use valgrind) + $(meson_feature webdav) + $(meson_feature wayland wayland-protocols) + ) + + if use elibc_musl; then + emesonargs+=( + -Dcoroutine=gthread + ) + fi + + if use usbredir; then + emesonargs+=( + -Dusb-acl-helper-dir=/usr/libexec + -Dusb-ids-path="${EPREFIX}"/usr/share/hwdata/usb.ids + ) + fi + + meson_src_configure +} + +src_install() { + meson_src_install + + if use usbredir && use policykit; then + # bug #775554 (and bug #851657) + fowners root:root /usr/libexec/spice-client-glib-usb-acl-helper + fperms 4755 /usr/libexec/spice-client-glib-usb-acl-helper + fi + + make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;" + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "Sound support (via pulseaudio)" media-plugins/gst-plugins-pulse +} diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild index 37eef00f49c0..5f81513a6c11 100644 --- a/net-misc/spice-gtk/spice-gtk-9999.ebuild +++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 VALA_USE_DEPEND="vapigen" -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit desktop meson optfeature python-any-r1 readme.gentoo-r1 vala xdg diff --git a/net-misc/xmrig/Manifest b/net-misc/xmrig/Manifest index 9cd1f32face2..de1d7ef5f379 100644 --- a/net-misc/xmrig/Manifest +++ b/net-misc/xmrig/Manifest @@ -1,5 +1,4 @@ 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.21.1.tar.gz 2416545 BLAKE2B 72ecdfc8c999aee91aef4f540211c5d5a6f1992c76211162a623e89391cedfcc2d5540f291d9915ee4180b83f58ef7f2eb1e3aff8dee49c72f41f90878d7ef62 SHA512 a9267708e61084db7116381adb2256a04c30eba0c84b571764cc73ccafc9276f55b6665529eb7b9c1785d582d0d280ced6ee7ca88a5e98f9bbdef2a9176a9794 DIST xmrig-6.21.3.tar.gz 2426720 BLAKE2B 11563169e51402313399109860e04dd13dfc9911504db571968d6a97112990ebb68a3019da836a4ac19a589c94ab4b5f2ebcbadce59452c278ea923e8abf475a SHA512 91e92f61e385b75715b0b00fcb772bf997f3db19ef47f43c4bda3662aec6276273551ac915a7a6eeef253deb8da5b0ec0b45e02f0b84211ab8f0f5a37f34c87e 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 deleted file mode 100644 index 1726c3b01523..000000000000 --- a/net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch +++ /dev/null @@ -1,70 +0,0 @@ -From bd14e6034ba2de0056278c3ad9923199b7f4d20f Mon Sep 17 00:00:00 2001 -From: Matthew Smith -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 -+ -+ - #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 . - */ - -+#include -+ -+ - #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 . - */ - -+#include -+ -+ - #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 . - */ - -+#include -+ -+ - #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 - #include - #include - --- -2.39.2 - -- cgit v1.2.3