Monday, May 01, 2023

Re: net/rpki-sample-data - question about EXTRACT_ONLY=

On Fri, Apr 28, 2023 at 07:04:47PM +0100, Stuart Henderson wrote:
> I wouldn't bother with the tiny optimisation of having do-install untar the
> distfile - instead remove EXTRACT_ONLY= and use ${INSTALL_DATA} to copy it
> from WRKSRC.

For +300k files this is noticable, so I'd stick with direct extract in fake.

> Don't set DISTFILES, just set EXTRACT_SUFX=.tgz
>
> Lowercase start of COMMENT

Done, thanks.

I've also
- put time into distname and dots inbetween, easier to read, imho
- named the port rpki-data since rpki is too generic and upstream seems
to call rpkidata (project is rpkiview, distfiles are rpki...)
- omitted date/time/version in PLIST to avoid churn

Stil no idea what it was the other day that didn't work, but today it did
for me, so here's a finished port.

Can DESCR be improved?

$ pkg_info rpki-data
Information for inst:rpki-data-2023.04.28.000152

Comment:
example RPKI data

Description:
Example RPI data for rpki-client(8) regress.

Maintainer: Job Snijders <job@openbsd.org>

WWW: https://www.rpkiviews.org

No comments:

Post a Comment