Commit 86463cc0 authored by Natanael Copa's avatar Natanael Copa

main/nss: upgrade to 3.30 and fix -dev package

we need to have the .so symlink in main package and not in the -dev.
This means that we cannot use default_dev
parent 56d7448f
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nss
pkgver=3.28.1
pkgver=3.30
_ver=${pkgver//./_}
pkgrel=1
pkgrel=2
pkgdesc="Mozilla Network Security Services"
url="http://www.mozilla.org/projects/security/pki/nss/"
arch="all"
......@@ -122,7 +122,23 @@ static() {
}
dev() {
default_dev || return 1
# we cannot use default_dev because we need the .so symlinks in main package
local i= j=
pkgdesc="Development files for nss"
depends="$pkgname $depends_dev"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/nss-config "$subpkgdir"/usr/bin
cd "$pkgdir"
for i in usr/include usr/lib/pkgconfig usr/lib/*.a; do
if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then
d="$subpkgdir/${i%/*}" # dirname $i
mkdir -p "$d"
mv "$pkgdir/$i" "$d"
rmdir "$pkgdir/${i%/*}" 2>/dev/null || true
fi
done
mv "$pkgdir"/usr/lib/libgtest1.* "$pkgdir"/usr/lib/libnsssysinit.* \
"$subpkgdir"/usr/lib
}
......@@ -134,19 +150,7 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
md5sums="e98d48435cee5792f97ef7fc35a602c3 nss-3.28.1.tar.gz
c547b030c57fe1ed8b77c73bf52b3ded nss.pc.in
db0acf929e86c1d44a1ca568fbf8aae6 nss-util.pc.in
08f963cc53b22c83defca7b4f41f08fa nss-softokn.pc.in
46bee81908f1e5b26d6a7a2e14c64d9f nss-config.in
981e0df9e9cb7a9426b316f68911fb17 add_spi+cacert_ca_certs.patch"
sha256sums="58cc0c05c0ed9523e6d820bea74f513538f48c87aac931876e3d3775de1a82ad nss-3.28.1.tar.gz
b9f1428ca2305bf30b109507ff335fa00bce5a7ce0434b50acd26ad7c47dd5bd nss.pc.in
cffebbc5d4dbc80ccd9f821a71fb4ea3a09183870b9833d8e0d119d9542f456e nss-util.pc.in
caf627f589517c42c49540ddf41a061bb88d9ee347ff35ea555689e5421c5774 nss-softokn.pc.in
e44ac5095b4d88f24ec7b2e6a9f1581560bd3ad41a3d198596d67ef22f67adb9 nss-config.in
592aa85184c5edb076c3355f85e50373a59dfcd06a4f4a79621f43df19404c1e add_spi+cacert_ca_certs.patch"
sha512sums="f10c8e404741fafe5e5772dc754ff4503ec1826942db5fbc13b99155fcac50f29e1405dd249b69a27f27ebcfef73849b1f0f636a2076ab761384e8a0ed9a2b8b nss-3.28.1.tar.gz
sha512sums="c21e9b5e4b689ea8cbc6f4d7913df43e2a78c4435e0ce092f2ce00e46079ce2268e17ec8527b283ac69eff3d96ff0165a5b42b6579bfe0a720115ff2938260d3 nss-3.30.tar.gz
75dbd648a461940647ff373389cc73bc8ec609139cd46c91bcce866af02be6bcbb0524eb3dfb721fbd5b0bc68c20081ed6f7debf6b24317f2a7ba823e8d3c531 nss.pc.in
0f2efa8563b11da68669d281b4459289a56f5a3a906eb60382126f3adcfe47420cdcedc6ab57727a3afeeffa2bbb4c750b43bef8b5f343a75c968411dfa30e09 nss-util.pc.in
09c69d4cc39ec9deebc88696a80d0f15eb2d8c94d9daa234a2adfec941b63805eb4ce7f2e1943857b938bddcaee1beac246a0ec627b71563d9f846e6119a4a15 nss-softokn.pc.in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment