[Lunar-commits] <moonbase-core> ca-certificates: moved from other

Stefan Wold ratler at lunar-linux.org
Sun Oct 5 21:54:23 CEST 2014


commit 1adb838d57f77e1e6017e8e27876bf423cfd5b8e
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sun, 05 Oct 2014 21:54:00 +0200
URL: https://github.com/lunar-linux/moonbase-core/commit/1adb838d57f77e1e6017e8e27876bf423cfd5b8e

ca-certificates: moved from other
---
  crypto/ca-certificates/BUILD        | +16/-0    
  crypto/ca-certificates/DEPENDS      | +3/-0     
  crypto/ca-certificates/DETAILS      | +22/-0    
  crypto/ca-certificates/POST_INSTALL | +1/-0     
  crypto/ca-certificates/PRE_BUILD    | +3/-0     
  5 files changed, 45 insertions(+)

--- /dev/null
+++ b/crypto/ca-certificates/BUILD
@@ -0,0 +1,16 @@
+  make             &&
+  prepare_install  &&
+  install -d -m755 /{etc/ca-certificates/updates.d,usr/{sbin,share/ca-certificates},etc/ssl/certs}  &&
+  install -D -m644 sbin/update-ca-certificates.8 /usr/share/man/man8/update-ca-certificates.8  &&
+  make install     &&
+
+  (
+    cd /usr/share/ca-certificates
+    find . -name '*.crt' | sort | cut -b3-
+  ) > /etc/ca-certificates.conf &&
+
+  # Make CA bundle present in the most popular places.
+  mkdir -p /etc/pki/tls /usr/share/ssl &&
+  ln -sf /etc/ssl/certs /etc/pki/tls/certs &&
+  ln -sf /etc/ssl/certs /usr/share/ssl/certs &&
+  ln -sf /etc/ssl/certs/ca-{certificates,bundle}.crt
--- /dev/null
+++ b/crypto/ca-certificates/DEPENDS
@@ -0,0 +1,3 @@
+depends Python
+
+optional_depends "cron-common" "" "" "for adding/updating new certificates"
--- /dev/null
+++ b/crypto/ca-certificates/DETAILS
@@ -0,0 +1,22 @@
+          MODULE=ca-certificates
+         VERSION=20140325
+          SOURCE=${MODULE}_$VERSION.tar.xz
+         SOURCE2=$MODULE-update.patch.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
+      SOURCE_URL=http://ftp.debian.org/debian/pool/main/c/$MODULE
+     SOURCE2_URL=$PATCH_URL
+      SOURCE_VFY=sha1:36818098ba0a43486384853a73a22bd9c8c99cfd
+     SOURCE2_VFY=sha1:cef03ad446f6f13aaacd05bae3c7ad8e9cff304b
+        WEB_SITE=http://packages.qa.debian.org/c/ca-certificates.html
+         ENTERED=20100405
+         UPDATED=20140401
+           SHORT="common CA certificates"
+
+cat << EOF
+This module includes PEM files of CA certificates to allow SSL-based
+applications to check for the authenticity of SSL connections.
+Please note that certificate authorities whose certificates are included
+in this package are not in any way audited for trustworthiness and RFC 3647
+compliance, and that full responsibility to assess them belongs to the
+local system administrator.
+EOF
--- /dev/null
+++ b/crypto/ca-certificates/POST_INSTALL
@@ -0,0 +1 @@
+/usr/sbin/update-ca-certificates --fresh
--- /dev/null
+++ b/crypto/ca-certificates/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+
+patch_it $SOURCE2 1




More information about the Lunar-commits mailing list