nss: updated to 3.13.3
This commit is contained in:
parent
ae1465af15
commit
d3ab36c98c
@ -1,3 +1,3 @@
|
||||
24f1f463734ded0f4ef8a0525c56e8f8 nss-3.13.2.tar.gz
|
||||
006cb82fa900e9e664b4b14a9b7810ca nss-3.13.3.tar.gz
|
||||
17226659298a9d9bb3f323186d220f6f nss-config.in
|
||||
4bb2893f773bb168271521e654861e29 nss.pc.in
|
||||
|
@ -4,9 +4,9 @@
|
||||
# Depends on: nspr sqlite3
|
||||
|
||||
name=nss
|
||||
version=3.13.2
|
||||
version=3.13.3
|
||||
release=1
|
||||
source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_13_2_RTM/src/$name-$version.tar.gz \
|
||||
source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_13_3_RTM/src/$name-$version.tar.gz \
|
||||
nss-config.in nss.pc.in)
|
||||
|
||||
build() {
|
||||
|
61
nss/Pkgfile~
Normal file
61
nss/Pkgfile~
Normal file
@ -0,0 +1,61 @@
|
||||
# Description: Mozilla Network Security Services (NSS)
|
||||
# URL: http://www.mozilla.org/projects/security/pki/nss/
|
||||
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
||||
# Depends on: nspr sqlite3
|
||||
|
||||
name=nss
|
||||
version=3.13.2
|
||||
release=1
|
||||
source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_13_2_RTM/src/$name-$version.tar.gz \
|
||||
nss-config.in nss.pc.in)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
local file
|
||||
|
||||
export NSPR_INCLUDE_DIR=/usr/include/nspr
|
||||
export NSPR_LIB_DIR=/usr/lib
|
||||
export NSS_USE_SYSTEM_SQLITE=1
|
||||
export BUILD_OPT=1
|
||||
|
||||
make -j1 -C mozilla/security/nss build_coreconf build_dbm all
|
||||
|
||||
install -d $PKG/usr/{bin,lib/pkgconfig,include/nss}
|
||||
|
||||
for file in \
|
||||
libnss3.so libssl3.so libsmime3.so libsoftokn3.so \
|
||||
libsoftokn3.chk libnssckbi.so libfreebl3.so libfreebl3.chk \
|
||||
libcrmf.a libnssb.a libnssckfw.a libnssutil3.so libnssdbm3.so
|
||||
do
|
||||
install -m 0644 mozilla/dist/*.OBJ/lib/$file $PKG/usr/lib
|
||||
done
|
||||
|
||||
chmod +x $PKG/usr/lib/*.so
|
||||
|
||||
for file in \
|
||||
certutil cmsutil crlutil modutil pk12util signtool signver ssltap
|
||||
do
|
||||
install -m 0755 mozilla/dist/*.OBJ/bin/$file $PKG/usr/bin
|
||||
done
|
||||
|
||||
install -m 0644 mozilla/dist/public/nss/*.h $PKG/usr/include/nss
|
||||
|
||||
# we have to provide our own nss-config, because xulrunner needs it
|
||||
install -m 0755 $SRC/nss-config.in $PKG/usr/bin/nss-config
|
||||
|
||||
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`
|
||||
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,%FULL_NSS_LIBS%,$NSS_LIBS," \
|
||||
-e "s,%FULL_NSS_CFLAGS%,$NSS_CFLAGS," > \
|
||||
$PKG/usr/lib/pkgconfig/nss.pc
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user