Commit Graph

41 Commits

Author SHA256 Message Date
Tomáš Chvátal
a570e5ba03 - Version upbdate to 3.11.0:
* Merges from distribution patchsets and small fixes around

OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=59
2017-01-05 14:16:10 +00:00
Tomáš Chvátal
aa3e4cc2dd - Remove all patches merged upstream:
* logrotate-addextension.patch
  * logrotate-autoext.patch
  * logrotate-conf.patch
  * logrotate-fix-test62_with_bash-4.4.patch
  * logrotate-manpage_config_clarification.patch
  * logrotate-var-lib-misc.patch
  * logrotate-3.7.8-suse.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=57
2016-12-28 11:32:47 +00:00
Tomáš Chvátal
d174a91fcb - Fix post scriptlet condition bnc#1011120
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=53
2016-11-21 12:04:31 +00:00
Tomáš Chvátal
ca1e0ce6d9 Accepting request 440124 from home:kukuk:branches:Base:System
- Move logrotate.status to /var/lib/misc following FHS/LSB and
  making implementing read-only root filesystem much easier.
  [FATE#322036]

OBS-URL: https://build.opensuse.org/request/show/440124
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=50
2016-11-14 13:39:27 +00:00
Tomáš Chvátal
841db056ae - Version update to 3.10.0:
* Update url to point to github
- Remove upstreamed patch:
  * logrotate-3.7.8-mess_err.patch
- Rebase patches:
  * logrotate-3.7.8-suse.patch
  * logrotate-addextension.patch
  * logrotate-autoext.patch
  * logrotate-fix-test62_with_bash-4.4.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=48
2016-10-05 11:39:50 +00:00
e408d24b71 Accepting request 432966 from home:dimstar:Factory
- Add logrotate-fix-test62_with_bash-4.4.patch: Fix the test suite
  when running with bash 4.4 (gh#logrotate/logrotate#66).

OBS-URL: https://build.opensuse.org/request/show/432966
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=47
2016-10-04 11:00:37 +00:00
Vítězslav Čížek
e3491e0b97 Accepting request 313088 from home:kstreitova:branches:Base:System
- update to 3.9.1
  * 3.9.1
    - Fix off-by-one error which can lead to crash when copytruncate
      is used.
  * 3.9.0
    - Fix crash when using long dateformat. [nmerdan]
    - Add support for %H dateformat. [czchen]
    - Fix regression introduced in 3.8.9 when when rotating multiple
      logs when one of them is missing.
    - In the debug mode, do not skip the code-path which handles the
      case when the last rotation does not exist. [Sergey Vidishev]
    - Show more precise description when "log does not need rotating".
    - Add new -l option to log verbose output to file. The file is
      overwritten on every logrotate execution.
    - Allow rotation of sparse files with copytruncate.
  * update logrotate-addextension.patch
- use spec-cleaner
- remove unused PreReq tags

OBS-URL: https://build.opensuse.org/request/show/313088
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=45
2015-06-22 14:28:41 +00:00
Vítězslav Čížek
91d1979214 Accepting request 308064 from home:elvigia:branches:Base:System
- Enable Persistent timer since we are now in systemd 219.

OBS-URL: https://build.opensuse.org/request/show/308064
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=43
2015-05-20 18:59:04 +00:00
Vítězslav Čížek
4b4b26c1fb Accepting request 286929 from home:posophe:branches:Base:System
Update

OBS-URL: https://build.opensuse.org/request/show/286929
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=41
2015-02-20 12:18:45 +00:00
f713634cc4 Accepting request 228893 from home:elvigia:branches:Base:System
- BuildRequire systemd 197 or later.

- Migrate from cron to systemd timer units, this is overall 
  the most important package to migrate since it is one 
  of the very few base components that hard-require cron.

OBS-URL: https://build.opensuse.org/request/show/228893
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=35
2014-04-03 15:12:24 +00:00
Cristian Rodríguez
b7eabb9739 Accepting request 228751 from home:vitezslav_cizek:branches:Base:System
- return error when nomissingok is specified and the log path
  doesn't exist (bnc#871217)
  * added logrotate-fail_if_ENOENT_and_nomissingok.patch

OBS-URL: https://build.opensuse.org/request/show/228751
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=34
2014-04-03 00:23:52 +00:00
Dr. Werner Fink
a5182a2eb4 Accepting request 206599 from home:rudi_m:branches:Base:System
- enable acl support to preserve ACLs during rotation

OBS-URL: https://build.opensuse.org/request/show/206599
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=32
2013-11-13 07:50:35 +00:00
Vítězslav Čížek
6194b5c0cd Accepting request 206232 from home:rudi_m:branches:Base:System
- update to 3.8.7, fix bnc#849436
- Changelog 3.8.7:
  * Fixed --force/-f option handling together with "size" directive
    (3.8.5 regression).
  * Use "logrotate_tmp_t" context for SELinux tests and if this
    context does not exist, skip SELinux related tests.
- Changelog 3.8.6
  * Fixed memory corruption caused by rotation directory which
    does not exist with "sharedscripts" together with "prerotate"
    script.

OBS-URL: https://build.opensuse.org/request/show/206232
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=30
2013-11-11 10:55:34 +00:00
Vítězslav Čížek
2216b30975 Accepting request 195700 from home:vitezslav_cizek:branches:Base:System
- install COPYING file (bnc#817870)

OBS-URL: https://build.opensuse.org/request/show/195700
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=28
2013-08-23 12:06:43 +00:00
4a255b0af8 Accepting request 185585 from home:vitezslav_cizek:branches:Base:System
- mention in the manpage that = is an allowed separator in the
  config file (bnc#831072)
  * added logrotate-manpage_config_clarification.patch

OBS-URL: https://build.opensuse.org/request/show/185585
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=26
2013-08-02 14:50:50 +00:00
4495f5c112 Accepting request 184333 from home:vitezslav_cizek:branches:Base:System
- update to 3.8.5
  * dropped logrotate-3.7.9-compressoptions.patch (upstream)
  * refreshed other patches
  Changelog:
  - Improved rotation during daylight saving time and between timezone
    changes.
  - Fixed ACL setting problem caused by ext3 erroneously reporting ENOSYS
    instead of ENOSUP.
  - Do not continue with rotation if state file is corrupted.
  - Make logrotate.status creation atomic.
  - Allow "hourly" rotation. See manpage for more information.
  - Use "/bin/echo" in tests. Fixes tests execution in Dash.
  - Do no try to parse config files bigger than 16MB.
  - Improved manpage consistency and formatting.
  - Fix race condition between acl_set_fd() and fchmod().
  - Added --version command line option
  - Disable ACL tests if logrotate is not compiled WITH_ACL support or if 
    ACLs are not supported by the system running tests
  - Disable SELinux tests if logrotate is not compiled WITH_SELINUX support
    or if SELinux is not supported by the system running tests
  - Fixed bug which prevented skipping particular log file config
    if the config contained errors.
  - Fixed skipping of configs containing firstaction/lastaction scripts
    with '}' character in case of error before these scripts.
  - Support also 'K' unit for *size directives.
  - Added preremove option to let admin to do something with the old logs
    before they are removed by logrotate.
  - Fixed possible loop in tabooext parsing.
  - Move code to set SELinux context before compressLogFile calls to create
    compressed log files with the proper context.

OBS-URL: https://build.opensuse.org/request/show/184333
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=24
2013-07-25 15:40:16 +00:00
1faea0988c Accepting request 171009 from home:m_meister:branches:openSUSE:Factory
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/171009
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=22
2013-04-17 08:06:58 +00:00
db8b0952bc Accepting request 86412 from home:uli_suse:branches:Base:System
- cross-build fix: use %__cc macro

OBS-URL: https://build.opensuse.org/request/show/86412
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=20
2011-10-04 08:33:38 +00:00
OBS User buildservice-autocommit
8cfb015daa Updating link to change in openSUSE:Factory/logrotate revision 30.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=57cbc97bb73d6ecb684f0029d073a5d3
2011-09-13 10:37:58 +00:00
Michal Vyskocil
a7ebe2d3f3 Accepting request 81574 from home:vitezslav_cizek:branches:Base:System
- update to 3.8.1
- dropped CVE patches as they were merged to upstream
- changelog
  - fixed 1 memory leak in prerotateSingleLog
  - do not redirect logrotate errors to /dev/null in cron script
  - fixed "size" directive parsing
  - handle situation when acl_get_fd is supported, but acl_set_fd is not
  - added "maxsize" directive (see man page)
  - added "dateyesterday" option (see man page)
  - fixed crash when config file had exactly 4096*N bytes
  - added WITH_ACL make option to link against -lacl and preserve ACLs
    during rotation
  - added "su" option to define user/group for rotation. Logrotate now
    skips directories which are world writable or writable by group
    which is not "root" unless "su" directive is used.
  - fixed CVE-2011-1098: race condition by creation of new files
  - fixed possible shell injection when using "shred" directive (CVE-2011-1154)
  - fixed escaping of file names within 'write state' action (CVE-2011-1155)
  - better 'size' directive description
  - fixed possible buffer-overflow when reading config files

OBS-URL: https://build.opensuse.org/request/show/81574
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=18
2011-09-13 09:24:51 +00:00
OBS User buildservice-autocommit
0ee507bd2a Updating link to change in openSUSE:Factory/logrotate revision 28.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=914f6e536f758cb8b13f87b5e15e0f95
2011-09-07 15:55:32 +00:00
Cristian Rodríguez
b359c29be2 Accepting request 81344 from home:vitezslav_cizek:branches:Base:System
- allow whitespace separated options in compressoptions (bnc#711780)

OBS-URL: https://build.opensuse.org/request/show/81344
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=16
2011-09-07 14:34:08 +00:00
OBS User buildservice-autocommit
51858f8853 Updating link to change in openSUSE:Factory/logrotate revision 26.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=eef1c4649c5aad3b1efbd03d11476a20
2011-08-15 07:41:19 +00:00
Cristian Rodríguez
ded26fb957 Accepting request 78660 from home:jengelh:dev
- Change compression scheme to xz. This should give smaller resulting filesizes.

OBS-URL: https://build.opensuse.org/request/show/78660
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=14
2011-08-12 19:00:30 +00:00
OBS User buildservice-autocommit
6691855738 Updating link to change in openSUSE:Factory/logrotate revision 24.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=1641b2e026bbbe01d448bd2efaae1c49
2011-05-19 07:46:17 +00:00
Cristian Rodríguez
ad349c46b4 Accepting request 70307 from home:puzel:branches:Base:System
- add logrotate-CVE-2011-1098.patch (bnc#677336)
- add logrotate-shred-CVE-2011-1154.patch (bnc#679661)
- add logrotate-CVE-2011-1155.patch (bnc#679662)

OBS-URL: https://build.opensuse.org/request/show/70307
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=12
2011-05-18 17:37:01 +00:00
OBS User buildservice-autocommit
4aeeca5915 Updating link to change in openSUSE:Factory/logrotate revision 19.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=5a26a0fe1feb8e0da19cc9746b16a93a
2010-09-17 19:25:24 +00:00
OBS User autobuild
99aa203f9d Accepting request 45720 from Base:System
Copy from Base:System/logrotate based on submit request 45720 from user puzel

OBS-URL: https://build.opensuse.org/request/show/45720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=18
2010-08-24 15:44:55 +00:00
OBS User autobuild
fafa86457b Accepting request 29004 from Base:System
Copy from Base:System/logrotate based on submit request 29004 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=14
2010-01-14 15:32:06 +00:00
OBS User unknown
1303a84ead OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=12 2009-03-08 23:25:57 +00:00
OBS User unknown
2507ecb4d6 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=11 2008-12-15 13:55:18 +00:00
OBS User unknown
6f31d348ec OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=10 2008-10-22 16:21:48 +00:00
OBS User unknown
499708bd34 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=9 2008-10-06 16:28:19 +00:00
OBS User unknown
f5d52c0cd9 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=8 2008-09-05 22:08:20 +00:00
OBS User unknown
54576b2005 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=7 2008-08-26 00:14:45 +00:00
OBS User unknown
b367a13fa4 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=6 2008-08-21 22:41:47 +00:00
OBS User unknown
0b1ffa9500 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=5 2008-08-14 22:58:09 +00:00
OBS User unknown
9263cf655b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=4 2008-01-31 23:45:45 +00:00
OBS User unknown
5a41a7a436 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=3 2007-10-31 17:34:21 +00:00
OBS User unknown
8fcaee7cda OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=2 2007-08-16 16:19:25 +00:00
OBS User unknown
0c192715da OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=1 2007-01-15 23:24:09 +00:00