Wednesday, May 01, 2019

Re: p5-Unix-Pledge, this time 0.006

Hi Matthew,

chohag@jtan.com wrote on Wed, May 01, 2019 at 07:42:40PM +0300:
> Stuart Henderson writes:

>> Missing license marker and WANTLIB.

> What would I put in WANTLIB? The only dependency this module has is
> OpenBSD 6.4's base system (well strictly speaking, a libc with the
> pledge and unveil calls).
>
> I can't find examples of license markers I could use. Of the half dozen
> or so ports I checked, none had anything like it in their Makefile.
> bsd.port.mk(5) also has nothing to say about it.

https://www.openbsd.org/faq/ports/guide.html

Regarding WANTLIB, look at step 26 "Verify shared library dependencies".

Regarding licensing, look at step 9 and at
/usr/ports/infrastructure/templates/Makefile.template .

Every port has a license marker.
It's the comment line above PERMIT_*.

For even more information, commands like

$ man -k Ev=WANTLIB

can be helpful.

Yours,
Ingo

No comments:

Post a Comment