-rw-r--r-- root/root usr/include/nss/pkcs11u.h
-rw-r--r-- root/root usr/include/nss/pkcs12.h
-rw-r--r-- root/root usr/include/nss/pkcs12t.h
+-rw-r--r-- root/root usr/include/nss/pkcs1sig.h
-rw-r--r-- root/root usr/include/nss/pkcs7t.h
-rw-r--r-- root/root usr/include/nss/portreg.h
-rw-r--r-- root/root usr/include/nss/preenc.h
-949c05c91391907c8857abcbd7048788 nss-3.16.3.tar.gz
+f2565ffe041181ef8ff61c71088b4fa0 nss-3.18.1.tar.gz
17226659298a9d9bb3f323186d220f6f nss-config.in
4bb2893f773bb168271521e654861e29 nss.pc.in
# Depends on: nspr sqlite3
name=nss
-version=3.16.3
+version=3.18.1
release=1
-source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_16_3_RTM/src/$name-$version.tar.gz \
+source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_18_1_RTM/src/$name-$version.tar.gz \
nss-config.in nss.pc.in)
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