app-misc/ca-certificates: use github URLs

Between 3.120.1 and 3.120, we noticed this:
```
$ ls /var/tmp/portage/app-misc/ca-certificates-3.120-r1/work
nss-3.120
$ ls /var/tmp/portage/app-misc/ca-certificates-3.120.1/work
nss-NSS_3_120_1_RTM
```

The last one is using the GitHub release format - it seems the upstream
pushed a GitHub release on the Mozilla Archive FTP server?

Gentoo did the move as well: b51bd45ded

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
Mathieu Tortuyaux 2026-02-17 10:33:34 +01:00
parent 0e987c5ca3
commit 1d76698270
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8

View File

@ -9,11 +9,11 @@ inherit python-any-r1 systemd tmpfiles
RTM_NAME="NSS_${PV//./_}_RTM"
MY_PN="nss"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}"
S="${WORKDIR}/${MY_PN}-${RTM_NAME}"
DESCRIPTION="Mozilla's CA Certificate Store"
HOMEPAGE="http://www.mozilla.org/en-US/about/governance/policies/security-group/certs/"
SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/${MY_P}.tar.gz"
SRC_URI="https://github.com/nss-dev/nss/archive/refs/tags/${RTM_NAME}.tar.gz -> ${MY_P}.tar.gz"
# NSS is licensed under the MPL, files/certdata2pem.py is GPL
LICENSE="MPL-2.0 GPL-2"
@ -68,7 +68,7 @@ gen_tmpfiles() {
}
src_compile() {
local certdata="${MY_P}/nss/lib/ckfw/builtins/certdata.txt"
local certdata="${S}/lib/ckfw/builtins/certdata.txt"
${PYTHON} "${FILESDIR}/certdata2pem.py" "${certdata}" certs || die
cd certs || die