diff options
Diffstat (limited to 'src/tesserae')
| -rw-r--r-- | src/tesserae/fcron.nim | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/tesserae/fcron.nim b/src/tesserae/fcron.nim new file mode 100644 index 0000000..c19995f --- /dev/null +++ b/src/tesserae/fcron.nim @@ -0,0 +1,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" |
