summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2013-01-26 18:04:42 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2013-01-26 18:04:42 +0000
commitfe1fe818fec1a1af6e5800f751dc15705fe0dbab (patch)
tree42a8ced9e592b6b59d56e02475e75c6c0a8aba86 /net-misc
parentInitial commit. Thanks to PhobosK <phobosk@fastmail.fm>. Bug #392267 (diff)
downloadgentoo-2-fe1fe818fec1a1af6e5800f751dc15705fe0dbab.tar.gz
gentoo-2-fe1fe818fec1a1af6e5800f751dc15705fe0dbab.tar.bz2
gentoo-2-fe1fe818fec1a1af6e5800f751dc15705fe0dbab.zip
Version bump. Bug #448538. Thanks to Aaron Bauman <bmangentoo@gmail.com> who will maintain it
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/gns3/ChangeLog12
-rw-r--r--net-misc/gns3/files/gns3-0.8.3.1_install_path.patch18
-rw-r--r--net-misc/gns3/gns3-0.8.3.1.ebuild56
-rw-r--r--net-misc/gns3/metadata.xml12
4 files changed, 87 insertions, 11 deletions
diff --git a/net-misc/gns3/ChangeLog b/net-misc/gns3/ChangeLog
index c7b565e69fc8..f1289c4bbf6a 100644
--- a/net-misc/gns3/ChangeLog
+++ b/net-misc/gns3/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/gns3
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gns3/ChangeLog,v 1.2 2012/05/10 21:35:07 hwoarang Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gns3/ChangeLog,v 1.3 2013/01/26 18:04:42 hwoarang Exp $
+
+*gns3-0.8.3.1 (26 Jan 2013)
+
+ 26 Jan 2013; Markos Chandras <hwoarang@gentoo.org>
+ +files/gns3-0.8.3.1_install_path.patch, +gns3-0.8.3.1.ebuild, metadata.xml:
+ Version bump. Bug #448538. Thanks to Aaron Bauman <bmangentoo@gmail.com> who
+ will maintain it
*gns3-0.8.2 (10 May 2012)
@@ -15,4 +22,3 @@
+files/gns3-0.7.4_set_qemu_path.patch, +files/gns3.xpm, +metadata.xml:
Initial commit for gns3. Bug #213539. Thanks to Ján Bednár
<jan.bednar@gmail.com> for the ebuilds and for becoming proxy maintainer
-
diff --git a/net-misc/gns3/files/gns3-0.8.3.1_install_path.patch b/net-misc/gns3/files/gns3-0.8.3.1_install_path.patch
new file mode 100644
index 000000000000..eddff02013ba
--- /dev/null
+++ b/net-misc/gns3/files/gns3-0.8.3.1_install_path.patch
@@ -0,0 +1,18 @@
+--- GNS3-0.8.3.1-src.orig/setup.py 2012-12-25 15:44:42.194814470 +0100
++++ GNS3-0.8.3.1-src/setup.py 2012-12-25 16:13:15.711763841 +0100
+@@ -210,7 +210,7 @@
+ else:
+
+ if platform.system() == 'Linux':
+- wrapper_dir = '/usr/lib/gns3/'
++ wrapper_dir = '/usr/libexec/gns3/'
+ else:
+ wrapper_dir = '/usr/local/libexec/gns3/' # libexec is standard on BSD platforms
+ setup( # Distribution meta-data
+@@ -238,5 +238,5 @@
+ '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/share/examples/gns3/', ['baseconfig.txt', 'baseconfig_sw.txt'])]
+ )
diff --git a/net-misc/gns3/gns3-0.8.3.1.ebuild b/net-misc/gns3/gns3-0.8.3.1.ebuild
new file mode 100644
index 000000000000..85b9e9ac4549
--- /dev/null
+++ b/net-misc/gns3/gns3-0.8.3.1.ebuild
@@ -0,0 +1,56 @@
+# 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.3.1.ebuild,v 1.1 2013/01/26 18:04:42 hwoarang Exp $
+
+EAPI="5"
+
+PYTHON_DEPEND="2"
+
+inherit distutils eutils
+
+MY_P=${P/gns/GNS}-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"
+IUSE=""
+PYTHON_MODNAME="GNS3"
+
+DEPEND="x11-libs/qt-gui:4
+ x11-libs/qt-svg:4
+ >=dev-python/PyQt4-4.6.1"
+RDEPEND="${DEPEND}
+ >=app-emulation/dynamips-0.2.8_rc2"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ # Fix illegal install path; /usr/local
+ epatch "${FILESDIR}"/${P}_install_path.patch
+ python_convert_shebangs -r 2 .
+ distutils_src_prepare
+}
+
+src_install() {
+ distutils_src_install
+
+ doicon "${FILESDIR}/${PN}.xpm"
+ make_desktop_entry "${PN}" "GNS3" "/usr/share/pixmaps/${PN}.xpm" "Utility" \
+ || die "make_desktop_entry failed"
+ doman docs/man/${PN}.1
+}
+
+pkg_postinst() {
+ ewarn "GNS3 has several dependencies that must be enabled manually for additional functionality."
+ ewarn "The following is a list of dependencies that can be added:"
+ ewarn "putty (terminal support), qemu (additional emulation), telnet, virtualbox (host emulation)"
+}
diff --git a/net-misc/gns3/metadata.xml b/net-misc/gns3/metadata.xml
index 88d46ef08f01..f08dcba3b390 100644
--- a/net-misc/gns3/metadata.xml
+++ b/net-misc/gns3/metadata.xml
@@ -1,15 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+<herd>proxy-maintainers</herd>
<maintainer>
-<email>hwoarang@gentoo.org</email>
-<name>Markos Chandras</name>
-<description>Proxy maintainer. CC him on bugs</description>
-</maintainer>
-<maintainer>
-<email>jan.bednar@gmail.com</email>
-<name>Ján Bednár</name>
-<description>Maintainer. Assing bugs to him</description>
+<email>bmangentoo@gmail.com</email>
+<name>Aaron Bauman</name>
+<description>Maintainer. Assign bugs to him</description>
</maintainer>
<longdescription lang="en">
</longdescription>