[csw-devel] SF.net SVN: gar:[6034] csw/mgar/pkg/sendmail/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Fri Aug 14 23:55:25 CEST 2009


Revision: 6034
          http://gar.svn.sourceforge.net/gar/?rev=6034&view=rev
Author:   valholla
Date:     2009-08-14 21:55:24 +0000 (Fri, 14 Aug 2009)

Log Message:
-----------
tweaking pacakge files

Modified Paths:
--------------
    csw/mgar/pkg/sendmail/trunk/checksums
    csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol10
    csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol8
    csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol9
    csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.postinstall

Modified: csw/mgar/pkg/sendmail/trunk/checksums
===================================================================
--- csw/mgar/pkg/sendmail/trunk/checksums	2009-08-14 21:31:12 UTC (rev 6033)
+++ csw/mgar/pkg/sendmail/trunk/checksums	2009-08-14 21:55:24 UTC (rev 6034)
@@ -1,8 +1,8 @@
 a9885ac08bd1f1d08e1e6fe0c5608408  download/CSWsendmail.checkinstall
-ab9a267a567696147a4338fc227c1493  download/CSWsendmail.i.sol10
-776bf7c6af3389b9ba7369188a35c61f  download/CSWsendmail.i.sol8
-da276cb497e869ddcd478e4a0c39329b  download/CSWsendmail.i.sol9
-a1d58264002e59e2f3ee6694a925c154  download/CSWsendmail.postinstall
+010a319390da36f704b929bc39ec3cd4  download/CSWsendmail.i.sol10
+f710fa2b1715480eea79242d4e31564c  download/CSWsendmail.i.sol8
+7becfceb90cc0dcf719312f6754342bb  download/CSWsendmail.i.sol9
+1e48aef4cf17d99098a666f2cfd219fd  download/CSWsendmail.postinstall
 4c53e32ed6b4ac66c35d5079ebcb548d  download/CSWsendmail.preinstall
 644a174b1a1e74ef8655ea0002aff8f7  download/CSWsendmail.preremove
 f49c3339aa897df97abf1baf54582fb8  download/CSWsendmail.space

Modified: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol10
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol10	2009-08-14 21:31:12 UTC (rev 6033)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol10	2009-08-14 21:55:24 UTC (rev 6034)
@@ -8,9 +8,5 @@
 	dest2="`echo $dest | sed 's/sol10.//g'`" || exit 2
 	echo $dest2
 	/usr/bin/cp -p $src $dest2 || exit 2
-    /usr/bin/rm -f $src
-    /usr/sbin/removef $PKGINST $src >/dev/null || exit 2
-done | /usr/sbin/installf -c sol10 $PKGINST -
-/usr/sbin/installf -f -c sol10 $PKGINST
-/usr/sbin/removef -f $PKGINST
+done 
 exit 0

Modified: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol8
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol8	2009-08-14 21:31:12 UTC (rev 6033)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol8	2009-08-14 21:55:24 UTC (rev 6034)
@@ -8,9 +8,5 @@
 	dest2="`echo $dest | sed 's/sol8.//g'`" || exit 2
 	echo $dest2
 	/usr/bin/cp -p $src $dest2 || exit 2
-    /usr/bin/rm -f $src
-    /usr/sbin/removef $PKGINST $src >/dev/null || exit 2
-done | /usr/sbin/installf -c sol8 $PKGINST -
-/usr/sbin/installf -f -c sol8 $PKGINST
-/usr/sbin/removef -f $PKGINST
+done 
 exit 0

Modified: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol9
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol9	2009-08-14 21:31:12 UTC (rev 6033)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol9	2009-08-14 21:55:24 UTC (rev 6034)
@@ -8,9 +8,6 @@
 	dest2="`echo $dest | sed 's/sol9.//g'`" || exit 2
 	echo $dest2
 	/usr/bin/cp -p $src $dest2 || exit 2
-    /usr/sbin/removef $PKGINST $src >/dev/null || exit 2
-done | /usr/sbin/installf -c sol9 $PKGINST - 
-/usr/sbin/installf -f -c sol9 $PKGINST
-/usr/sbin/removef -f $PKGINST
+done
 
 exit 0

Modified: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.postinstall
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.postinstall	2009-08-14 21:31:12 UTC (rev 6033)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.postinstall	2009-08-14 21:55:24 UTC (rev 6034)
@@ -2,6 +2,7 @@
 PATH=/bin:/usr/bin:/opt/csw/bin:/sbin:/usr/sbin:/opt/csw/sbin
 
 CONFDIR=/opt/csw/etc/mail
+SOLVER="sol`uname -r |sed 's/5\.//'`"
 
 for file in `cd ${CONFDIR} && ls *.CSW 2>/dev/null`
 do 
@@ -14,10 +15,37 @@
     fi
 done
 
-echo "** IMPORTANT **"
-echo "This package no longer replaces Sun's sendmail files."
-echo "Be sure to Deactivate Sun's Sendmail program."
-echo
+## Fixing package Dtabase
+echo "Notify Package Dtabase about file renaming"
+installf -c ${SOLVER} $PKGINST /opt/csw/bin/vacation
+installf -c ${SOLVER} $PKGINST /opt/csw/lib/mail.local
+installf -c ${SOLVER} $PKGINST /opt/csw/lib/rmail
+installf -c ${SOLVER} $PKGINST /opt/csw/lib/sendmail
+installf -c ${SOLVER} $PKGINST /opt/csw/lib/smrsh
+installf -c ${SOLVER} $PKGINST /opt/csw/sbin/mailstats
+installf -c ${SOLVER} $PKGINST /opt/csw/sbin/praliases
+installf -c ${SOLVER} $PKGINST /opt/csw/sbin/editmap
+installf -c ${SOLVER} $PKGINST /opt/csw/sbin/makemap
+installf -f -c ${SOLVER} $PKGINST
+rm -f /opt/csw/bin/${SOLVER}.vacation
+removef $PKGINST /opt/csw/bin/${SOLVER}.vacation
+rm -f /opt/csw/lib/${SOLVER}.mail.local
+removef $PKGINST /opt/csw/lib/${SOLVER}.mail.local
+rm -f /opt/csw/lib/${SOLVER}.rmail
+removef $PKGINST /opt/csw/lib/${SOLVER}.rmail
+rm -f /opt/csw/lib/${SOLVER}.sendmail
+removef $PKGINST /opt/csw/lib/${SOLVER}.sendmail
+rm -f /opt/csw/lib/${SOLVER}.smrsh
+removef $PKGINST /opt/csw/lib/${SOLVER}.smrsh
+rm -f /opt/csw/sbin/${SOLVER}.mailstats
+removef $PKGINST /opt/csw/sbin/${SOLVER}.mailstats
+rm -f /opt/csw/sbin/${SOLVER}.praliases
+removef $PKGINST /opt/csw/sbin/${SOLVER}.praliases
+rm -f /opt/csw/sbin/${SOLVER}.editmap
+removef $PKGINST /opt/csw/sbin/${SOLVER}.editmap
+rm -f /opt/csw/sbin/${SOLVER}.makemap
+removef $PKGINST /opt/csw/sbin/${SOLVER}.makemap
+removef -f $PKGINST
 
 exit 0
 


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