Commit graph

56 commits

Author SHA1 Message Date
dsainty
e316d1aee0 NSS wants to use libz. Buildlink in devel/zlib. Fixes build on some Linux
systems.
2010-03-31 01:25:26 +00:00
tnn
c628c53876 fix build breakage 2010-03-16 16:09:04 +00:00
tnn
ea74bec019 Needs pkg-config to locate sqlite3 2010-02-12 09:01:45 +00:00
tnn
8dff387a78 Put back BUILDLINK_LIBDIR & BUILDLINK_RPATHDIR for now; although I don't
like it. Needed to build mail/evolution-exchange due to bl3's .la mangling.
2010-01-20 17:24:57 +00:00
tnn
084ee429b4 - update to 3.12.4.5
- reach over to xulrunner, track the stable gecko release
- use external sqlite3
- cleanup
- take maintainership

This is the second part of PR pkg/42277.
2010-01-16 14:41:25 +00:00
sno
ff7126bc07 Fix nss build on FreeBSD 2009-10-11 07:51:48 +00:00
joerg
1de5943b91 Explicit request 64bit mode on Linux, if ABI=64.
From Evaldo Gardenali.
2009-08-19 15:01:21 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
darcy
ae64f8f0e4 Drop MAINTAINER as per request from existing MAINTAINER. 2009-03-23 17:39:12 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
obache
d16ba82d0a Add missing ${DESTDIR} at creating PLIST. 2008-03-21 01:12:15 +00:00
joerg
d66e560bf7 Fix DESTDIR installation. 2008-03-13 16:56:52 +00:00
jlam
4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00
tnn
5c13124820 Fix more cases of non-chainable PKGSRC_COMPILER tests. 2008-02-08 10:34:19 +00:00
obache
6456ebb5c8 Change MOZILLA master sites difinitions, related to PR 37379.
There are three types Mozilla mirrors.
(http://www.mozilla.org/mirroring.html)
 * mozilla-current
        contains only the current version of Firefox and Thunderbird
 * mozilla-release
        contains Firefox, Thunderbird, and Sunbird releases
 * mozilla-all
        complete archive

Define following variables for mozilla master sites:
        MASTER_SITE_MOZILLA_ALL = mozilla-all
        MASTER_SITE_MOZILLA     = mozilla-release
and change some packages to use appropriate variable.

Update contents of MASTER_SITE_MOZILLA with master and primary mirrors
taken from http://www.mozilla.org/mirrors.html and add some sample definitions.
2007-12-22 07:22:04 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
gdt
74835ff023 Add MAKE_JOBS_SAFE=no because a build with MAKE_JOBS=2 failed for me. 2007-04-05 18:11:53 +00:00
wiz
66303debfe Update to 3.11.5, security fix. 2007-03-21 06:53:24 +00:00
dmcmahill
3939753d04 Rather than trying to enumerate all object directories, notice that they all
match *_OPT.OBJ so use that for the install target and simplyfy things quite
a bit.  This should also fix build problems noted on solaris/x86.  Also
dynamically add the libfreebl part to the PLIST.  This should make things
more robust as the exact set of libfreebl*.so libs depends on the OS and
hardward platform.
2007-02-21 23:23:08 +00:00
wiz
8e51476612 Do not use MASTER_SITE_MOZILLA -- the mirrors do not have this distfile. 2007-01-21 10:49:57 +00:00
wiz
e09fdcb614 Update to 3.11.4:
The following bugs have been fixed in NSS 3.11.4.

    * Bug 115951: freebl dynamic library is never unloaded by
      libsoftoken or libssl. Also tiny one-time leak in freebl's
      loader.c.
    * Bug 127960: SSL force handshake function should take a timeout.
    * Bug 335454: Unable to find library 'libsoftokn3.sl' on HP-UX 64 bit.
    * Bug 350200: Implement DHMAC based POP (ProofOfPossession).
    * Bug 351482: audit_log_user_message doesn't exist in all
      versions of libaudit.so.0. (the "paranoia patch")
    * Bug 352041: oom [@ CERT_DecodeDERCrlWithFlags] "extended"
      tracked as NULL was dereferenced.
    * Bug 353422: Klocwork bugs in nss/lib/crmf.
    * Bug 353475: Cannot run cmd tools compiled with VC++ 2005.
    * Bug 353572: leak in sftk_OpenCertDB.
    * Bug 353608: NSS_RegisterShutdown may fail, and appData argument
      to callbacks is always NULL.
    * Bug 353749: PowerUpSelf tests update for DSA and ECDSA KAT.
    * Bug 353896: Building tip with NSS_ECC_MORE_THAN_SUITE_B causes
      crashes in all.sh.
    * Bug 353910: memory leak in RNG_RNGInit.
    * Bug 354313: STAN_GetCERTCertificateName leaks "instance" struct.
    * Bug 354384: vfyserv shutdown failure when client auth requested.
    * Bug 354900: Audit modifications, accesses, deletions, and
      additions of cryptographic keys.
    * Bug 355297: Improve the very first RNG_RandomUpdate call.
    * Bug 356073: C_GetTokenInfo should return CKR_CRYPTOKI_NOT_INITIALIZED
      if not initialized.
    * Bug 356309: CertVerifyLog in CERT_VerifyCertificate terminates
      early on expired certs.
    * Bug 357197: OCSP response code fails to match CERTIds. (hot fix only)
    * Bug 359484: FireFox 2 tries to negotiate ECC cipher suites
      using ssl2 client hello. (hot fix only)
    * Bug 360818: No RPATH set for signtool and signver.
2007-01-20 18:55:09 +00:00
riz
79968cab91 Fix up DYLD_LIBRARY_PATH so that MacOS X looks for nspr in the correct
place.
2006-11-20 17:06:03 +00:00
abs
1b202f4a8b remove @dirrm include/nss/seccmd from PLIST 2006-10-24 08:54:08 +00:00
abs
74eaf16336 fix builds on !Solaris 2006-10-24 08:38:03 +00:00
dmcmahill
2271081f96 Various solaris fixes. In particular:
- when building with gcc, the solaris /usr/ccs/bin/as assembler is still
  used in a couple of places but the correct flags aren't set.
- The object directory has a different name when building with gcc instead
  of the sun studio compilers.
- There are a couple of libs which are installed that aren't part of the install
  for other systems (freebl).
2006-10-22 15:32:47 +00:00
rillig
831be0cb6a Fixed the build on Solaris, for which NSS_OBJ_DIR was not set before. 2006-10-16 12:50:43 +00:00
rillig
400986994e Removed patch-am, which had been added accidentally. The problem that it
tried to solve is properly fixed by patch-an.
2006-07-12 16:32:00 +00:00
rillig
02f9266fc6 Updated nss to 3.11.
No ChangeLog available, but some libraries have changed:
- removed libfort
- added libfreebl3
- removed libswft
2006-07-12 16:30:03 +00:00
rillig
971f389ffe Oops. I had accidentally commented out ONLY_FOR_PLATFORM. 2006-07-12 15:39:50 +00:00
rillig
ac3b719e44 Fixed most pkglint warnings. 2006-07-12 15:38:28 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
57b1ea952f Oops. I had better not removed the leading "@" from a line in the
Makefile. It resulted in some output being re-read by make, which in
turn resulted in damaged shell commands. Thanks to wiz for notifying me.
2006-07-04 22:27:43 +00:00
rillig
38dada1905 Added a patch so that the package works with GNU Make 3.81 again. 2006-07-02 12:40:41 +00:00
wiz
31e0f23689 Better fix for gcc4 build problem, suggested by martin@. 2006-06-25 15:25:35 +00:00
wiz
96742caa62 Add patch to fix compilation on NetBSD-current. 2006-06-25 14:53:00 +00:00
wiz
daa517d723 regen 2006-06-25 14:52:44 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
b530836ba1 Strip everything after the first hyphen to match OS_VERSION in
pkgsrc for DragonFly. Inspired by PR 32230.
2006-01-15 16:09:21 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jmmv
5f5df1842b Make nss and nspr install pkg-config files. Bump their PKGREVISION. 2005-10-16 11:15:10 +00:00
jmmv
8fd9a29be3 Use tabs to indent, not spaces. 2005-10-15 22:06:20 +00:00
dmcmahill
a1475357ba set NS_USE_GCC on solaris when using gcc. This gets past most of the
makefile issues.  There are still some problems on solaris, but this
gets you further.  Don't mark as available yet on solaris since it
still doesn't compile.
2005-09-20 12:53:40 +00:00
reed
8512cf28d7 Only for Linux, FreeBSD, DragonFly and NetBSD for now. NSS will
build and run on other platforms when MAINTAINER knows what magic
Makefile glue is required.  This is from maintainer's discussion
on tech-pkg.

Remove patch-af. Use LD_LIBS instead, which the build already knows
about.

Add custom settings for above platforms so they install correctly.
Idea provided by maintainer on tech-pkg. I tweaked it more.
I tested on NetBSD 2.0.2, Linux and DragonFly.

Also remove blank line from end of Makefile.
2005-08-25 00:11:01 +00:00
reed
f8d7f72e40 Add DragonFly.mk file and now support DragonFly.
This is from PR #30711. Thank you Joerg.
Approved by maintainer (in PR).
2005-08-19 16:18:02 +00:00
reed
5aea61e23d Add patch-ah and patch-ai and update patch-ae for DragonFly support.
This is from PR #30711.

Note that I didn't test on DragonFly.

Also note that this is still incomplete for DragonFly -- it needs
the mk file too.
2005-08-12 20:11:26 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00