annotate src/msys2-ca-certificates.mk @ 6213:5f64fb928091 release

build-gcc: Avoid library clash when calling msgfmt. * src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when calling `msgfmt`. * dist-files.mk: Add patch to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 06 May 2022 19:36:10 +0200
parents 6e2e867b4210
children 1d9b775e3004
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5843
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE.
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 # See index.html for further information.
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 PKG := msys2-ca-certificates
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 $(PKG)_NAME := ca-certificates
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
6 $(PKG)_IGNORE :=
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
7 $(PKG)_VERSION := 20210119-1
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_x86_64_CS := 5c1c4a20b87ed27ba87b8a099b246a2eee5be7e8
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 $(PKG)_i686_CS := c2b2fe6e9a80c60f564fb50e9db40e88fba80e1c
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 $(PKG)_CS := $($(PKG)_$(MSYS2_ARCH)_CS)
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 $(PKG)_CHECKSUM := $($(PKG)_CS)
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12 $(PKG)_SUBDIR :=
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 $(PKG)_FILE := $($(PKG)_NAME)-$($(PKG)_VERSION)-$(MSYS2_ARCH).pkg.tar.zst
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14 $(PKG)_URL := $(MSYS2_URL)/$($(PKG)_NAME)-$($(PKG)_VERSION)-any.pkg.tar.zst
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15
5848
6e2e867b4210 * src/msys2-ca-certificates.mk: add post install script
John Donoghue <john.donoghue@ieee.org>
parents: 5843
diff changeset
16 $(PKG)_DEPS := msys2-openssl
5843
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 define $(PKG)_UPDATE
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 $(MSYS2_PKG_UPDATE)
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20 endef
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 define $(PKG)_BUILD
5848
6e2e867b4210 * src/msys2-ca-certificates.mk: add post install script
John Donoghue <john.donoghue@ieee.org>
parents: 5843
diff changeset
23 # we need do create a post install for the certs
6e2e867b4210 * src/msys2-ca-certificates.mk: add post install script
John Donoghue <john.donoghue@ieee.org>
parents: 5843
diff changeset
24 mkdir -p "$(1)/etc/post-install"
6e2e867b4210 * src/msys2-ca-certificates.mk: add post install script
John Donoghue <john.donoghue@ieee.org>
parents: 5843
diff changeset
25 cat "$(1)/.INSTALL" > "$(1)/etc/post-install/07-ca-certificates.post"
6e2e867b4210 * src/msys2-ca-certificates.mk: add post install script
John Donoghue <john.donoghue@ieee.org>
parents: 5843
diff changeset
26 echo "" >> "$(1)/etc/post-install/07-ca-certificates.post"
6e2e867b4210 * src/msys2-ca-certificates.mk: add post install script
John Donoghue <john.donoghue@ieee.org>
parents: 5843
diff changeset
27 echo "if [ ! -d /etc/pacman.d/gnupg ]" >> "$(1)/etc/post-install/07-ca-certificates.post"
6e2e867b4210 * src/msys2-ca-certificates.mk: add post install script
John Donoghue <john.donoghue@ieee.org>
parents: 5843
diff changeset
28 echo "then" >> "$(1)/etc/post-install/07-ca-certificates.post"
6e2e867b4210 * src/msys2-ca-certificates.mk: add post install script
John Donoghue <john.donoghue@ieee.org>
parents: 5843
diff changeset
29 echo " (cd / && post_install)" >> "$(1)/etc/post-install/07-ca-certificates.post"
6e2e867b4210 * src/msys2-ca-certificates.mk: add post install script
John Donoghue <john.donoghue@ieee.org>
parents: 5843
diff changeset
30 echo "fi" >> "$(1)/etc/post-install/07-ca-certificates.post"
6e2e867b4210 * src/msys2-ca-certificates.mk: add post install script
John Donoghue <john.donoghue@ieee.org>
parents: 5843
diff changeset
31
5843
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
32 $(MSYS2_PKG_BUILD)
674115b07109 msys2: add ca-certificates, msys2-which
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
33 endef