[csw-devel] SF.net SVN: gar:[15767] csw/mgar/pkg/postfix/trunk

skayser at users.sourceforge.net skayser at users.sourceforge.net
Mon Sep 26 21:19:09 CEST 2011


Revision: 15767
          http://gar.svn.sourceforge.net/gar/?rev=15767&view=rev
Author:   skayser
Date:     2011-09-26 19:19:08 +0000 (Mon, 26 Sep 2011)
Log Message:
-----------
postfix/trunk: tweak and ship README.CSW (newaliases is a symlink, less work required)

Modified Paths:
--------------
    csw/mgar/pkg/postfix/trunk/Makefile
    csw/mgar/pkg/postfix/trunk/files/README.CSW

Modified: csw/mgar/pkg/postfix/trunk/Makefile
===================================================================
--- csw/mgar/pkg/postfix/trunk/Makefile	2011-09-26 18:25:27 UTC (rev 15766)
+++ csw/mgar/pkg/postfix/trunk/Makefile	2011-09-26 19:19:08 UTC (rev 15767)
@@ -287,6 +287,10 @@
 	# Upgrade notice for users upgrading from the 2.4 package
 	ginstall -Dm 644 $(FILEDIR)/README.upgradefrom.24 \
 		$(DESTDIR)$(docdir)/$(NAME)/README.upgradefrom.24
+
+	# Instructions to replace the system's sendmail
+	ginstall -Dm 644 $(FILEDIR)/README.CSW \
+		$(DESTDIR)$(docdir)/$(NAME)/README.CSW
 	@$(MAKECOOKIE)
 
 # Fails. A subsequent manual verify-config run is successfull,

Modified: csw/mgar/pkg/postfix/trunk/files/README.CSW
===================================================================
--- csw/mgar/pkg/postfix/trunk/files/README.CSW	2011-09-26 18:25:27 UTC (rev 15766)
+++ csw/mgar/pkg/postfix/trunk/files/README.CSW	2011-09-26 19:19:08 UTC (rev 15767)
@@ -6,7 +6,6 @@
 
   /usr/lib/sendmail
   /usr/bin/mailq
-  /usr/bin/newaliases
 
 This makes the package installation less troublesome for shared zones and
 leaves the choice of fully replacing your system sendmail up to you. If you
@@ -26,18 +25,15 @@
 
   mv /usr/lib/sendmail /usr/lib/sendmail.SYSTEM
   mv /usr/bin/mailq /usr/bin/mailq.SYSTEM
-  mv /usr/bin/newaliases /usr/bin/newaliases.SYSTEM
   
   ln -s /opt/csw/sbin/sendmail /usr/lib/sendmail
-  ln -s /opt/csw/bin/newaliases /usr/bin/newaliases
   ln -s /opt/csw/bin/mailq /usr/bin/mailq
 
 Roll back:
 
-  rm /usr/lib/sendmail /usr/bin/newaliases /usr/bin/mailq
+  rm /usr/lib/sendmail /usr/bin/mailq
   mv /usr/lib/sendmail.SYSTEM /usr/lib/sendmail
   mv /usr/bin/mailq.SYSTEM /usr/bin/mailq
-  mv /usr/bin/newaliases.SYSTEM /usr/bin/newaliases
 
 #2: Recommended for production systems and long term operations
 
@@ -58,14 +54,14 @@
 Put in place:
 
   ln -s /opt/csw/sbin/sendmail /usr/lib/sendmail
-  ln -s /opt/csw/bin/newaliases /usr/bin/newaliases
+  ln -s /opt/csw/bin/newaliases /usr/sbin/newaliases
   ln -s /opt/csw/bin/mailq /usr/bin/mailq
 
 Roll back:
 
   echo "idepend=nocheck" > ~/admin-postfix
   echo "action=nocheck" >> ~/admin-postfix
-  rm /usr/lib/sendmail /usr/bin/newaliases /usr/bin/mailq
+  rm /usr/lib/sendmail /usr/sbin/newaliases /usr/bin/mailq
   pkgadd -na ~/admin-postfix \
          -d <path_to_solaris_media>/Solaris_X/Products/ SUNWsndmr SUNWsndmu
   rm ~/admin-postfix

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