summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cronie
AgeCommit message (Collapse)Author
2024-08-23cronie: add inotify PACKAGECONFIG optionJonathan GUILLOT
By default, cronie inspects crontab modtimes every minute to check for modications avoiding server restart for them to be taken in account. The inotify option allows the server to use this mechanism to be directly notified when a crontab is modified. Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02recipes: Update WORKDIR references to UNPACKDIRRichard Purdie
Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR references in recipe do_compile/do_install tasks to use UNPACKDIR in the appropraite places instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25cronie: upgrade 1.7.1 -> 1.7.2Wang Mingyu
Changelog: ============ *Revert setting the return path to <>. It is not RFC compliant. *Inherit MAILFROM from the crond process environment. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-24cronie: upgrade 1.7.0 -> 1.7.1Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-05cronie: upgrade 1.6.1 -> 1.7.0Wang Mingyu
Changelog: ============= * anacron: Add support for NO_MAIL_OUTPUT environment variable * anacron: Support enabling anacron jobs on battery power * crond: Support -n crontab entry option to disable mailing the output * crontab: Make a backup of the crontab file on edition and deletion Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-27cronie: add selinux PACKAGECONFIGMingli Yu
Add selinux PACKAGECONFIG logic in selinux layer[1] to conform to yocto compliance. [1] https://git.yoctoproject.org/meta-selinux/commit/?id=31325005e4409e08b7f68eed44a9c4086453e4dd Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-09-28meta: fix version checks in all github recipes using the github-releases classAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-05cronie: upgrade 1.6.0 -> 1.6.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29cronie: upgrade 1.5.7 -> 1.6.0wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie
license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}'Robert P. J. Day
Repo-wide replacement to use newer variable to represent systemd system unitdir directory. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30Convert to new override syntaxRichard Purdie
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09cronie: upgrade 1.5.5 -> 1.5.7Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-15cronie:fix SRC_URI pathStefano Babic
Signed-off-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-04cronie:upgrade 1.5.4 -> 1.5.5Wang Mingyu
-Added PACKAGECONFIG to solve compilation problems with musl. Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12cronie: update to 1.5.4Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-06-18cronie: upgrade to 1.5.2Maxin B. John
1.5.1 -> 1.5.2 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-05cronie: replace fedorahosted.org SRC_URI with github.com sourceChoong YinThong
fedorahosted.org was retired on March 1st, 2017. This is to update the SRC_URI to point to github.com. [YOCTO #11226] Signed-off-by: Choong YinThong <yin.thong.choong@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-01recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-04cronie: upgrade to 1.5.1Alejandro Hernandez
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-10-12cronie: clean up bugtracker infoMaxin B. John
Update bugtracker web address Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-22cronie: Upgrade v1.4.12 to v1.5.0Amarnath Valluri
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-25cronie: Added default crontabAlejandro Hernandez
Added default configuration to crontab, for instructive pruposes Added /etc/crontab to CONFFILES to avoid overwriting if updating via PMS [YOCTO 6644] Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-25cronie: Upgrade to 1.4.12Alejandro Hernandez
Fixed license BSD, it should've been BSD-3 & BSD-2 Added license GPLv2+ according to upstream Patch fix-out-of-tree-build removed; already on upstream. Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
2014-04-25Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-24cronie: add systemd supportChen Qi
Add systemd support for cronie. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02Revert "Add missing RDEPENDS of initscripts-functions"Chen Qi
Instead of manually adding initscripts to RDEPENDS of each package, we should make it automatically handled by the update-rc.d.bbclass. This solution would have the benefit of backward compatibility. In other words, users need not modify their recipes. This reverts commit 16080a3485bd793edd66ed8361f1e8b86a9e19ea. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-06Add missing RDEPENDS of initscripts-functionsChen Qi
Now that the initscripts-functions has been packaged separately, packages which may use the functions script should have a runtime dependency on it. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-27cronie: fix init.d/crond status return valueYue Tao
Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-18crond: remove UID check in init scriptJack Mitchell
this init script fails when the default shell is busybox sh. This is because busybox sh doesn't set the UID. No other init scripts in oecore feel the need to check the UID so just remove the check. Signed-off-by: Jack Mitchell <jmitchell@cbnl.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-26cronie: add PACKAGECONFIG dataJoe Slater
We add PACKAGECONFIG[] data for audit and move the current pam related stuff into it's own entry. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-19cronie: fix out of tree buildSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-16cronie: upgrade to 1.4.11Cristiana Voicu
LIC_FILES_CHKSUM changed because cron.h doesn't exist anymore. Replaced it with cron.c. Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-07cronie: Convert crontab to a system userRichard Purdie
crontab is meant to be a system user, not a normal user of the system so lets pass the correct parameters to the system. If we don't do this it interferes with the setup of normal users, particularly if some preset list of users is desired. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18cronie: Upgrade to v1.4.9Radu Moisan
Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-06cronie: use variables instead of hardcoded pathsJavier Martinez Canillas
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-30cronie: use useradd.bbclass instead of hardcoded groupadd callsMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-08-24cronie: Updates to cronieWenzong Fan
1) Add required pam plugins to RDEPENDS list; 2) Correct configure option that used for enable pam support; 3) Create empty crond config file cron.deny; 4) Don't set readonly variable UID in crond init script. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2011-08-16cronie: upgrade from 1.4.7 to 1.4.8Dexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-07-27cronie: enable PAM support for cronieWenzong Fan
Enable PAM support for cronie and update its pam config file 'crond'. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2011-05-27License Field Cleanup: Non-standard field namesBeth Flanagan
I've cleaned up some odd license fields, fixed some license names and corrected some incorrect licenses. LICENSE really needs a pass through by the maintainers as some of the licensing is incorrect. Also, every license with Artistic should be gone through and noted as which version of Artistic. Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
2011-04-21cronie 1.4.7: fix packagingKoen Kooi
Syslog is full with entries like: /usr/sbin/crond[773]: (CRON) STAT FAILED (/etc/cron.d): No such file or directory Checking the package yields Package cronie (1.4.6-r0) is installed on root and has the following files: /usr/sbin/crond /etc/init.d/crond /usr/bin/crontab /etc/sysconfig/crond Which is missing most of what do_install_append installs, this commit fixes that Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-18cronie: upgrade from 1.4.6 to the latest version 1.4.7Dexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-02-01cronie: enable multi-user crontab usage and make cron environment completeKevin Tian
fix [BUGID #673] several cron related test cases in LTP reveals that our current cron recipe is not complete: a) a complete cron hierarchy better have: /etc/crontab /etc/cron.d /etc/cron.hourly /etc/cron.daily /etc/cron.weekly /etc/cron.monthly b) for a normal user to use crontab command: add a new group - crontab /usr/bin/crontab is setgid to root:crontab /var/spool/cron is owned by root:crontab below are optional, and thus not included in the default setup: /etc/cron.deny /etc/cron.allow cronie by default only allows root user to use crontab, if neither cron.deny nor cron.allow exists. They are controlled by final policy deployed on the product. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-12-16recipes-extended: Add Summary informationMark Hatle
Add Summary information and update descriptions as necessary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-12-09SRC_URI Checksums AdditionalsSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-11-24cronie: Update to version 1.4.6Saul Wold
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-02cronie: add the latest version 1.4.4Dexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>