# nss/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [buildtimes] 00.05 hours (or 003.15 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.11 hours (or 006.80 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.16 hours (or 009.75 minutes) - HP EliteBook 8560w 32GB RAM #--------------------------------------------------------------------- [settings] configure = no license = See "license*.txt" in installed tree licfile = nss/COPYING setpaths = nspr nss tmpsize = 229M #--------------------------------------------------------------------- [depends] actools gawk grep nspr p11kit sed sqlite3 #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin INCDIR=$PKGDIR_PROD/include LIBDIR=$PKGDIR_PROD/lib PCFDIR=$LIBDIR/pkgconfig mkdir -p $BINDIR $INCDIR $LIBDIR $PCFDIR MANBASE=$PKGDIR_PROD/man perl $PKGDIR_SPECIAL/fix-nss-pkg-nspr-inc.pl --run cd nss mkdir -p $MANBASE if [ $LACICPU == 'x86_64' ]; then CHACHA= ENABLE64BIT="USE_64=1" else CHACHA="NSS_DISABLE_CHACHAPOLY=1" ENABLE64BIT= fi make -j1 \ BUILD_OPT=1 \ NSPR_INCLUDE_DIR=$PRODTREE/nspr/include \ NSS_DISABLE_GTESTS=1 \ NSS_ENABLE_WERROR=0 \ NSS_USE_SYSTEM_SQLITE=1 \ USE_SYSTEM_ZLIB=1 \ ZLIB_LIBS=-lz \ $CHACHA $ENABLE64BIT cd ../dist install -v -m755 Linux*/lib/*.so $LIBDIR/ install -v -m644 Linux*/lib/{*.chk,libcrmf.a} $LIBDIR/ install -v -m755 -d $INCDIR/ cp -v -RL {public,private}/nss/* $INCDIR/ chmod -R 644 `find $INCDIR/ -type f` install -v -m755 Linux*/bin/{certutil,nss-config,pk12util} $BINDIR/ install -v -m644 Linux*/lib/pkgconfig/nss.pc $PCFDIR/ sed -e "s@^prefix=.*@prefix=$PKGDIR_PROD@" -i $PCFDIR/nss.pc cd $INCDIR mkdir nss mv -i *.h nss for x in cert certt cms cryptohi cryptoht keyhi nss nssck.api \ pk11pub sechash secmod secmodt pkcs11n certdb sslerr \ ocsp secder secerr secoidt hasht keythi secport secoid \ seccomon pk11func pkcs12 ssl p12plcy pk11sdr secitem do H="#" cat > $x.h << END ${H}include END done #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = https://archive.mozilla.org/pub/security/\ nss/releases/NSS_3_89_RTM/src/nss-3.89.tar.gz #--------------------------------------------------------------------- [history] 170517 Added package 170706 Updated from 3.30.2 to 3.31 170813 Updated to 3.31.1 171118 Updated to 3.34 180304 Updated to 3.35 180619 Updated to 3.37.3 180823 Updated to 3.38 190120 Updated to 3.41 190209 Updated to 3.42.1 210203 Updated to 3.61 230406 Updated to 3.89