diff --git a/packages/cronie/build.sh b/packages/cronie/build.sh index a4f6c0799..2aff00ab6 100644 --- a/packages/cronie/build.sh +++ b/packages/cronie/build.sh @@ -2,6 +2,7 @@ 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_VERSION=1.5.5 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/cronie-crond/cronie/releases/download/cronie-${TERMUX_PKG_VERSION}/cronie-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=be34c79505e5544323281854744b9955ff16b160ee569f9df7c0dddae5720eac TERMUX_PKG_DEPENDS="bash" diff --git a/packages/cronie/fix-default-environment.patch b/packages/cronie/fix-default-environment.patch new file mode 100644 index 000000000..9c91f93fd --- /dev/null +++ b/packages/cronie/fix-default-environment.patch @@ -0,0 +1,35 @@ +--- cronie-1.5.5/src/env.c 2019-04-15 11:41:50.000000000 +0300 ++++ cronie-1.5.5.mod/src/env.c 2020-07-10 19:23:38.370596567 +0300 +@@ -123,21 +123,18 @@ + int env_set_from_environ(char ***envpp) { + static const char *names[] = { + "LANG", +- "LC_CTYPE", +- "LC_NUMERIC", +- "LC_TIME", +- "LC_COLLATE", +- "LC_MONETARY", +- "LC_MESSAGES", +- "LC_PAPER", +- "LC_NAME", +- "LC_ADDRESS", +- "LC_TELEPHONE", +- "LC_MEASUREMENT", +- "LC_IDENTIFICATION", +- "LC_ALL", +- "LANGUAGE", + "RANDOM_DELAY", ++ "ANDROID_ART_ROOT", ++ "ANDROID_DATA", ++ "ANDROID_I18N_ROOT", ++ "ANDROID_ROOT", ++ "ANDROID_RUNTIME_ROOT", ++ "ANDROID_TZDATA_ROOT", ++ "BOOTCLASSPATH", ++ "DEX2OATBOOTCLASSPATH", ++ "EXTERNAL_STORAGE", ++ "PREFIX", ++ "TMPDIR", + NULL + }; + const char **name;