tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Enabling PKGSRC_MKPIE by default



Am 29.10.2017 um 19:42 schrieb Hauke Fath:
> At 16:54 Uhr +0200 28.10.2017, Pierre Pronchery wrote:
>>> A quick grep of PIE in pkgsrc/doc/pkgsrc.txt turns up nothing.  SSP and
>>> FORTIFY are similarly undocumented.  There was perhaps a notion that the
>>
>> Sorry, I wasn't aware that these should be documented in there.
> 
> Where else, please?
> 
>> I have documented them in mk/defaults/mk.conf
> 
> When a package I maintain failed with symptoms I have never seen, and which
> vaguely point in the direction of "toolchain" - would I look into
> "mk/defaults/mk.conf" for help? Would you?

Several years ago I wrote the "help" target, to make the documentation
in defaults/mk.conf and related files easily accessible.

$ make help topic=fortify

$ make help topic=ssp

At least these two commands turn up useful results. If there are other
keywords you would search for, you can always add them to the relevant
infrastructure file (which is mentioned by "make help", for exactly this
purpose).

Apparently, the pkgsrc guide doesn't mention this command often enough.
I'm unsure about the best place to put it. If you know where, please
tell me.

Roland


Home | Main Index | Thread Index | Old Index