nss: update to 3.94.
This commit is contained in:
parent
6c8d3d176e
commit
266323ac04
|
@ -3,17 +3,17 @@
|
||||||
_nsprver=4.35
|
_nsprver=4.35
|
||||||
|
|
||||||
pkgname=nss
|
pkgname=nss
|
||||||
version=3.93
|
version=3.94
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="perl which"
|
hostmakedepends="perl which"
|
||||||
makedepends="nspr-devel sqlite-devel zlib-devel"
|
makedepends="nspr-devel sqlite-devel zlib-devel"
|
||||||
depends="nspr>=${_nsprver}"
|
depends="nspr>=${_nsprver}"
|
||||||
short_desc="Mozilla Network Security Services"
|
short_desc="Mozilla Network Security Services"
|
||||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||||
license="MPL-2.0"
|
license="MPL-2.0, MIT, BSD-3-Clause"
|
||||||
homepage="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
|
homepage="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
|
||||||
distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz"
|
distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz"
|
||||||
checksum=15f54bb72048eb105f8c0e936a04b899e74c3db9a19bbc1e00acee2af9476a8a
|
checksum=463ae180ee9e5ee9e3ad4f629326657e236780cc865572a930a16520abad9dd8
|
||||||
|
|
||||||
export NS_USE_GCC=1
|
export NS_USE_GCC=1
|
||||||
export LIBRUNPATH=
|
export LIBRUNPATH=
|
||||||
|
@ -115,24 +115,39 @@ do_install() {
|
||||||
|
|
||||||
install -m644 dist/*.OBJ/lib/libcrmf.a ${DESTDIR}/usr/lib
|
install -m644 dist/*.OBJ/lib/libcrmf.a ${DESTDIR}/usr/lib
|
||||||
|
|
||||||
for f in certutil cmsutil crlutil modutil pk12util shlibsign \
|
for f in certutil cmsutil crlutil derdump modutil pk12util pp shlibsign \
|
||||||
signtool signver ssltap; do
|
signtool signver ssltap vfychain vfyserv; do
|
||||||
install -m755 dist/*.OBJ/bin/${f} ${DESTDIR}/usr/bin
|
install -m755 dist/*.OBJ/bin/${f} ${DESTDIR}/usr/bin
|
||||||
done
|
done
|
||||||
|
|
||||||
|
vmkdir usr/libexec/nss
|
||||||
|
for f in addbuiltin chktest dbtest dbtool ecperf httpserv \
|
||||||
|
ocspclnt p7content p7env p7sign p7verify pk1sign pwdecrypt \
|
||||||
|
rsaperf selfserv strsclnt symkeyutil
|
||||||
|
do
|
||||||
|
install -m755 dist/*.OBJ/bin/${f} ${DESTDIR}/usr/libexec/nss/
|
||||||
|
done
|
||||||
|
|
||||||
|
for f in nss/doc/nroff/*.1
|
||||||
|
do
|
||||||
|
vman $f
|
||||||
|
done
|
||||||
|
|
||||||
install -m644 dist/public/nss/*.h ${DESTDIR}/usr/include/nss
|
install -m644 dist/public/nss/*.h ${DESTDIR}/usr/include/nss
|
||||||
|
|
||||||
sed -ne '/Copyright/,/SUCH DAMAGE/p' nss/lib/dbm/src/db.c >dbm.LICENSE
|
sed -ne '/Copyright/,/SUCH DAMAGE/p' nss/lib/dbm/src/db.c >dbm.LICENSE
|
||||||
vlicense dbm.LICENSE
|
vlicense dbm.LICENSE
|
||||||
sed -ne '/The MIT License/,\!// SOFTWARE[.]$!p' \
|
{
|
||||||
nss/lib/freebl/ecl/curve25519_32.c >fiat.LICENSE
|
echo "The MIT License"
|
||||||
vlicense fiat.LICENSE
|
find nss/lib -name '*.h' -o -name '*.c' |
|
||||||
sed -ne '/The MIT License/,/ [*] SOFTWARE[.]$/p' \
|
xargs grep -l 'MIT License' |
|
||||||
nss/lib/freebl/ecl/ecp_secp384r1.c >ecckiila.LICENSE
|
xargs grep -h 'Copyright' |
|
||||||
vlicense ecckiila.LICENSE
|
sed 's,^[[:space:]]*[*/]*[[:space:]]*,,' |
|
||||||
sed -ne '/The MIT License/,/ [*] SOFTWARE[.]$/p' \
|
sort -u
|
||||||
nss/lib/freebl/verified/Hacl_Chacha20.c >hacl.LICENSE
|
sed -ne '/Permission is hereby/,/ [*] SOFTWARE[.]$/p' \
|
||||||
vlicense hacl.LICENSE
|
nss/lib/freebl/verified/Hacl_Chacha20.c
|
||||||
|
} >MIT.license
|
||||||
|
vlicense MIT.license
|
||||||
}
|
}
|
||||||
|
|
||||||
nss-devel_package() {
|
nss-devel_package() {
|
||||||
|
|
Loading…
Reference in New Issue