summaryrefslogtreecommitdiff
path: root/net-misc/gns3-server
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/gns3-server')
-rw-r--r--net-misc/gns3-server/Manifest1
-rw-r--r--net-misc/gns3-server/gns3-server-2.2.38-r1.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/net-misc/gns3-server/Manifest b/net-misc/gns3-server/Manifest
index 33ae9141ec00..2256ee616ca9 100644
--- a/net-misc/gns3-server/Manifest
+++ b/net-misc/gns3-server/Manifest
@@ -1,5 +1,6 @@
DIST gns3-server-2.2.37.tar.gz 9690092 BLAKE2B 9cc7dabde818996ea87494cb4a61a4ba5f9ad2dfe028a4ca9d45e9bd8f6dd4a17b4845275a87386ad068be4f354f932e6cada8d2b8eafd54230ea82fae3f5571 SHA512 f56d1f130e3179fe250b12e9459d8b66745c780c94380cce0ed60206918458f4aab119faa77b23ef7c58115bee11ff2ef6630539b5f184ab2d36b936564de1b7
DIST gns3-server-2.2.38.tar.gz 9693834 BLAKE2B a7a442142bda19bcdb9c9501963bacc275105221f141a59f125d6ec37ada6b357885f76a8cd68b5daef1eb82a3d01b49a99a9c5d4383b728c5c156f92ecdd0bc SHA512 c116dee5836d76be03e5eb7be402b67f8f22273a9a6270220c77ca57324a991c1d2bbfba4457616b11dd2ce14c17206864ec46bd8d4ecc905ab9b20ad137d1a6
EBUILD gns3-server-2.2.37.ebuild 2079 BLAKE2B e46367dcbb45b02b11508f74f22e607f6f5639663e8c843cd5d8a76a88fc62fe1163b3fcd1a60d4fcafb1e14451ec05c56fad285a1ef3364c9c8cdc7b3526c05 SHA512 18b79dcb6e722aa95e1e4c5fa4bcae14f3dcf2c0dfeed5964dbd5b5b92967074483e31e95d726e2e32f9fc0ab0ca5a1a5cb268f2e96a4f1ebae8b4acf3ad8fb3
+EBUILD gns3-server-2.2.38-r1.ebuild 2073 BLAKE2B 5777e7dcbca4181ab824f7f9f41dcec37bb713657f57e43bfeaf8f3fbd74d1d8c7645ec12b068256ae140ef461e2077e0e21f2b4c7fae16fb757d1abc411c464 SHA512 f2f186839de1a6866369f3ff8c027a9ea6c4a8141a00923a2ef548d6ba2e941033f4f10c4ce748a91674866dc4904e66917fe20a685899831b6dc0abb8777c06
EBUILD gns3-server-2.2.38.ebuild 2079 BLAKE2B e46367dcbb45b02b11508f74f22e607f6f5639663e8c843cd5d8a76a88fc62fe1163b3fcd1a60d4fcafb1e14451ec05c56fad285a1ef3364c9c8cdc7b3526c05 SHA512 18b79dcb6e722aa95e1e4c5fa4bcae14f3dcf2c0dfeed5964dbd5b5b92967074483e31e95d726e2e32f9fc0ab0ca5a1a5cb268f2e96a4f1ebae8b4acf3ad8fb3
MISC metadata.xml 598 BLAKE2B 6fa3ab1fa771c772843ffc886170f11acfeadcca71d8bf198daa0da6aaca8e12becb430d289418da214537f5723a6a5d5784745a3c93655e6044ec4f3b975b93 SHA512 a5d11697dd82a2c99288f1acdcb9300402570853572995f4af53f2c2e844ecddbed334da72be91f9863725ff5cd7f676509a1f2b01c2b0cde834e62f142bec49
diff --git a/net-misc/gns3-server/gns3-server-2.2.38-r1.ebuild b/net-misc/gns3-server/gns3-server-2.2.38-r1.ebuild
new file mode 100644
index 000000000000..f32f72430221
--- /dev/null
+++ b/net-misc/gns3-server/gns3-server-2.2.38-r1.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.3[${PYTHON_USEDEP}]
+ >=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
+ >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
+ >=dev-python/distro-1.7.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.12.1[${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"
+}