packages: policyd/policyd.init, policyd/policyd.spec, policyd/policyd.cron ...

glen glen at pld-linux.org
Mon Jan 3 14:36:24 CET 2011


Author: glen                         Date: Mon Jan  3 13:36:24 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- drop cleanup and cron

---- Files affected:
packages/policyd:
   policyd.init (1.13 -> 1.14) , policyd.spec (1.14 -> 1.15) , policyd.cron (1.4 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/policyd/policyd.init
diff -u packages/policyd/policyd.init:1.13 packages/policyd/policyd.init:1.14
--- packages/policyd/policyd.init:1.13	Mon Jan  3 14:30:04 2011
+++ packages/policyd/policyd.init	Mon Jan  3 14:36:19 2011
@@ -70,21 +70,6 @@
 	start
 }
 
-cleanup() {
-	if [ -r /var/run/policyd.lck ]; then
-		echo "PolicyD cleanup process already running." 1>&2
-		RETVAL=1
-	elif [ ! -r "${CLUEBRINGER_CONF}" ]; then
-		echo "PolicyD configuration file not found: ${CLUEBRINGER_CONF}" 1>&2
-		RETVAL=1
-	else
-		touch /var/run/policyd.lck
-		/usr/lib/policyd/cleanup -c "${CLUEBRINGER_CONF}"
-		RETVAL=$?
-		rm -f /var/run/policyd.lck
-	fi
-}
-
 RETVAL=0
 # See how we were called.
 case "$1" in
@@ -104,15 +89,12 @@
   force-reload)
 	condrestart 7
 	;;
-  cleanup|cron)
-	cleanup
-	;;
   status)
 	status policyd cbpolicyd
 	exit $?
 	;;
   *)
-	msg_usage "$0 {start|stop|restart|try-restart|force-reload|cron|status}"
+	msg_usage "$0 {start|stop|restart|try-restart|force-reload|status}"
 	exit 3
 esac
 

================================================================
Index: packages/policyd/policyd.spec
diff -u packages/policyd/policyd.spec:1.14 packages/policyd/policyd.spec:1.15
--- packages/policyd/policyd.spec:1.14	Mon Jan  3 14:30:29 2011
+++ packages/policyd/policyd.spec	Mon Jan  3 14:36:19 2011
@@ -4,12 +4,11 @@
 Summary(pl.UTF-8):	Policyd - wtyczka antyspamowa dla Postfiksa
 Name:		policyd
 Version:	2.0.10
-Release:	0.5
+Release:	0.6
 License:	GPL v2
 Group:		Networking
 Source0:	http://downloads.sourceforge.net/policyd/cluebringer-%{version}.tar.bz2
 # Source0-md5:	cdff8f8e7c0e95143f7108159aed80c6
-Source1:	%{name}.cron
 Source2:	%{name}.sysconfig
 Source3:	%{name}.conf
 Source4:	%{name}.init
@@ -62,11 +61,11 @@
 Policyd "ClueBringer" Perl Libraries.
 
 %package webui
-Summary:	Webui
+Summary:	Policyd "ClueBringer" Web UI
 Group:		Applications/WWW
 
 %description webui
-webui
+Policyd "ClueBringer" Web UI.
 
 %prep
 %setup -q -n cluebringer-%{version}
@@ -179,6 +178,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2011/01/03 13:36:19  glen
+- drop cleanup and cron
+
 Revision 1.14  2011/01/03 13:30:29  glen
 - run daemon as policyd/policyd
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/policyd/policyd.init?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/policyd/policyd.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list