summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/recipes-extended/cronie
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/meta/recipes-extended/cronie')
-rw-r--r--external/poky/meta/recipes-extended/cronie/cronie/crond_pam_config.patch16
-rw-r--r--external/poky/meta/recipes-extended/cronie/cronie_1.5.5.bb (renamed from external/poky/meta/recipes-extended/cronie/cronie_1.5.2.bb)5
2 files changed, 11 insertions, 10 deletions
diff --git a/external/poky/meta/recipes-extended/cronie/cronie/crond_pam_config.patch b/external/poky/meta/recipes-extended/cronie/cronie/crond_pam_config.patch
index 6c928165..c374790d 100644
--- a/external/poky/meta/recipes-extended/cronie/cronie/crond_pam_config.patch
+++ b/external/poky/meta/recipes-extended/cronie/cronie/crond_pam_config.patch
@@ -4,19 +4,19 @@ configure files instead.
Upstream-Status: Pending
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
-Index: cronie-1.5.1/pam/crond
-===================================================================
---- cronie-1.5.1.orig/pam/crond
-+++ cronie-1.5.1/pam/crond
+diff --git a/pam/crond b/pam/crond
+index 560529d..95a6457 100644
+--- a/pam/crond
++++ b/pam/crond
@@ -4,8 +4,8 @@
#
# Although no PAM authentication is called, auth modules
# are used for credential setting
--auth include password-auth
+-auth include system-auth
+auth include common-auth
account required pam_access.so
--account include password-auth
-+account include common-account
+-account include system-auth
++account include common-auth
session required pam_loginuid.so
--session include password-auth
+-session include system-auth
+session include common-session-noninteractive
diff --git a/external/poky/meta/recipes-extended/cronie/cronie_1.5.2.bb b/external/poky/meta/recipes-extended/cronie/cronie_1.5.5.bb
index 3abca7f9..0def4a18 100644
--- a/external/poky/meta/recipes-extended/cronie/cronie_1.5.2.bb
+++ b/external/poky/meta/recipes-extended/cronie/cronie_1.5.5.bb
@@ -25,8 +25,8 @@ SRC_URI = "https://github.com/cronie-crond/cronie/releases/download/cronie-${PV}
PAM_SRC_URI = "file://crond_pam_config.patch"
PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid"
-SRC_URI[md5sum] = "703314f58a49ea136e9966d3937d9bf4"
-SRC_URI[sha256sum] = "370bf34641691489330e708bd4cdbd779267296a030668a12f77b7e36872fd75"
+SRC_URI[md5sum] = "351a37d0b5bd0144816724b4482747ad"
+SRC_URI[sha256sum] = "be34c79505e5544323281854744b9955ff16b160ee569f9df7c0dddae5720eac"
inherit autotools update-rc.d useradd systemd
@@ -34,6 +34,7 @@ PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit,"
PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,${PAM_DEPS}"
+PACKAGECONFIG[anacron] = "--enable-anacron,--disable-anacron,anacron"
INITSCRIPT_NAME = "crond"
INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."