rpms/tmda/devel tofmipd.init.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 tmda.spec, 1.9, 1.10

Bernard Johnson (bjohnson) fedora-extras-commits at redhat.com
Mon Aug 20 02:39:54 UTC 2007


Author: bjohnson

Update of /cvs/pkgs/rpms/tmda/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8562/devel

Modified Files:
	.cvsignore sources tmda.spec 
Added Files:
	tofmipd.init.patch 
Log Message:
- 1.1.12
- update license tag
- updates to init to be lsb compliant (bz #247075)


tofmipd.init.patch:

--- NEW FILE tofmipd.init.patch ---
--- tmda-1.1.12/contrib/tofmipd.init	2007-02-23 20:06:47.000000000 -0700
+++ tmda-1.1.12/contrib/tofmipd.init	2007-08-19 20:19:08.000000000 -0600
@@ -19,6 +19,16 @@
 # processname: tofmipd
 # pidfile: /var/run/tofmipd.pid
 # config: /etc/sysconfig/tofmipd
+### BEGIN INIT INFO
+# Provides:          tofmipd
+# Required-Start:    $local_fs $network
+# Should-Start:
+# Required-Stop:
+# Default-Stop:      0 1 2 6
+# Short-Description: Start tofmipd daemon
+# Description:       tofmipd is a server that allow tagging of outgoing mail \
+#                    for the TMDA system
+### END INIT INFO
 
 # Path to the script, server binary, and short-form for messages.
 program=/usr/bin/tmda-ofmipd
@@ -39,42 +49,44 @@
         daemon $program $OPTIONS
         RETVAL=$?
         echo
-        [ $RETVAL = 0 ] && touch $lockfile
+        [ $RETVAL -eq 0 ] && touch $lockfile
         return $RETVAL
 }
 stop() {
-	echo -n $"Stopping $progname: "
-	killproc $program
-	RETVAL=$?
-	echo
-	[ $RETVAL = 0 ] && rm -f $lockfile $pidfile
+        echo -n $"Stopping $progname: "
+        killproc $program
+        RETVAL=$?
+        echo
+        [ $RETVAL -eq 0 ] && rm -f $lockfile $pidfile
 }
 
 # See how we were called.
 case "$1" in
   start)
-	start
-	;;
+        start
+        ;;
   stop)
-	stop
-	;;
+        stop
+        ;;
   status)
         status $program
-	RETVAL=$?
-	;;
+        RETVAL=$?
+        ;;
   restart|reload)
-	stop
-	start
-	;;
+        stop
+        start
+        RETVAL=$?
+        ;;
   condrestart)
-	if [ -f $pidfile ] ; then
-		stop
-		start
-	fi
-	;;
+        if [ -f $pidfile ] ; then
+                stop
+                start
+                RETVAL=$?
+        fi
+        ;;
   *)
-	echo $"Usage: $progname {start|stop|restart|condrestart|status}"
-	exit 1
+        echo $"Usage: $progname {start|stop|restart|condrestart|status}"
+        RETVAL=3
 esac
 
 exit $RETVAL


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tmda/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	25 Feb 2007 08:55:30 -0000	1.3
+++ .cvsignore	20 Aug 2007 02:39:22 -0000	1.4
@@ -1 +1 @@
-tmda-1.1.11.tgz
+tmda-1.1.12.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tmda/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	25 Feb 2007 08:55:30 -0000	1.3
+++ sources	20 Aug 2007 02:39:22 -0000	1.4
@@ -1 +1 @@
-7ab79d3ebd1a62757be06218f4af902a  tmda-1.1.11.tgz
+b9b3f978572598072ae7a7fb055c8218  tmda-1.1.12.tgz


Index: tmda.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tmda/devel/tmda.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- tmda.spec	20 Jun 2007 17:37:52 -0000	1.9
+++ tmda.spec	20 Aug 2007 02:39:22 -0000	1.10
@@ -5,14 +5,15 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           tmda
-Version:        1.1.11
-Release:        4%{?dist}
+Version:        1.1.12
+Release:        1%{?dist}
 Summary:        Tagged Message Delivery Agent 
 
 Group:          Applications/System
-License:        GPL
+License:        GPLv2+
 URL:            http://tmda.net
 Source0:        ftp://tmda.net/pub/tmda/releases/%{name}-%{version}.tgz
+Patch0:         tofmipd.init.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -27,6 +28,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .init-updates
 
 
 %build
@@ -180,6 +182,11 @@
 
 
 %changelog
+* Sun Aug 19 2007 Bernard Johnson <bjohnson at symetrix.com> 1.1.12-1
+- 1.1.12
+- update license tag
+- updates to init to be lsb compliant (bz #247075)
+
 * Wed Jun 20 2007 Bernard Johnson <bjohnson at symetrix.com> 1.1.11-4
 - assign package uid
 




More information about the fedora-extras-commits mailing list