2020-07-08 23:53:36 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/cronie-crond/cronie/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Daemon that runs specified programs at scheduled times and related tools"
|
2022-03-23 21:37:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="ISC, BSD 2-Clause, BSD 3-Clause, GPL-2.0, LGPL-2.1"
|
|
|
|
TERMUX_PKG_LICENSE_FILE="COPYING, COPYING.obstack"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-04-25 20:24:28 +02:00
|
|
|
TERMUX_PKG_VERSION="1.6.1"
|
2020-07-08 23:53:36 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/cronie-crond/cronie/releases/download/cronie-${TERMUX_PKG_VERSION}/cronie-${TERMUX_PKG_VERSION}.tar.gz
|
2022-04-25 20:24:28 +02:00
|
|
|
TERMUX_PKG_SHA256=2cd0f0dd1680e6b9c39bf1e3a5e7ad6df76aa940de1ee90a453633aa59984e62
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2022-04-01 09:41:46 +02:00
|
|
|
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+"
|
2020-07-10 23:55:45 +02:00
|
|
|
TERMUX_PKG_DEPENDS="dash"
|
2020-07-08 23:53:36 +02:00
|
|
|
TERMUX_PKG_RECOMMENDS="nano"
|
|
|
|
TERMUX_PKG_SUGGESTS="termux-services"
|
|
|
|
TERMUX_PKG_CONFLICTS="busybox (<< 1.31.1-11)"
|
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-anacron
|
|
|
|
--disable-pam
|
|
|
|
--with-editor=$TERMUX_PREFIX/bin/nano
|
|
|
|
"
|
|
|
|
|
|
|
|
TERMUX_PKG_SERVICE_SCRIPT=("crond" 'exec crond -n -s')
|
|
|
|
|
|
|
|
termux_step_create_debscripts() {
|
|
|
|
cat <<- EOF > ./postinst
|
|
|
|
#!$TERMUX_PREFIX/bin/sh
|
|
|
|
mkdir -p $TERMUX_PREFIX/var/run
|
|
|
|
mkdir -p $TERMUX_PREFIX/var/spool/cron
|
2021-02-26 20:50:17 +01:00
|
|
|
mkdir -p $TERMUX_PREFIX/etc/cron.d
|
2020-07-08 23:53:36 +02:00
|
|
|
EOF
|
|
|
|
}
|