summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/logrotate
Commit message (Collapse)AuthorAgeFilesLines
* recipes: Remove PR = r0 from all recipesRichard Purdie2013-10-301-1/+0
| | | | | | | | | | | | | Remove all PR = "r0" from all .bb files in oe-core. This was done with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). (From OE-Core rev: 58ae94f1b06d0e6234413dbf9869bde85f154c85) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* logrotate: fix for CVE-2011-1548Wenzong Fan2013-06-252-0/+44
| | | | | | | | | | | | | | | 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 (From OE-Core rev: d0e3fc1b28fc16200adbe690aa27124041036ba3) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* upgrade logrotate: update the recipeRobert Yang2012-03-191-4/+7
| | | | | | | | | | update the recipe: ogrotate_3.7.9.bb -> logrotate_3.8.1.bb (From OE-Core rev: 9dc1a8c793e1908032be0f0ea3b3f0832b1bf5aa) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* upgrade logrotate: split the old patch into 3Robert Yang2012-03-193-60/+89
| | | | | | | | | | Split the old patch into 3 during upgrading, this makes it easier for the future's upgrade. (From OE-Core rev: 2ec5f1eab1f3d2eeff9f3984654a3fb4d87679e7) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* logrotate 3.7.9: Allow rotate log across filesystemsRobert Yang2012-03-082-2/+157
| | | | | | | | | | | | | | | | | | | 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] (From OE-Core rev: fca0a2c597ab40d55da768dac4088234b9b0d773) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* logrotate: Add dependency on popt lib.Stefan Schmidt2011-12-021-2/+2
| | | | | | | | | | | Without this logrotate may fail like this: compilation terminated. | config.c:9:18: fatal error: popt.h: No such file or directory (From OE-Core rev: 67c0878c31b564a53b176b135b1a58155a2b5f4e) Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | | | 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. (From OE-Core rev: d122343362669c683acc4af295971a62cbc823fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* logrotate: Add new logrotate packageXiaofeng Yan2010-09-021-0/+28
logrotate allows for the rotation, compression and removal of system log file Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>