From f22a446c956960694262a69bdc69c56b9c3474b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 17 Sep 2019 09:24:18 +0200 Subject: Add app-misc/cznic-certificate --- .../cznic-certificate/cznic-certificate-2.ebuild | 25 ++++++++++++++ .../cznic-certificate/files/cz.nic2-cacert.pem | 40 ++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 app-misc/cznic-certificate/cznic-certificate-2.ebuild create mode 100644 app-misc/cznic-certificate/files/cz.nic2-cacert.pem (limited to 'app-misc') diff --git a/app-misc/cznic-certificate/cznic-certificate-2.ebuild b/app-misc/cznic-certificate/cznic-certificate-2.ebuild new file mode 100644 index 0000000..8d4e551 --- /dev/null +++ b/app-misc/cznic-certificate/cznic-certificate-2.ebuild @@ -0,0 +1,25 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Certification authority for CZ.NIC" +HOMEPAGE="https://wiki.nic.cz/public/cacert" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="app-misc/ca-certificates" +RDEPEND="${DEPEND}" +BDEPEND="" + + +src_install() { + insinto /usr/local/share/ca-certificates + newins "${FILESDIR}/cz.nic2-cacert.pem cz.nic2-cacert.crt +} + +pkg_postinst() { + "${EROOT%/}"/usr/sbin/update-ca-certificates --root "${ROOT}" +} + diff --git a/app-misc/cznic-certificate/files/cz.nic2-cacert.pem b/app-misc/cznic-certificate/files/cz.nic2-cacert.pem new file mode 100644 index 0000000..f56ebf3 --- /dev/null +++ b/app-misc/cznic-certificate/files/cz.nic2-cacert.pem @@ -0,0 +1,40 @@ +-----BEGIN CERTIFICATE----- +MIIHATCCBOmgAwIBAgIJAJxtRGsvNinfMA0GCSqGSIb3DQEBDAUAMIGGMQswCQYD +VQQGEwJDWjEPMA0GA1UEBxMGUHJhZ3VlMRkwFwYDVQQKExBDWi5OSUMsIHoucy5w +Lm8uMTE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