[csw-devel] SF.net SVN: gar:[8914] csw/mgar/pkg/sudo/trunk/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Mar 1 14:05:45 CET 2010
Revision: 8914
http://gar.svn.sourceforge.net/gar/?rev=8914&view=rev
Author: wahwah
Date: 2010-03-01 13:05:45 +0000 (Mon, 01 Mar 2010)
Log Message:
-----------
sudo: adding alternatives support
Modified Paths:
--------------
csw/mgar/pkg/sudo/trunk/Makefile
Modified: csw/mgar/pkg/sudo/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudo/trunk/Makefile 2010-03-01 12:50:22 UTC (rev 8913)
+++ csw/mgar/pkg/sudo/trunk/Makefile 2010-03-01 13:05:45 UTC (rev 8914)
@@ -65,13 +65,15 @@
LICENSE = LICENSE
+ALTERNATIVES_CSWsudo = minimal
+ALTERNATIVE_minimal = $(bindir)/sudo sudo $(bindir)/sudo.minimal 50
+ALTERNATIVE_minimal += $(bindir)/sudoedit sudoedit $(bindir)/sudoedit.minimal
+
include gar/category.mk
post-install-modulated:
@( cd $(DESTDIR)$(bindir) ; gmv sudo sudo.minimal )
- @( cd $(DESTDIR)$(bindir) ; gln -s sudo.minimal sudo )
- @( cd $(DESTDIR)$(bindir) ; grm -f sudoedit )
- @( cd $(DESTDIR)$(bindir) ; gcp sudo.minimal sudoedit )
+ @( cd $(DESTDIR)$(bindir) ; gmv sudoedit sudoedit.minimal )
@( cd $(DESTDIR)$(sysconfdir) ; gmv sudoers sudoers.CSW )
install -m 755 -d $(DESTDIR)$(LOGPATH)/logs
@$(MAKECOOKIE)
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