summaryrefslogtreecommitdiffstats
path: root/rules/ca-certificates.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-04-22 12:51:47 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-04-27 10:38:36 +0200
commit559db310361aa1954d7dfdc16c8b4f8585dad3f3 (patch)
tree1e704e2581d3899b1747d020630640ba4e2ee4b7 /rules/ca-certificates.in
parentb18fa7efbda0256abff61966521ff4462edcb3f0 (diff)
downloadptxdist-559db310361aa1954d7dfdc16c8b4f8585dad3f3.tar.gz
ptxdist-559db310361aa1954d7dfdc16c8b4f8585dad3f3.tar.xz
ca-certificates: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/ca-certificates.in')
-rw-r--r--rules/ca-certificates.in49
1 files changed, 49 insertions, 0 deletions
diff --git a/rules/ca-certificates.in b/rules/ca-certificates.in
new file mode 100644
index 000000000..00679cd3c
--- /dev/null
+++ b/rules/ca-certificates.in
@@ -0,0 +1,49 @@
+## SECTION=networking
+
+menuconfig CA_CERTIFICATES
+ tristate
+ select HOST_SYSTEM_PERL if CA_CERTIFICATES_CERTS
+ select HOST_OPENSSL if CA_CERTIFICATES_CERTS
+ select OPENSSL if CA_CERTIFICATES_CERTS && BUILDTIME
+ prompt "ca-certificates "
+ help
+ Common CA certificates
+
+if CA_CERTIFICATES
+
+choice
+ prompt "install"
+
+config CA_CERTIFICATES_SELECT_BUNDLE
+ bool
+ select CA_CERTIFICATES_BUNDLE
+ prompt "bundle "
+ help
+ Install the certificate bundle to
+ /etc/ssl/certs/ca-certificates.crt
+
+config CA_CERTIFICATES_SELECT_CERTS
+ bool
+ select CA_CERTIFICATES_CERTS
+ prompt "files and hashes "
+ help
+ Install the certificate files and hashes to /etc/ssl/certs/
+
+config CA_CERTIFICATES_SELECT_BOTH
+ bool
+ select CA_CERTIFICATES_BUNDLE
+ select CA_CERTIFICATES_CERTS
+ prompt "both "
+ help
+ Install the certificate files and hashes to /etc/ssl/certs/
+ and the bundle to /etc/ssl/certs/ca-certificates.crt
+
+endchoice
+
+config CA_CERTIFICATES_BUNDLE
+ bool
+
+config CA_CERTIFICATES_CERTS
+ bool
+
+endif