From 1b47d3e3559ea9896f6e1a8052f3abc392f29a07 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 25 Mar 2014 08:48:36 +0100 Subject: [PATCH] nss: updated to 3.16 --- nss/.md5sum | 2 +- nss/Pkgfile | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/nss/.md5sum b/nss/.md5sum index 24a3636..1c976c5 100644 --- a/nss/.md5sum +++ b/nss/.md5sum @@ -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 diff --git a/nss/Pkgfile b/nss/Pkgfile index 00d771e..9b7d4de 100644 --- a/nss/Pkgfile +++ b/nss/Pkgfile @@ -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` -- 2.26.2