summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-07-15 16:21:21 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-07-15 16:21:21 +0000
commitec2e837df237290142a59703d0b871bd22396675 (patch)
treea738f53dcf0c2136819f1808aabd36a3a914d5f5 /net-misc/gns3
parentAdd missing makefile patch (diff)
downloadgentoo-2-ec2e837df237290142a59703d0b871bd22396675.tar.gz
gentoo-2-ec2e837df237290142a59703d0b871bd22396675.tar.bz2
gentoo-2-ec2e837df237290142a59703d0b871bd22396675.zip
Version bump, wrt bug #476700. Thanks to Aaron Bauman <bmangentoo AT gmail.com> for discovering this issue and for providing initial ebuild and patch for bump
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-misc/gns3')
-rw-r--r--net-misc/gns3/ChangeLog10
-rw-r--r--net-misc/gns3/files/gns3-0.8.4_install_path.patch21
-rw-r--r--net-misc/gns3/gns3-0.8.4.ebuild46
3 files changed, 76 insertions, 1 deletions
diff --git a/net-misc/gns3/ChangeLog b/net-misc/gns3/ChangeLog
index 66d317145513..2372dada66d3 100644
--- a/net-misc/gns3/ChangeLog
+++ b/net-misc/gns3/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-misc/gns3
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gns3/ChangeLog,v 1.5 2013/07/13 13:13:18 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gns3/ChangeLog,v 1.6 2013/07/15 16:21:21 pinkbyte Exp $
+
+*gns3-0.8.4 (15 Jul 2013)
+
+ 15 Jul 2013; Sergey Popov <pinkbyte@gentoo.org> +gns3-0.8.4.ebuild,
+ +files/gns3-0.8.4_install_path.patch:
+ Version bump, wrt bug #476700. Thanks to Aaron Bauman <bmangentoo AT
+ gmail.com> for discovering this issue and for providing initial ebuild and
+ patch for bump
13 Jul 2013; Sergey Popov <pinkbyte@gentoo.org> gns3-0.7.4.ebuild,
gns3-0.8.2.ebuild, gns3-0.8.3.1.ebuild:
diff --git a/net-misc/gns3/files/gns3-0.8.4_install_path.patch b/net-misc/gns3/files/gns3-0.8.4_install_path.patch
new file mode 100644
index 000000000000..b62424a1b3d5
--- /dev/null
+++ b/net-misc/gns3/files/gns3-0.8.4_install_path.patch
@@ -0,0 +1,21 @@
+--- GNS3-0.8.4-srca/setup.py 2013-07-13 10:50:39.088064724 +0200
++++ GNS3-0.8.4-src/setup.py 2013-07-13 10:53:25.912067321 +0200
+@@ -235,7 +235,7 @@
+ return ' '.join(s.split())
+
+ if platform.system() == 'Linux':
+- wrapper_dir = '/usr/share/gns3/'
++ wrapper_dir = '/usr/libexec/gns3/'
+ else:
+ wrapper_dir = '/usr/local/libexec/gns3/'
+
+@@ -283,7 +283,6 @@
+ 'GNS3.Langs'],
+ package_data = { 'GNS3': ['Langs/*.qm', 'Dynagen/configspec'] },
+ data_files = [ (wrapper_dir, ['qemuwrapper/qemuwrapper.py', 'vboxwrapper/vboxcontroller_4_1.py', 'vboxwrapper/vboxwrapper.py', 'vboxwrapper/tcp_pipe_proxy.py']),
+- ('/usr/local/share/examples/gns3/', ['baseconfig.txt', 'baseconfig_sw.txt']),
+- ('/usr/local/share/doc/gns3/', ['README', 'COPYING', 'CHANGELOG']),
+- ('/usr/local/share/man/man1/', ['docs/man/gns3.1'])]
++ ('/usr/share/examples/gns3/', ['baseconfig.txt', 'baseconfig_sw.txt']),
++ ('/usr/share/man/man1/', ['docs/man/gns3.1'])]
+ )
diff --git a/net-misc/gns3/gns3-0.8.4.ebuild b/net-misc/gns3/gns3-0.8.4.ebuild
new file mode 100644
index 000000000000..874413b5f44f
--- /dev/null
+++ b/net-misc/gns3/gns3-0.8.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gns3/gns3-0.8.4.ebuild,v 1.1 2013/07/15 16:21:21 pinkbyte Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_{5,6,7} )
+inherit distutils-r1 eutils
+
+MY_P="GNS3-${PV}-src"
+
+DESCRIPTION="Graphical Network Simulator"
+HOMEPAGE="http://www.gns3.net/"
+SRC_URI="mirror://sourceforge/gns-3/GNS3/${PV}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-qt/qtgui:4
+ dev-qt/qtsvg:4
+ >=dev-python/PyQt4-4.6.1[X,svg,${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ >=app-emulation/dynamips-0.2.8_rc4"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/${P}_install_path.patch" )
+
+src_install() {
+ distutils-r1_src_install
+
+ doicon "${FILESDIR}/${PN}.xpm"
+ make_desktop_entry "${PN}" "GNS3" "/usr/share/pixmaps/${PN}.xpm" "Utility"
+ doman docs/man/${PN}.1
+}
+
+pkg_postinst() {
+ ewarn "GNS3 has several dependencies that must be enabled manually for additional functionality."
+ ewarn ""
+ ewarn "The following is a list of dependencies that can be added:"
+ ewarn "putty (terminal support), qemu (additional emulation), telnet, virtualbox (host emulation)"
+ ewarn "if you require these dependencies please emerge them before gns3"
+ ewarn ""
+ ewarn "This will also require manual configuration in gns3's preferences to point to the proper path"
+}