diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-02 05:29:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-02 05:29:41 +0100 |
commit | c3ec60d8953748433a04137e04480e9c1a36ed4c (patch) | |
tree | 40c0804fd55099e7d00aa8d8e12f8068dbfe59d9 /net-misc/gns3-server | |
parent | dafb3f89c1133d028ad628dea8b30961e0ef8498 (diff) |
gentoo auto-resync : 02:07:2023 - 05:29:41
Diffstat (limited to 'net-misc/gns3-server')
-rw-r--r-- | net-misc/gns3-server/Manifest | 2 | ||||
-rw-r--r-- | net-misc/gns3-server/gns3-server-2.2.40.1.ebuild | 71 |
2 files changed, 73 insertions, 0 deletions
diff --git a/net-misc/gns3-server/Manifest b/net-misc/gns3-server/Manifest index 96ba09bdf632..07b8f325cf45 100644 --- a/net-misc/gns3-server/Manifest +++ b/net-misc/gns3-server/Manifest @@ -1,3 +1,5 @@ DIST gns3-server-2.2.39.tar.gz 9706605 BLAKE2B 813efad9c6832f41fd1135217ddb1fbd8ea0234a9f84bcbabde58e502e653785513e6b73b0cc2955fd0c0a65276c782eb70a444a243f6e7cba8022f848dbc213 SHA512 219fb595bf8c9032e0e2e8943a3164c6f1cbb1d443faeb089317ab58e69f73d64ce5efcf4ef8da4d26e61b32072145a638e2a657dfc8a70adc97c9d821745ddf +DIST gns3-server-2.2.40.1.tar.gz 9712941 BLAKE2B 24b5705c10f9aa1530f431031db4497d077da7e44c36c3201c6be5194fbbbc1ee4e09d79229520baec3a4296854711d9f0cef23786c141807e6d2eeb9902c402 SHA512 1b8d8e8957dcf8c8c142c2e2be01b88ec2b785ce63c41b21816d29c925574e204cd5dcdd1a010fa356e92babb10ade6c135f817b31aa53eb7368e28aa15b2bff EBUILD gns3-server-2.2.39.ebuild 2073 BLAKE2B e6917dccae18416e7c2db6142f4b3a776b00c3e6d80e0f2956a69c841324d2bf01f1c946ca9d1d187b77b7c06993679bfbafa367e73d75847a3ad269a1fe0d24 SHA512 7030779a9d98163e8b60801815b952a5cad655294243c0e4ca598b03fa9ba852e042cac370bc0274bd944eebf32bd73d526643c3cfe6fd952d0f354c5c4ab8a4 +EBUILD gns3-server-2.2.40.1.ebuild 2072 BLAKE2B b5a22cb7db512bc74025283831eca8bbf3790c48f3e971cd2c74c9ce9fc98bd9b3be2c89ca827a05ef2d8bf31811318ffcf1f39154f3acce4dd9285942f31917 SHA512 c97a356ca55651f573b199f94e9b698bd717c98bf06bb06eb95f598f87c359d04d715107494c1ab7bac6484a17267213d238f2c49202d113435e6bcc8ed039e3 MISC metadata.xml 598 BLAKE2B 6fa3ab1fa771c772843ffc886170f11acfeadcca71d8bf198daa0da6aaca8e12becb430d289418da214537f5723a6a5d5784745a3c93655e6044ec4f3b975b93 SHA512 a5d11697dd82a2c99288f1acdcb9300402570853572995f4af53f2c2e844ecddbed334da72be91f9863725ff5cd7f676509a1f2b01c2b0cde834e62f142bec49 diff --git a/net-misc/gns3-server/gns3-server-2.2.40.1.ebuild b/net-misc/gns3-server/gns3-server-2.2.40.1.ebuild new file mode 100644 index 000000000000..174ef962de0c --- /dev/null +++ b/net-misc/gns3-server/gns3-server-2.2.40.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_11 ) +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-22.1.0[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.8.4[${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.4[${PYTHON_USEDEP}] + >=dev-python/py-cpuinfo-9.0.0[${PYTHON_USEDEP}] + >=dev-python/sentry-sdk-1.17.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" +} |