Bug 117029

Summary: missing dependency in port dns/p5-Net-DNS-SEC
Product: Ports & Packages Reporter: Olafur Gudmundsson <ogud>
Component: Individual Port(s)Assignee: Erwin Lansing <erwin>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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!