rpms/prelude-lml/F-9 prelude-lml.init, NONE, 1.1 prelude-lml.spec, 1.10, 1.11 sources, 1.4, 1.5 prelude-lml-initd.patch, 1.2, NONE

Steve Grubb sgrubb at fedoraproject.org
Wed Sep 10 14:43:57 UTC 2008


Author: sgrubb

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

Modified Files:
	prelude-lml.spec sources 
Added Files:
	prelude-lml.init 
Removed Files:
	prelude-lml-initd.patch 
Log Message:
* Wed Sep 10 2008 Steve Grubb <sgrubb at redhat.com> 0.9.13-1
- new upstream release



--- NEW FILE prelude-lml.init ---
#!/bin/sh
#
# prelude lml	The prelude log analyzer    
#
# chkconfig: - 80 10
# description: The prelude log analyzer
#              when using postgresql : - 87 13
#                         mysql      : - 80 10


# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

prog=prelude-lml
progpath=/usr/bin/$prog
pidfile=/var/run/${prog}.pid

[ -x $progpath ]        || exit 0
[ -d /etc/$prog ]       || exit 0

RETVAL=0

start() {
	# Start daemon.
	echo -n "Starting $prog: "
        daemon $NICELEVEL $progpath -d -P $pidfile 
	RETVAL=$?
	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
        echo
	return $RETVAL	
}

stop() {
        # Stop daemons
        echo -n "Shutting down $prog: "
        killproc $prog
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog $pidfile
	return $RETVAL
}

restart() {
	stop
	start
}

case "$1" in
    start)
	start
	;;
    stop)
	stop
	;;
    restart|reload)
	stop
	start
	;;
    status)
	status $prog 
	RETVAL=$?
	;;
    *)
	echo "Usage: $0 {start|stop|restart|reload|status}"
	exit 1
esac

exit $RETVAL


Index: prelude-lml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/prelude-lml/F-9/prelude-lml.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- prelude-lml.spec	24 Apr 2008 19:36:20 -0000	1.10
+++ prelude-lml.spec	10 Sep 2008 14:43:27 -0000	1.11
@@ -1,13 +1,13 @@
 Name:		prelude-lml           
-Version:	0.9.12.2
+Version:	0.9.13
 Release:	1%{?dist}
 Summary:	The prelude log analyzer
 
 Group:		System Environment/Libraries
 License:	GPLv2+
 URL:		http://prelude-ids.org/
-Source0:	http://www.prelude-ids.org/download/releases/%{name}-%{version}.tar.gz	
-Patch0:		%{name}-initd.patch
+Source0:	http://www.prelude-ids.org/download/releases/%{name}/%{name}-%{version}.tar.gz	
+Source1:	prelude-lml.init
 Patch1:		prelude-lml-0.9.12-pie.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -43,7 +43,6 @@
 
 %prep
 %setup -q
-%patch -p0
 %patch1 -p1
 sed -i.debug -e '/nlist/s|\$rm|: $rm|' ltmain.sh
 
@@ -65,7 +64,7 @@
 mkdir -p %{buildroot}/var/lib/%{name}/
 make install DESTDIR=%{buildroot} INSTALL="%{__install} -c -p"
 cp -p  AUTHORS README ChangeLog 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}/debug.la
 rm -f %{buildroot}/%{_libdir}/%{name}/pcre.la
 
@@ -112,6 +111,9 @@
 
 
 %changelog
+* Wed Sep 10 2008 Steve Grubb <sgrubb at redhat.com> 0.9.13-1
+- new upstream release
+
 * Thu Apr 24 2008 Steve Grubb <sgrubb at redhat.com> 0.9.12.2-1
 - new upstream release
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/prelude-lml/F-9/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	24 Apr 2008 19:36:20 -0000	1.4
+++ sources	10 Sep 2008 14:43:27 -0000	1.5
@@ -1 +1 @@
-f13df3fdee98f6ceb5519d1a71cdf87f  prelude-lml-0.9.12.2.tar.gz
+310649089740e93916af60840e405928  prelude-lml-0.9.13.tar.gz


--- prelude-lml-initd.patch DELETED ---




More information about the fedora-extras-commits mailing list