summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-01 11:10:26 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-10-01 11:10:26 (GMT)
commitf0577e91e82a39db849f3f2bcff8c73972cc8fc5 (patch)
treec0d235518c470921e6b8b1296d5d84b1bdc1efd0
parentdb822bd63880b28cd1a5ce50bc35ec46cb2e534d (diff)
parentdbfa557b4b7118ea6cb9d353cb264acafdecf332 (diff)
downloaddefinitions-f0577e91e82a39db849f3f2bcff8c73972cc8fc5.tar.gz
Merge branch 'baserock/pedroalvarez/ca-certificates2'
Reviewed-by: Paul Sherwood Reviewed-by: Richard Maw
-rw-r--r--strata/core.morph9
-rw-r--r--strata/core/ca-certificates.morph18
2 files changed, 27 insertions, 0 deletions
diff --git a/strata/core.morph b/strata/core.morph
index 14bdf71..f0f2287 100644
--- a/strata/core.morph
+++ b/strata/core.morph
@@ -166,6 +166,14 @@ chunks:
- cpython
- libtool
- xz
+- name: ca-certificates
+ morph: strata/core/ca-certificates.morph
+ repo: upstream:ca-certificates
+ ref: e9b06b26d9e57444e74a5cb6beca3f12726fc3c6
+ unpetrify-ref: baserock/debian/20140325
+ build-depends:
+ - automake
+ - cpython
- name: curl
morph: strata/core/curl.morph
repo: upstream:curl
@@ -176,6 +184,7 @@ chunks:
- automake
- libtool
- openssl-new
+ - ca-certificates
- name: libexpat
morph: strata/core/libexpat.morph
repo: upstream:libexpat
diff --git a/strata/core/ca-certificates.morph b/strata/core/ca-certificates.morph
new file mode 100644
index 0000000..3072e4f
--- /dev/null
+++ b/strata/core/ca-certificates.morph
@@ -0,0 +1,18 @@
+name: ca-certificates
+kind: chunk
+build-system: autotools
+configure-commands: []
+pre-install-commands:
+- mkdir -p "$DESTDIR"/usr/share/ca-certificates
+- mkdir -p "$DESTDIR"/usr/sbin
+post-install-commands:
+- mkdir "$DESTDIR"/etc
+- |
+ cd "$DESTDIR"/usr/share/ca-certificates
+ find * -type f > "$DESTDIR"/etc/ca-certificates.conf
+- |
+ export CERTSCONF="$DESTDIR/etc/ca-certificates.conf"
+ export CERTSDIR="$DESTDIR/usr/share/ca-certificates"
+ export ETCCERTSDIR="$DESTDIR/etc/ssl/certs"
+ mkdir -p "$ETCCERTSDIR"
+ ./sbin/update-ca-certificates