← recipes

Commit 1fd8eb4

0
plików
+0
dodanych
-0
usuniętych
@@ -0,0 +1,60 @@
1 +pkgname: ca-certificates
2 +pkgver: '20240203'
3 +pkgrel: '1'
4 +pkgdesc: Common CA certificates from Mozilla
5 +url: 'https://tracker.debian.org/pkg/ca-certificates'
6 +arch: noarch
7 +license:
8 +- GPL-2.1-or-later
9 +- MPL-2.0
10 +depends:
11 +- bash
12 +- coreutils
13 +- openssl
14 +- python3
15 +makedepends:
16 +- python3
17 +- openssl
18 +source:
19 +- 'https://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20240203.tar.xz'
20 +sha256sums:
21 +- SKIP
22 +
23 +build: |
24 + cd ca-certificates*/
25 + make
26 +
27 +package: |
28 + cd ca-certificates*/
29 +
30 + # Przygotowanie katalogów docelowych w PKGDIR
31 + install -d -m0755 "${PKGDIR}"/usr/share/ca-certificates
32 + install -d -m0755 "${PKGDIR}"/usr/sbin
33 + install -d -m0755 "${PKGDIR}"/etc/ssl/certs
34 + install -d -m0755 "${PKGDIR}"/etc/ca-certificates/update.d
35 +
36 + # Instalacja certyfikatów i narzędzi
37 + make install DESTDIR="${PKGDIR}"
38 +
39 + # Wygenerowanie powiązań i pliku ca-certificates.crt podczas budowania
40 + install -m0755 sbin/update-ca-certificates "${PKGDIR}"/usr/sbin/
41 +
42 + # Przygotowanie pliku konfiguracyjnego dla update-ca-certificates
43 + (
44 + cd "${PKGDIR}"/usr/share/ca-certificates
45 + find . -name '*.crt' | sed 's/^\.\///'
46 + ) > "${PKGDIR}"/etc/ca-certificates.conf
47 +
48 +footprint: |
49 + etc/
50 + etc/ca-certificates.conf
51 + etc/ca-certificates/
52 + etc/ca-certificates/update.d/
53 + etc/ssl/
54 + etc/ssl/certs/
55 + usr/
56 + usr/sbin/
57 + usr/sbin/update-ca-certificates
58 + usr/share/
59 + usr/share/ca-certificates/
60 + usr/share/ca-certificates/mozilla/