Compare commits

..

83 commits

Author SHA1 Message Date
Fedora Release Engineering
673d78a7ee Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 06:22:15 +00:00
Stefan Schulze Frielinghaus
a8be234577 New upstream release 2026-02-12 20:17:04 +01:00
Stefan Schulze Frielinghaus
f98d7584f2 Use systemctl kill 2026-02-12 19:59:48 +01:00
Fedora Release Engineering
6fcadc7767 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 17:51:48 +00:00
Fedora Release Engineering
d3c773862a Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 18:07:19 +00:00
Fedora Release Engineering
84cb4232c1 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 10:21:48 +00:00
Stefan Schulze Frielinghaus
e70079df1c New upstream release 2024-11-02 14:00:58 +01:00
Miroslav Suchý
aeb001a308 convert GPLv2+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-26 02:53:48 +02:00
Fedora Release Engineering
f6f4654bb3 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 05:12:08 +00:00
Fedora Release Engineering
71f285502b Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 02:30:13 +00:00
Fedora Release Engineering
859c94ecc9 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 01:21:36 +00:00
Stefan Schulze Frielinghaus
68141661df New upstream release 2023-06-05 21:14:35 +02:00
Fedora Release Engineering
6f5e02cee4 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 02:57:20 +00:00
Fedora Release Engineering
6706d12928 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 08:19:43 +00:00
Stefan Schulze Frielinghaus
b4216e8e86 New upstream release 2022-05-04 19:26:38 +02:00
Fedora Release Engineering
02d5ec1c0d - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 00:38:15 +00:00
Fedora Release Engineering
c516a59378 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 17:19:26 +00:00
Stefan Schulze Frielinghaus
c6313ef3ee New upstream release 2021-05-13 11:28:32 +02:00
b455c3dca0 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:12:20 +01:00
Fedora Release Engineering
e07ca8952e - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 20:10:36 +00:00
Fedora Release Engineering
3035affb40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 10:30:06 +00:00
Stefan Schulze Frielinghaus
ab73b195be New upstream release 2020-05-02 17:01:15 +02:00
Fedora Release Engineering
b559d72f8e - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 23:10:32 +00:00
Fedora Release Engineering
b944d41cb9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 23:02:09 +00:00
Stefan Schulze Frielinghaus
7d72ccb757 - New upstream release
- Clean up spec file
- Added an environment file /etc/sysconfig/sec in order to specify command line options
2019-06-06 19:47:55 +02:00
Fedora Release Engineering
396b86cb01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 15:09:17 +00:00
d46d8d5c5f Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:49 +01:00
Stefan Schulze Frielinghaus
f14e51518e New upstream release 2018-10-03 19:52:44 +02:00
Stefan Schulze Frielinghaus
b7b7a56cfd New upstream release sources 2018-09-02 14:07:53 +02:00
Stefan Schulze Frielinghaus
7c7145cdb7 New upstream release 2018-09-02 14:04:43 +02:00
Fedora Release Engineering
b0d5827e00 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 05:55:40 +00:00
Jason Tibbitts
11f2b3f9e2 Remove needless use of %defattr 2018-07-10 01:19:51 -05:00
fd052c3ece
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:39:09 +01:00
Fedora Release Engineering
b39775d633 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 16:27:32 +00:00
Stefan Schulze Frielinghaus
e25b46f607 New upstream release 2017-12-13 18:14:18 +01:00
Fedora Release Engineering
2deab26354 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 18:23:22 +00:00
Stefan Schulze Frielinghaus
9f00f4ea00 New upload release 2017-02-05 15:59:25 +01:00
Stefan Schulze Frielinghaus
ff8e4a10b7 New upstream release 2016-06-24 17:08:50 +02:00
Petr Písař
5c6f8b4bac Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 10:26:18 +02:00
Stefan Schulze Frielinghaus
abe3c7a3a8 Merge branch 'master' of ssh://pkgs.fedoraproject.org/sec 2016-04-02 18:06:54 +02:00
Stefan Schulze Frielinghaus
633686556d New upstream release 2016-04-02 18:04:46 +02:00
Fedora Release Engineering
d49e5610e7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 23:49:29 +00:00
Stefan Schulze Frielinghaus
b4169b071e New upstream release 2015-12-06 09:51:14 +01:00
Stefan Schulze Frielinghaus
d23dff5fee While rotating logfiles do not do a full restart of the sec instance 2015-10-14 22:11:20 +02:00
Dennis Gilmore
2b6814bde4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 00:35:56 +00:00
Stefan Schulze Frielinghaus
7e08d20274 New upstream release 2015-02-18 13:29:33 +01:00
Stefan Schulze Frielinghaus
600257a7b5 New upstream release 2014-07-15 16:53:11 +02:00
Dennis Gilmore
a36df2346e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 01:04:54 -05:00
Stefan Schulze Frielinghaus
4ef20f6327 New upstream release 2014-01-16 18:52:51 +01:00
Dennis Gilmore
1b3757196f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 09:04:07 -05:00
Stefan Schulze Frielinghaus
2165c79e7a Add missing BuildRequire systemd 2013-06-29 08:25:53 +02:00
Stefan Schulze Frielinghaus
ff020a9594 New upstream release 2013-06-29 08:10:33 +02:00
Stefan Schulze Frielinghaus
aeea426beb New upstream release 2013-06-02 17:56:16 +02:00
Stefan Schulze Frielinghaus
aa3cbcc1af New upstream release 2013-04-15 08:54:53 +02:00
Stefan Schulze Frielinghaus
2680657d07 New sources 2013-03-15 18:49:07 +01:00
Stefan Schulze Frielinghaus
5ef1344991 New upstream release (sources) 2013-03-15 18:45:50 +01:00
Stefan Schulze Frielinghaus
eca248f294 New upstream release 2013-03-15 18:43:11 +01:00
Dennis Gilmore
c9eb1a2923 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 17:44:19 -06:00
Stefan Schulze Frielinghaus
558ec1be75 systemd requires 2012-10-09 08:42:42 +02:00
Stefan Schulze Frielinghaus
70135fb1aa Apply latest packaging guidelines (systemd scriptlets for F18+) 2012-08-17 17:47:21 +02:00
Dennis Gilmore
2fd32aa1b6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 14:16:32 -05:00
Stefan Schulze Frielinghaus
4acee49bdb Merge branch 'master' of ssh://pkgs.fedoraproject.org/sec
Conflicts:
	sec.spec
2012-02-05 14:23:18 +01:00
Stefan Schulze Frielinghaus
ec2d8a9e07 New upstream release 2012-02-05 14:00:48 +01:00
Dennis Gilmore
d4b9b2a664 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 21:43:56 -06:00
Stefan Schulze Frielinghaus
7325fdf2e6 new sources 2011-09-19 10:41:38 +02:00
Stefan Schulze Frielinghaus
7ff059afcc New upstream release 2011-09-19 10:40:10 +02:00
Stefan Schulze Frielinghaus
332f982cd7 Upgrade to systemd 2011-06-11 22:42:31 +02:00
Stefan Schulze Frielinghaus
2f9ec2f3ea example config file changes 2011-06-11 22:41:13 +02:00
Stefan Schulze Frielinghaus
7b7d37f22f New upstream release (spec file) 2011-03-20 12:31:55 +01:00
Stefan Schulze Frielinghaus
dec5aa69f2 New upstream release 2011-03-20 12:31:24 +01:00
Dennis Gilmore
71d2907d38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 07:00:39 -06:00
Fedora Release Engineering
059c196ebb dist-git conversion 2010-07-29 12:19:48 +00:00
Stefan Schulze Frielinghaus
973b9acad5 New upstream release 2009-12-10 17:35:42 +00:00
Bill Nottingham
edcc9d08a6 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:15:28 +00:00
Stefan Schulze Frielinghaus
073a24c895 Fixed Source0 URL. 2009-11-07 09:35:20 +00:00
Stefan Schulze Frielinghaus
2f28bb01d9 Fixed URL of Source0 2009-11-06 09:15:05 +00:00
Stefan Schulze Frielinghaus
d106b2f2cd - New upstream release
- SPEC file cleanup
- Init script cleanup
- Removed some examples because of licensing issues. Upstream has clarified
    and changed most of the license tags to GPLv2. Additionally, upstream
    will include the examples in the next release.
- Removed a provide statement since a period was in the name and no other
    package required that special name.
2009-10-03 07:35:41 +00:00
Jesse Keating
a39fb5732b - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 04:07:02 +00:00
Jesse Keating
7c6f398958 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 00:21:13 +00:00
Tom Callaway
abbd46d375 fix license tag 2008-09-04 16:58:27 +00:00
Chris Petersen
d21467118d Upgrade to 2.4.1 2007-05-28 20:06:22 +00:00
Chris Petersen
342d24b690 Upgrade to sec 2.4.0 2006-12-06 23:02:29 +00:00
Chris Petersen
d42febf36d auto-import sec-2.3.3-4 on branch devel from sec-2.3.3-4.src.rpm 2006-09-01 20:54:01 +00:00
8 changed files with 206 additions and 189 deletions

10
.gitignore vendored
View file

@ -1,8 +1,13 @@
sec-2.5.3.tar.gz
/sec-2.6.0.tar.gz
/sec-2.6.1.tar.gz
/sec-2.6.2.tar.gz
/sec-2.7.1.tar.gz
/sec-2.7.2.tar.gz
/sec-2.7.3.tar.gz
/sec-2.7.4.tar.gz
/sec-2.7.5.tar.gz
/sec-2.7.6.tar.gz
/sec-2.7.7.tar.gz
/sec-2.7.8.tar.gz
/sec-2.7.9.tar.gz
@ -13,3 +18,8 @@ sec-2.5.3.tar.gz
/sec-2.8.1.tar.gz
/sec-2.8.2.tar.gz
/sec-2.8.3.tar.gz
/sec-2.9.0.tar.gz
/sec-2.9.1.tar.gz
/sec-2.9.2.tar.gz
/sec-2.9.3.tar.gz
/sec-2.9.4.tar.gz

117
sec.init
View file

@ -1,117 +0,0 @@
#!/bin/bash
#
# sec Start and stop SEC.
#
# chkconfig: - 20 80
# description: Simple Event Correlator script to filter log file entries
. /etc/rc.d/init.d/functions
prog="sec"
exec="/usr/bin/sec"
lockfile="/var/lock/subsys/sec"
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
start() {
[ -x $exec ] || exit 5
for n in `seq 0 $((${#SEC_ARGS[*]} - 1))`; do
echo -n $"Starting $prog instance "$(($n + 1))": "
daemon $exec ${SEC_ARGS[$n]}
RETVAL=$?
echo
[ $RETVAL -ne 0 ] && return $RETVAL
done
touch $lockfile
return $RETVAL
}
stop() {
echo -n $"Stopping $prog: "
if [ -z "$SHUTDOWN_TIMELIMIT" ]; then
killproc $prog
else
killproc -d $SHUTDOWN_TIMELIMIT $prog
fi
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f $lockfile
return $RETVAL
}
restart() {
stop
start
}
reload() {
echo -n $"Reloading $prog: "
killproc $prog -HUP
RETVAL=$?
echo
return $RETVAL
}
rotate() {
echo -n $"Rotating $prog: "
killproc $prog -USR2
RETVAL=$?
echo
return $RETVAL
}
force_reload() {
restart
}
rh_status() {
status $prog
}
rh_status_q() {
rh_status >/dev/null 2>&1
}
dump() {
echo -n $"Dumping state of $prog in /tmp/sec.dump: "
killproc $prog -USR1
RETVAL=$?
echo
return $RETVAL
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
condrestart|try-restart)
rh_status_q || exit 0
restart
;;
reload)
reload
;;
force-reload)
force_reload
;;
rotate)
rotate
;;
status)
rh_status
;;
dump)
dump
;;
*)
echo $"Usage: $0 {start|stop|restart|condrestart|try-restart|reload|force-reload|rotate|status|dump}"
exit 2
esac
exit $?

View file

@ -3,6 +3,6 @@
notifempty
sharedscripts
postrotate
/sbin/service sec rotate >/dev/null 2>&1 || true
/usr/bin/systemctl kill --signal=USR2 --kill-whom=main sec.service 2>/dev/null || true
endscript
}

12
sec.service Normal file
View file

@ -0,0 +1,12 @@
[Unit]
Description=Simple Event Correlator script to filter log file entries
After=syslog.target
[Service]
Type=forking
PIDFile=/run/sec.pid
ExecStart=/usr/bin/sec --detach --pid=/run/sec.pid $OPTIONS
EnvironmentFile=/etc/sysconfig/sec
[Install]
WantedBy=multi-user.target

200
sec.spec
View file

@ -1,24 +1,26 @@
Name: sec
Version: 2.8.3
Release: 1%{?dist}
Version: 2.9.4
Release: 2%{?dist}
Summary: Simple Event Correlator script to filter log file entries
Group: System Environment/Daemons
License: GPLv2+
# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
URL: https://simple-evcorr.github.io/
Source0: https://github.com/simple-evcorr/sec/releases/download/%{version}/sec-%{version}.tar.gz
Source1: sec.sysconfig
Source2: sec.init
Source1: sec.service
Source2: sec@.service
Source3: sec.logrotate
Source4: conf.README
Source4: sec.sysconfig
Source5: conf.README
BuildArch: noarch
# The init script uses arrays, so we need bash
Requires: bash
BuildRequires: perl-generators
BuildRequires: systemd
Requires: logrotate
Requires(post): chkconfig
Requires(postun): initscripts
Requires(preun): initscripts, chkconfig
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%description
SEC is a simple event correlation tool that reads lines from files, named
@ -37,60 +39,132 @@ writing messages to pipes or files, etc.
# Install SEC and its associated files
install -D -m 0755 -p sec %{buildroot}%{_bindir}/sec
install -D -m 0644 -p sec.man %{buildroot}%{_mandir}/man1/sec.1
install -D -m 0644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/sec
install -D -m 0644 -p %{SOURCE1} %{buildroot}%{_unitdir}/sec.service
install -D -m 0644 -p %{SOURCE2} %{buildroot}%{_unitdir}/sec@.service
install -D -m 0644 -p %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/sec
install -D -m 0755 -p %{SOURCE2} %{buildroot}%{_initrddir}/sec
install -D -m 0644 -p %{SOURCE4} %{buildroot}%{_sysconfdir}/%{name}/README
install -D -m 0644 -p %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/sec
install -D -m 0644 -p %{SOURCE5} %{buildroot}%{_sysconfdir}/%{name}/README
# Remove executable bits because these files get packed as docs
chmod 0644 contrib/convert.pl contrib/swatch2sec.pl
%post
if [ $1 -eq 1 ]; then
/sbin/chkconfig --add sec
fi
%systemd_post sec.service
%preun
if [ $1 -eq 0 ]; then
/sbin/service sec stop >/dev/null 2>&1
/sbin/chkconfig --del sec
fi
%systemd_preun sec.service
%postun
if [ $1 -eq 1 ]; then
/sbin/service sec condrestart >/dev/null 2>&1
fi
%clean
rm -rf %{buildroot}
%systemd_postun_with_restart sec.service
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING README contrib/convert.pl contrib/itostream.c contrib/swatch2sec.pl
%config(noreplace) %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/sysconfig/sec
%config(noreplace) %{_sysconfdir}/logrotate.d/sec
%{_initrddir}/sec
%config(noreplace) %{_sysconfdir}/sysconfig/sec
%{_bindir}/sec
%{_mandir}/man1/sec.1*
%{_unitdir}/sec.service
%{_unitdir}/sec@.service
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Thu Feb 12 2026 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.9.4-1
- New upstream release
- Use systemctl kill
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Nov 02 2024 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.9.3-1
- New upstream release
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 2.9.2-5
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jun 05 2023 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.9.2-1
- New upstream release
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed May 04 2022 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.9.1-1
- New upstream release
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu May 13 2021 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.9.0-1
- New upstream release
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.8.3-4
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat May 2 2020 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.8.3-1
- New upstream release
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jun 3 2019 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.8.2-1
- New upstream release
- Clean up spec file
- Added an environment file /etc/sysconfig/sec in order to specify command line options
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Oct 3 2018 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.8.1-0
- New upstream release
* Sun Sep 02 2018 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.8.0-0
* Sun Sep 2 2018 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.8.0-0
- New upstream release
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.12-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Dec 13 2017 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.12-0
- New upstream release
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.11-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Feb 5 2017 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.11-0
- New upstream release
@ -100,37 +174,73 @@ rm -rf %{buildroot}
* Sat Apr 2 2016 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.9-0
- New upstream release
* Wed Feb 3 2016 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.8-1
- Init script supports log rotation now
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.8-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Dec 6 2015 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.8-0
- New upstream release
* Wed Nov 11 2015 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.7-3
- Add an optional timeout to the init script rule stop
* Sun Oct 25 2015 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.7-2
- Update init script in order to send SIGTERM instead of SIGKILL for stop rule
* Wed Oct 14 2015 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.7-1
* Wed Oct 14 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.7-2
- While rotating logfiles do not do a full restart of the sec instance
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.7-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Feb 18 2015 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.7-0
- New upstream release
* Fri Jan 17 2014 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.5-0
* Tue Jul 15 2014 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.6-0
- New upstream release
* Sun Jun 30 2013 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.4-0
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.5-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Jan 16 2014 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.5-0
- New upstream release
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.4-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sat Jun 29 2013 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.4-0
- New upstream release
* Sun Jun 2 2013 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.3-0
- New upstream release
* Mon Apr 15 2013 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.2-0
- New upstream release
* Mon Mar 18 2013 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.1-0
* Fri Mar 15 2013 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.7.1-0
- New upstream release
* Mon Dec 21 2009 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.5.3-0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Aug 17 2012 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.6.2-2
- Apply latest packaging guidelines (systemd scriptlets for F18+)
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sun Feb 5 2012 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.6.2-0
- New upstream release
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Sep 19 2011 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.6.1-0
- New upstream release
* Sat Jun 11 2011 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.6.0-2
- Upgrade to systemd
* Sun Mar 20 2011 Stefan Schulze Frielinghaus <stefansf@fedoraproject.org> - 2.6.0-1
- New upstream release
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Dec 10 2009 Stefan Schulze Frielinghaus <stefan@seekline.net> - 2.5.3-0
- New upstream release
* Tue Sep 29 2009 Stefan Schulze Frielinghaus <stefan@seekline.net> - 2.5.2-1

View file

@ -1,29 +1,19 @@
#
# Because SEC usage varies so widely from user to user, it is configured by
# default to not run. Please read `sec --help` for valid options to use in
# this configuration directive, or use the sample defaults included below.
#
# If you would like to run multiple instances of sec in order to track more
# than one log file, you can use also use $SEC_OPTIONS as an array.
#
# Also, please don't forget to read the sec man page or look at the
# configuration options for /etc/sec/.
#
# Command line options for SEC
#
# Default:
#
# SEC_ARGS="-detach -conf=/etc/sec/*.sec -input=/var/log/messages -log=/var/log/sec -intevents -pid=/var/run/sec.pid"
#
OPTIONS="--conf=/etc/sec/*.sec --input=/var/log/messages --log=/var/log/sec --intevents"
# This is an example config if multiple instances of SEC should be started.
# These settings should be used together with the systemd service file
# sec@.service
# which allows to run multiple sec instances.
#
# For Multiple instances of SEC, use something like:
#
# SEC_ARGS[0]="-detach -conf=/etc/sec/sys/*.sec -input=/var/log/messages -log=/var/log/sec -intevents -pid=/var/run/sec.sys.pid"
#
# SEC_ARGS[1]="-detach -conf=/etc/sec/mail/*.sec -input=/var/log/messages -log=/var/log/sec -intevents -pid=/var/run/sec.mail.pid"
#
# Time limit (in seconds) to wait for SEC to shutdown.
# Default value defined in /etc/init.d/functions (usually 3 seconds)
#
# SHUTDOWN_TIMELIMIT=60
# Below you find an example configuration of two instances named FOO and BAR.
# The instances can be started via the commands
# systemctl start sec@FOO and systemctl start sec@BAR
# For further configuration options, consult the systemd file:
# /lib/systemd/system/sec@.service
#OPTIONS_FOO="--conf=/etc/sec/FOO/*.sec --input=/var/log/secure --log=/var/log/sec-FOO --intevents"
#OPTIONS_BAR="--conf=/etc/sec/BAR/*.sec --input=/var/log/maillog --log=/var/log/sec-BAR --intevents"

12
sec@.service Normal file
View file

@ -0,0 +1,12 @@
[Unit]
Description=Simple Event Correlator (instance %I)
After=syslog.target
[Service]
Type=forking
PIDFile=/run/sec-%I.pid
ExecStart=/usr/bin/sec --detach --pid=/run/sec-%I.pid $OPTIONS_%I
EnvironmentFile=/etc/sysconfig/sec
[Install]
WantedBy=multi-user.target

View file

@ -1 +1 @@
SHA512 (sec-2.8.3.tar.gz) = 9eba7db0dfa3661a3ef4e8aad3eeef1db710784f7a71131991a06918cc4f5634577b8bff3f00fcc1c5d998bf0c1e80efe88e1c1df3f5530b6ab4905ff00f2269
SHA512 (sec-2.9.4.tar.gz) = e049ea61e52420faddc2ad3373d9ec65cc6187d59e89537d919eb0342688e494c3d9db334347dbaf9a42260930c99756d46ed3f9f015a38bd95f6959ded047d9