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

bensons at users.sourceforge.net bensons at users.sourceforge.net
Fri Jul 31 15:55:06 CEST 2009


Revision: 5774
          http://gar.svn.sourceforge.net/gar/?rev=5774&view=rev
Author:   bensons
Date:     2009-07-31 13:55:06 +0000 (Fri, 31 Jul 2009)

Log Message:
-----------
sendmail: adjusted PROTOTYPE_FILTER once more, using INITSMF for init.d script

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

Modified: csw/mgar/pkg/sendmail/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sendmail/trunk/Makefile	2009-07-31 13:47:20 UTC (rev 5773)
+++ csw/mgar/pkg/sendmail/trunk/Makefile	2009-07-31 13:55:06 UTC (rev 5774)
@@ -21,9 +21,12 @@
 # UPSTREAM_MASTER_SITES = 
 
 # we require
-SPKG_CLASSES = none cswinitsmf
 REQUIRED_PKGS = CSWbdb CSWoldaprt CSWosslrt CSWsasl CSWtcpwrap
-PROTOTYPE_FILTER = awk '$$$$3 ~/\/init.d\/cswsendmail$$$$/ { $$$$2 = "cswinitsmf" } || $$$$3 ~/sol8\./ { $$$$2 = "sol8" } || $$$$3 ~/sol9\./ { $$$$2 = "sol9" } || $$$$3 ~/sol10\./ { $$$$2 = "sol10" } { print }'
+INITSMF = /etc/opt/csw/init.d/cswsendmail
+PROTOTYPE_FILTER = awk '$$$$3 ~/sol8\./ { $$$$2 = "sol8" } \
+                        $$$$3 ~/sol9\./ { $$$$2 = "sol9" } \
+                        $$$$3 ~/sol10\./ { $$$$2 = "sol10" } \
+                       { print }'
 
 
 # patch away GNUism
@@ -88,6 +91,7 @@
 
 	@# install the binaries
 	ginstall -m 755 $(OBJDIR)/$(BINFILES) $(DESTDIR)$(bindir)
+	ln -s $(libdir)/sendmail $(DESTDIR)$(bindir)/newaliases
 	( for file in $(SBINFILES) ; do \
 		ginstall -m 755 $(OBJDIR)/$$file $(DESTDIR)$(sbindir) ; \
 		done )
@@ -108,7 +112,8 @@
 	cp -r $(WORKSRC)/cf $(DESTDIR)$(sharedstatedir)/mail
 
 	@# install startup script
-	cp -p $(DOWNLOADDIR)/cswsendmail $(DESTDIR)/etc/opt/csw/init.d
+	chmod +x $(DOWNLOADDIR)/cswsendmail && \
+		cp -p $(DOWNLOADDIR)/cswsendmail $(DESTDIR)/etc/opt/csw/init.d
 
 	@# install configurations, XXX missing submit.cf/sendmail.cf
 	( for file in `cd $(DOWNLOADDIR) && ls *.CSW`; do \

Modified: csw/mgar/pkg/sendmail/trunk/checksums
===================================================================
--- csw/mgar/pkg/sendmail/trunk/checksums	2009-07-31 13:47:20 UTC (rev 5773)
+++ csw/mgar/pkg/sendmail/trunk/checksums	2009-07-31 13:55:06 UTC (rev 5774)
@@ -1,6 +1,6 @@
 2bfc78e0f774b7168e29628b6a18570a  download/aliases.CSW
 f581c67e3834d6a520d8faf9dfb8c7eb  download/checkinstall
-33aa403bba2c02d79754977c8af26db2  download/cswsendmail
+2592f7d191867c1d1c63ff16d818dcb5  download/cswsendmail
 c816378b3028cbab410f72168b571775  download/helpfile.CSW
 27994344f69c7c92382d57264c7debf8  download/i.sol10
 24ffe87e0881ffa3e0495eeede9a0602  download/i.sol8


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