diff options
author | Julien Dessaux | 2018-12-17 18:50:39 +0100 |
---|---|---|
committer | Julien Dessaux | 2018-12-17 18:50:39 +0100 |
commit | ee3f29aa291074763857982f614c7dc7bec5da1a (patch) | |
tree | 9b3a7f784837ccd59458e0ac6e36d7620f7f0ec2 /net-misc | |
parent | Initial import with dev-perl/Math-Gradient (diff) | |
download | portage-ee3f29aa291074763857982f614c7dc7bec5da1a.tar.gz portage-ee3f29aa291074763857982f614c7dc7bec5da1a.tar.bz2 portage-ee3f29aa291074763857982f614c7dc7bec5da1a.zip |
Added gns3
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/gns3-gui/Manifest | 3 | ||||
-rw-r--r-- | net-misc/gns3-gui/gns3-gui-2.1.11.ebuild | 43 | ||||
-rw-r--r-- | net-misc/gns3-gui/metadata.xml | 8 | ||||
-rw-r--r-- | net-misc/gns3-server/Manifest | 2 | ||||
-rw-r--r-- | net-misc/gns3-server/gns3-server-2.1.11.ebuild | 56 |
5 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/gns3-gui/Manifest b/net-misc/gns3-gui/Manifest new file mode 100644 index 0000000..65c25a4 --- /dev/null +++ b/net-misc/gns3-gui/Manifest @@ -0,0 +1,3 @@ +DIST gns3-gui-2.1.11.tar.gz 4814593 BLAKE2B b238534623522522f6845d5aac586fe923cc2f16f365d5ec61b5b7fb9098acd6981b4143965cdeec890b9a9f49f93edab8b1c8005822f53f2c051d3be2f0d0dd SHA512 328d12b761df8811d2aef93f62b0e681e1122ba71fb9fbd004b1fd0c23c7e5f8526a60b45c6adede19ac775a64b584f73806cf12298d9be6bdd4038ec3cbac55 +EBUILD gns3-gui-2.1.11.ebuild 1132 BLAKE2B 9ea73ce3b39d4fedf55e82555c5024efa465ff9d738fa362e0d764c5255e64f536fb3e4a633fdfafc950208c1780830c51dd31b6e9c44648a7a2996efcc0acd2 SHA512 16e3ebb36a594864f5e174977f4f7406b0ed2cd391f2c801f52b73783cb492ab4819ce96e034726130347a0bb6aac79b8db8a0bb8aec64e28ac971132feedbf2 +MISC metadata.xml 241 BLAKE2B 2cc47e12ef61022b2dbc00904091b1e35dbbeb5c4ab35dc697ae06adfc7e78782065e35b1ebebe2779f180b2b573dad22ba516a393f47c3e26e1be2ad6a3d65c SHA512 edc53eaf933b709bb0a2e8507209a85cc3901ce6e4db3bf40e061a01ece0e4b0f83d30b93b2131316c802def4a08081a5ac3b3606624271184680421b7f0323b diff --git a/net-misc/gns3-gui/gns3-gui-2.1.11.ebuild b/net-misc/gns3-gui/gns3-gui-2.1.11.ebuild new file mode 100644 index 0000000..f9cc17a --- /dev/null +++ b/net-misc/gns3-gui/gns3-gui-2.1.11.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit distutils-r1 eutils + +DESCRIPTION="Graphical Network Simulator" +HOMEPAGE="http://www.gns3.net/" +SRC_URI="https://github.com/GNS3/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# tests are severely broken upstream and they have been notified +RESTRICT="test" + +#net-misc/gns3-server version should always match gns3-gui version + +RDEPEND=" + >=dev-python/libcloud-0.15.1[${PYTHON_USEDEP}] + >=dev-python/ws4py-0.3.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.6.0[${PYTHON_USEDEP}] + >=dev-python/paramiko-1.15.1[${PYTHON_USEDEP}] + ~net-misc/gns3-server-${PV}[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,network,svg,websockets,widgets,${PYTHON_USEDEP}] +" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +src_prepare() { + default + + rm -rf tests || die +} + +python_install_all() { + distutils-r1_python_install_all + + doicon "${WORKDIR}/${P}/resources/images/gns3.ico" + make_desktop_entry "gns3" "GNS3" "/usr/share/pixmaps/gns3.ico" "Utility" +} diff --git a/net-misc/gns3-gui/metadata.xml b/net-misc/gns3-gui/metadata.xml new file mode 100644 index 0000000..7012b6c --- /dev/null +++ b/net-misc/gns3-gui/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">gns-3</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-misc/gns3-server/Manifest b/net-misc/gns3-server/Manifest new file mode 100644 index 0000000..e6dddaf --- /dev/null +++ b/net-misc/gns3-server/Manifest @@ -0,0 +1,2 @@ +DIST gns3-server-2.1.11.tar.gz 1697537 BLAKE2B 8c83d8721c0a35a2c9d3d4cd70f0cec6a62cac431c66d33e46bc32dc149ee34f952a420acd25f7c12d3dc8a732b36ea5c8d4a3ee7322bfc164d5277fef26c18b SHA512 c7e919c94eca6fe8a7192560f06fc6a407869adc9502981dcadc018166ced32c7d5fa31883e0883d2d5fef776c264ec53d397ecf0672208ad086116e1f1cfaa6 +EBUILD gns3-server-2.1.11.ebuild 1796 BLAKE2B f45c78de1133234b6c98e7352a22a250a1990fe17d86dbe5395d3ab8a3bd0925e1f4de0c13357d044ddaff55120b9e37bef5d2d4865a6ba46810e03cb5e3aaad SHA512 6c4608ab1cc0d1f2700bd697425376e2709783ce7d97e691b6cb3573bece9ea42e2e175b6ca1256ca458acbd21efd39f2d7c50530bd22745f070056dd8826173 diff --git a/net-misc/gns3-server/gns3-server-2.1.11.ebuild b/net-misc/gns3-server/gns3-server-2.1.11.ebuild new file mode 100644 index 0000000..ca0c993 --- /dev/null +++ b/net-misc/gns3-server/gns3-server-2.1.11.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit distutils-r1 eutils + +DESCRIPTION="GNS3 server to asynchronously manage emulators" +HOMEPAGE="http://www.gns3.net/" +SRC_URI="https://github.com/GNS3/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND=" + >=app-emulation/dynamips-0.2.12 + >=dev-python/aiohttp-2.2.0[${PYTHON_USEDEP}] + <dev-python/aiohttp-cors-0.6[${PYTHON_USEDEP}] + >=dev-python/aiohttp-cors-0.5.3[${PYTHON_USEDEP}] + >=dev-python/docker-py-1.4.0[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.8-r2[${PYTHON_USEDEP}] + >=dev-python/jinja-2.7.3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.4.0[${PYTHON_USEDEP}] + >=dev-python/libcloud-0.14.1[${PYTHON_USEDEP}] + >=dev-python/raven-5.23.0[${PYTHON_USEDEP}] + dev-python/prompt_toolkit[${PYTHON_USEDEP}] + >=dev-python/psutil-3.0.0[${PYTHON_USEDEP}] + >=dev-python/pyzmq-14.3.1[${PYTHON_USEDEP}] + >=dev-python/python-zipstream-1.1.4[${PYTHON_USEDEP}] + >=net-misc/ubridge-0.9.14 + >=www-servers/tornado-3.1.1[${PYTHON_USEDEP}] + virtual/python-typing[${PYTHON_USEDEP}] + >=dev-python/yarl-0.11[${PYTHON_USEDEP}] +" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +src_prepare() { + default + + # Package installs 'tests' package which is forbidden + rm -rf tests || die +} + +pkg_postinst() { + elog "net-misc/gns3-server has several optional packages that must be merged manually for additional functionality." + elog "" + elog "The following is a list of packages that can be added:" + elog "app-emulation/qemu, app-emulation/virtualbox" + elog "app-emulation/docker and net-analyzer/wireshark" + elog "" + elog "The following packages are currently unsupported:" + elog "iouyap and vpcs" +} |