CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nss: updated to 3.16
authorVictor Martinez <pitillo@ono.com>
Tue, 25 Mar 2014 07:48:36 +0000 (08:48 +0100)
committerVictor Martinez <pitillo@ono.com>
Tue, 25 Mar 2014 07:48:36 +0000 (08:48 +0100)
nss/.md5sum
nss/Pkgfile

index 24a363645f33ac865440f0cbb8545610766bf860..1c976c52a939d3997f06bb44d978123253677632 100644 (file)
@@ -1,3 +1,3 @@
-7a8cb5418ac8aa15d91d7bc549698268  nss-3.15.5.tar.gz
+0a6f8503d08c078d64d500e77678e33c  nss-3.16.tar.gz
 17226659298a9d9bb3f323186d220f6f  nss-config.in
 4bb2893f773bb168271521e654861e29  nss.pc.in
index 00d771e203f38e78e7a675406a76122464022fa8..9b7d4de5b716f4719dff359ee41a078248818078 100644 (file)
@@ -5,9 +5,9 @@
 # Depends on: nspr sqlite3
 
 name=nss
-version=3.15.5
-release=1
-source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_15_5_RTM/src/$name-$version.tar.gz \
+version=3.16
+release=2
+source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_16_RTM/src/$name-$version.tar.gz \
         nss-config.in nss.pc.in)
 
 build() {
@@ -50,7 +50,8 @@ build() {
 
     install -m 0755 $SRC/nss-config.in $PKG/usr/bin/nss-config
 
-    sed -i "s/@VERSION@/$version/" $PKG/usr/bin/nss-config
+    _version=$(printf "%i.%i.%i" ${version//./ })
+    sed -i "s/@VERSION@/$_version/" $PKG/usr/bin/nss-config
 
     NSS_LIBS=`$PKG/usr/bin/nss-config --libs`
     NSS_CFLAGS=`$PKG/usr/bin/nss-config --cflags`