summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/logrotate
AgeCommit message (Collapse)AuthorFiles
2013-06-25logrotate: fix for CVE-2011-1548Wenzong Fan2
If a logfile is a symlink, it may be read when being compressed, being copied (copy, copytruncate) or mailed. Secure data (eg. password files) may be exposed. Portback nofollow.patch from: http://logrotate.sourcearchive.com/downloads/3.8.1-5/logrotate_3.8.1-5.debian.tar.gz Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-19upgrade logrotate: update the recipeRobert Yang1
update the recipe: ogrotate_3.7.9.bb -> logrotate_3.8.1.bb Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-03-19upgrade logrotate: split the old patch into 3Robert Yang3
Split the old patch into 3 during upgrading, this makes it easier for the future's upgrade. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-03-08logrotate 3.7.9: Allow rotate log across filesystemsRobert Yang2
The logrotate can't save the log across the different filesystems since it used the "rename(const char *oldpath, const char *newpath)" to save the file, fix it to act as the "mv" command(first rename, if failed, read and write) to allow save the log across the different filesystems. * config.c: Remove the check for different filesystems * logrotate.c: Act as the "mv" command when rotate log * logrotate.8: Update the mannual * logrotate.8: Fix a bug in the mannual(\f should be \fR) [YOCTO #718] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-02logrotate: Add dependency on popt lib.Stefan Schmidt1
Without this logrotate may fail like this: compilation terminated. | config.c:9:18: fatal error: popt.h: No such file or directory Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
2011-07-01Drop PRIORITY variableRichard Purdie1
As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-12-09SRC_URI Checksums AdditionalsSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-09-02logrotate: Add new logrotate packageXiaofeng Yan1
logrotate allows for the rotation, compression and removal of system log file Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>