From owner-freebsd-gnome@FreeBSD.ORG Thu Jul 28 05:43:48 2005 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18EFF16A420 for ; Thu, 28 Jul 2005 05:43:48 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from mail24.sea5.speakeasy.net (mail24.sea5.speakeasy.net [69.17.117.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B93B43D46 for ; Thu, 28 Jul 2005 05:43:46 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: (qmail 21811 invoked from network); 28 Jul 2005 05:43:45 -0000 Received: from aldan.algebra.com (HELO blue.virtual-estates.net) ([216.254.65.224]) (envelope-sender ) by mail24.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 28 Jul 2005 05:43:45 -0000 Received: from blue.virtual-estates.net (blue [127.0.0.1]) by blue.virtual-estates.net (8.13.3/8.13.3) with ESMTP id j6S5hiN8059047; Thu, 28 Jul 2005 01:43:44 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by blue.virtual-estates.net (8.13.3/8.13.3/Submit) id j6S5hh2V059046; Thu, 28 Jul 2005 01:43:43 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) X-Authentication-Warning: blue.virtual-estates.net: mi set sender to mi+kde@aldan.algebra.com using -f From: Mikhail Teterin To: Joe Marcus Clarke Date: Thu, 28 Jul 2005 01:43:42 -0400 User-Agent: KMail/1.8.1 References: <200507272315.14407.mi+mx@aldan.algebra.com> <200507280031.12568@aldan> <1122525249.25076.3.camel@shumai.marcuscom.com> In-Reply-To: <1122525249.25076.3.camel@shumai.marcuscom.com> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: gnome@freebsd.org, kris@freebsd.org Subject: Re: updating security/nss X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 05:43:48 -0000 --Boundary-00=_PCH6CDHInVeU1CW Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 28 July 2005 12:34 am, Joe Marcus Clarke wrote: = > Great. I hope, you'll find it possible to use some of the features = > of my version nevertheless. In particular: = > = > . do not build/use NSS' own version of -lz; = > . do not build/use NSS' own version of db (patch-sysdb); = > . patch the tests, so they can be used automatically; = > . fix a lot of compiler warnings and some warning-identified = > bugs. = The tests will not be run automatically. Most users don't care about = this, _Users_ may not care (how do you know, BTW?), but you (the maintainers) should. Wouldn't you rather learn, that "test such and such failed", than "evolution crashed"? Also, if some change in the OS breaks a test, we better learn about quickly -- and with automated tests in post-build we will. If you read the change I submitted, you'll see, that the vendors' tests run only if BATCH is defined -- is that a compromise? = and Kris is working on creating a regression framework for package = builds on the cluster. Whatever regression framework Kris (CC-ed) comes up with, it should be using software vendors' own self-tests, whenever such tests are available. In fact, one of the ways to do it would be to check if a port has a "test" (or "do-test") target. My version of the update (for both NSPR and NSS) provide such a target to each and I've spent considerable amounts of both time and effort to make the tests easy to run and to avoid bogus failures. These are live and kicking regression tests available today... = As for the other things, you're free to modify the diff I sent out to = the gnome list. Can you give me a URL? = > P.S. I just realized, that our recent upgrade of devel/nspr = > should've bumped the major library version(s) :-( The new version = > provides some stuff, that is required to build the browsers -- = > without the major number bump, the browsers will not be able to = > LIB_DEPEND properly. = = The browsers use their own version of nspr. They should not. I'm attaching your e-mail from 6 months ago, which points at the then-current NSPR being too old as the only barrier to using it instead of browsers' own versions. That e-mail prompted me to file: https://bugzilla.mozilla.org/show_bug.cgi?id=276891 which was finally (partially) solved a few weeks ago... Browsers' configure scripts have the --with-system-nspr option and we should definetly use it. Installing include/mozilla/nspr, include/firefox/nspr, and include/nspr is SO WRONG, I can't believe, we are even discussing this... On top of that, we should consider something like --with-system-nss too. At any rate, the need for the major-version bump for -lnspr4 follows from the simple fact, that it provides new symbols. Things, which don't care (gaim, evolution) should have their LIB_DEPENDS cleaned up to not insist on a particular version of nspr. Browsers (when changed) will need to LIB_DEPEND on: nspr.[2-9]:${PORTSDIR}/devel/nspr Yours, -mi --Boundary-00=_PCH6CDHInVeU1CW Content-Type: message/rfc822; name="mozilla vs. nspr" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mozilla vs. nspr" Return-Path: Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by corbulon.video-collage.com (8.13.1/8.13.1) with ESMTP id j01LYRrF070030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 1 Jan 2005 16:34:28 -0500 (EST) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.13.1/8.13.1) with ESMTP id j01LZ4cY063127; Sat, 1 Jan 2005 16:35:04 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: mozilla vs. nspr From: Joe Marcus Clarke To: Mikhail Teterin Cc: FreeBSD GNOME Users In-Reply-To: <200501011033.j01AXEuf013785@aldan.algebra.com> References: <200501011033.j01AXEuf013785@aldan.algebra.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-csBb16rR1LppNbuhKvUh" Organization: MarcusCom, Inc. Date: Sat, 01 Jan 2005 16:34:00 -0500 Message-Id: <1104615240.38283.6.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port X-Virus-Scanned: clamd / ClamAV version devel-20040615, clamav-milter version 0.73a on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 X-SpamProbe: GOOD 0.0000000 12b7d191bdb8439ecf2fe7e33ad14181 X-UID: 19908 Content-Length: 1414 X-Keywords: Status: ORr X-Length: 3086 --=-csBb16rR1LppNbuhKvUh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2005-01-01 at 05:33 -0500, Mikhail Teterin wrote: > Hello, >=20 > Why do www/mozilla and www/mozilla-devel build and install its own > versions of libnspr4 into ${PREFIX}/lib/mozilla(-devel)? Because they need to. The version of nspr that comes with Mozilla is newer than devel/nspr. >=20 > The ports require and the resulting mozilla-bin executables use the > ${PREFIX}/lib/libnspr4.so... Yep, because if they tried to use the port version, they would get undefined symbol errors. >=20 > Can this be fixed -- to stop the "DLL hell"? Thanks! There's nothing broken. Both versions are unfortunate necessities. Joe >=20 > -mi=20 >=20 > P.S. Happy New Year! :-) > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-csBb16rR1LppNbuhKvUh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBB1xdIb2iPiv4Uz4cRAgsfAJ9M5FbO8bDKP6fbRTF6GrixwxV/8QCghbPx 330Ksw40gPUqrMno0D/u4Fc= =Xwse -----END PGP SIGNATURE----- --=-csBb16rR1LppNbuhKvUh-- --Boundary-00=_PCH6CDHInVeU1CW--