Commit 3d4ae673 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

component/logrotate: version up 3.11.0 to avoid strange 'bad compress path' errors.

also install logrotate binary under ${logrotate:location}/sbin instead
of ${logrotate:location}/usr/sbin, still keeping the backward compatibility.
parent fd1064e6
...@@ -2,17 +2,17 @@ ...@@ -2,17 +2,17 @@
extends = extends =
../patch/buildout.cfg ../patch/buildout.cfg
../popt/buildout.cfg ../popt/buildout.cfg
../xz-utils/buildout.cfg
parts = logrotate parts = logrotate
[logrotate] [logrotate]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
url = https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.7.9.tar.gz url = https://github.com/logrotate/logrotate/releases/download/3.11.0/logrotate-3.11.0.tar.xz
md5sum = eeba9dbca62a9210236f4b83195e4ea5 md5sum = 3a9280e4caeb837427a2d54518fbcdac
patch-options = -p1 # BBB this is only for backward-compatibility.
patches = post-install =
${:_profile_base_location_}/logrotate-3.7.9-O_CLOEXEC.optional.patch#6beac248c978b767d4bccc1b7eebe6bd ln -s . ${buildout:parts-directory}/${:_buildout_section_name_}/usr
configure-command = true
make-options = PREFIX=${buildout:parts-directory}/${:_buildout_section_name_}
environment = environment =
PATH=${patch:location}/bin:%(PATH)s PATH=${xz-utils:location}/bin:%(PATH)s
POPT_DIR=${popt:location}/include -L${popt:location}/lib -Wl,-rpath=${popt:location}/lib CPPFLAGS=-I${popt:location}/include
LDFLAGS=-L${popt:location}/lib -Wl,-rpath=${popt:location}/lib
  • strange 'bad compress path' errors are due to glibc > 2.22, like in Debian 9 ( a combination of having this change in libc and not this change in logrotate )

Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment