rpms/prelude-manager/F-9 prelude-manager.init, NONE, 1.1 prelude-manager.spec, 1.7, 1.8 sources, 1.6, 1.7 prelude-manager-0.9.7-initd.patch, 1.2, NONE

Steve Grubb sgrubb at fedoraproject.org
Wed Sep 10 15:31:20 UTC 2008


Author: sgrubb

Update of /cvs/pkgs/rpms/prelude-manager/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19992

Modified Files:
	prelude-manager.spec sources 
Added Files:
	prelude-manager.init 
Removed Files:
	prelude-manager-0.9.7-initd.patch 
Log Message:
* Wed Sep 10 2008 Steve Grubb <sgrubb at redhat.com> 0.9.14.2-1
- new upstream version
- Prelude-Manager-SMTP plugin is now included



--- NEW FILE prelude-manager.init ---
#!/bin/sh
# Startup script for prelude-manager
#
# chkconfig: - 70 35
# 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


Index: prelude-manager.spec
===================================================================
RCS file: /cvs/pkgs/rpms/prelude-manager/F-9/prelude-manager.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- prelude-manager.spec	14 May 2008 12:34:57 -0000	1.7
+++ prelude-manager.spec	10 Sep 2008 15:30:50 -0000	1.8
@@ -1,13 +1,13 @@
 Name:		prelude-manager           
-Version:	0.9.12.1
+Version:	0.9.14.2
 Release:	1%{?dist}
 Summary:	Prelude-Manager
 
 Group:		Applications/Internet
 License:	GPLv2+
 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
+Source0:	http://www.prelude-ids.org/download/releases/%{name}/%{name}-%{version}.tar.gz
+Source1:	%{name}.init
 Patch1:		%{name}-0.9.12-pie.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -51,15 +51,7 @@
 %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.
+the Prelude sensors.
 
 This plugin authorize prelude-manager to write to database.
 
@@ -71,23 +63,25 @@
 %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.
+the Prelude sensors.
 
 This plugin adds XML logging capabilities to the Prelude IDS
 Manager.
 
+%package	smtp-plugin
+Summary:	SMTP alert plugin for Prelude IDS Manager
+Group:		System Environment/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description    smtp-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.
+
+This plugin adds alerting by email capabilities to the Prelude IDS
 
 %prep
 %setup -q
-%patch0 -p0
 %patch1 -p1
 sed -i.debug -e '/nlist/s|\$rm|: $rm|' ltmain.sh
 
@@ -105,12 +99,11 @@
 mkdir -p %{buildroot}/%{_initrddir}
 mkdir -p %{buildroot}/%{_var}/spool/prelude-manager/scheduler
 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}
+install -m 755 %{SOURCE1} %{buildroot}/%{_initrddir}/%{name}
 rm -f %{buildroot}/%{_libdir}/%{name}/reports/*.la
 rm -f %{buildroot}/%{_libdir}/%{name}/filters/*.la
 rm -f %{buildroot}/%{_libdir}/%{name}/decodes/*.la
+rm -f %{buildroot}%{_defaultdocdir}/%{name}/smtp/template.example
 
 %clean
 rm -rf %{buildroot}
@@ -133,6 +126,7 @@
 
 %files
 %defattr(0755,root,root,-)
+%doc %attr(0644,root,root) AUTHORS README NEWS COPYING HACKING.README
 %config %dir %{_sysconfdir}/%{name}/
 %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/%{name}/*
 %{_initrddir}/%{name}
@@ -150,8 +144,6 @@
 %dir %{_localstatedir}/spool/%{name}/scheduler
 %dir %{_localstatedir}/run/%{name}/
 %dir %{_datadir}/%{name}/
-%dir %{_defaultdocdir}/%{name}-%{version}/
-%doc %attr(0644,root,root) %{_defaultdocdir}/%{name}-%{version}/*
 %attr(0644,root,root) %{_mandir}/man1/prelude-manager.1.gz
 
 %files db-plugin
@@ -164,6 +156,11 @@
 %dir %{_datadir}/%{name}/xmlmod/
 %{_datadir}/%{name}/xmlmod/*
 
+%files smtp-plugin
+%defattr(-,root,root)
+%doc %attr(0644,root,root) plugins/reports/smtp/template.example
+%{_libdir}/%{name}/reports/smtp.so
+
 %files devel
 %defattr(-,root,root)
 %dir %{_includedir}/%{name}/
@@ -171,6 +168,10 @@
 
 
 %changelog
+* Wed Sep 10 2008 Steve Grubb <sgrubb at redhat.com> 0.9.14.2-1
+- new upstream version
+- Prelude-Manager-SMTP plugin is now included
+
 * Wed May 14 2008 Steve Grubb <sgrubb at redhat.com> 0.9.12.1-1
 - new upstream version 0.9.12.1
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/prelude-manager/F-9/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	14 May 2008 12:34:57 -0000	1.6
+++ sources	10 Sep 2008 15:30:50 -0000	1.7
@@ -1 +1 @@
-865631e71f63ce605f91d7aed076c4c0  prelude-manager-0.9.12.1.tar.gz
+4112f1be84cace540d649a6127a46d9c  prelude-manager-0.9.14.2.tar.gz


--- prelude-manager-0.9.7-initd.patch DELETED ---




More information about the fedora-extras-commits mailing list