From owner-freebsd-ports-bugs@freebsd.org Wed Dec 9 21:55:23 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DCF39D5FE7 for ; Wed, 9 Dec 2015 21:55:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 05D531BE8 for ; Wed, 9 Dec 2015 21:55:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tB9LtMwD062046 for ; Wed, 9 Dec 2015 21:55:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 205171] security/nss: install nsslowhash.h Date: Wed, 09 Dec 2015 21:55:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: z7dr6ut7gs@snkmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2015 21:55:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205171 Bug ID: 205171 Summary: security/nss: install nsslowhash.h Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gecko@FreeBSD.org Reporter: z7dr6ut7gs@snkmail.com Assignee: gecko@FreeBSD.org Flags: maintainer-feedback?(gecko@FreeBSD.org) Created attachment 164027 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164027&action=edit [patch] enable NSSLOWHASH API libfreebl.so is installed by security/nss, but the NSSLOWHASH hashing API is not enabled. After building with the attached patch, it provides: nm -oCD /usr/local/lib/nss/libfreebl3.so | egrep 'NSSLOW' /usr/local/lib/nss/libfreebl3.so:0004a2f0 T NSSLOWHASH_Begin /usr/local/lib/nss/libfreebl3.so:0004a380 T NSSLOWHASH_Destroy /usr/local/lib/nss/libfreebl3.so:0004a340 T NSSLOWHASH_End /usr/local/lib/nss/libfreebl3.so:0004a370 T NSSLOWHASH_Length /usr/local/lib/nss/libfreebl3.so:0004a3c0 T NSSLOWHASH_NewContext /usr/local/lib/nss/libfreebl3.so:0004a310 T NSSLOWHASH_Update /usr/local/lib/nss/libfreebl3.so:0004a680 T NSSLOW_Init /usr/local/lib/nss/libfreebl3.so:0004a2b0 T NSSLOW_Shutdown And nsslowhash.h is installed - this declares these functions for the API. Other distributions separate out libfreebl and install nsslowhash.h with the package that includes libfreebl. FreeBSD installs lifreebl as part of the full nss port. For example, on fedora: % rpm -qf /usr/lib64/libfreebl3.so /usr/include/nss3/nsslowhash.h nss-softokn-freebl-3.19.1-1.0.fc20.x86_64 nss-softokn-devel-3.19.1-1.0.fc20.x86_64 I'm not suggesting the freebsd do the same... that's just FYI. Noticed by: hashing library detection failure (due to missing nsslowhash.h) in net/chrony's configure stage that causes the secure hash feature to be turned off. QA: - portlint: pass - stage-qa: pass - testport: pass (9-stable i386) -- You are receiving this mail because: You are the assignee for the bug.