[csw-devel] SF.net SVN: gar:[8094] csw/mgar/pkg/sudo/trunk/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Tue Jan 19 16:59:44 CET 2010
Revision: 8094
http://gar.svn.sourceforge.net/gar/?rev=8094&view=rev
Author: wahwah
Date: 2010-01-19 15:59:44 +0000 (Tue, 19 Jan 2010)
Log Message:
-----------
sudo: Setting the --with-logpath option and making sure it's installed
Modified Paths:
--------------
csw/mgar/pkg/sudo/trunk/Makefile
Modified: csw/mgar/pkg/sudo/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudo/trunk/Makefile 2010-01-19 14:55:52 UTC (rev 8093)
+++ csw/mgar/pkg/sudo/trunk/Makefile 2010-01-19 15:59:44 UTC (rev 8094)
@@ -36,13 +36,15 @@
DISTFILES += CSWsudo-common.postinstall
+LOGPATH = /var/opt/csw/log/sudo
+
CONFIGURE_ARGS = $(DIRPATHS)
CONFIGURE_ARGS += --with-pam
CONFIGURE_ARGS += --with-logging=both
CONFIGURE_ARGS += --with-ignore-dot
CONFIGURE_ARGS += --with-env-editor
CONFIGURE_ARGS += --disable-path-info
-CONFIGURE_ARGS += --with-logpath=/var/opt/csw/sudo/logs/sudolog
+CONFIGURE_ARGS += --with-logpath=$(LOGPATH)/sudolog
ifneq ($(shell uname -r),5.8)
CONFIGURE_ARGS += --with-project
endif
@@ -57,6 +59,10 @@
PKGFILES_CSWsudo = $(bindir)/sudo.minimal
PKGFILES_CSWsudo += $(bindir)/sudo
+PROTOTYPE_MODIFIERS = sudo
+PROTOTYPE_FILES_sudo = $(bindir)/sudo.minimal
+PROTOTYPE_PERMS_sudo = 4755
+
include gar/category.mk
post-install-modulated:
@@ -65,6 +71,7 @@
@( cd $(DESTDIR)$(bindir) ; grm -f sudoedit )
@( cd $(DESTDIR)$(bindir) ; gcp sudo.minimal sudoedit )
@( cd $(DESTDIR)$(sysconfdir) ; gmv sudoers sudoers.CSW )
+ install -m 755 -d $(DESTDIR)$(LOGPATH)/logs
@$(MAKECOOKIE)
post-merge-modulated:
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