132 Commits

Author SHA256 Message Date
Tomáš Chvátal
02f452ffff - Remove aaa_base compat setting that is from 2003, we do not
support such migration anymore

OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=62
2017-07-07 08:29:47 +00:00
4046309628 Accepting request 448869 from Base:System
- Version update to 3.11.0:
  * Merges from distribution patchsets and small fixes around

OBS-URL: https://build.opensuse.org/request/show/448869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=55
2017-01-10 09:35:47 +00:00
Tomáš Chvátal
d626fcd04d x
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=60
2017-01-05 14:23:33 +00:00
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
Ludwig Nussel
82cd6bd6c3 Accepting request 447969 from Base:System
- 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/request/show/447969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=54
2017-01-04 18:27:49 +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
836b0f8d01 Accepting request 441975 from Base:System
- Version update to 3.10.0 fate#322037:

OBS-URL: https://build.opensuse.org/request/show/441975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=53
2016-12-02 15:36:21 +00:00
Tomáš Chvátal
3cacfc6449 - Version update to 3.10.0 fate#322037:
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=55
2016-11-25 10:57:36 +00:00
d3332e1931 Accepting request 441184 from Base:System
- Fix post scriptlet condition bnc#1011120

OBS-URL: https://build.opensuse.org/request/show/441184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=52
2016-11-23 12:35:29 +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
a1f3242212 Accepting request 440634 from Base:System
- Move logrotate.status to /var/lib/misc following FHS/LSB and
  making implementing read-only root filesystem much easier.
  [FATE#322036]
- Add patch:
  * logrotate-var-lib-misc.patch

OBS-URL: https://build.opensuse.org/request/show/440634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=51
2016-11-18 20:58:59 +00:00
Tomáš Chvátal
2f88303597 - Add patch:
* logrotate-var-lib-misc.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=51
2016-11-16 16:27:44 +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
1d79ba216b Accepting request 434552 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/434552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=50
2016-10-20 21:05:14 +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
Stephan Kulow
600f8350d9 Accepting request 313101 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/313101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=49
2015-07-05 15:57:32 +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
2429c2c572 Accepting request 308146 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/308146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=48
2015-05-22 14:32:31 +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
4fd493ff5f Accepting request 286942 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/286942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=47
2015-02-22 16:20:29 +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
Stephan Kulow
93d95d9672 Accepting request 239268 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/239268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=45
2014-07-10 06:16:32 +00:00
Tomáš Chvátal
06a1166f9a Accepting request 238782 from home:vitezslav_cizek:branches:Base:System
- temporarily remove the 'Persistent' option from logrotate.timer
  * our current systemd doesn't support it yet (bnc#884338)

OBS-URL: https://build.opensuse.org/request/show/238782
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=39
2014-07-02 09:30:13 +00:00
Stephan Kulow
22aac707b2 Accepting request 229041 from Base:System
- Also, avoid logrotate unit activation when the system is 
  on battery power. (forwarded request 228918 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/229041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=44
2014-04-05 14:47:48 +00:00
Stephan Kulow
0fa22a87a3 Accepting request 228918 from home:elvigia:branches:Base:System
- Also, avoid logrotate unit activation when the system is 
  on battery power.

OBS-URL: https://build.opensuse.org/request/show/228918
OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=37
2014-04-04 14:49:56 +00:00
Stephan Kulow
171d189605 Accepting request 228906 from 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. (forwarded request 228893 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/228906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=43
2014-04-04 14:32:05 +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
Tomáš Chvátal
d31eab9080 Accepting request 206708 from Base:System
- enable acl support to preserve ACLs during rotation (forwarded request 206599 from rudi_m)

OBS-URL: https://build.opensuse.org/request/show/206708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=42
2013-11-14 09:40:30 +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
Stephan Kulow
4324eb4280 Accepting request 206478 from 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. (forwarded request 206232 from vitezslav_cizek)

OBS-URL: https://build.opensuse.org/request/show/206478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=41
2013-11-12 08:50:40 +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
Tomáš Chvátal
870cf2ceb0 Accepting request 196105 from Base:System
- install COPYING file (bnc#817870) (forwarded request 195700 from vitezslav_cizek)

OBS-URL: https://build.opensuse.org/request/show/196105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=39
2013-08-24 08:14:25 +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
Stephan Kulow
fe703e743c Accepting request 185648 from Base:System
- mention in the manpage that = is an allowed separator in the
  config file (bnc#831072)
  * added logrotate-manpage_config_clarification.patch (forwarded request 185585 from vitezslav_cizek)

OBS-URL: https://build.opensuse.org/request/show/185648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=38
2013-08-04 14:56:44 +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
Stephan Kulow
9a9063c2bf Accepting request 184344 from 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. (forwarded request 184333 from vitezslav_cizek)

OBS-URL: https://build.opensuse.org/request/show/184344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=37
2013-07-27 13:47:59 +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
Stephan Kulow
100de0bbde Accepting request 171244 from Base:System
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls (forwarded request 171009 from m_meister)

OBS-URL: https://build.opensuse.org/request/show/171244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=36
2013-04-17 21:06:10 +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
Stephan Kulow
bcb99338bf replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=33
2011-12-06 17:27:12 +00:00
Ruediger Oertel
a9385727eb Accepting request 86421 from Base:System
- cross-build fix: use %__cc macro (forwarded request 86412 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/86421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=31
2011-10-04 16:13:25 +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
Sascha Peilicke
0a4b903433 Autobuild autoformatter for 81985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=30
2011-09-13 10:37:58 +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
Sascha Peilicke
abdf83059d Accepting request 81985 from 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 (forwarded request 81574 from vitezslav_cizek)

OBS-URL: https://build.opensuse.org/request/show/81985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=29
2011-09-13 10:37:53 +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
Sascha Peilicke
388022d2d0 Autobuild autoformatter for 81349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/logrotate?expand=0&rev=28
2011-09-07 15:55:32 +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