rpms/prelude-manager/devel prelude-manager-0.9.7-initd.patch, NONE, 1.1 prelude-manager.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Thorsten Scherf (tscherf)
fedora-extras-commits at redhat.com
Mon Jan 8 16:03:54 UTC 2007
Author: tscherf
Update of /cvs/extras/rpms/prelude-manager/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28714/devel
Modified Files:
.cvsignore sources
Added Files:
prelude-manager-0.9.7-initd.patch prelude-manager.spec
Log Message:
auto-import prelude-manager-0.9.7.1-3 on branch devel from prelude-manager-0.9.7.1-3.src.rpm
prelude-manager-0.9.7-initd.patch:
--- NEW FILE prelude-manager-0.9.7-initd.patch ---
diff -ruNd ../prelude-manager-0.9.0/prelude-manager.initd ./prelude-manager.initd
--- ../prelude-manager-0.9.0/prelude-manager.initd 1970-01-01 01:00:00.000000000 +0100
+++ ./prelude-manager.initd 2004-03-18 19:26:58.000000000 +0100
@@ -0,0 +1,71 @@
+#!/bin/sh
+# Startup script for prelude-manager
+#
+# chkconfig: - 97 01
+# description: Run prelude-manager
+
+# Source function library.
+. /etc/rc.d/init.d/functions
+
+[ -f /usr/bin/prelude-manager ] || exit 0
+
+prog="prelude-manager"
+
+start() {
+ if test "x`pidof prelude-manager`" != x; then
+ echo "prelude-manager already started"
+ action $"Starting $prog: " /bin/false
+ RETVAL=1
+ return $RETVAL
+ else
+ echo -n $"Starting $prog: "
+ daemon prelude-manager -d
+ RETVAL=$?
+ [ $RETVAL -eq 0 ] && touch /var/lock/subsys/prelude-manager
+ echo
+ return $RETVAL
+ fi
+}
+
+stop() {
+ if test "x`pidof prelude-manager`" != x; then
+ echo -n $"Stopping $prog: "
+ killproc prelude-manager
+ echo
+ fi
+ RETVAL=$?
+ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/prelude-manager
+ return $RETVAL
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+
+ stop)
+ stop
+ ;;
+
+ status)
+ status prelude-manager
+ ;;
+ restart|reload)
+ stop
+ sleep 3
+ start
+ ;;
+ condrestart)
+ if test "x`pidof prelude-manager`" != x; then
+ stop
+ start
+ fi
+ ;;
+
+ *)
+ echo $"Usage: $0 {start|stop|restart|condrestart|status}"
+ exit 1
+
+esac
+
+exit 0
--- NEW FILE prelude-manager.spec ---
Name: prelude-manager
Version: 0.9.7.1
Release: 3%{?dist}
Summary: Prelude-Manager
Group: Applications/Internet
License: GPL
URL: http://www.prelude-ids.org
Source0: http://www.prelude-ids.org/download/releases/%{name}-%{version}.tar.gz
Patch0: %{name}-0.9.7-initd.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libpreludedb-devel, libxml2-devel
%if 0%{?fedora} > 6
BuildRequires: tcp_wrappers-devel
%else
BuildRequires: tcp_wrappers
%endif
Requires(post) : /sbin/chkconfig
Requires(preun) : /sbin/chkconfig
Requires(preun) : /sbin/service
Requires(postun): /sbin/service
%description
Prelude Manager is the main program of the Prelude Hybrid IDS
suite. It is a multithreaded server which handles connections from
the Prelude sensors. It is able to register local or remote
sensors, let the operator configure them remotely, receive alerts,
and store alerts in a database or any format supported by
reporting plugins, thus providing centralized logging and
analysis. It also provides relaying capabilities for failover and
replication. The IDMEF standard is used for alert representation.
Support for filtering plugins allows you to hook in different
places in the Manager to define custom criteria for alert relaying
and logging.
%package devel
Summary: Header files and libraries for prelude-manager development
Group: Development/Libraries
Requires: prelude-manager = %{version}-%{release}, libpreludedb-devel
%description devel
Libraries, include files for Prelude-Manager.
%package db-plugin
Summary: Database report plugin for Prelude IDS Manager
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description db-plugin
Prelude Manager is the main program of the Prelude Hybrid IDS
suite. It is a multithreaded server which handles connections from
the Prelude sensors. It is able to register local or remote
sensors, let the operator configure them remotely, receive alerts,
and store alerts in a database or any format supported by
reporting plugins, thus providing centralized logging and
analysis. It also provides relaying capabilities for failover and
replication. The IDMEF standard is used for alert representation.
Support for filtering plugins allows you to hook in different
places in the Manager to define custom criteria for alert relaying
and logging.
This plugin authorize prelude-manager to write to database.
%package xml-plugin
Summary: XML report plugin for Prelude IDS Manager
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description xml-plugin
Prelude Manager is the main program of the Prelude Hybrid IDS
suite. It is a multithreaded server which handles connections from
the Prelude sensors. It is able to register local or remote
sensors, let the operator configure them remotely, receive alerts,
and store alerts in a database or any format supported by
reporting plugins, thus providing centralized logging and
analysis. It also provides relaying capabilities for failover and
replication. The IDMEF standard is used for alert representation.
Support for filtering plugins allows you to hook in different
places in the Manager to define custom criteria for alert relaying
and logging.
This plugin adds XML logging capabilities to the Prelude IDS
Manager.
%prep
%setup -q
%patch0 -p0
sed -i.debug -e '/nlist/s|\$rm|: $rm|' ltmain.sh
%build
%configure --with-libwrap
make %{?_smp_mflags}
iconv -f ISO8859-15 -t UTF-8 ChangeLog > ChangeLog.utf8 && \
%{__mv} ChangeLog.utf8 ChangeLog
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
mkdir -p %{buildroot}/%{_initrddir}
make install DESTDIR=%{buildroot} INSTALL="%{__install} -c -p"
cp -p AUTHORS ChangeLog README NEWS COPYING HACKING.README \
%{buildroot}%{_defaultdocdir}/%{name}-%{version}
install -m 755 %{name}.initd %{buildroot}/%{_initrddir}/%{name}
rm -f %{buildroot}/%{_libdir}/%{name}/reports/*.la
rm -f %{buildroot}/%{_libdir}/%{name}/filters/*.la
rm -f %{buildroot}/%{_libdir}/%{name}/decodes/*.la
%clean
rm -rf %{buildroot}
%post
/sbin/ldconfig
/sbin/chkconfig --add %{name}
%preun
if [ $1 = 0 ]; then
/sbin/service %{name} stop > /dev/null 2>&1 || :
/sbin/chkconfig --del %{name}
fi
%postun
/sbin/ldconfig
if [ "$1" -ge "1" ]; then
/sbin/service %{name} condrestart >/dev/null 2>&1 || :
fi
%files
%defattr(0755,root,root,-)
%config %dir %{_sysconfdir}/%{name}/
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/%{name}/*
%{_initrddir}/%{name}
%dir %{_bindir}/%{name}
%dir %{_libdir}/%{name}/
%dir %{_libdir}/%{name}/filters/
%{_libdir}/%{name}/filters/*.so
%dir %{_libdir}/%{name}/reports/
%{_libdir}/%{name}/reports/debug.so
%{_libdir}/%{name}/reports/textmod.so
%{_libdir}/%{name}/reports/relaying.so
%dir %{_libdir}/%{name}/decodes/
%{_libdir}/%{name}/decodes/*.so
%dir %{_localstatedir}/spool/%{name}/
%dir %{_localstatedir}/run/%{name}/
%dir %{_datadir}/%{name}/
%dir %{_defaultdocdir}/%{name}-%{version}/
%doc %attr(0644,root,root) %{_defaultdocdir}/%{name}-%{version}/*
%files db-plugin
%defattr(-,root,root)
%{_libdir}/%{name}/reports/db.so
%files xml-plugin
%defattr(-,root,root)
%{_libdir}/%{name}/reports/xmlmod.so
%dir %{_datadir}/%{name}/xmlmod/
%{_datadir}/%{name}/xmlmod/*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/%{name}/
%{_includedir}/%{name}/*
%changelog
* Sun Jan 07 2007 Thorsten Scherf <tscherf at redhat.com> 0.9.7.1-3
- added tcp-wrapper support
- fixed dirowner and permissions problem
* Fri Jan 05 2007 Thorsten Scherf <tscherf at redhat.com> 0.9.7.1-2
- fixed encoding problems
- changed dirowner
- resolved dependency problems
* Sat Dec 30 2006 Thorsten Scherf <tscherf at redhat.com> 0.9.7.1-1
- moved to new upstream version 0.9.7.1
- changed dirowner
* Mon Nov 20 2006 Thorsten Scherf <tscherf at redhat.com> 0.9.6.1-2
- Some minor fixes in requirements
* Tue Oct 24 2006 Thorsten Scherf <tscherf at redhat.com> 0.9.6.1-1
- New Fedora build based on release 0.9.6.1
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/prelude-manager/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 8 Jan 2007 16:02:07 -0000 1.1
+++ .cvsignore 8 Jan 2007 16:03:24 -0000 1.2
@@ -0,0 +1 @@
+prelude-manager-0.9.7.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/prelude-manager/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Jan 2007 16:02:07 -0000 1.1
+++ sources 8 Jan 2007 16:03:24 -0000 1.2
@@ -0,0 +1 @@
+4af593e21b41faa220d9dc9648df4a85 prelude-manager-0.9.7.1.tar.gz
More information about the scm-commits
mailing list