CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nss: updated to 3.19. Disables SSL3
[ports/opt-arm.git] / nss / Pkgfile
index 64146366bced5573a9bc046eb0ff23b36e60e52b..40e594529d17da1320adcbf43a1dc9c510c29863 100644 (file)
@@ -5,9 +5,9 @@
 # Depends on: nspr sqlite3
 
 name=nss
-version=3.16.1
+version=3.19
 release=1
-source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_16_1_RTM/src/$name-$version.tar.gz \
+source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_19_RTM/src/$name-$version.tar.gz \
         nss-config.in nss.pc.in)
 
 build() {
@@ -55,12 +55,14 @@ build() {
 
     NSS_LIBS=`$PKG/usr/bin/nss-config --libs`
     NSS_CFLAGS=`$PKG/usr/bin/nss-config --cflags`
+    NSPR_VERSION=`pkg-config --modversion nspr`
     sed $SRC/nss.pc.in \
         -e "s,%libdir%,/usr/lib," \
         -e "s,%prefix%,/usr," \
         -e "s,%exec_prefix%,/usr/bin," \
         -e "s,%includedir%,/usr/include/nss," \
         -e "s,%NSS_VERSION%,$version," \
+        -e "s,%NSPR_VERSION%,$NSPR_VERSION," \
         -e "s,%FULL_NSS_LIBS%,$NSS_LIBS," \
         -e "s,%FULL_NSS_CFLAGS%,$NSS_CFLAGS," > \
             $PKG/usr/lib/pkgconfig/nss.pc