[csw-devel] SF.net SVN: gar:[6035] csw/mgar/pkg/sendmail/trunk
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Sat Aug 15 00:32:21 CEST 2009
Revision: 6035
http://gar.svn.sourceforge.net/gar/?rev=6035&view=rev
Author: valholla
Date: 2009-08-14 22:32:21 +0000 (Fri, 14 Aug 2009)
Log Message:
-----------
tweaks pacakge files
Modified Paths:
--------------
csw/mgar/pkg/sendmail/trunk/Makefile
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/Makefile
===================================================================
--- csw/mgar/pkg/sendmail/trunk/Makefile 2009-08-14 21:55:24 UTC (rev 6034)
+++ csw/mgar/pkg/sendmail/trunk/Makefile 2009-08-14 22:32:21 UTC (rev 6035)
@@ -44,7 +44,6 @@
$$$$3 ~/sol8\./ { $$$$2 = "sol8" } \
$$$$3 ~/sol9\./ { $$$$2 = "sol9" } \
$$$$3 ~/sol10\./ { $$$$2 = "sol10" } \
- $$$$3 ~/\/sol[0-9]*\.sendmail$$$$/ { $$$$4 = "2755" } \
{ print } \
END { { print "i i.sol8=CSWsendmail.i.sol8" } \
{ print "i i.sol9=CSWsendmail.i.sol9" } \
Modified: csw/mgar/pkg/sendmail/trunk/checksums
===================================================================
--- csw/mgar/pkg/sendmail/trunk/checksums 2009-08-14 21:55:24 UTC (rev 6034)
+++ csw/mgar/pkg/sendmail/trunk/checksums 2009-08-14 22:32:21 UTC (rev 6035)
@@ -1,8 +1,8 @@
a9885ac08bd1f1d08e1e6fe0c5608408 download/CSWsendmail.checkinstall
-010a319390da36f704b929bc39ec3cd4 download/CSWsendmail.i.sol10
-f710fa2b1715480eea79242d4e31564c download/CSWsendmail.i.sol8
-7becfceb90cc0dcf719312f6754342bb download/CSWsendmail.i.sol9
-1e48aef4cf17d99098a666f2cfd219fd download/CSWsendmail.postinstall
+c3da08ce0fb744123b3389dfdcaa22f7 download/CSWsendmail.i.sol10
+d0ddc9602bfbefac87467a418cc577cb download/CSWsendmail.i.sol8
+81131c94c1b339f08474bfc6a1ed934c download/CSWsendmail.i.sol9
+bd7692abc055a1da40d938379e92b12f 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:55:24 UTC (rev 6034)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol10 2009-08-14 22:32:21 UTC (rev 6035)
@@ -7,6 +7,6 @@
# Copy the version specific file to the original name
dest2="`echo $dest | sed 's/sol10.//g'`" || exit 2
echo $dest2
- /usr/bin/cp -p $src $dest2 || exit 2
+ /usr/bin/cp $src $dest2 || exit 2
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:55:24 UTC (rev 6034)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol8 2009-08-14 22:32:21 UTC (rev 6035)
@@ -7,6 +7,6 @@
# Copy the version specific file to the original name
dest2="`echo $dest | sed 's/sol8.//g'`" || exit 2
echo $dest2
- /usr/bin/cp -p $src $dest2 || exit 2
+ /usr/bin/cp $src $dest2 || exit 2
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:55:24 UTC (rev 6034)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol9 2009-08-14 22:32:21 UTC (rev 6035)
@@ -7,7 +7,7 @@
# Copy the version specific file to the original name
dest2="`echo $dest | sed 's/sol9.//g'`" || exit 2
echo $dest2
- /usr/bin/cp -p $src $dest2 || exit 2
+ /usr/bin/cp $src $dest2 || exit 2
done
exit 0
Modified: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.postinstall
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.postinstall 2009-08-14 21:55:24 UTC (rev 6034)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.postinstall 2009-08-14 22:32:21 UTC (rev 6035)
@@ -15,34 +15,71 @@
fi
done
-## 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
+echo "Updating Package Dtabase for /opt/csw/bin/vacation"
+chmod 0555 /opt/csw/bin/vacation
+chown root:bin /opt/csw/bin/vacation
+installf -c ${SOLVER} $PKGINST /opt/csw/bin/vacation f 0555 root bin || exit 2
+echo "Updating Package Dtabase for /opt/csw/lib/mail.local"
+chown root:bin /opt/csw/lib/mail.local
+chmod 0555 /opt/csw/lib/mail.local
+installf -c ${SOLVER} $PKGINST /opt/csw/lib/mail.local f 0555 root bin || exit 2
+echo "Updating Package Dtabase for /opt/csw/lib/rmail"
+chown root:bin /opt/csw/lib/rmail
+chmod 0555 /opt/csw/lib/rmail
+installf -c ${SOLVER} $PKGINST /opt/csw/lib/rmail f 0555 root bin || exit 2
+echo "Updating Package Dtabase for /opt/csw/lib/sendmail"
+chown root:smmsp /opt/csw/lib/sendmail
+chmod 2555 /opt/csw/lib/sendmail
+installf -c ${SOLVER} $PKGINST /opt/csw/lib/sendmail f 2555 root smmsp || exit 2
+echo "Updating Package Dtabase for /opt/csw/lib/smrsh"
+chown root:bin /opt/csw/lib/smrsh
+chmod 0555 /opt/csw/lib/smrsh
+installf -c ${SOLVER} $PKGINST /opt/csw/lib/smrsh f 0555 root bin || exit 2
+echo "Updating Package Dtabase for /opt/csw/sbin/mailstats"
+chown root:bin /opt/csw/sbin/mailstats
+chmod 0555 /opt/csw/sbin/mailstats
+installf -c ${SOLVER} $PKGINST /opt/csw/sbin/mailstats f 0555 root bin || exit 2
+echo "Updating Package Dtabase for /opt/csw/sbin/praliases"
+chown root:bin /opt/csw/sbin/praliases
+chmod 0555 /opt/csw/sbin/praliases
+installf -c ${SOLVER} $PKGINST /opt/csw/sbin/praliases f 0555 root bin || exit 2
+echo "Updating Package Dtabase for /opt/csw/sbin/editmap"
+chown root:bin /opt/csw/sbin/editmap
+chmod 0555 /opt/csw/sbin/editmap
+installf -c ${SOLVER} $PKGINST /opt/csw/sbin/editmap f 0555 root bin || exit 2
+echo "Updating Package Dtabase for /opt/csw/sbin/makemap"
+chown root:bin /opt/csw/sbin/makemap
+chmod 0555 /opt/csw/sbin/makemap
+installf -c ${SOLVER} $PKGINST /opt/csw/sbin/makemap f 0555 root bin || exit 2
+
installf -f -c ${SOLVER} $PKGINST
+
+## Cleanup of OS Versioned Class files
+echo "Updating Pacakge Database for /opt/csw/bin/${SOLVER}.vacation"
rm -f /opt/csw/bin/${SOLVER}.vacation
removef $PKGINST /opt/csw/bin/${SOLVER}.vacation
+echo "Updating Pacakge Database for /opt/csw/lib/${SOLVER}.mail.local"
rm -f /opt/csw/lib/${SOLVER}.mail.local
removef $PKGINST /opt/csw/lib/${SOLVER}.mail.local
+echo "Updating Pacakge Database for /opt/csw/lib/${SOLVER}.rmail"
rm -f /opt/csw/lib/${SOLVER}.rmail
removef $PKGINST /opt/csw/lib/${SOLVER}.rmail
+echo "Updating Pacakge Database for /opt/csw/lib/${SOLVER}.sendmail"
rm -f /opt/csw/lib/${SOLVER}.sendmail
removef $PKGINST /opt/csw/lib/${SOLVER}.sendmail
+echo "Updating Pacakge Database for /opt/csw/lib/${SOLVER}.smrsh"
rm -f /opt/csw/lib/${SOLVER}.smrsh
removef $PKGINST /opt/csw/lib/${SOLVER}.smrsh
+echo "Updating Pacakge Database for /opt/csw/sbin/${SOLVER}.mailstats"
rm -f /opt/csw/sbin/${SOLVER}.mailstats
removef $PKGINST /opt/csw/sbin/${SOLVER}.mailstats
+echo "Updating Pacakge Database for /opt/csw/sbin/${SOLVER}.praliases"
rm -f /opt/csw/sbin/${SOLVER}.praliases
removef $PKGINST /opt/csw/sbin/${SOLVER}.praliases
+echo "Updating Pacakge Database for /opt/csw/sbin/${SOLVER}.editmap"
rm -f /opt/csw/sbin/${SOLVER}.editmap
removef $PKGINST /opt/csw/sbin/${SOLVER}.editmap
+echo "Updating Pacakge Database for /opt/csw/sbin/${SOLVER}.makemap"
rm -f /opt/csw/sbin/${SOLVER}.makemap
removef $PKGINST /opt/csw/sbin/${SOLVER}.makemap
removef -f $PKGINST
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