aboutsummaryrefslogtreecommitdiff
path: root/src/tesserae/extra/make_ca.nim
blob: 3d2c9775b2d0860b5ecbce524aeae92d44303083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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.