Skip to content
Permalink
update-openssh
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 54 lines (42 sloc) 1.48 KB
#!/usr/bin/env beesh
# BEE_VERSION nss-3.49-0
# see also http://linuxfromscratch.org/blfs/view/svn/postlfs/nss.html
# https://archive.mozilla.org/pub/security/nss/releases/NSS_3_49_2_RTM/src/nss-3.49.2.tar.gz
SRCURL[0]="https://beehive.molgen.mpg.de/25f88e880a5ff8433f9a8c4b5d0a42e5/nss-3.49.2.tar.gz"
# "http://www.linuxfromscratch.org/patches/blfs/svn/nss-3.49.2-standalone-1.patch"
PATCHURL[0]="https://beehive.molgen.mpg.de/5b9edf627de6ca851d4b3be2dd7111eb/nss-3.49.2-standalone-1.patch"
build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
#bee_configure
:
}
mee_build() {
#bee_build
cd $B/nss
make -j1 BUILD_OPT=1 \
NSPR_INCLUDE_DIR=/usr/include/nspr \
USE_SYSTEM_ZLIB=1 \
ZLIB_LIBS=-lz \
NSS_ENABLE_WERROR=0 \
USE_64=1 \
NSS_USE_SYSTEM_SQLITE=1
}
mee_install() {
bee_install
cd $B/dist
mkdir -vp $D/usr/lib $D/usr/include/nss $D/usr/bin $D/usr/lib/pkgconfig
install -v -m755 Linux*/lib/*.so $D/usr/lib
install -v -m644 Linux*/lib/{*.chk,libcrmf.a} $D/usr/lib
install -v -m755 -d $D/usr/include/nss
cp -v -RL {public,private}/nss/* $D/usr/include/nss
chmod -v 644 $D/usr/include/nss/*
install -v -m755 Linux*/bin/{certutil,nss-config,pk12util} $D/usr/bin
install -v -m644 Linux*/lib/pkgconfig/nss.pc $D/usr/lib/pkgconfig
}