aboutsummaryrefslogtreecommitdiff
path: root/src/tesserae/extra/fcron.nim
blob: c19995f7f49d09b862239d946c1518f842fb7263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import .. / lapis

tessera "fcron":
  source: "http://fcron.free.fr/archives/fcron-3.4.0.src.tar.gz"
  patches: @[""]
  dependencies: @[""]
  build: @[
    """
    cat >> /etc/syslog.conf << "EOF"
    # Begin fcron addition to /etc/syslog.conf
    
    cron.* -/var/log/cron.log

    # End fcron addition
    EOF
    """,
    "/etc/rc.d/init.d/sysklogd reload",
    "groupadd -g 22 fcron",
    "useradd -d /dev/null -c \"Fcron User\" -g fcron -s /bin/false -u 22 fcron",
    "find doc -type f -exec sed -i 's:/usr/local::g' {} \\;",
    """
    .configure --prefix=/usr           \
               --sysconfdir=/etc       \
               --localstatedir=/var    \ 
               --without-sendmail      \
               --with-boot-install=neo \
               --with-systemdsystemunitdir=no
    """,
    "make",
    "make install"
  ]
  result: "fcron"
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.