aboutsummaryrefslogtreecommitdiff
path: root/extra/scron
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 23:30:23 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 23:30:23 +0300
commitbdb038d367a70b571ec73ad462d72dbe566aa694 (patch)
treee92b56cde898bc0a0f417757b9d970fba31d8c92 /extra/scron
parentb232efbda91fcfadf3f3440ea22800b4141e440e (diff)
downloadrepository-bdb038d367a70b571ec73ad462d72dbe566aa694.tar.gz
add build files for scron
Diffstat (limited to 'extra/scron')
-rwxr-xr-xextra/scron/build8
-rw-r--r--extra/scron/checksums2
-rw-r--r--extra/scron/files/scron.run2
-rw-r--r--extra/scron/files/sources2
-rw-r--r--extra/scron/sources2
-rw-r--r--extra/scron/version1
6 files changed, 17 insertions, 0 deletions
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