Update to nss 3.14.2.

Remove a useless patch, unix_rand.c uses /dev/urandom on OpenBSD since
bug #174993 was fixed more that 5 years ago in nss 3.5.
Enforce dependency on sqlite 3.7.15.2.
Went in a handful of bulk builds.
This commit is contained in:
landry 2013-03-18 20:38:13 +00:00
parent 0cd765881e
commit 505f877d4b
3 changed files with 7 additions and 21 deletions

View File

@ -1,16 +1,13 @@
# $OpenBSD: Makefile,v 1.34 2013/03/11 11:41:26 espie Exp $
# $OpenBSD: Makefile,v 1.35 2013/03/18 20:38:13 landry Exp $
SHARED_ONLY= Yes
COMMENT= libraries to support development of security-enabled apps
VERSION= 3.14.1
DISTNAME= nss-${VERSION}.with.ckbi.1.93
WRKDIST = ${WRKDIR}/nss-${VERSION}
PKGNAME = nss-${VERSION}
REVISION = 0
VERSION= 3.14.2
DISTNAME = nss-${VERSION}
SO_VERSION= 33.0
SO_VERSION= 33.1
.for _lib in freebl3 nss3 nssckbi nssdbm3 nssutil3 smime3 softokn3 ssl3
SHARED_LIBS+= ${_lib} ${SO_VERSION}
.endfor
@ -22,13 +19,13 @@ MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# mozilla public license
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c pthread z nspr4 plc4 plds4 sqlite3
#for regular releases
MASTER_SITES= http://ftp.eu.mozilla.org/pub/mozilla.org/security/nss/releases/${DISTNAME:U:C/[-.]/_/g}_RTM/src/ \
http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${DISTNAME:U:C/[-.]/_/g}_RTM/src/
LIB_DEPENDS= devel/nspr>=4.9.4
WANTLIB += c pthread z nspr4 plc4 plds4 sqlite3>=22
MAKE_ENV= BUILD_OPT=1 \
LOCALBASE="${LOCALBASE}" \

View File

@ -1,2 +1,2 @@
SHA256 (nss-3.14.1.with.ckbi.1.93.tar.gz) = 4i/8ymLWBAKRReT5BMWeSpZ6INEnbxI6keduyq5Iupg=
SIZE (nss-3.14.1.with.ckbi.1.93.tar.gz) = 5813393
SHA256 (nss-3.14.2.tar.gz) = oiaRIJ9MSYmBKTnH44xIod8J9LgOfOTGa2bJpZI1rpU=
SIZE (nss-3.14.2.tar.gz) = 6178419

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-mozilla_security_nss_lib_freebl_unix_rand_c,v 1.11 2012/11/12 20:43:09 landry Exp $
--- mozilla/security/nss/lib/freebl/unix_rand.c.orig Wed Apr 25 16:49:43 2012
+++ mozilla/security/nss/lib/freebl/unix_rand.c Thu Nov 8 21:18:24 2012
@@ -820,7 +820,6 @@ safe_pclose(FILE *fp)
/* Fork netstat to collect its output by default. Do not unset this unless
* another source of entropy is available
*/
-#define DO_NETSTAT 1
void RNG_SystemInfoForRNG(void)
{