| @@ -1,30 +1,30 @@ | | | @@ -1,30 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.43 2021/10/14 07:21:43 tron Exp $ | | 1 | # $NetBSD: Makefile,v 1.44 2021/10/14 07:35:54 tron Exp $ |
2 | | | 2 | |
3 | DISTNAME= mozilla-rootcerts-1.0.${CERTDATA_DATE} | | 3 | DISTNAME= mozilla-rootcerts-1.0.${CERTDATA_DATE} |
4 | CATEGORIES= security | | 4 | CATEGORIES= security |
5 | MASTER_SITES= -https://hg.mozilla.org/mozilla-central/raw-file/330c22fc463e2de39cae6b9f4c7e91dd6c255931/security/nss/lib/ckfw/builtins/certdata.txt | | 5 | MASTER_SITES= -https://hg.mozilla.org/mozilla-central/raw-file/330c22fc463e2de39cae6b9f4c7e91dd6c255931/security/nss/lib/ckfw/builtins/certdata.txt |
6 | EXTRACT_SUFX= # empty | | 6 | EXTRACT_SUFX= # empty |
7 | DISTFILES= ${CERTDATA} | | 7 | DISTFILES= ${CERTDATA} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://hg.mozilla.org/mozilla-central/log/tip/security/nss/lib/ckfw/builtins/certdata.txt | | 10 | HOMEPAGE= https://hg.mozilla.org/mozilla-central/log/tip/security/nss/lib/ckfw/builtins/certdata.txt |
11 | COMMENT= Root CA certificates from the Mozilla Project | | 11 | COMMENT= Root CA certificates from the Mozilla Project |
12 | LICENSE= mpl-2.0 | | 12 | LICENSE= mpl-2.0 |
13 | | | 13 | |
14 | USE_TOOLS= awk:run echo:run expr:run ln:run ls:run openssl:run rm:run mkdir:run | | 14 | USE_TOOLS= awk:run echo:run expr:run ln:run ls:run openssl:run rm:run mkdir:run |
15 | | | 15 | |
16 | # This must be kept in sync with security/mozilla-rootcerts-openssl | | 16 | # This must be kept in sync with security/mozilla-rootcerts-openssl |
17 | CERTDATA_DATE= 20211014 | | 17 | CERTDATA_DATE= 20210916 |
18 | CERTDATA= certdata-${CERTDATA_DATE}.txt | | 18 | CERTDATA= certdata-${CERTDATA_DATE}.txt |
19 | | | 19 | |
20 | WRKSRC= ${WRKDIR} | | 20 | WRKSRC= ${WRKDIR} |
21 | DATADIR= ${PREFIX}/share/${PKGBASE} | | 21 | DATADIR= ${PREFIX}/share/${PKGBASE} |
22 | | | 22 | |
23 | # Set paths depending on whether we depend on builtin or pkgsrc | | 23 | # Set paths depending on whether we depend on builtin or pkgsrc |
24 | # openssl. \todo Arguably, we should consider installing into both | | 24 | # openssl. \todo Arguably, we should consider installing into both |
25 | # builtin and pkgsrc, if both exist, but this requires much more | | 25 | # builtin and pkgsrc, if both exist, but this requires much more |
26 | # thought. | | 26 | # thought. |
27 | CHECK_BUILTIN.openssl= yes | | 27 | CHECK_BUILTIN.openssl= yes |
28 | .include "../../security/openssl/builtin.mk" | | 28 | .include "../../security/openssl/builtin.mk" |
29 | CHECK_BUILTIN.openssl= no | | 29 | CHECK_BUILTIN.openssl= no |
30 | .if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) | | 30 | .if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) |