aboutsummaryrefslogtreecommitdiffstats
path: root/main/nss/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/nss/APKBUILD')
-rw-r--r--main/nss/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/nss/APKBUILD b/main/nss/APKBUILD
index f16f7b1326..d6faf5b530 100644
--- a/main/nss/APKBUILD
+++ b/main/nss/APKBUILD
@@ -1,6 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nss
-pkgver=3.14.1
+pkgver=3.14.1.1.93
+_pkgver=3.14.1
_ver=${pkgver//./_}
pkgrel=0
pkgdesc="Mozilla Network Security Services"
@@ -10,7 +11,8 @@ license="MPL GPL"
depends=
makedepends="nspr-dev sqlite-dev zlib-dev perl"
subpackages="$pkgname-dev $pkgname-tools"
-source="ftp://ftp.mozilla.org/pub/security/$pkgname/releases/NSS_${_ver}_RTM/src/$pkgname-$pkgver.tar.gz
+#source="ftp://ftp.mozilla.org/pub/security/$pkgname/releases/NSS_${_ver}_RTM/src/$pkgname-$pkgver.tar.gz
+source="ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_3_14_1_WITH_CKBI_1_93_RTM/src/${pkgname}-3.14.1.with.ckbi.1.93.tar.gz
nss.pc.in
nss-config.in
add_spi+cacert_ca_certs.patch
@@ -18,7 +20,7 @@ source="ftp://ftp.mozilla.org/pub/security/$pkgname/releases/NSS_${_ver}_RTM/src
"
depends_dev="nspr-dev"
-_builddir="$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir"/$pkgname-$_pkgver
prepare() {
cd "$_builddir"
for i in $source; do
@@ -72,8 +74,8 @@ package() {
-e "s,%prefix%,/usr,g" \
-e "s,%exec_prefix%,/usr/bin,g" \
-e "s,%includedir%,/usr/include/nss,g" \
- -e "s,%NSPR_VERSION%,$pkgver,g" \
- -e "s,%NSS_VERSION%,$pkgver,g" \
+ -e "s,%NSPR_VERSION%,$_pkgver,g" \
+ -e "s,%NSS_VERSION%,$_pkgver,g" \
> "$pkgdir"/usr/lib/pkgconfig/nss.pc \
|| return 1
ln -sf nss.pc "$pkgdir"/usr/lib/pkgconfig/mozilla-nss.pc || return 1
@@ -90,7 +92,7 @@ package() {
-e "s,@MOD_PATCH_VERSION@,${NSS_VPATCH},g" \
> "$pkgdir"/usr/bin/nss-config || return 1
chmod 755 "$pkgdir"/usr/bin/nss-config || return 1
- local minor=${pkgver#*.}
+ local minor=${_pkgver#*.}
minor=${minor%.*}
for file in libsoftokn3.so libfreebl3.so libnss3.so libnssutil3.so \
libssl3.so libsmime3.so libnssckbi.so libnssdbm3.so; do