[78777] trunk/dports/net/nss

ryandesign at macports.org ryandesign at macports.org
Sat May 21 15:12:53 PDT 2011


Revision: 78777
          http://trac.macports.org/changeset/78777
Author:   ryandesign at macports.org
Date:     2011-05-21 15:12:50 -0700 (Sat, 21 May 2011)
Log Message:
-----------
nss: update to 3.12.10; compute NSS_V* variables instead of hardcoding, so they don't have to be updated manually every time

Modified Paths:
--------------
    trunk/dports/net/nss/Portfile
    trunk/dports/net/nss/files/patch-Darwin.mk.diff

Modified: trunk/dports/net/nss/Portfile
===================================================================
--- trunk/dports/net/nss/Portfile	2011-05-21 21:59:38 UTC (rev 78776)
+++ trunk/dports/net/nss/Portfile	2011-05-21 22:12:50 UTC (rev 78777)
@@ -3,10 +3,10 @@
 PortSystem	1.0
 
 name		nss
-version		3.12.9
-set NSS_VMAJOR 3
-set NSS_VMINOR 12
-set NSS_VPATCH 9
+version		3.12.10
+set NSS_VMAJOR  [lindex [split ${version} .] 0]
+set NSS_VMINOR  [lindex [split ${version} .] 1]
+set NSS_VPATCH  [lindex [split ${version} .] 2]
 categories	net
 maintainers	jeremyhu openmaintainer
 description	Network Security Service libraries.
@@ -21,10 +21,10 @@
 use_bzip2       no
 master_sites	ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${my_release}/src/ \
 		http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${my_release}/src/
-checksums           md5     bd32f183ca28440c1744650be31a9ccc \
-                    sha1    5b49da5e6f61610a718fcd0838dac365a5e17de2 \
-                    rmd160  d4da08fb2f363ea5ea90599bd90e54aaad0a3e56
 
+checksums       sha1    229f65c8d4e2c1b34e145253bceddada5a82a142 \
+                rmd160  08c82ce0f4dc4c1806944cbc74adcad137878bf3
+
 depends_lib \
 	port:nspr \
 	port:sqlite3
@@ -38,9 +38,7 @@
 post-patch {
         reinplace "s|@executable_path|${prefix}/lib/nss|g" \
 		${worksrcpath}/mozilla/security/coreconf/Darwin.mk \
-		${worksrcpath}/mozilla/security/nss/cmd/platlibs.mk \
-		${worksrcpath}/mozilla/security/nss/lib/smime/config.mk \
-		${worksrcpath}/mozilla/security/nss/lib/ssl/config.mk
+		${worksrcpath}/mozilla/security/nss/lib/freebl/config.mk
         reinplace "s|@@PREFIX@@|${prefix}|g" \
 		${worksrcpath}/mozilla/security/coreconf/Darwin.mk \
 		${worksrcpath}/mozilla/security/coreconf/UNIX.mk

Modified: trunk/dports/net/nss/files/patch-Darwin.mk.diff
===================================================================
--- trunk/dports/net/nss/files/patch-Darwin.mk.diff	2011-05-21 21:59:38 UTC (rev 78776)
+++ trunk/dports/net/nss/files/patch-Darwin.mk.diff	2011-05-21 22:12:50 UTC (rev 78777)
@@ -1,6 +1,6 @@
---- mozilla/security/coreconf/Darwin.mk.orig	2010-02-04 10:59:10.000000000 -0800
-+++ mozilla/security/coreconf/Darwin.mk	2010-05-07 03:48:05.000000000 -0700
-@@ -78,7 +78,7 @@ ifneq (,$(MACOS_SDK_DIR))
+--- mozilla/security/coreconf/Darwin.mk.orig	2011-04-06 14:16:01.000000000 -0500
++++ mozilla/security/coreconf/Darwin.mk	2011-05-21 17:06:50.000000000 -0500
+@@ -80,7 +80,7 @@
          export NEXT_ROOT
      else
          # GCC >= 4
@@ -9,7 +9,7 @@
          ifneq (4.0.0,$(GCC_VERSION_FULL))
              # gcc > 4.0.0 passes -syslibroot to ld based on -isysroot.
              # Don't add -isysroot to DARWIN_SDK_LDFLAGS, because the programs
-@@ -87,7 +87,7 @@ ifneq (,$(MACOS_SDK_DIR))
+@@ -89,7 +89,7 @@
          else
              # gcc 4.0.0 doesn't pass -syslibroot to ld, it needs to be
              # explicit.
@@ -18,7 +18,7 @@
              DARWIN_SDK_SHLIBFLAGS = $(DARWIN_SDK_LDFLAGS)
          endif
      endif
-@@ -124,7 +124,7 @@ DSO_CFLAGS	= -fPIC
+@@ -130,7 +130,7 @@
  # May override this with different compatibility and current version numbers.
  DARWIN_DYLIB_VERSIONS = -compatibility_version 1 -current_version 1
  # May override this with -bundle to create a loadable module.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110521/cdfc684c/attachment.html>


More information about the macports-changes mailing list