Bug 117029 - missing dependency in port dns/p5-Net-DNS-SEC
Summary: missing dependency in port dns/p5-Net-DNS-SEC
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Erwin Lansing
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-08 19:20 UTC by Olafur Gudmundsson
Modified: 2007-10-09 08:43 UTC (History)
0 users

See Also:


Attachments
file.diff (688 bytes, patch)
2007-10-08 19:20 UTC, Olafur Gudmundsson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olafur Gudmundsson 2007-10-08 19:20:01 UTC
Port dns/p5-Net-DNS-SEC does not check for dependency on the SHA digest algorithms. 
This leads to varous errors in handling of DNSSEC records, i.e. no
support for any DNSSEC record is loaded not even the print support.

Fix: Add line in make file to check for presence of SHA.pm 

<stora:ports/dns/p5-Net-DNS-SEC 13:38 7 0>diff -u Makefile.old Makefile
How-To-Repeat: pkg_deinstall p5-Digest-SHA  # or older ports like SHA1 and SHA256
pkg_deinstall p5-Net-DNS-SEC

cd /usr/ports/dns/p5-Net-DNS-SEC
portinstall 
make   # start of test 
cd work/Net-DNS-SEC-0.14
make test 
# most tests will fail 

Reinstall port security/p5-Digest-SHA

rerun the tests and all but the tests designed to fail will succeed.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-10-08 19:20:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->erwin

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Erwin Lansing freebsd_committer freebsd_triage 2007-10-09 08:43:38 UTC
State Changed
From-To: open->closed

Committed with a slightly modified patch.  Thanks!