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

valholla at users.sourceforge.net valholla at users.sourceforge.net
Sat Aug 8 03:47:51 CEST 2009


Revision: 5935
          http://gar.svn.sourceforge.net/gar/?rev=5935&view=rev
Author:   valholla
Date:     2009-08-08 01:47:50 +0000 (Sat, 08 Aug 2009)

Log Message:
-----------
fixes for class files

Modified Paths:
--------------
    csw/mgar/pkg/sendmail/trunk/Makefile
    csw/mgar/pkg/sendmail/trunk/checksums

Added Paths:
-----------
    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

Removed Paths:
-------------
    csw/mgar/pkg/sendmail/trunk/files/i.sol10
    csw/mgar/pkg/sendmail/trunk/files/i.sol8
    csw/mgar/pkg/sendmail/trunk/files/i.sol9

Modified: csw/mgar/pkg/sendmail/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sendmail/trunk/Makefile	2009-08-08 01:30:50 UTC (rev 5934)
+++ csw/mgar/pkg/sendmail/trunk/Makefile	2009-08-08 01:47:50 UTC (rev 5935)
@@ -9,14 +9,17 @@
 
 INSTALLISADIR = $(WORKROOTDIR)/install-$(GAROSREL)-$(MODULATION)
 WORKDIR = $(WORKROOTDIR)/build-$(GAROSREL)-$(MODULATION)
+WORKDIR_FIRSTMOD = $(WORKROOTDIR)/build-$(GAROSREL)-$(firstword $(MODULATIONS))
 COOKIEDIR = $(COOKIEROOTDIR)/$(GAROSREL)-$(MODULATION)
 
 MASTER_SITES = ftp://ftp.sendmail.org/pub/sendmail/
 
+MY_CLASSES = CSWsendmail.i.sol8 CSWsendmail.i.sol9 CSWsendmail.i.sol10
+
 DISTFILES  = $(GARNAME).$(GARVERSION).tar.gz
 DISTFILES += README.CSW sendmail.schema
 DISTFILES += Sun-sendmail-deactivate.sh Sun-sendmail-reactivate.sh
-DISTFILES += cswsendmail site.config.m4 i.sol8 i.sol9 i.sol10
+DISTFILES += cswsendmail site.config.m4 $(MY_CLASSES)
 DISTFILES += CSWsendmail.preremove CSWsendmail.preinstall CSWsendmail.space
 DISTFILES += $(foreach FILE,$(shell cd $(FILEDIR) && ls *.CSW),$(FILE))
 
@@ -35,16 +38,20 @@
 REQUIRED_PKGS_CSWsendmailcommon = CSWbdb CSWoldaprt CSWosslrt CSWsasl CSWtcpwrap CSWcswclassutils
 ARCHALL_CSWsendmailcommon = 1
 SPKG_CLASSES_CSWsendmail = none cswinitsmf cswosrel
-PROTOTYPE_FILTER = (awk \
-				   '$$$$3 ~/\/init\.d\/cswsendmail$$$$/ {$$$$2 = "cswinitsmf"} \
+
+PROTOTYPE_FILTER = awk \
+				   '$$$$2 ~/i.sol8/ { next } \
+				    $$$$2 ~/i.sol9/ { next } \
+				    $$$$2 ~/i.sol10/ { next } \
+					$$$$3 ~/\/init\.d\/cswsendmail$$$$/ {$$$$2 = "cswinitsmf"} \
 					$$$$3 ~/sol8\./ { $$$$2 = "sol8" } \
 					$$$$3 ~/sol9\./ { $$$$2 = "sol9" } \
 					$$$$3 ~/sol10\./ { $$$$2 = "sol10" } \
 					$$$$3 ~/\/sol[0-9]*\.sendmail$$$$/ { $$$$4 = "2755" } \
-					{ print }')
-PROTOTYPE_FILTER += (fgrep -v "i.sol8";echo "i i.sol8=\$$$$WORKDIR_FIRSTMOD/i.sol8")
-PROTOTYPE_FILTER += (fgrep -v "i.sol9";echo "i i.sol9=\$$$$WORKDIR_FIRSTMOD/i.sol9")
-PROTOTYPE_FILTER += (fgrep -v "i.sol10";echo "i i.sol10=\$$$$WORKDIR_FIRSTMOD/i.sol10")
+					{ print } \
+				    END { { print "i i.sol8=CSWsendmail.i.sol8" } \
+					{ print "i i.sol9=CSWsendmail.i.sol9" } \
+					{ print "i i.sol10=CSWsendmail.i.sol10" } } '
 
 PKGFILES_CSWsendmailcommon  = .*$(sharedstatedir)/.*
 PKGFILES_CSWsendmailcommon += .*$(mandir)/.*
@@ -56,16 +63,16 @@
 # patch away GNUism
 PATCHFILES = patch-CC-M.m4
 
-CONFIGURE_SCRIPTS = custom
-BUILD_SCRIPTS     = custom
-TEST_SCRIPTS      = custom
-INSTALL_SCRIPTS   = custom
+CONFIGURE_SCRIPTS   = custom
+BUILD_SCRIPTS       = custom
+TEST_SCRIPTS        = custom
+INSTALL_SCRIPTS     = custom
 EXTRA_MERGE_SCRIPTS = OS
 
 include gar/category.mk
 ADMSCRIPTS = preremove preinstall space depend i.sol8 i.sol9 i.sol10
 
-SOLVER = sol$(shell uname -r |sed 's/5\.//')
+SOLVER    = sol$(shell uname -r |sed 's/5\.//')
 PLATFORM  = $(shell if [ `uname -i` = "i86pc" ] ; then echo i86pc ; else echo sun4 ; fi )
 OBJDIR    = $(WORKDIR)/$(DISTNAME)/obj.SunOS.$(GAROSREL).$(PLATFORM)
 LIBFILES  = sendmail/sendmail mail.local/mail.local smrsh/smrsh rmail/rmail

Modified: csw/mgar/pkg/sendmail/trunk/checksums
===================================================================
--- csw/mgar/pkg/sendmail/trunk/checksums	2009-08-08 01:30:50 UTC (rev 5934)
+++ csw/mgar/pkg/sendmail/trunk/checksums	2009-08-08 01:47:50 UTC (rev 5935)
@@ -1,3 +1,6 @@
+27994344f69c7c92382d57264c7debf8  download/CSWsendmail.i.sol10
+24ffe87e0881ffa3e0495eeede9a0602  download/CSWsendmail.i.sol8
+b3510dc2ae95e585bc922cab8c89b8f0  download/CSWsendmail.i.sol9
 4c53e32ed6b4ac66c35d5079ebcb548d  download/CSWsendmail.preinstall
 644a174b1a1e74ef8655ea0002aff8f7  download/CSWsendmail.preremove
 f49c3339aa897df97abf1baf54582fb8  download/CSWsendmail.space

Added: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol10
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol10	                        (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol10	2009-08-08 01:47:50 UTC (rev 5935)
@@ -0,0 +1,23 @@
+# PKGINST parameter provided by installation services
+# Move the Solaris 9 version specific files to the base directory.
+# The files specific to Solaris release are:
+# bin/vacation
+# sbin/editmap
+# sbin/mailstats
+# sbin/makemap
+# sbin/praliases
+# lib/mail.local
+# lib/sendmail
+# lib/smrsh
+#
+echo "Installing class <sol10>."
+while read src dest
+do
+	# Keep pkgadd happy by copying the file as defined
+	/usr/bin/cp $src $dest || exit 2
+	# Copy the version specific file to the original name
+	dest2="`echo $dest | sed 's/sol10.//g'`" || exit 2
+	echo $dest2
+	/usr/bin/cp $src $dest2 || exit 2
+done
+exit 0

Added: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol8
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol8	                        (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol8	2009-08-08 01:47:50 UTC (rev 5935)
@@ -0,0 +1,23 @@
+# PKGINST parameter provided by installation services
+# Move the Solaris 9 version specific files to the base directory.
+# The files specific to Solaris release are:
+# bin/vacation
+# sbin/editmap
+# sbin/mailstats
+# sbin/makemap
+# sbin/praliases
+# lib/mail.local
+# lib/sendmail
+# lib/smrsh
+#
+echo "Installing class <sol8>."
+while read src dest
+do
+	# Keep pkgadd happy by copying the file as defined
+	/usr/bin/cp $src $dest || exit 2
+	# Copy the version specific file to the original name
+	dest2="`echo $dest | sed 's/sol8.//g'`" || exit 2
+	echo $dest2
+	/usr/bin/cp $src $dest2 || exit 2
+done
+exit 0

Added: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol9
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol9	                        (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol9	2009-08-08 01:47:50 UTC (rev 5935)
@@ -0,0 +1,23 @@
+# PKGINST parameter provided by installation services
+# Move the Solaris 9 version specific files to the base directory.
+# The files specific to Solaris release are:
+# bin/vacation
+# sbin/editmap
+# sbin/mailstats
+# sbin/makemap
+# sbin/praliases
+# lib/mail.local
+# lib/sendmail
+# lib/smrsh
+#
+echo "Installing class <sol9>."
+while read src dest
+do
+	# Keep pkgadd happy by copying the file as defined
+	/usr/bin/cp $src $dest || exit 2
+	# Copy the version specific file to the original name
+	dest2="`echo $dest | sed 's/sol9.//g'`" || exit 2
+	echo $dest2
+	/usr/bin/cp $src $dest2 || exit 2
+done
+exit 0

Deleted: csw/mgar/pkg/sendmail/trunk/files/i.sol10
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/i.sol10	2009-08-08 01:30:50 UTC (rev 5934)
+++ csw/mgar/pkg/sendmail/trunk/files/i.sol10	2009-08-08 01:47:50 UTC (rev 5935)
@@ -1,23 +0,0 @@
-# PKGINST parameter provided by installation services
-# Move the Solaris 9 version specific files to the base directory.
-# The files specific to Solaris release are:
-# bin/vacation
-# sbin/editmap
-# sbin/mailstats
-# sbin/makemap
-# sbin/praliases
-# lib/mail.local
-# lib/sendmail
-# lib/smrsh
-#
-echo "Installing class <sol10>."
-while read src dest
-do
-	# Keep pkgadd happy by copying the file as defined
-	/usr/bin/cp $src $dest || exit 2
-	# Copy the version specific file to the original name
-	dest2="`echo $dest | sed 's/sol10.//g'`" || exit 2
-	echo $dest2
-	/usr/bin/cp $src $dest2 || exit 2
-done
-exit 0

Deleted: csw/mgar/pkg/sendmail/trunk/files/i.sol8
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/i.sol8	2009-08-08 01:30:50 UTC (rev 5934)
+++ csw/mgar/pkg/sendmail/trunk/files/i.sol8	2009-08-08 01:47:50 UTC (rev 5935)
@@ -1,23 +0,0 @@
-# PKGINST parameter provided by installation services
-# Move the Solaris 9 version specific files to the base directory.
-# The files specific to Solaris release are:
-# bin/vacation
-# sbin/editmap
-# sbin/mailstats
-# sbin/makemap
-# sbin/praliases
-# lib/mail.local
-# lib/sendmail
-# lib/smrsh
-#
-echo "Installing class <sol8>."
-while read src dest
-do
-	# Keep pkgadd happy by copying the file as defined
-	/usr/bin/cp $src $dest || exit 2
-	# Copy the version specific file to the original name
-	dest2="`echo $dest | sed 's/sol8.//g'`" || exit 2
-	echo $dest2
-	/usr/bin/cp $src $dest2 || exit 2
-done
-exit 0

Deleted: csw/mgar/pkg/sendmail/trunk/files/i.sol9
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/i.sol9	2009-08-08 01:30:50 UTC (rev 5934)
+++ csw/mgar/pkg/sendmail/trunk/files/i.sol9	2009-08-08 01:47:50 UTC (rev 5935)
@@ -1,23 +0,0 @@
-# PKGINST parameter provided by installation services
-# Move the Solaris 9 version specific files to the base directory.
-# The files specific to Solaris release are:
-# bin/vacation
-# sbin/editmap
-# sbin/mailstats
-# sbin/makemap
-# sbin/praliases
-# lib/mail.local
-# lib/sendmail
-# lib/smrsh
-#
-echo "Installing class <sol9>."
-while read src dest
-do
-	# Keep pkgadd happy by copying the file as defined
-	/usr/bin/cp $src $dest || exit 2
-	# Copy the version specific file to the original name
-	dest2="`echo $dest | sed 's/sol9.//g'`" || exit 2
-	echo $dest2
-	/usr/bin/cp $src $dest2 || exit 2
-done
-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