Page MenuHomeFreeBSD

dns/dnssec-rr: new port - a DNSSEC toolkit written in C
ClosedPublic

Authored by dch on Sat, Jun 21, 8:44 PM.
Tags
None
Referenced Files
F121900236: D50969.id157414.diff
Mon, Jun 30, 11:36 AM
Unknown Object (File)
Fri, Jun 27, 2:45 PM
Unknown Object (File)
Wed, Jun 25, 6:14 PM
Unknown Object (File)
Sun, Jun 22, 8:52 PM
Unknown Object (File)
Sun, Jun 22, 1:30 AM
Unknown Object (File)
Sun, Jun 22, 1:16 AM
Subscribers

Details

Summary

Sponsored by: SkunkWerks, GmbH

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 65015
Build 61898: arc lint + arc unit

Event Timeline

dch requested review of this revision.Sat, Jun 21, 8:44 PM
dch created this revision.
dch added inline comments.
dns/dnssec-rr/Makefile
36

it seems necessary to GZIP these before install, the following did not work:

${INSTALL_MAN} ${WRKSRC}/$i.1 \
        ${STAGEDIR}${PREFIX}/man/man1
This revision is now accepted and ready to land.Sat, Jun 21, 8:47 PM
This revision now requires review to proceed.Sat, Jun 21, 10:24 PM
diizzy added inline comments.
dns/dnssec-rr/Makefile
4

Please grep the ports tree to see how this is handled in general however in this case upstream provides a release archive, https://git.sr.ht/~mcf/dnssec-rr/refs/0.2 --> https://git.sr.ht/~mcf/dnssec-rr/refs/download/0.2/dnssec-rr-0.2.tar.gz --> MASTER_SITES= https://git.sr.ht/~mcf/dnssec-rr/refs/download/${DISTVERSION}/

5

See above and having a distfile that's called 0.2.tar.gz in root dir is a no go
This can be removed if you use upstream's release archive

16

Builds fine without gmake?

18
25
32

This seems overly complex, why not something like the following?

do-install:
.for i in dnskey ds nsec rrsig tlsa
	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/share/man/man1
.endfor
dns/dnssec-rr/Makefile
32

Actually I managed to botch the INSTALL_MAN line, it should say:
${INSTALL_MAN} ${WRKSRC}/${i}.1 ${STAGEDIR}${PREFIX}/share/man/man1
Sorry about that

dch marked 6 inline comments as done.

incorporate diizzy feedback

dch planned changes to this revision.Sun, Jun 22, 11:41 AM

updated with changes, thanks.

dns/dnssec-rr/Makefile
18

good, with the change above that works nicely now.

25

woops - thanks!

32

I found out *why* this needed the GZIP. As soon as I used
MANDIRS as target, they get automatically gzipped as expected.

/usr/local/bin/dnskey
/usr/local/bin/ds
/usr/local/bin/nsec
/usr/local/bin/rrsig
/usr/local/bin/tlsa
/usr/local/share/doc/dnssec-rr/README.md
/usr/local/share/licenses/dnssec-rr-0.2/ISCL
/usr/local/share/licenses/dnssec-rr-0.2/LICENSE
/usr/local/share/licenses/dnssec-rr-0.2/catalog.mk
/usr/local/share/man/man1/dnskey.1.gz
/usr/local/share/man/man1/ds.1.gz
/usr/local/share/man/man1/nsec.1.gz
/usr/local/share/man/man1/rrsig.1.gz
/usr/local/share/man/man1/tlsa.1.gz

better.

dch requested review of this revision.Sun, Jun 22, 11:41 AM
dch marked an inline comment as done.
This revision was not accepted when it landed; it landed in state Needs Review.Tue, Jun 24, 8:34 AM
This revision was automatically updated to reflect the committed changes.