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

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Tue Jun 14 00:21:03 CEST 2011


Revision: 14801
          http://gar.svn.sourceforge.net/gar/?rev=14801&view=rev
Author:   bonivart
Date:     2011-06-13 22:21:03 +0000 (Mon, 13 Jun 2011)

Log Message:
-----------
sendmail/trunk: using CAS

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

Added Paths:
-----------
    csw/mgar/pkg/sendmail/trunk/files/cswusergroup

Modified: csw/mgar/pkg/sendmail/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sendmail/trunk/Makefile	2011-06-13 08:13:27 UTC (rev 14800)
+++ csw/mgar/pkg/sendmail/trunk/Makefile	2011-06-13 22:21:03 UTC (rev 14801)
@@ -20,15 +20,16 @@
 #MY_CLASSES = CSWsendmail.i.sol9 CSWsendmail.i.sol10
 
 DISTFILES  = $(NAME).$(VERSION).tar.gz
-DISTFILES += README.CSW sendmail.schema CSWsendmail.postinstall
 DISTFILES += Sun-sendmail-deactivate.sh Sun-sendmail-reactivate.sh
-DISTFILES += cswsendmail site.config.m4 $(MY_CLASSES) CSWsendmail.checkinstall
-DISTFILES += CSWsendmail.preremove CSWsendmail.preinstall CSWsendmail.space
 DISTFILES += $(foreach FILE,$(shell cd $(FILEDIR) && ls *.CSW),$(FILE))
-DISTFILES += COPYING
+DISTFILES += README.CSW sendmail.schema
+DISTFILES += cswsendmail site.config.m4
+#DISTFILES += CSWsendmail.preremove CSWsendmail.preinstall CSWsendmail.space
+#DISTFILES += cswsendmail site.config.m4 $(MY_CLASSES) CSWsendmail.checkinstall
+#DISTFILES += README.CSW sendmail.schema CSWsendmail.postinstall
+#DISTFILES += COPYING
 
-# Enable support for files > 2GB in size.
-EXTRA_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+LICENSE = LICENSE
 
 PACKAGES = CSWsendmail 
 CATALOGNAME_CSWsendmail = sendmail
@@ -41,7 +42,11 @@
 RUNTIME_DEP_PKGS_CSWsendmail += CSWtcpwrap 
 
 INITSMF = /etc/opt/csw/init.d/cswsendmail
+USERGROUP = /etc/opt/csw/pkg/CSWsendmail/cswusergroup
 
+# Enable support for files > 2GB in size.
+EXTRA_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+
 #PROTOTYPE_FILTER = awk \
 #	'$$$$2 ~/i.sol9/ { next } \
 #	$$$$2 ~/i.sol10/ { next } \
@@ -89,9 +94,9 @@
 
 include gar/category.mk
 
-ADMSCRIPTS = preremove preinstall space depend i.sol9 i.sol10
+#ADMSCRIPTS = preremove preinstall space depend 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
@@ -105,20 +110,24 @@
             rmail/rmail.8 editmap/editmap.8
 
 configure-custom:
+	@echo " ==> Configuring $(NAME) (custom)"
 	@( gsed 's,%CFLAGS%,$(CFLAGS),;s,%OCSWCC%,$(CC),' \
 		$(DOWNLOADDIR)/site.config.m4 > \
 		$(WORKSRC)/devtools/Site/site.config.m4 )
 	@$(MAKECOOKIE)
 
 build-custom:
+	@echo " ==> Building $(NAME) (custom)"
 	cd $(WORKSRC) && ./Build
 	@$(MAKECOOKIE)
 
 test-custom:
+	@echo " ==> Testing $(NAME) (custom)"
 	@$(MAKECOOKIE)
 
 install-custom:
 	@# install dirs
+	@echo " ==> Installing $(NAME) (custom)"
 	ginstall -d $(DESTDIR)$(libdir)
 	ginstall -d $(DESTDIR)$(bindir)
 	ginstall -d $(DESTDIR)$(sbindir)
@@ -142,15 +151,15 @@
 		done )
 
 	@# rename libraries and binaries os-specific
-	( for file in `ls $(DESTDIR)$(libdir)`; do  \
-		mv $(DESTDIR)$(libdir)/$$file $(DESTDIR)$(libdir)/$(SOLVER).$$file; \
-		done )
-	( for file in `ls $(DESTDIR)$(bindir)`; do  \
-		mv $(DESTDIR)$(bindir)/$$file $(DESTDIR)$(bindir)/$(SOLVER).$$file; \
-		done )
-	( for file in `ls $(DESTDIR)$(sbindir)`; do  \
-		mv $(DESTDIR)$(sbindir)/$$file $(DESTDIR)$(sbindir)/$(SOLVER).$$file;\
-		done )
+#	( for file in `ls $(DESTDIR)$(libdir)`; do  \
+#		mv $(DESTDIR)$(libdir)/$$file $(DESTDIR)$(libdir)/$(SOLVER).$$file; \
+#		done )
+#	( for file in `ls $(DESTDIR)$(bindir)`; do  \
+#		mv $(DESTDIR)$(bindir)/$$file $(DESTDIR)$(bindir)/$(SOLVER).$$file; \
+#		done )
+#	( for file in `ls $(DESTDIR)$(sbindir)`; do  \
+#		mv $(DESTDIR)$(sbindir)/$$file $(DESTDIR)$(sbindir)/$(SOLVER).$$file;\
+#		done )
 
 	@# install manpages
 	( for file in $(MANFILES1) ; do \
@@ -182,6 +191,7 @@
 
 merge-OS:
 	@# create links in bindir
+	@echo " ==> Merging $(NAME) (custom)"
 	ln -s $(libdir)/sendmail $(PKGROOT)$(bindir)/newaliases
 	ln -s $(libdir)/sendmail $(PKGROOT)$(bindir)/mailq
 	ln -s $(libdir)/sendmail $(PKGROOT)$(bindir)/purgestats

Modified: csw/mgar/pkg/sendmail/trunk/files/README.CSW
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/README.CSW	2011-06-13 08:13:27 UTC (rev 14800)
+++ csw/mgar/pkg/sendmail/trunk/files/README.CSW	2011-06-13 22:21:03 UTC (rev 14801)
@@ -1,6 +1,8 @@
-2009-07-31
+2011-06-13
 Initial GAR version of sendmail.
 
+By Mike Watters, Benny von Mossner, Maciej Blizinski and Peter Bonivart.
+
 2007-12-09
 Previous package versions replaced some of Sun's sendmail files with symlinks
 to the correponding CSWsendmail file.  This does not work properly in a zone

Added: csw/mgar/pkg/sendmail/trunk/files/cswusergroup
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/cswusergroup	                        (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/cswusergroup	2011-06-13 22:21:03 UTC (rev 14801)
@@ -0,0 +1,2 @@
+smmsp:smmsp:CSW Sendmail Message Submission Program:/false:/bin/false:::NP
+:mail::::::


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