Commit Graph

29 Commits

Author SHA1 Message Date
aszlig
964621438a nss: Update to version 3.14.3.
This update involves a bunch of fixes on our side:

Update the Gentoo patch to 3.14.1 from http://bit.ly/ZG8OK5 and drop the older
one from http://bit.ly/15mN0X1 (for 3.12.5).

While checking the old patch from Gentoo, I discovered, that the patch added in
revision 06c543b11d wasn't the original one in the
Gentoo repository.

Instead of doing the same again, we now patch up our specific modifications
using sed within the postPatch hook.

In addition to that, we now have another patch from RedHat/Fedora which syncs
the NSS PEM support repository with the latest upstream changes. Patch is coming
from the SRPM at http://koji.fedoraproject.org/koji/rpminfo?rpmID=3772072 and I
just stripped the "0001-" prefix from the filename.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-03-01 09:42:38 +01:00
Mathijs Kwik
6f90b481db nss: add yet another mirror to get the patch from
the original url throws 500
the mirror's patch differs (probably upgraded for newer nss)
so I found one more source, with a (versioned) url
2013-01-13 14:30:55 +01:00
Eelco Dolstra
df5cca471e nss: Update to 3.14 2012-10-31 14:04:58 +01:00
aszlig
9a65507b0f
nss: Fix and add URL for security_load.patch.
We now provide an additional URL from the Debian Git repository as well, just to
be sure that the URL is available.

And, well, of course fix the URL that has gone invalid.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-09-17 09:31:47 +02:00
aszlig
808108105d nss: Just delete files if includeTools is false.
Before, the entire directory was deleted and recreated, which fails if we want
to sign libraries (shlibsign is obviously deleted in that step as well), so we
delete everything but "nss-config" on postFixup.
2012-08-22 08:29:10 +02:00
aszlig
c672997dc6 nss: Remove redundant nss-config.in.
This file is already contained in nss-3.12.5-gentoo-fixups.diff, so we don't
need to do all that cruft twice.
2012-08-22 08:29:10 +02:00
aszlig
38a4d77665 nss: Fix referencePath to security modules.
This adds a patch from Debian, as they're already have security modules from NSS
in it's own library directory rather than /usr/lib{,64}/ and patch in loading of
libsoftokn as well.

The patch and our own fix of the patch (well, they hardcode Debian specific
stuff in there) ensures that SECMOD_AddNewModule() will find the right module
from the derivation's output path, so the built-in CA root certificates are
recognized and verified correctly.
2012-08-22 08:29:09 +02:00
aszlig
9e0aaf30aa nss: Sign libraries after striping.
Running NSS in FIPS mode is only possible if the libraries are signed correctly,
so we're doing this in the postFixup hook, to insure nothing gets altered after
that phase.

For more information about FIPS mode, please see:
https://developer.mozilla.org/en-US/docs/NSS/FIPS_Mode_-_an_explanation
2012-08-22 08:29:09 +02:00
aszlig
29fce94665 nss: Clean up build/make flags.
First of all, let's remove that redundant BUILD_OPT variable.

This variable already is in makeFlags, so we really don't want it to be lurking
around in the attribute set of the derivation, and it annoys me for being there
for days.

We now state build targets explicitly rather than relying on "nss_build_all".
This makes NSPR_CONFIG_STATUS and the touch of build_nspr stamp obsolete, as
only nss_build_all includes build_nspr.

In addition, we don't need the -lz hack anymore, as this has been fixed in
recent NSS versions, so we can completly remove the postBuild hook.

And while we're at it, we're removing those outdated build instructions as well,
especially because we don't and can't follow official building guidelines
anymore, as those are difficult to apply to Nix.
2012-08-22 08:29:09 +02:00
aszlig
5f4ca8ec18 nss: Add nss-pem module from fedora.
This is a compatibility module which adds suport for PEM certificates used by
OpenSSL and compatible libraries. The module gets built but isn't used at the
moment, so we're going to work on integration of it later.
2012-08-22 08:29:09 +02:00
aszlig
485dcc9152 nss: Build using system libsqlite.
Let's use system SQLite library, which makes sense anyway. More importantly
because it conflicts with the sqlite package, as NSS is building this as a
shared library aswell.
2012-08-22 08:29:09 +02:00
aszlig
0e768ba98d nss: Update NSS to version 3.13.6.
So to begin with fixing NSS let's get to the latest upstream release and start
fixing, so we won't carry around historic crap we then will throw away anyway.
2012-08-22 08:29:09 +02:00
Peter Simons
f750ad3871 nss: updated to version 3.13.3 to fix build errors on Linux 3.2
svn path=/nixpkgs/trunk/; revision=32834
2012-03-06 20:57:39 +00:00
Alexander Tsamutali
a26835c2bc development/libraries/nss: Fix building on Linux 3.x.
svn path=/nixpkgs/trunk/; revision=29399
2011-09-20 19:46:40 +00:00
Evgeny Egorochkin
06c543b11d NSS: version bump and patch to provide pkgconfig info.
svn path=/nixpkgs/trunk/; revision=25366
2011-01-03 17:02:58 +00:00
Rob Vermaas
a60809353a updated nss and nspr, added variant of nss including tools
svn path=/nixpkgs/trunk/; revision=23105
2010-08-11 09:38:09 +00:00
Eelco Dolstra
396b40f6d4 * Updated nspr, nss.
svn path=/nixpkgs/trunk/; revision=20993
2010-04-09 13:37:41 +00:00
Eelco Dolstra
05fce85edc * Thunderbird 3.0. It doesn't use the Xulrunner package, as building
against an external Xulrunner seems to be unsupported currently.

svn path=/nixpkgs/trunk/; revision=19169
2010-01-02 13:21:50 +00:00
Eelco Dolstra
d869913b27 * RPM updated to 4.7.2.
* nspr updated to 4.8.2.
* nss updated to 3.12.4.
* elfutils updated to 0.143.

svn path=/nixpkgs/trunk/; revision=18867
2009-12-09 22:34:51 +00:00
Eelco Dolstra
a641e7666e * Compile NSS with ECC support. Hopefully this fixes certificate
checking in Firefox 3.5.

svn path=/nixpkgs/trunk/; revision=16214
2009-07-07 13:01:52 +00:00
Eelco Dolstra
e5a611030f * Doh.
svn path=/nixpkgs/trunk/; revision=16213
2009-07-07 11:40:57 +00:00
Eelco Dolstra
cc28087b5a * Make doesn't like newlines.
svn path=/nixpkgs/trunk/; revision=16210
2009-07-07 10:59:18 +00:00
Eelco Dolstra
200ad5eb63 * NSPR and NSS need to be told explicitly to do a 64-bit build.
svn path=/nixpkgs/trunk/; revision=16201
2009-07-07 09:52:20 +00:00
Eelco Dolstra
19963e0447 * Xulrunner/Firefox 3.5: build with --with-system-nss.
svn path=/nixpkgs/trunk/; revision=16186
2009-07-06 11:42:21 +00:00
Eelco Dolstra
a796d839f9 * Updated NSS.
svn path=/nixpkgs/trunk/; revision=16183
2009-07-06 09:12:44 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Eelco Dolstra
82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Martin Bravenboer
975db72a72 Added Mozilla NSS, NSPR and Gaim to Nix. Gaim in Nix supports SSL
svn path=/nixpkgs/trunk/; revision=3676
2005-08-24 09:54:42 +00:00