Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #16467 (assigned defect)

Opened 3 months ago

Last modified 3 months ago

netcat port does not provide a way to compile with GAPING_SECURITY_HOLE

Reported by: jason.dusek@… Owned by: ricci@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: Cc:
Port: netcat

Description

There should be a way to compile netcat with the GAPING_SECURITY_HOLE flag -- otherwise, important functionality is unavailable.

I am a little fuzzy on my Portfile syntax and have forgotten how to make this happen :(

Change History

Changed 3 months ago by blb@…

  • owner changed from macports-tickets@… to opendarwin.org@…
  • port set to netcat

Changed 3 months ago by jason.dusek@…

So if we add a variant, the problem is partially fixed:

variant gaping {
	build.target-append	CFLAGS="-O -DGAPING_SECURITY_HOLE"
}

However, the very common and helpful -c option is only available with some patches I need to find and add yet.

Changed 3 months ago by ricci@…

  • owner changed from opendarwin.org@… to ricci@…
  • status changed from new to assigned

Changed 3 months ago by ricci@…

This was left off on purpose, can you provide a good rational for why it should be enabled (as a variant) for everyone? You certainly can add the variant to your local copy (there should also be something about how to do a local ports tree in the guide/docs), the variant snibbet above looks good. If you find the patches for -c I'll have a look at those as well.

Note: See TracTickets for help on using tickets.