|
4 | 4 | #
|
5 | 5 | ################################################################################
|
6 | 6 |
|
7 |
| -CA_CERTIFICATES_VERSION = 20190110 |
| 7 | +CA_CERTIFICATES_VERSION = 20141019 |
8 | 8 | CA_CERTIFICATES_SOURCE = ca-certificates_$(CA_CERTIFICATES_VERSION).tar.xz
|
9 |
| -CA_CERTIFICATES_SITE = http://snapshot.debian.org/archive/debian/20190513T145054Z/pool/main/c/ca-certificates |
| 9 | +CA_CERTIFICATES_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/c/ca-certificates |
10 | 10 | CA_CERTIFICATES_DEPENDENCIES = host-openssl host-python
|
11 |
| -CA_CERTIFICATES_LICENSE = GPL-2.0+ (script), MPL-2.0 (data) |
| 11 | +CA_CERTIFICATES_LICENSE = GPLv2+ (script), MPLv2.0 (data) |
12 | 12 | CA_CERTIFICATES_LICENSE_FILES = debian/copyright
|
13 | 13 |
|
14 | 14 | define CA_CERTIFICATES_BUILD_CMDS
|
15 |
| - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) clean all |
| 15 | + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all |
16 | 16 | endef
|
17 | 17 |
|
18 | 18 | define CA_CERTIFICATES_INSTALL_TARGET_CMDS
|
19 | 19 | $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/ca-certificates
|
20 | 20 | $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/ssl/certs
|
21 |
| - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) |
| 21 | + $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) |
22 | 22 | rm -f $(TARGET_DIR)/usr/sbin/update-ca-certificates
|
23 | 23 |
|
24 | 24 | # Remove any existing certificates under /etc/ssl/certs
|
25 | 25 | rm -f $(TARGET_DIR)/etc/ssl/certs/*
|
26 | 26 |
|
27 | 27 | # Create symlinks to certificates under /etc/ssl/certs
|
28 |
| - # and generate the bundle |
29 | 28 | cd $(TARGET_DIR) ;\
|
30 |
| - for i in `find usr/share/ca-certificates -name "*.crt" | LC_COLLATE=C sort` ; do \ |
| 29 | + for i in `find usr/share/ca-certificates -name "*.crt"` ; do \ |
31 | 30 | ln -sf ../../../$$i etc/ssl/certs/`basename $${i} .crt`.pem ;\
|
32 |
| - cat $$i ;\ |
33 |
| - done >$(@D)/ca-certificates.crt |
| 31 | + done |
34 | 32 |
|
35 | 33 | # Create symlinks to the certificates by their hash values
|
36 | 34 | $(HOST_DIR)/usr/bin/c_rehash $(TARGET_DIR)/etc/ssl/certs
|
37 |
| - |
38 |
| - # Install the certificates bundle |
39 |
| - $(INSTALL) -D -m 644 $(@D)/ca-certificates.crt \ |
40 |
| - $(TARGET_DIR)/etc/ssl/certs/ca-certificates.crt |
41 | 35 | endef
|
42 | 36 |
|
43 | 37 | $(eval $(generic-package))
|
0 commit comments