aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tesserae/make_ca.nim22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/tesserae/make_ca.nim b/src/tesserae/make_ca.nim
new file mode 100644
index 0000000..3d2c977
--- /dev/null
+++ b/src/tesserae/make_ca.nim
@@ -0,0 +1,22 @@
+import .. / lapis
+
+tessera "make_ca":
+ source: "https://github.com/lfs-book/make-ca/archive/v1.16.1/make-ca-1.16.1.tar.gz"
+ patches: @[""]
+ dependencies: @[
+ "p11_kit",
+ "fcron"
+ ]
+ build: @[
+ "make install",
+ "install -vdm755 /etc/ssl/local",
+ "/usr/sbin/make-ca -g",
+ """
+ cat > /etc/cron.weekly/update-pki.sh << "EOF" &&
+ #!/bin/bash
+ /usr/sbin/make-ca -g
+ EOF
+ """,
+ "chmod 754 /etc/cron.weekly/update-pki.sh"
+ ]
+ result: "make-ca"
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.