ports/117029: missing dependency in port dns/p5-Net-DNS-SEC

Olafur Gudmundsson ogud at ogud.com
Mon Oct 8 18:20:02 UTC 2007


>Number:         117029
>Category:       ports
>Synopsis:       missing dependency in port dns/p5-Net-DNS-SEC
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 08 18:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Olafur Gudmundsson
>Release:        6.2, 6.1, 4.11
>Organization:
OGud Consulting LLC
>Environment:
FreeBSD stora.ogud.com 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Sun Apr  8 23:49:25 EDT 2007     root at stora.ogud.com:/usr/src/sys/i386/compile/Stora.0  i386

>Description:
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. 
>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. 
>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
--- Makefile.old        Sat Sep  8 11:25:34 2007
+++ Makefile    Mon Oct  8 13:51:17 2007
@@ -20,7 +20,9 @@
                ${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/RSA.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA \
                ${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/DSA.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-DSA \
                ${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/Bignum.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-Bignum \
+               ${SITE_PERL}/${PERL_ARCH}/Digest/SHA.pm:${PORTSDIR}/security/p5-Digest-SHA \
                ${SITE_PERL}/Digest/BubbleBabble.pm:${PORTSDIR}/security/p5-Digest-BubbleBabble
+
 RUN_DEPENDS=   ${BUILD_DEPENDS}
 
 PERL_CONFIGURE=        yes


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list