From bdb038d367a70b571ec73ad462d72dbe566aa694 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 9 Dec 2019 23:30:23 +0300 Subject: add build files for scron --- extra/scron/build | 8 ++++++++ extra/scron/checksums | 2 ++ extra/scron/files/scron.run | 2 ++ extra/scron/files/sources | 2 ++ extra/scron/sources | 2 ++ extra/scron/version | 1 + 6 files changed, 17 insertions(+) create mode 100755 extra/scron/build create mode 100644 extra/scron/checksums create mode 100644 extra/scron/files/scron.run create mode 100644 extra/scron/files/sources create mode 100644 extra/scron/sources create mode 100644 extra/scron/version (limited to 'extra/scron') diff --git a/extra/scron/build b/extra/scron/build new file mode 100755 index 00000000..6564e5d3 --- /dev/null +++ b/extra/scron/build @@ -0,0 +1,8 @@ +#!/bin/sh -e + +make CC="${CC:-gcc}" +make PREFIX="$1/usr" MANPREFIX="$1/usr/share/man" install + + +# Install runit service +install -Dm755 scron.run "$1/etc/sv/scron/run" diff --git a/extra/scron/checksums b/extra/scron/checksums new file mode 100644 index 00000000..374072f7 --- /dev/null +++ b/extra/scron/checksums @@ -0,0 +1,2 @@ +4ae8225a3991e42e29791d981192c9daf5b9b02609f68775768fe1598ae2ce18 scron-0.4.tar.gz +c2801b0ed1b180f34fd8c0a858107ddf7e24c5354ac53a83a85c5877d4fb14ee scron.run diff --git a/extra/scron/files/scron.run b/extra/scron/files/scron.run new file mode 100644 index 00000000..041cdf0b --- /dev/null +++ b/extra/scron/files/scron.run @@ -0,0 +1,2 @@ +#!/bin/sh +exec scrond -n >>/var/log/cron 2>&1 diff --git a/extra/scron/files/sources b/extra/scron/files/sources new file mode 100644 index 00000000..f37d4a95 --- /dev/null +++ b/extra/scron/files/sources @@ -0,0 +1,2 @@ +https://dl.2f30.org/releases/scron-0.4.tar.gz +files/scron.run diff --git a/extra/scron/sources b/extra/scron/sources new file mode 100644 index 00000000..f37d4a95 --- /dev/null +++ b/extra/scron/sources @@ -0,0 +1,2 @@ +https://dl.2f30.org/releases/scron-0.4.tar.gz +files/scron.run diff --git a/extra/scron/version b/extra/scron/version new file mode 100644 index 00000000..2bea2661 --- /dev/null +++ b/extra/scron/version @@ -0,0 +1 @@ +0.4 1 -- cgit v1.2.3