[csw-devel] SF.net SVN: gar:[6913] csw/mgar/pkg/cswclassutils/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon Oct 19 18:58:08 CEST 2009


Revision: 6913
          http://gar.svn.sourceforge.net/gar/?rev=6913&view=rev
Author:   bdwalton
Date:     2009-10-19 16:58:08 +0000 (Mon, 19 Oct 2009)

Log Message:
-----------
cswclassutils: cswinetd -> use /var/opt/csw/cswclassutils

Modified Paths:
--------------
    csw/mgar/pkg/cswclassutils/trunk/Makefile
    csw/mgar/pkg/cswclassutils/trunk/checksums
    csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswinetd

Modified: csw/mgar/pkg/cswclassutils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/Makefile	2009-10-19 16:23:18 UTC (rev 6912)
+++ csw/mgar/pkg/cswclassutils/trunk/Makefile	2009-10-19 16:58:08 UTC (rev 6913)
@@ -1,7 +1,7 @@
 # $Id$
 
 GARNAME = cswclassutils
-GARVERSION = 1.25
+GARVERSION = 1.26
 CATEGORIES = utils
 
 DESCRIPTION = CSW class action utilities

Modified: csw/mgar/pkg/cswclassutils/trunk/checksums
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/checksums	2009-10-19 16:23:18 UTC (rev 6912)
+++ csw/mgar/pkg/cswclassutils/trunk/checksums	2009-10-19 16:58:08 UTC (rev 6913)
@@ -1,7 +1,7 @@
 48a97af56d55bc90ce90303228ed8cc3  COPYING
 9f7a2603bf91ea53e70f2fe5c4a56726  CSWcswclassutils.i.cswcpsampleconf
 56900bb1fc9f40f7c227877eca32b1f8  CSWcswclassutils.i.cswetcservices
-a958a6d8b1b81720a27306b3d2ecdabf  CSWcswclassutils.i.cswinetd
+0dec9b16f322a26b4fa5cc6c89dfd418  CSWcswclassutils.i.cswinetd
 fa318ca696e80a9a9f2efbf35cb69080  CSWcswclassutils.i.cswinitsmf
 2bbe577283973467c076ea11b9226b1d  CSWcswclassutils.i.cswmigrateconf
 9f34d51156032e6e08e87fd686723e33  CSWcswclassutils.i.cswpreserveconf

Modified: csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswinetd
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswinetd	2009-10-19 16:23:18 UTC (rev 6912)
+++ csw/mgar/pkg/cswclassutils/trunk/files/CSWcswclassutils.i.cswinetd	2009-10-19 16:58:08 UTC (rev 6913)
@@ -74,10 +74,12 @@
 	  fi
 	  manifest=$outdir/$svcname-$proto.xml
 
-	  echo "$inetdsvc" > /tmp/$svcname.$$
+	  TMPOUT=/var/opt/csw/cswclassutils/$svcname.$$
 
+	  echo "$inetdsvc" > $TMPOUT
+
 	  # we use -f to force any in the specified inetd to take precedence
-	  /usr/sbin/inetconv -f -i /tmp/$svcname.$$ -o $outdir || exit 2
+	  /usr/sbin/inetconv -f -i $TMPOUT -o $outdir || exit 2
 	  if [ "$daemon" = "yes" ]; then
 	      /usr/sbin/inetadm -e svc:/network/$svcname/$proto:default
 	  else
@@ -88,7 +90,7 @@
 	  /usr/bin/chmod 644 $manifest
 	  /usr/bin/chown root:bin $manifest
 
-	  rm /tmp/$svcname.$$
+	  rm $TMPOUT
       else
 	  [ -n "$DEBUG" ] && echo "For solaris 8 or 9"
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list