Package auditd-plugin-clickhouse: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | %define _unpackaged_files_terminate_build 1 # Recommended versioning scheme for this package: # 1. If no sources are changed, just increase release. # 2. If sources are changed, use current date as version in format YYYYMMDD.DBNUM, # and increase release for all subsequent versions made on same day. # 3. DBNUM is incremented for each release with database format is changed: # fields are added, removed or their types are changed. Name: auditd-plugin-clickhouse Version: 20210217.4.1 Release: alt2 Summary: Plugin for Auditd daemon for sending data into Clickhouse database Group: Monitoring License: GPLv3+ Source: %name-%version.tar BuildRequires(pre): rpm-macros-cmake BuildRequires: gcc-c++ cmake BuildRequires: boost-complete BuildRequires: libclickhouse-cpp-devel BuildRequires: libaudit-devel BuildRequires: /usr/bin/ctest libgtest-devel # audit 3.0 moved to new config location Requires: audit >= 3.0-alt1 %description Plugin for Auditd daemon for sending data into Clickhouse database %prep %setup %build %cmake %cmake_build %install %cmake_install mkdir -pv %buildroot%_localstatedir/auditd-plugin-clickhouse %check pushd %_cmake__builddir ctest popd %files %config(noreplace) %_sysconfdir/audit/auditd-clickhouse-datatypes.json %config(noreplace) %attr(600,root,root) %_sysconfdir/audit/auditd-clickhouse.conf %config(noreplace) %_sysconfdir/audit/plugins.d/auditd-plugin-clickhouse.conf %config(noreplace) %_sysconfdir/logrotate.d/auditd-plugin-clickhouse-logrotate.conf %_prefix/libexec/auditd-plugin-clickhouse %attr(700,root,root) %_localstatedir/auditd-plugin-clickhouse %changelog * Tue Apr 27 2021 Arseny Maslennikov <arseny@altlinux.org> 20210217.4.1-alt2 - NMU: spec: adapted to new cmake macros. * Wed Feb 17 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 20210217.4.1-alt1 - Updated config file locations for audit-3.0 compatibility. * Fri Sep 25 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 20200911.4.1-alt2 - Updated supported architectures. * Fri Sep 11 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 20200911.4.1-alt1 - Reintroduced logging unknown fields, controlled by configuration and disabled by default. * Fri Sep 11 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 20200911.4-alt1 - Disabled logging unknown fields. Monitoring of "unknown_field" column might be required to detect new fields. - Added new fields. - Implemented experimental automatic migration to new table. It's disabled by default. - Updated config file permissions. * Mon Jun 29 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 20200207.3-alt2 - Updated supported architectures. * Fri Feb 07 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 20200207.3-alt1 - Logged and ignored potential exceptions when saving data to temporary storage. * Thu Jan 30 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 20200130.3-alt1 - Optimized memory consumption. - Added new field to database. - Minor logging improvements. * Mon Jan 27 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 20200127-alt1 - Fixed excessive logging of writes. - Fixed memory consumption by logging entries if logging is disabled. - Fixed memory leak in audit data parsing. - Fixed issue when some data may be not attempted to be written to DB when separate writer thread is used. - Improved performance by reducing data copying. - Input data buffer size configuration is removed. * Thu Jan 16 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 20200116-alt1 - New fields added to database table. - All unknown fields encountered are saved into database. - Fixed crash when processing NULL strings. - Fixed warnings for some audit data types. - Implemented logging. - Implemented audit data serialization and temporary storing before sending to database. * Tue Dec 17 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 20191217-alt1 - Initial build for ALT |