Browse Source

ca-certificates-2018.2.22-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11588 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 7 years ago
parent
commit
e024e56b88
1 changed files with 22 additions and 13 deletions
  1. 22 13
      c/ca-certificates/ca-certificates-vl.spec

+ 22 - 13
c/ca-certificates/ca-certificates-vl.spec

@@ -1,30 +1,36 @@
-# certdata.txt is generated by extracting it from Mozilla CVS.
-# This is done by running:
-#
-#   cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot   \
-#     co -p mozilla/security/nss/lib/ckfw/builtins/certdata.txt \
-#     > certdata.txt
-# 
-# Keep the RCS version in sync with the spec Version.
-
 %define pkidir %{_sysconfdir}/pki
 %define pkidir %{_sysconfdir}/pki
 
 
+# this year
+%define year 2018
+
+# latest nss release.
+# reference: https://hg.mozilla.org/projects/nss
+%define nss_version 3_36
+
+# NSS_BUILTINS_LIBRARY_VERSION from https://hg.mozilla.org/projects/nss/file/NSS_%{nss_version}_RTM/lib/ckfw/builtins/nssckbi.h
+%define ckbi_version 2.22
+
+%define java_version 1.8.0
+
 Summary: The Mozilla CA root certificate bundle
 Summary: The Mozilla CA root certificate bundle
 Summary(ja): Mozilla の CA ルート証明書バンドル
 Summary(ja): Mozilla の CA ルート証明書バンドル
 Name: ca-certificates
 Name: ca-certificates
-Version: 2015.2.6
-Release: 2%{?_dist_release}
+Version: %{year}.%{ckbi_version}
+Release: 1%{?_dist_release}
 License: MPL2
 License: MPL2
 Group: System Environment/Base
 Group: System Environment/Base
 URL: http://www.mozilla.org/
 URL: http://www.mozilla.org/
-Source0: certdata.txt
+Source0: https://hg.mozilla.org/projects/nss/raw-file/NSS_%{nss_version}_RTM/lib/ckfw/builtins/certdata.txt
 Source1: blacklist.txt
 Source1: blacklist.txt
 Source2: generate-cacerts.pl
 Source2: generate-cacerts.pl
 Source3: certdata2pem.py
 Source3: certdata2pem.py
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: perl, java-openjdk, python, rcs
+BuildRequires: perl, java-%{java_version}-openjdk-headless, python, rcs
 BuildArch: noarch
 BuildArch: noarch
 
 
+Vendor: Project Vine
+Distribution: Vine Linux.
+
 %description
 %description
 This package contains the set of CA certificates chosen by the
 This package contains the set of CA certificates chosen by the
 Mozilla Foundation for use with the Internet PKI.
 Mozilla Foundation for use with the Internet PKI.
@@ -119,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/ssl/certs
 %{_sysconfdir}/ssl/certs
 
 
 %changelog
 %changelog
+* Tue Mar 13 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2018.3.13-1
+- updated to 2.22.
+
 * Sun Nov 29 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2015.2.6-2
 * Sun Nov 29 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2015.2.6-2
 - changed "License:" to MPL2.
 - changed "License:" to MPL2.