head 1.25;
access;
symbols
OPENPKG_E1_MP_HEAD:1.17
OPENPKG_E1_MP:1.17
OPENPKG_E1_MP_2_STABLE:1.11.2.3
OPENPKG_E1_FP:1.11.2.3
OPENPKG_2_STABLE_MP:1.16
OPENPKG_2_STABLE_20061018:1.11.2.2
OPENPKG_2_STABLE_20060622:1.11.2.1
OPENPKG_2_STABLE:1.11.0.2
OPENPKG_2_STABLE_BP:1.11
OPENPKG_2_5_RELEASE:1.8.2.1
OPENPKG_2_5_SOLID:1.8.0.2
OPENPKG_2_5_SOLID_BP:1.8
OPENPKG_CW_FP:1.5;
locks; strict;
comment @-- @;
1.25
date 2009.12.12.11.37.09; author rse; state Exp;
branches;
next 1.24;
commitid xXrTXyew9N0LS4fu;
1.24
date 2009.07.17.22.11.58; author rse; state Exp;
branches;
next 1.23;
commitid wx2AZu2ZNm5u97Wt;
1.23
date 2009.06.30.20.21.26; author rse; state Exp;
branches;
next 1.22;
commitid mW7f5wxeUG4f4VTt;
1.22
date 2009.04.18.13.15.17; author rse; state Exp;
branches;
next 1.21;
commitid 4pHXU27WTIGCZuKt;
1.21
date 2009.03.27.11.47.29; author rse; state Exp;
branches;
next 1.20;
commitid Jy3faOD8x6uriFHt;
1.20
date 2008.02.01.22.28.41; author rse; state Exp;
branches;
next 1.19;
commitid 4ggV7xPzV0srlKPs;
1.19
date 2008.01.01.15.04.28; author rse; state Exp;
branches;
next 1.18;
commitid B8esaHJHoduuKILs;
1.18
date 2007.03.23.15.43.43; author cs; state Exp;
branches;
next 1.17;
commitid vWFOsKlVvfuheebs;
1.17
date 2007.01.01.17.41.43; author rse; state Exp;
branches;
next 1.16;
commitid BicZD6VUl7GuqP0s;
1.16
date 2006.10.22.17.47.45; author rse; state Exp;
branches;
next 1.15;
commitid OmH3yKIvKI3KNHRr;
1.15
date 2006.10.13.17.34.04; author thl; state Exp;
branches;
next 1.14;
commitid q5GSxzsSDX29XxQr;
1.14
date 2006.09.19.18.57.48; author rse; state Exp;
branches;
next 1.13;
commitid cK2rSAbqEJeyftNr;
1.13
date 2006.08.29.17.13.51; author rse; state Exp;
branches;
next 1.12;
commitid 84ygJ56LmAFJlLKr;
1.12
date 2006.08.25.19.19.07; author rse; state Exp;
branches;
next 1.11;
commitid Tvsj1UyQ8rQ89gKr;
1.11
date 2006.05.24.18.52.59; author rse; state Exp;
branches
1.11.2.1;
next 1.10;
commitid 2sKuWvpXDlTeZiyr;
1.10
date 2006.03.22.18.26.50; author rse; state Exp;
branches;
next 1.9;
commitid OX1yBw0YiqBDTcqr;
1.9
date 2006.01.01.13.21.56; author rse; state Exp;
branches;
next 1.8;
commitid otZG8yKMCw1JFTfr;
1.8
date 2005.10.03.10.57.45; author rse; state Exp;
branches
1.8.2.1;
next 1.7;
1.7
date 2005.08.30.17.26.53; author rse; state Exp;
branches;
next 1.6;
1.6
date 2005.03.24.11.20.16; author rse; state Exp;
branches;
next 1.5;
1.5
date 2005.02.22.19.57.50; author rse; state Exp;
branches;
next 1.4;
1.4
date 2005.02.05.21.32.19; author rse; state Exp;
branches;
next 1.3;
1.3
date 2005.01.01.10.54.37; author rse; state Exp;
branches;
next 1.2;
1.2
date 2004.12.28.15.28.07; author rse; state Exp;
branches;
next 1.1;
1.1
date 2004.12.28.15.27.26; author rse; state Exp;
branches;
next ;
1.11.2.1
date 2006.06.20.15.24.36; author rse; state Exp;
branches;
next 1.11.2.2;
commitid P9b9BoNafLYTTKBr;
1.11.2.2
date 2006.10.16.14.56.12; author rse; state Exp;
branches;
next 1.11.2.3;
commitid iZxwRSmmWscPXUQr;
1.11.2.3
date 2006.10.22.17.50.03; author rse; state Exp;
branches;
next ;
commitid 7gPP9rO61RoxOHRr;
1.8.2.1
date 2005.10.11.12.51.51; author rse; state Exp;
branches;
next ;
desc
@@
1.25
log
@upgrading package: sec 2.5.2 -> 2.5.3
@
text
@##
## sec.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package version
%define V_dist 2.5.3
%define V_opkg 2.5.3
# package information
Name: sec
Summary: Simple Event Correlator
URL: http://kodu.neti.ee/~risto/sec/
Vendor: Risto Vaarandi
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: PLUS
Group: System
License: Open Source
Version: %{V_opkg}
Release: 20091212
# list of sources
Source0: http://switch.dl.sourceforge.net/simple-evcorr/sec-%{V_dist}.tar.gz
Source1: rc.sec
Source2: sec.conf
Source3: sec.rule
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060823
PreReq: OpenPKG, openpkg >= 20060823, perl
AutoReq: no
AutoReqProv: no
%description
SEC is a tool that was designed to solve event correlation tasks
in network and system management. Event correlation is a process
where a stream of primitive events is processed in order to detect
composite events that correspond to event patterns in the event
stream. After startup SEC reads lines from files, named pipes,
or standard input, matches the lines with regular expressions to
recognize input events, and correlates events according to the rules
that are specified in its configuration file. SEC can be configured
to produce its output by executing user-specified shell commands,
and by using utilities like snmptrap(1) or snmpnotify(1), SEC can
generate network management events as output. Other options for
producing output events are described further in this man page.
%track
prog sec = {
version = %{V_dist}
url = http://sourceforge.net/projects/simple-evcorr/files/
regex = sec-(__VER__)\.tar\.gz
}
%prep
%setup -q -n sec-%{V_dist}
%build
%install
# create installation hierarchy
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/man/man1 \
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
$RPM_BUILD_ROOT%{l_prefix}/etc/sec \
$RPM_BUILD_ROOT%{l_prefix}/var/sec
# install program and manual page
%{l_shtool} install -c -m 755 \
-e 's;/usr/bin/perl;%{l_prefix}/bin/perl;' \
sec.pl $RPM_BUILD_ROOT%{l_prefix}/bin/sec
%{l_shtool} install -c -m 644 \
sec.pl.man $RPM_BUILD_ROOT%{l_prefix}/man/man1/sec.1
# install default configuration
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE sec.conf} %{SOURCE sec.rule} \
$RPM_BUILD_ROOT%{l_prefix}/etc/sec/
# install run-command script
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE rc.sec} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/sec/*'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
%post
# after upgrade, restart service
[ $1 -eq 2 ] || exit 0
eval `%{l_rc} sec status 2>/dev/null`
[ ".$sec_active" = .yes ] && %{l_rc} sec restart
exit 0
%preun
# before erase, stop service and remove log files
[ $1 -eq 0 ] || exit 0
%{l_rc} sec stop 2>/dev/null
rm -f $RPM_INSTALL_PREFIX/var/sec/sec.* >/dev/null 2>&1 || true
exit 0
@
1.24
log
@upgrading package: sec 2.5.1 -> 2.5.2
@
text
@d25 2
a26 2
%define V_dist 2.5.2
%define V_opkg 2.5.2
d39 1
a39 1
Release: 20090718
@
1.23
log
@switch to the new SourceForge.net website functionality where we can find all files (again)
@
text
@d25 2
a26 2
%define V_dist 2.5.1
%define V_opkg 2.5.1
d39 1
a39 1
Release: 20090327
@
1.22
log
@bump years in copyright messages
@
text
@d72 1
a72 1
url = http://prdownloads.sourceforge.net/simple-evcorr/
@
1.21
log
@upgrading package: sec 2.4.2 -> 2.5.1
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.20
log
@upgrading package: sec 2.4.1 -> 2.4.2
@
text
@d25 2
a26 2
%define V_dist 2.4.2
%define V_opkg 2.4.2
d39 1
a39 1
Release: 20080201
@
1.19
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d25 2
a26 2
%define V_dist 2.4.1
%define V_opkg 2.4.1
d39 1
a39 1
Release: 20080101
@
1.18
log
@upgrading package: sec 2.4.0 -> 2.4.1
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d39 1
a39 1
Release: 20070323
@
1.17
log
@Welcome Year 2007!
@
text
@d26 2
a27 2
%define V_dist 2.4.0
%define V_opkg 2.4.0
d40 1
a40 1
Release: 20061022
@
1.16
log
@upgrading package: sec 2.4b2 -> 2.4.0
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.15
log
@new world order for "Packager" and "Distribution" headers
@
text
@d26 2
a27 2
%define V_dist 2.4.beta2
%define V_opkg 2.4b2
d40 1
a40 1
Release: 20061013
@
1.14
log
@upgrading package: sec 2.4b1 -> 2.4b2
@
text
@d34 2
a35 2
Packager: OpenPKG
Distribution: OpenPKG
d40 1
a40 1
Release: 20060919
@
1.13
log
@upgrading package: sec 2.3.3 -> 2.4b1
@
text
@d26 2
a27 2
%define V_dist 2.4.beta1
%define V_opkg 2.4b1
d31 1
a31 1
Summary: Simple Event Correlation
d40 1
a40 1
Release: 20060829
@
1.12
log
@replace '@@l_prefix@@/lib/openpkg/bash @@l_prefix@@/etc/rc' in shebang with '@@l_prefix@@/bin/openpkg rc' to allow people who run the rc.xxx scripts directly (as executables) to leverage from the Set-UID functionality
@
text
@d26 2
a27 2
%define V_dist 2.3.3
%define V_opkg 2.3.3
d40 1
a40 1
Release: 20060825
@
1.11
log
@SourceForge switched their URLs again and the canonical osdn.dl.sf.net no longer is available, hence switch to switch.dl.sf.net, one of the longest available and hopefully still long available mirrors
@
text
@d40 1
a40 1
Release: 20060524
d51 2
a52 2
BuildPreReq: OpenPKG, openpkg >= 20040130
PreReq: OpenPKG, openpkg >= 20040130, perl
@
1.11.2.1
log
@bump release numbers for OpenPKG 2.20060622 in advance
@
text
@d40 1
a40 1
Release: 2.20060622
d51 2
a52 2
BuildPreReq: OpenPKG, openpkg >= 2.20060622
PreReq: OpenPKG, openpkg >= 2.20060622, perl
@
1.11.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@d26 2
a27 2
%define V_dist 2.4.beta2
%define V_opkg 2.4b2
d31 1
a31 1
Summary: Simple Event Correlator
d34 2
a35 2
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
d40 1
a40 1
Release: 2.20061018
d51 2
a52 2
BuildPreReq: OpenPKG, openpkg >= 2.20061018
PreReq: OpenPKG, openpkg >= 2.20061018, perl
@
1.11.2.3
log
@MFC: latest non-beta version
@
text
@d26 2
a27 2
%define V_dist 2.4.0
%define V_opkg 2.4.0
d40 1
a40 1
Release: 2.20061022
@
1.10
log
@upgrading package: sec 2.3.2 -> 2.3.3
@
text
@d40 1
a40 1
Release: 20060322
d43 1
a43 1
Source0: http://osdn.dl.sourceforge.net/simple-evcorr/sec-%{V_dist}.tar.gz
@
1.9
log
@adjust copyrights for new year 2006
@
text
@d26 2
a27 2
%define V_dist 2.3.2
%define V_opkg 2.3.2
d40 1
a40 1
Release: 20051003
@
1.8
log
@fix dependency and bless for PLUS class
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.8.2.1
log
@bump release numbers for OpenPKG 2.5
@
text
@d40 1
a40 1
Release: 2.5.0
d51 2
a52 2
BuildPreReq: OpenPKG, openpkg >= 2.5.0
PreReq: OpenPKG, openpkg >= 2.5.0, perl
@
1.7
log
@upgrading package: sec 2.3.1 -> 2.3.2
@
text
@d36 1
a36 1
Class: EVAL
d40 1
a40 1
Release: 20050830
d52 1
a52 1
PreReq: OpenPKG, openpkg >= 20040130
@
1.6
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d26 2
a27 2
%define V_dist 2.3.1
%define V_opkg 2.3.1
d40 1
a40 1
Release: 20050222
@
1.5
log
@upgrading package: sec 2.3.0 -> 2.3.1
@
text
@d2 3
a4 4
## sec.spec -- OpenPKG RPM Specification
## Copyright (c) 2000-2005 The OpenPKG Project
## Copyright (c) 2000-2005 Ralf S. Engelschall
## Copyright (c) 2000-2005 Cable & Wireless
d34 1
a34 1
Packager: The OpenPKG Project
@
1.4
log
@upgrading package: sec 2.3b2 -> 2.3.0
@
text
@d27 2
a28 2
%define V_dist 2.3.0
%define V_opkg 2.3.0
d41 1
a41 1
Release: 20050205
@
1.3
log
@Happy New Year 2005
@
text
@d27 2
a28 2
%define V_dist 2.3.beta2
%define V_opkg 2.3b2
d41 1
a41 1
Release: 20041228
@
1.2
log
@fix tracking
@
text
@d3 3
a5 3
## Copyright (c) 2000-2004 The OpenPKG Project
## Copyright (c) 2000-2004 Ralf S. Engelschall
## Copyright (c) 2000-2004 Cable & Wireless
@
1.1
log
@new package: sec 2.3b2 (Simple Event Correlation)
@
text
@d73 2
a74 2
version = %{version}
url = http://prdownloads.sourceforge.net/simle-evcorr/
@