From nobody@FreeBSD.org  Wed Jun 27 16:24:01 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3F18B1065673
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2012 16:24:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 2AFCC8FC24
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2012 16:24:01 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q5RGO0HU049973
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2012 16:24:00 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q5RGO02e049972;
	Wed, 27 Jun 2012 16:24:00 GMT
	(envelope-from nobody)
Message-Id: <201206271624.q5RGO02e049972@red.freebsd.org>
Date: Wed, 27 Jun 2012 16:24:00 GMT
From: Adrian Holota <holotaa@iem.pw.edu.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: GNS3 ports problems
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: olivier@cochard.me

>Number:         169489
>Category:       ports
>Synopsis:       emulators/gns3 ports problems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ak
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 27 16:30:10 UTC 2012
>Closed-Date:    Tue Jul 03 17:45:47 UTC 2012
>Last-Modified:  Tue Jul  3 17:50:07 UTC 2012
>Originator:     Adrian Holota
>Release:        9.0-STABLE FreeBSD 9.0-STABLE amd64
>Organization:
WUT
>Environment:
9.0-STABLE FreeBSD 9.0-STABLE #0 r237547M: Mon Jun 25 09:26:24 CEST 2012 amd64
>Description:
When I install GNS3 from ports, the file qemuwrapper.py is being installed in two localtions. I see no reason to do it.
There are:
{$PREFIX}/bin/qemuwrapper.py
{$PREFIX}/libexec/qemuwrapper.py
Both files are the the same. Using only the second path is more propriate.  

The second problem is, that GNS3 can not be started in background as it is preferred. 
When I try run GNS3 (gns3 &), there is shown a number of process, and than there is appeard communicate:
[1]  + suspended (tty output)  gns3.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Jun 27 17:19:08 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169489 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: olivier@cochard.me
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/169489: emulators/gns3 ports problems
Date: Wed, 27 Jun 2012 17:19:06 UT

 Maintainer of emulators/gns3,
 
 Please note that PR ports/169489 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169489
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
To: bug-followup@freebsd.org, holotaa@iem.pw.edu.pl
Cc:  
Subject: Re: ports/169489: emulators/gns3 ports problems
Date: Wed, 27 Jun 2012 23:04:42 +0200

 --e89a8ff2432b99d6fa04c37a9149
 Content-Type: text/plain; charset=ISO-8859-1
 
 Hi,
 
 You've right regarding the bin/qemuwrapper.py file: I've remove this
 duplicate file in the attached patch.
 Regarding the problem of starting GNS3 as a background process: I have
 no idea about how to fix this problem (I'm not a python coder).
 I've asked some help on the GNS3 forum here:
 http://forum.gns3.net/topic5058.html
 
 Regards,
 
 Olivier
 
 --e89a8ff2432b99d6fa04c37a9149
 Content-Type: text/plain; charset=US-ASCII; name="gns3.0.8.2_1.diff.txt"
 Content-Disposition: attachment; filename="gns3.0.8.2_1.diff.txt"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_h3yvt7760
 
 ZGlmZiAtcnVOIGduczMub3JpZy9NYWtlZmlsZSBnbnMzL01ha2VmaWxlCi0tLSBnbnMzLm9yaWcv
 TWFrZWZpbGUJMjAxMi0wNi0yNyAyMzozMDo0My4wMDAwMDAwMDAgKzAyMDAKKysrIGduczMvTWFr
 ZWZpbGUJMjAxMi0wNi0yNyAyMzozMToyOC4wMDAwMDAwMDAgKzAyMDAKQEAgLTcsNiArNyw3IEBA
 CiAKIFBPUlROQU1FPQlnbnMzCiBQT1JUVkVSU0lPTj0JMC44LjIKK1BPUlRSRVZJU0lPTj0JMQog
 Q0FURUdPUklFUz0JZW11bGF0b3JzCiBNQVNURVJfU0lURVM9CVNGL2ducy0zL0dOUzMvJHtQT1JU
 VkVSU0lPTn0KIERJU1ROQU1FPQlHTlMzLSR7UE9SVFZFUlNJT059LXNyYwpAQCAtNDEsOCArNDIs
 NiBAQAogLmlmICR7UE9SVF9PUFRJT05TOk1NQU5QQUdFU30KIAkke0lOU1RBTExfTUFOfSAke1dS
 S1NSQ30vZG9jcy9tYW4vJHtNQU4xfSAke01BTlBSRUZJWH0vbWFuL21hbjEKIC5lbmRpZgotCSR7
 SU5TVEFMTF9TQ1JJUFR9ICR7V1JLU1JDfS9xZW11d3JhcHBlci9xZW11d3JhcHBlci5weSBcCi0J
 CSR7UFJFRklYfS9iaW4vcWVtdXdyYXBwZXIucHkKIAlAJHtDQVR9ICR7UEtHTUVTU0FHRX0KIAog
 LmluY2x1ZGUgPGJzZC5wb3J0LnBvc3QubWs+CmRpZmYgLXJ1TiBnbnMzLm9yaWcvcGtnLXBsaXN0
 IGduczMvcGtnLXBsaXN0Ci0tLSBnbnMzLm9yaWcvcGtnLXBsaXN0CTIwMTItMDYtMjcgMjM6MzA6
 NDMuMDAwMDAwMDAwICswMjAwCisrKyBnbnMzL3BrZy1wbGlzdAkyMDEyLTA2LTI3IDIzOjMxOjE0
 LjAwMDAwMDAwMCArMDIwMApAQCAtMSw1ICsxLDQgQEAKIGJpbi9nbnMzCi1iaW4vcWVtdXdyYXBw
 ZXIucHkKIGxpYmV4ZWMvZ25zMy9xZW11d3JhcHBlci5weQogbGliZXhlYy9nbnMzL3Zib3hjb250
 cm9sbGVyXzRfMS5weQogbGliZXhlYy9nbnMzL3Zib3h3cmFwcGVyLnB5Cg==
 --e89a8ff2432b99d6fa04c37a9149--
Responsible-Changed-From-To: freebsd-ports-bugs->ak 
Responsible-Changed-By: ak 
Responsible-Changed-When: Thu Jun 28 03:19:28 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169489 

From: Alex Kozlov <ak@freebsd.org>
To: bug-followup@FreeBSD.org, olivier@cochard.me
Cc:  
Subject: Re: ports/169489: emulators/gns3 ports problems
Date: Sat, 30 Jun 2012 13:39:10 +0300

 Hi, Olivier
 
 Why do you install man page conditionally? I think that Makefile
 can be simplified by options removal without loss of functionality.
 
 
 -- 
 Alex

From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
To: Alex Kozlov <ak@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/169489: emulators/gns3 ports problems
Date: Sat, 30 Jun 2012 22:24:57 +0200

 On Sat, Jun 30, 2012 at 12:39 PM, Alex Kozlov <ak@freebsd.org> wrote:
 > Hi, Olivier
 >
 > Why do you install man page conditionally? I think that Makefile
 > can be simplified by options removal without loss of functionality.
 
 Hi Alex,
 
 I've added this condition for trying to respect the knobs MANPAGES:=A0If
 someone wants to setup "GNS3_unset =3D MANPAGES", I would to avoid
 installing the manpage.
 Do you think that without this "conditional install" it will still
 respect this KNOBS ?
 
 Regards,
 
 Olivier

From: Alex Kozlov <ak@freebsd.org>
To: Olivier =?iso-8859-1?Q?Cochard-Labb=E9?= <olivier@cochard.me>,
	bug-followup@freebsd.org
Cc:  
Subject: Re: ports/169489: emulators/gns3 ports problems
Date: Sun, 1 Jul 2012 13:09:31 +0300

 On Sat, Jun 30, 2012 at 10:24:57PM +0200, Olivier Cochard-Labb wrote:
 > On Sat, Jun 30, 2012 at 12:39 PM, Alex Kozlov <ak@freebsd.org> wrote:
 > > Hi, Olivier
 > >
 > > Why do you install man page conditionally? I think that Makefile
 > > can be simplified by options removal without loss of functionality.
 > 
 > Hi Alex,
 > 
 > I've added this condition for trying to respect the knobs MANPAGES:If
 > someone wants to setup "GNS3_unset = MANPAGES", I would to avoid
 > installing the manpage.
 I guess you mean NO_INSTALL_MANPAGES (see ports/Mk/bsd.port.mk for
 description). It's not necessary to implement this knob, but if
 you going to do so don't use custom name, or hide MAN1 under
 condition. Also there is no need to include both bsd.port.options.mk
 and bsd.port.pre.mk, usually former is enough.
 
 > Do you think that without this "conditional install" it will still
 > respect this KNOBS ?
 No, at least not until stagedir (http://wiki.freebsd.org/ports/StageDir)
 support will be committed.
 
 What is your opinion about issue with starting gns3 in the background?
 
 
 -- 
 Alex

From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
To: Alex Kozlov <ak@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/169489: emulators/gns3 ports problems
Date: Sun, 1 Jul 2012 16:17:07 +0200

 On Sun, Jul 1, 2012 at 12:09 PM, Alex Kozlov <ak@freebsd.org> wrote:
 > On Sat, Jun 30, 2012 at 10:24:57PM +0200, Olivier Cochard-Labb=E9 wrote:
 >> I've added this condition for trying to respect the knobs MANPAGES:=A0If
 >> someone wants to setup "GNS3_unset =3D MANPAGES", I would to avoid
 >> installing the manpage.
 > I guess you mean NO_INSTALL_MANPAGES (see ports/Mk/bsd.port.mk for
 > description). It's not necessary to implement this knob, but if
 > you going to do so don't use custom name, or hide MAN1 under
 > condition. Also there is no need to include both bsd.port.options.mk
 > and bsd.port.pre.mk, usually former is enough.
 
 No, I really mean "GNS3_unset =3D MANPAGES" or "OPTIONS_UNSET=3D MANPAGES"
 because I'm trying to follow the new optionsNG framework:
 http://wiki.freebsd.org/Ports/Options/OptionsNG
 http://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html
 
 and I try to respect the KNOBS "MANPAGES" for following the generic KNOBS t=
 oo:
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/KNOBS?rev=3DHEAD&content-type=
 =3Dtext/x-cvsweb-markup
 
 Should I create a new patch, or can you remove the "included
 <bsd.port.options.mk>" by yourself ?
 
 > What is your opinion about issue with starting gns3 in the background?
 I've installed Ubuntu Linux and gns3 on a VM, and I didn't have this
 problem on Linux.
 Because I didn't touch the original gns3 python code, it's perhaps a
 python bug under FreeBSD: I don't know how to solve this problem, even
 if as a graphical tool, it's a strange idea to start it in the
 background.
 
 Regars,
 
 Olivier

From: Alex Kozlov <ak@freebsd.org>
To: Olivier =?iso-8859-1?Q?Cochard-Labb=E9?= <olivier@cochard.me>,
	bug-followup@freebsd.org
Cc:  
Subject: Re: ports/169489: emulators/gns3 ports problems
Date: Tue, 3 Jul 2012 17:38:39 +0300

 On Sun, Jul 01, 2012 at 04:17:07PM +0200, Olivier Cochard-Labb wrote:
 > On Sun, Jul 1, 2012 at 12:09 PM, Alex Kozlov <ak@freebsd.org> wrote:
 > > On Sat, Jun 30, 2012 at 10:24:57PM +0200, Olivier Cochard-Labb wrote:
 > >> I've added this condition for trying to respect the knobs MANPAGES:If
 > >> someone wants to setup "GNS3_unset = MANPAGES", I would to avoid
 > >> installing the manpage.
 > > I guess you mean NO_INSTALL_MANPAGES (see ports/Mk/bsd.port.mk for
 > > description). It's not necessary to implement this knob, but if
 > > you going to do so don't use custom name, or hide MAN1 under
 > > condition. Also there is no need to include both bsd.port.options.mk
 > > and bsd.port.pre.mk, usually former is enough.
 > No, I really mean "GNS3_unset = MANPAGES" or "OPTIONS_UNSET= MANPAGES"
 > because I'm trying to follow the new optionsNG framework:
 > http://wiki.freebsd.org/Ports/Options/OptionsNG
 > http://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html
 > 
 > and I try to respect the KNOBS "MANPAGES" for following the generic KNOBS too:
 > http://www.freebsd.org/cgi/cvsweb.cgi/ports/KNOBS?rev=HEAD&content-type=text/x-cvsweb-markup
 Only 6 ports use MANPAGES against 156 ports for NO_INSTALL_MANPAGES,
 so I don't think that it widely used or known knob.
 On other hand it doesn't cause any harm, so if you wish so, I will commit this
 update with minimal changes like removal of bsd.port.pre.mk, moving MAN1
 under MANPAGES condition and changing MANPREFIX to MAN1PREFIX.
  
 > Should I create a new patch, or can you remove the "included
 > <bsd.port.options.mk>" by yourself ?
 No need.
  
 > > What is your opinion about issue with starting gns3 in the background?
 > I've installed Ubuntu Linux and gns3 on a VM, and I didn't have this
 > problem on Linux.
 > Because I didn't touch the original gns3 python code, it's perhaps a
 > python bug under FreeBSD: I don't know how to solve this problem, even
 > if as a graphical tool, it's a strange idea to start it in the
 > background.
 So second issue falls into WONTFIX category and I can close this pr after
 resolving first?
 
 
 -- 
 Alex

From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
To: Alex Kozlov <ak@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/169489: emulators/gns3 ports problems
Date: Tue, 3 Jul 2012 16:50:10 +0200

 On Tue, Jul 3, 2012 at 4:38 PM, Alex Kozlov <ak@freebsd.org> wrote:
 > On other hand it doesn't cause any harm, so if you wish so, I will commit this
 > update with minimal changes like removal of bsd.port.pre.mk, moving MAN1
 > under MANPAGES condition and changing MANPREFIX to MAN1PREFIX.
 
 Great !
 
 > So second issue falls into WONTFIX category and I can close this pr after
 > resolving first?
 
 Yes you can close it as WONTFIX.
 
 Thanks,
 
 Olivier
State-Changed-From-To: feedback->closed 
State-Changed-By: ak 
State-Changed-When: Tue Jul 3 17:45:45 UTC 2012 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169489 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/169489: commit references a PR
Date: Tue,  3 Jul 2012 17:41:42 +0000 (UTC)

 ak          2012-07-03 17:41:29 UTC
 
   FreeBSD ports repository
 
   Modified files:
     emulators/gns3       Makefile pkg-plist 
   Log:
   - Remove unneeded wrapper from ${PREFIX}/bin
   
   PR:     ports/169489
   Submitted by:   Adrian Holota <holotaa@iem.pw.edu.pl>
   Approved by:    Olivier Cochard-Labbe <olivier@cochard.me> (maintainer)
   
   Revision  Changes    Path
   1.16      +6 -6      ports/emulators/gns3/Makefile
   1.6       +0 -1      ports/emulators/gns3/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
