changeset 187:65736f6be915

core/ca-certificates: initial import, closes #1389
author David Demelier <markand@malikania.fr>
date Sun, 17 Mar 2019 18:02:58 +0100
parents 102ff2b83825
children 33ca74ae7386
files core/ca-certificates/ca-certificates.sh
diffstat 1 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/ca-certificates/ca-certificates.sh	Sun Mar 17 18:02:58 2019 +0100
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+# Copyright (c) 2019 David Demelier <markand@malikania.fr>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+PKGNAME=ca-certificates
+PKGVERSION=20190123
+PKGREVISION=1
+PKGLICENSE="MPL20"
+PKGSUMMARY="bundle of CA certificates from Mozilla"
+PKGDOWNLOAD="https://curl.haxx.se/ca/cacert-2019-01-23.pem"
+
+build()
+{
+	install -Dm644 cacert-2019-01-23.pem $DESTDIR/etc/ssl/cert.pem
+}