Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573814 - net-analyzer/netcat6: removal?
Summary: net-analyzer/netcat6: removal?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Deadline: 2019-04-12
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PMASKED, PullRequest
: 680352 680594 (view as bug list)
Depends on: 672992
Blocks:
  Show dependency tree
 
Reported: 2016-02-04 06:41 UTC by Hanno Böck
Modified: 2019-08-13 08:18 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2016-02-04 06:41:29 UTC
The upstream webpage says that this package is obsolete and recommends two alternatives that are both available in Gentoo (ncat, which is part of nmap and openbsd-netcat):
http://deepspace6.net/projects/netcat6.html

Given that upstream recommends not to use that package it might be reasonable to remove it from Gentoo.
Comment 1 Jesse Adelman 2017-08-30 15:50:08 UTC
Note that some packages, like libvirt-3.0.0, have net-analyzer/netcat6 explicitly as RDEPENDs. Whether that is actually a correct RDEPEND I don't yet know. (I certainly prefer to have a choice of netcats...)
Comment 2 Jesse Adelman 2017-09-10 16:26:54 UTC
FYI:

 * Error: The above package list contains packages which cannot be 
 * installed at the same time on the same system.                  

  (net-analyzer/netcat-110-r9:0/0::gentoo, installed) pulled in by 
    net-analyzer/netcat required by @selected                      
    net-analyzer/netcat required by (app-emulation/playonlinux-4.2.12:0/0::gentoo, installed)                                         

  (net-analyzer/netcat6-1.0-r2:0/0::gentoo, ebuild scheduled for merge) pulled in by                                                  
    >=net-analyzer/netcat6-1.0-r2 required by (app-emulation/libvirt-3.3.0:0/3.3.0::gentoo, installed) 

Cheers.
Comment 3 Evert 2018-07-24 15:12:53 UTC
DESCRIPTION="netcat clone with better IPv6 support, improved code, etc..."

This description suggests this clone is newer/better/improved/hot.
This is misleading and creates a hard time when choosing between the possible netcat variants.
Besides that, its behaviour is quite different compared to RHEL/Ubuntu nmap-ncat/netcat-openbsd versions.

After years, I found this package is actually obsolete, so please get rid of it.
If we really need to keep this obsolete software in portage, can you at least change the description to something like:

DESCRIPTION="obsolete netcat clone ..."
Comment 4 Larry the Git Cow gentoo-dev 2019-03-13 11:25:42 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb79698b68be9f83d1d4547cda774f73d6173f48

commit eb79698b68be9f83d1d4547cda774f73d6173f48
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-03-13 11:24:26 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-03-13 11:25:27 +0000

    net-analyzer/netcat6: Indicate obsolescence in DESCRIPTION
    
    Bug: https://bugs.gentoo.org/573814
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-analyzer/netcat6/netcat6-1.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-13 11:34:22 UTC
Unless I'm mistaken, all revdeps support some other implementation (in || dep).
Comment 6 Larry the Git Cow gentoo-dev 2019-03-13 11:35:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c122995db95c2cf9cc6283ae30d70df9714e66f5

commit c122995db95c2cf9cc6283ae30d70df9714e66f5
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-03-13 11:33:39 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-03-13 11:34:59 +0000

    package.mask: Last rite net-analyzer/netcat6
    
    Bug: https://bugs.gentoo.org/573814
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 8 ++++++++
 1 file changed, 8 insertions(+)
Comment 7 Jesper Saxtorph 2019-03-13 12:35:14 UTC
As others have mentioned there exist dependencies on this package.

I have libvirt stable version 4.9.0 installed and it depend on:
|| ( >=net-analyzer/netcat6-1.0-r2 >=net-analyzer/openbsd-netcat-1.105-r1 )

So you can use openbsd-netcat instead.
However, there do not exist any version of openbsd-netcat which has been marked stable. So right now, stable libvirt depends on unstable openbsd-netcat or masked netcat6.

As I am no expert in netcat versions, I just mention it here, thought it might belong to a libvirt or openbsd-netcat bug report.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-13 13:11:51 UTC
I see the issue now, I'll either fix it or revert the last rites ASAP.
Comment 9 Simon 2019-03-13 18:15:49 UTC
@Michał Górny

That would be nice, just got a blocker because of the masked and situation Jesper just described.

Conflict: 3 blocks (3 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (net-analyzer/netcat6-1.0-r2:0/0::gentoo, installed) pulled in by
    net-analyzer/netcat6 required by @selected

  (net-analyzer/openbsd-netcat-1.190:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=net-analyzer/openbsd-netcat-1.105-r1 required by (app-emulation/libvirt-4.9.0:0/4.9.0::gentoo, installed)

  (net-analyzer/netcat-110-r9:0/0::gentoo, ebuild scheduled for merge) pulled in by
    net-analyzer/netcat required by (app-emulation/playonlinux-4.2.12:0/0::gentoo, installed)
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-13 18:26:37 UTC
This means you've selected netcat6 explicitly.

$ emerge --deselect netcat6

should solve it.
Comment 11 Mark Wood 2019-03-13 23:31:17 UTC
THANK YOU for noting suggested replacements in the masking message.  Where should such praise best be directed in future?
Comment 12 Greg Kubaryk 2019-03-14 00:27:22 UTC
(In reply to Michał Górny from comment #10)
> This means you've selected netcat6 explicitly.
> 
> $ emerge --deselect netcat6
> 
> should solve it.

Without netcat6 in the world file:

 * Error: The above package list contains packages which cannot be                                                                 
 * installed at the same time on the same system.

  (net-analyzer/netcat-110.20180111:0/0::gentoo, ebuild scheduled for merge) pulled in by                                          
    net-analyzer/netcat required by (app-emulation/playonlinux-4.2.12:0/0::gentoo, installed)                                      

  (net-analyzer/openbsd-netcat-1.190:0/0::gentoo, ebuild scheduled for merge) pulled in by                                         
    >=net-analyzer/openbsd-netcat-1.105-r1 required by (app-emulation/libvirt-5.0.0:0/5.0.0::gentoo, installed)                    


libvirt-5.0.0 has this in RDEPEND:
         || ( >=net-analyzer/netcat6-1.0-r2 >=net-analyzer/openbsd-netcat-1.105-r1 )

app-emulation/playonlinux-4.2.12 has this in RDEPEND:
        || ( net-analyzer/netcat net-analyzer/netcat6 )

The only unmasked options block each other.
Comment 13 Matthias Maier gentoo-dev 2019-03-14 14:31:18 UTC
Guess it is time for a virtual/netcat (provided that they are drop-in replacements)?
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-14 14:34:38 UTC
(In reply to Matthias Maier from comment #13)
> Guess it is time for a virtual/netcat (provided that they are drop-in
> replacements)?

Most are not drop in replacements.
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-14 20:56:51 UTC
*** Bug 680352 has been marked as a duplicate of this bug. ***
Comment 16 Felix Neumärker 2019-03-16 11:03:43 UTC
*** Bug 680594 has been marked as a duplicate of this bug. ***
Comment 17 Simon 2019-03-16 11:24:37 UTC
I can confirm Greg Kubaryk's statement
Comment 18 Larry the Git Cow gentoo-dev 2019-03-17 18:28:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cfc43e80c722931cebfdb6f969196781e8e3aa6

commit 2cfc43e80c722931cebfdb6f969196781e8e3aa6
Author:     Stefan Strogin <stefan.strogin@gmail.com>
AuthorDate: 2019-03-14 04:10:45 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2019-03-17 18:27:55 +0000

    app-emulation/playonlinux: bump version to 4.3.4
    
    - Add app-misc/jq to RDEPEND.
    - Remove obsolete net-analyzer/netcat6 from RDEPEND, add
    net-analyzer/openbsd-netcat as an alternative to net-analyzer/netcat.
    - Switch from gnome2-utils to xdg; inherit desktop and eutils
    explicitly.
    - Bump EAPI to 7.
    
    Minor and stylistic changes:
    - empty line after EAPI;
    - use https;
    - sort RDEPEND alphabetically.
    
    Closes: https://bugs.gentoo.org/672944
    Closes: https://github.com/gentoo/gentoo/pull/11360
    Bug: https://bugs.gentoo.org/573814
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com>
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 app-emulation/playonlinux/Manifest                 |   1 +
 app-emulation/playonlinux/playonlinux-4.3.4.ebuild | 106 +++++++++++++++++++++
 2 files changed, 107 insertions(+)
Comment 19 Matthias Maier gentoo-dev 2019-03-17 18:40:15 UTC
Dropped all netcat6 dependencies from app-emulation/libvirt, also see bug #672992
Comment 20 Evert 2019-03-30 08:05:56 UTC
see https://wiki.gentoo.org/wiki/IPv6_router_guide
netcat6 should be removed here too.
Comment 21 Larry the Git Cow gentoo-dev 2019-04-13 06:57:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1fdb49b87f169fe7439ac7c556fd18a7d43045

commit 0a1fdb49b87f169fe7439ac7c556fd18a7d43045
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-04-13 06:52:37 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-04-13 06:57:38 +0000

    net-analyzer/netcat6: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/573814
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-analyzer/netcat6/Manifest                      |   1 -
 .../netcat6/files/netcat6-1.0-automake-1.14.patch  |  14 -
 .../netcat6/files/netcat6-1.0-unix-sockets.patch   | 303 ---------------------
 net-analyzer/netcat6/metadata.xml                  |  11 -
 net-analyzer/netcat6/netcat6-1.0-r2.ebuild         |  51 ----
 profiles/package.mask                              |   8 -
 6 files changed, 388 deletions(-)
Comment 22 Pavel Goran 2019-08-13 08:18:47 UTC
Just a note: netcat6 has the "--exec --continuous" mode where it can handle multiple incoming connections; neither net-analyzer/netcat nor net-analyzer/openbsd-netcat have this functionality, so netcat6 will be missed.

Now, ncat, which is installed by net-analyzer/nmap[ncat], has this functionality, but net-analyzer/nmap is a much larger package, and it's difficult to remember that I need to install nmap[ncat] if all I want is just netcat.