From 89a50162386787472a37807bf130898bd448b2b2 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 10 Oct 2025 17:09:47 +0300 Subject: [PATCH] Update package version to 3.117 --- pkg.info | 19 ++++++++++++++++--- source.sh | 8 +------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/pkg.info b/pkg.info index 8358c7c..a95a71f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,22 @@ name: nss description: Network Security Services -version: 3.116 +version: "3.117" +revision: 1 url: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS license: MPL2 architecture: any -depends: ["glibc","nspr","p11-kit","sqlite","zlib"] -make_depends: ["perl","python3"] type: source +depends: + - glibc + - nspr + - p11-kit + - sqlite + - zlib +make_depends: + - perl + - python3 +downloads: + - url: https://archive.mozilla.org/pub/security/nss/releases/NSS_${BPM_PKG_VERSION/./_}_RTM/src/nss-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 5786b523a2f2e9295ed10d711960d2e33cd620bb80d6288443eda43553a51996 diff --git a/source.sh b/source.sh index bebebb8..3b06ce4 100644 --- a/source.sh +++ b/source.sh @@ -2,15 +2,9 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://archive.mozilla.org/pub/security/nss/releases/NSS_${BPM_PKG_VERSION/./_}_RTM/src/nss-${BPM_PKG_VERSION}.tar.gz" -FILENAME="${DOWNLOAD##*/}" - # The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" - cd "$BPM_SOURCE" # Patch from Beyond Linux from Scratch patch -Np1 -i ../nss.patch