Package Details: logrotate-selinux 3.12.3-1

Git Clone URL: https://aur.archlinux.org/logrotate-selinux.git (read-only)
Package Base: logrotate-selinux
Description: Rotates system logs automatically with SELinux support
Upstream URL: https://github.com/logrotate/logrotate
Keywords: selinux
Licenses: GPL
Groups: selinux
Conflicts: logrotate, selinux-logrotate
Provides: logrotate=3.12.3-1, selinux-logrotate=3.12.3-1
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 14
Popularity: 0.026058
First Submitted: 2014-05-30 18:26
Last Updated: 2017-07-08 13:27

Dependencies (4)

Required by (24)

Sources (3)

Latest Comments

IooNag commented on 2016-05-23 17:38

earciga: this looks like an issue for logrotate developers (logrotate package does not build from source with gcc 6.1.1 too): gcc complains about the indentation of postrotateSingleLog() in logrotate.c ( https://github.com/logrotate/logrotate/blob/8ba7323ce4867873bed1fc5e8b6ecee5c718a891/logrotate.c#L1788-L1804 ). Could you please report this issue upstream?

You can make this error non-fatal by adding this line right after 'cd "$srcdir/${pkgname}-${pkgver}"' in the PKGBUILD (this will remove the -Werror flag):
sed 's/^\(AM_CFLAGS = -Wall\) -Werror/\1/' -i Makefile.am

earciga commented on 2016-05-15 19:27

I get an error when compiling logrotate-selinux 3.9.2-1 and I am lost now.

Making all in test
make[1]: se entra en el directorio '/tmp/makepkg/logrotate-selinux/src/logrotate-3.9.2/test'
make[1]: No se hace nada para 'all'.
make[1]: se sale del directorio '/tmp/makepkg/logrotate-selinux/src/logrotate-3.9.2/test'
make[1]: se entra en el directorio '/tmp/makepkg/logrotate-selinux/src/logrotate-3.9.2'
gcc -DPACKAGE_NAME=\"logrotate\" -DPACKAGE_TARNAME=\"logrotate\" -DPACKAGE_VERSION=\"3.9.2\" -DPACKAGE_STRING=\"logrotate\ 3.9.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"logrotate\" -DVERSION=\"3.9.2\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_ST_BLOCKS=1 -DHAVE_LIBPOPT=1 -DHAVE_LIBSELINUX=1 -DHAVE_LIBACL=1 -DHAVE_STRPTIME=1 -DHAVE_QSORT=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_MADVISE=1 -DHAVE_VSYSLOG=1 -I. -D_FORTIFY_SOURCE=2 -Wall -Werror -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -MT logrotate.o -MD -MP -MF .deps/logrotate.Tpo -c -o logrotate.o logrotate.c
logrotate.c: En la función ‘postrotateSingleLog’:
logrotate.c:1784:5: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
if (!state->doRotate)
^~
logrotate.c:1787:2: nota: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if (!hasErrors && log->flags & LOG_FLAG_TMPFILENAME) {
^~
cc1: todos los avisos se tratan como errores
Makefile:413: fallo en las instrucciones para el objetivo 'logrotate.o'
make[1]: * [logrotate.o] Error 1
make[1]: se sale del directorio '/tmp/makepkg/logrotate-selinux/src/logrotate-3.9.2'
Makefile:433: fallo en las instrucciones para el objetivo 'all-recursive'
make: * [all-recursive] Error 1

Siosm commented on 2014-05-30 18:31

Renamed to logrotate-selinux. Will be deleted soon.

Siosm commented on 2014-03-20 12:32

I'm going to update and rename this one to logrotate-selinux soon.

Siosm commented on 2014-01-24 00:25

I'm not sure this will be useful anymore (as Arch is using journald by default). I'm keeping it here just in case.

Nicky726 commented on 2010-07-25 19:21

Initial release.