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

valholla at users.sourceforge.net valholla at users.sourceforge.net
Wed Aug 12 19:39:23 CEST 2009


Revision: 6010
          http://gar.svn.sourceforge.net/gar/?rev=6010&view=rev
Author:   valholla
Date:     2009-08-12 17:39:22 +0000 (Wed, 12 Aug 2009)

Log Message:
-----------
tweaks

Modified Paths:
--------------
    csw/mgar/pkg/sendmail/trunk/Makefile
    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

Modified: csw/mgar/pkg/sendmail/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sendmail/trunk/Makefile	2009-08-12 17:26:51 UTC (rev 6009)
+++ csw/mgar/pkg/sendmail/trunk/Makefile	2009-08-12 17:39:22 UTC (rev 6010)
@@ -112,12 +112,11 @@
 
 	@# install the libraries
 	@( for file in $(LIBFILES) ; do \
-		ginstall -m 755 $(OBJDIR)/$$file $(DESTDIR)$(libdir) ; \
+		ginstall -c -m 755 $(OBJDIR)/$$file $(DESTDIR)$(libdir) ; \
 		done )
 
 	@# 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 )
@@ -133,6 +132,12 @@
 		mv $(DESTDIR)$(sbindir)/$$file $(DESTDIR)$(sbindir)/$(SOLVER).$$file;\
 		done )
 
+	@# create links in bindir
+	ln -s $(libdir)/sendmail $(DESTDIR)$(bindir)/newaliases
+	ln -s $(libdir)/sendmail $(DESTDIR)$(bindir)/mailq
+	ln -s $(libdir)/sendmail $(DESTDIR)$(bindir)/purgestats
+	ln -s $(libdir)/sendmail $(DESTDIR)$(bindir)/hoststat
+
 	@# install manpages
 	( for file in $(MANFILES1) ; do \
 		ginstall -m 644 $(OBJDIR)/$$file $(DESTDIR)$(mandir)/man1 ; \

Modified: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol10
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol10	2009-08-12 17:26:51 UTC (rev 6009)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol10	2009-08-12 17:39:22 UTC (rev 6010)
@@ -19,5 +19,6 @@
 	dest2="`echo $dest | sed 's/sol10.//g'`" || exit 2
 	echo $dest2
 	/usr/bin/cp $src $dest2 || exit 2
+    /usr/bin/chmod 0755 $dest2
 done
 exit 0

Modified: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol8
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol8	2009-08-12 17:26:51 UTC (rev 6009)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol8	2009-08-12 17:39:22 UTC (rev 6010)
@@ -19,5 +19,6 @@
 	dest2="`echo $dest | sed 's/sol8.//g'`" || exit 2
 	echo $dest2
 	/usr/bin/cp $src $dest2 || exit 2
+    /usr/bin/chmod 0755 $dest2
 done
 exit 0

Modified: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol9
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol9	2009-08-12 17:26:51 UTC (rev 6009)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.i.sol9	2009-08-12 17:39:22 UTC (rev 6010)
@@ -19,5 +19,6 @@
 	dest2="`echo $dest | sed 's/sol9.//g'`" || exit 2
 	echo $dest2
 	/usr/bin/cp $src $dest2 || exit 2
+    /usr/bin/chmod 0755 $dest2
 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