packages: rlinetd/rlinetd.inet.sh, rlinetd/rlinetd.spec - rel 3 - allow FLA...

baggins baggins at pld-linux.org
Thu Jul 22 13:59:29 CEST 2010


Author: baggins                      Date: Thu Jul 22 11:59:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3
- allow FLAGS to be a list in rc-inetd script

---- Files affected:
packages/rlinetd:
   rlinetd.inet.sh (1.13 -> 1.14) , rlinetd.spec (1.82 -> 1.83) 

---- Diffs:

================================================================
Index: packages/rlinetd/rlinetd.inet.sh
diff -u packages/rlinetd/rlinetd.inet.sh:1.13 packages/rlinetd/rlinetd.inet.sh:1.14
--- packages/rlinetd/rlinetd.inet.sh:1.13	Tue Oct 16 17:08:15 2007
+++ packages/rlinetd/rlinetd.inet.sh	Thu Jul 22 13:59:24 2010
@@ -78,11 +78,18 @@
 	else
 		echo " $DAEMONARGS\";"
 	fi
-	if [ "$FLAGS" = "wait" ] ; then
-	echo "	wait		yes;"
-	else
-		[ "${MAX_CONNECTIONS:-n}" = "n" ] || echo "	instances	$MAX_CONNECTIONS;"
-	fi
+	for i in $FLAGS; do
+		case "$i" in
+		wait)
+			echo "	wait		yes;"
+			;;
+		nowait)
+			[ "${MAX_CONNECTIONS:-n}" = "n" ] || echo "	instances	$MAX_CONNECTIONS;"
+			;;
+		*)
+			;;
+		esac
+	done
 
 	[ "${INTERFACE:-n}" = "n" ]	|| echo "	interface	$INTERFACE;"
 	[ "${NICE:-n}" = "n" ]		|| echo "	nice		$NICE;"

================================================================
Index: packages/rlinetd/rlinetd.spec
diff -u packages/rlinetd/rlinetd.spec:1.82 packages/rlinetd/rlinetd.spec:1.83
--- packages/rlinetd/rlinetd.spec:1.82	Fri Jan 22 18:54:02 2010
+++ packages/rlinetd/rlinetd.spec	Thu Jul 22 13:59:24 2010
@@ -7,7 +7,7 @@
 Summary(pl.UTF-8):	lepszy zamiennik dla inetd
 Name:		rlinetd
 Version:	0.6.2
-Release:	2
+Release:	3
 License:	GPL
 Group:		Daemons
 Source0:	http://rlinetd.alioth.debian.org/download/rlinetd/%{name}-%{version}/%{name}-%{version}.tar.gz
@@ -107,6 +107,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.83  2010/07/22 11:59:24  baggins
+- rel 3
+- allow FLAGS to be a list in rc-inetd script
+
 Revision 1.82  2010/01/22 17:54:02  glen
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rlinetd/rlinetd.inet.sh?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rlinetd/rlinetd.spec?r1=1.82&r2=1.83&f=u



More information about the pld-cvs-commit mailing list