cronie: Update to 1.6.0
This commit is contained in:
parent
424e00b5f6
commit
4f35377123
@ -1,10 +1,11 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/cronie-crond/cronie/
|
||||
TERMUX_PKG_DESCRIPTION="Daemon that runs specified programs at scheduled times and related tools"
|
||||
TERMUX_PKG_LICENSE="BSD"
|
||||
TERMUX_PKG_LICENSE="ISC, BSD 2-Clause, BSD 3-Clause, GPL-2.0, LGPL-2.1"
|
||||
TERMUX_PKG_LICENSE_FILE="COPYING, COPYING.obstack"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.5.7
|
||||
TERMUX_PKG_VERSION=1.6.0
|
||||
TERMUX_PKG_SRCURL=https://github.com/cronie-crond/cronie/releases/download/cronie-${TERMUX_PKG_VERSION}/cronie-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=538bcfaf2e986e5ae1edf6d1472a77ea8271d6a9005aee2497a9ed6e13320eb3
|
||||
TERMUX_PKG_SHA256=3f7cc263d21838b53a9943eb2a26b862059e2ae36c3f11789ac33cd6818e3628
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_AUTO_UPDATE_TAG_REGEXP="\d+\.\d+\.\d+"
|
||||
TERMUX_PKG_DEPENDS="dash"
|
||||
|
@ -1,26 +1,29 @@
|
||||
diff -uNr cronie-1.5.7/src/cron.c cronie-1.5.7.mod/src/cron.c
|
||||
--- cronie-1.5.7/src/cron.c 2021-01-22 11:29:39.000000000 +0000
|
||||
+++ cronie-1.5.7.mod/src/cron.c 2021-05-03 18:37:15.040789324 +0000
|
||||
@@ -184,7 +184,9 @@
|
||||
fprintf(stderr, " -n run in foreground\n");
|
||||
@@ -186,7 +186,9 @@
|
||||
fprintf(stderr, " -p permit any crontab\n");
|
||||
fprintf(stderr, " -P use PATH=\"%s\"\n", _PATH_DEFPATH);
|
||||
fprintf(stderr, " -P inherit PATH from environment instead of using default value");
|
||||
fprintf(stderr, " of \"%s\"\n", _PATH_DEFPATH);
|
||||
+#ifndef __ANDROID__
|
||||
fprintf(stderr, " -c enable clustering support\n");
|
||||
+#endif
|
||||
fprintf(stderr, " -s log into syslog instead of sending mails\n");
|
||||
fprintf(stderr, " -V print version and exit\n");
|
||||
fprintf(stderr, " -x <flag> print debug information\n");
|
||||
@@ -689,7 +691,7 @@
|
||||
@@ -691,7 +693,11 @@
|
||||
static void parse_args(int argc, char *argv[]) {
|
||||
int argch;
|
||||
|
||||
- while (-1 != (argch = getopt(argc, argv, "hnpsiPx:m:cV"))) {
|
||||
+ while (-1 != (argch = getopt(argc, argv, "hnpsiPx:m:V"))) {
|
||||
+#ifdef __ANDROID__
|
||||
+ while (-1 != (argch = getopt(argc, argv, "hnfpsiPx:m:V"))) {
|
||||
+#else
|
||||
while (-1 != (argch = getopt(argc, argv, "hnfpsiPx:m:cV"))) {
|
||||
+#endif
|
||||
switch (argch) {
|
||||
case 'x':
|
||||
if (!set_debug_flags(optarg))
|
||||
@@ -713,9 +715,11 @@
|
||||
@@ -716,9 +722,11 @@
|
||||
case 'm':
|
||||
strncpy(MailCmd, optarg, MAX_COMMAND);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user