[csw-devel] SF.net SVN: gar:[4435] csw/mgar/pkg/sudo/trunk
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Tue Apr 21 20:35:54 CEST 2009
Revision: 4435
http://gar.svn.sourceforge.net/gar/?rev=4435&view=rev
Author: valholla
Date: 2009-04-21 18:35:54 +0000 (Tue, 21 Apr 2009)
Log Message:
-----------
package tweak
Modified Paths:
--------------
csw/mgar/pkg/sudo/trunk/Makefile
Removed Paths:
-------------
csw/mgar/pkg/sudo/trunk/files/CSWsudo.postinstall
csw/mgar/pkg/sudo/trunk/files/CSWsudo.postremove
Modified: csw/mgar/pkg/sudo/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudo/trunk/Makefile 2009-04-21 17:59:49 UTC (rev 4434)
+++ csw/mgar/pkg/sudo/trunk/Makefile 2009-04-21 18:35:54 UTC (rev 4435)
@@ -31,8 +31,6 @@
REQUIRED_PKGS_CSWsudo-common = CSWggettextrt
DISTFILES += CSWsudo-common.postinstall
-DISTFILES += CSWsudo.postinstall
-DISTFILES += CSWsudo.postremove
CONFIGURE_ARGS = $(DIRPATHS)
CONFIGURE_ARGS += --with-pam
@@ -45,11 +43,10 @@
include gar/category.mk
-PKGFILES_CSWsudo = .*$(bindir)/sudo.minimal
+PKGFILES_CSWsudo = .*$(bindir)/sudo.*
post-merge-modulated:
- @( cd $(PKGROOT)$(bindir) ; gmv sudo sudo.minimal )
- @( cd $(PKGROOT)$(bindir) ; grm sudoedit )
+ @( cd $(PKGROOT)$(bindir) ; gln -f sudo sudo.minimal )
@( cd $(PKGROOT)$(sysconfdir) ; gmv sudoers sudoers.CSW )
@( cd $(PKGROOT)$(bindir) ; gchmod 4755 sudo* )
@$(MAKECOOKIE)
Deleted: csw/mgar/pkg/sudo/trunk/files/CSWsudo.postinstall
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/CSWsudo.postinstall 2009-04-21 17:59:49 UTC (rev 4434)
+++ csw/mgar/pkg/sudo/trunk/files/CSWsudo.postinstall 2009-04-21 18:35:54 UTC (rev 4435)
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-BINDIR=$BASEDIR/opt/csw/bin
-
-## First check to see if sudo.ldap is installed
-## If it is make sure the liks are in place
-## and permissions are set accordingly
-if [ -f ${BINDIR}/sudo.ldap ]; then
- chmod 4755 ${BINDIR}/sudo.ldap
- if [ ! -f ${BINDIR}/sudo ]; then
- ln -f ${BINDIR}/sudo.ldap ${BINDIR}/sudo
- fi
- if [ ! -f ${BINDIR}/sudoedit ]; then
- ln -f ${BINDIR}/sudo.ldap ${BINDIR}/sudoedit
- fi
-else
- rm -f ${BINDIR}/sudo
- rm -f ${BINDIR}/sudoedit
- ln -f ${BINDIR}/sudo.minimal ${BINDIR}/sudo
- ln -f ${BINDIR}/sudo.minimal ${BINDIR}/sudoedit
-fi
-
-exit 0
-
Deleted: csw/mgar/pkg/sudo/trunk/files/CSWsudo.postremove
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/CSWsudo.postremove 2009-04-21 17:59:49 UTC (rev 4434)
+++ csw/mgar/pkg/sudo/trunk/files/CSWsudo.postremove 2009-04-21 18:35:54 UTC (rev 4435)
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-BINDIR=$BASEDIR/opt/csw/bin
-
-rm -f ${BINDIR}/sudo
-rm -f ${BINDIR}/sudoedit
-
-if [ -f ${BINDIR}/sudo.ldap ]; then
- chmod 4755 ${BINDIR}/sudo.ldap
- ln -f ${BINDIR}/sudo.ldap ${BINDIR}/sudo
- ln -f ${BINDIR}/sudo.ldap ${BINDIR}/sudoedit
-fi
-
-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