Skip to content

Commit

Permalink
Merge pull request #1642 from mariux64/update-nss-349
Browse files Browse the repository at this point in the history
nss: update to 3.49
  • Loading branch information
wwwutz authored Jan 31, 2020
2 parents 8baa77e + 6b62d8c commit 9e5aaf6
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions nss.be0
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
#!/usr/bin/env beesh

# BEE_VERSION nss-3.33-0
# BEE_VERSION nss-3.49-0

SRCURL[0]=" https://archive.mozilla.org/pub/security/nss/releases/NSS_3_33_RTM/src/nss-${PKGVERSION}.tar.gz"
# see also http://linuxfromscratch.org/blfs/view/svn/postlfs/nss.html

PATCHURL+=(http://www.linuxfromscratch.org/patches/blfs/svn/nss-${PKGVERSION}-standalone-1.patch)
# 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"

# EXCLUDE+=()
# "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 "${@}"
#}
Expand All @@ -29,14 +31,19 @@ mee_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 \
USE_64=1 NSS_USE_SYSTEM_SQLITE=1 NSS_ENABLE_WERROR=0
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 -p $D/usr/lib $D/usr/include/nss $D/usr/bin $D/usr/lib/pkgconfig
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
Expand All @@ -45,4 +52,3 @@ mee_install() {
install -v -m755 Linux*/bin/{certutil,nss-config,pk12util} $D/usr/bin
install -v -m644 Linux*/lib/pkgconfig/nss.pc $D/usr/lib/pkgconfig
}
## by default this may be 'make install DESTDIR="${D}"'

0 comments on commit 9e5aaf6

Please sign in to comment.