Opened 16 years ago

Closed 15 years ago

#16467 closed defect (wontfix)

netcat port does not provide a way to compile with GAPING_SECURITY_HOLE

Reported by: jason.dusek@… Owned by: ghosthound
Priority: Normal Milestone:
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 (6)

comment:1 Changed 16 years ago by blb@…

Owner: changed from macports-tickets@… to opendarwin.org@…
Port: netcat added

comment:2 Changed 16 years 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.

comment:3 Changed 16 years ago by ghosthound

Owner: changed from opendarwin.org@… to ricci@…
Status: newassigned

comment:4 Changed 16 years ago by ghosthound

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.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 15 years ago by tobypeterson

Resolution: wontfix
Status: assignedclosed

No response in 11 months, closing.

Note: See TracTickets for help on using tickets.