[csw-devel] SF.net SVN: gar:[4242] csw/mgar/pkg/sudo/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Thu Apr 9 06:44:37 CEST 2009


Revision: 4242
          http://gar.svn.sourceforge.net/gar/?rev=4242&view=rev
Author:   valholla
Date:     2009-04-09 04:44:37 +0000 (Thu, 09 Apr 2009)

Log Message:
-----------
Update to gar v2 and sudo 1.7

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

Removed Paths:
-------------
    csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.depend
    csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.gspec
    csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.prototype
    csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.space
    csw/mgar/pkg/sudo/trunk/files/CSWsudo.depend
    csw/mgar/pkg/sudo/trunk/files/CSWsudo.gspec
    csw/mgar/pkg/sudo/trunk/files/CSWsudo.postinstall
    csw/mgar/pkg/sudo/trunk/files/CSWsudo.postremove
    csw/mgar/pkg/sudo/trunk/files/CSWsudo.prototype
    csw/mgar/pkg/sudo/trunk/files/CSWsudo.space

Property Changed:
----------------
    csw/mgar/pkg/sudo/trunk/


Property changes on: csw/mgar/pkg/sudo/trunk
___________________________________________________________________
Modified: svn:externals
   - gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v1

   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Modified: csw/mgar/pkg/sudo/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudo/trunk/Makefile	2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo/trunk/Makefile	2009-04-09 04:44:37 UTC (rev 4242)
@@ -1,5 +1,5 @@
 GARNAME = sudo
-GARVERSION = 1.6.9p8
+GARVERSION = 1.7.0
 CATEGORIES = utils
 
 DESCRIPTION = Provides limited super user privileges
@@ -12,30 +12,45 @@
 
 MASTER_SITES = ftp://ftp.sudo.ws/pub/sudo/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz 
+PATCHFILES = install.diff
 
-# We define upstream file regex so we can be notifed of new upstream software release
+# We define upstream file regex so we can be notifed of new 
+# upstream software release
 UFILES_REGEX = $(GARNAME)-((\d+(?:\.\d+)*)(p\d+)?).tar.gz
 
-DISTFILES += CSWsudo.gspec CSWsudo.postinstall 
-DISTFILES += CSWsudo.prototype CSWsudo.depend
-DISTFILES += CSWsudo.space CSWsudo.postremove
+PACKAGES = CSWsudo CSWsudo-common
 
-DISTFILES += CSWsudo-common.gspec CSWsudo-common.postinstall 
-DISTFILES += CSWsudo-common.prototype CSWsudo-common.depend
-DISTFILES += CSWsudo-common.space
+CATALOGNAME_CSWsudo = sudo
+SPKG_DESC_CSWsudo = $(DESCRIPTION)
+SPKG_SOURCEURL_CSWsudo = http://www.sudo.ws
+INCOMPATIBLE_PKGS_CSWsudo = CSWsudo-ldap
+REQUIRED_PKGS_CSWsudo = CSWsudo-common CSWggettextrt
 
-# Original maintainer's patch to disable strip on install
-PATCHFILES = install.diff
+CATALOGNAME_CSWsudo-common = sudo_common
+SPKG_DESC_CSWsudo-common = Common files for sudo
+SPKG_SOURCEURL_CSWsudo-common = http://www.sudo.ws
+REQUIRED_PKGS_CSWsudo-common = CSWggettextrt
 
+DISTFILES += CSWsudo-common.postinstall 
+
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --with-pam
+CONFIGURE_ARGS += --with-logging=both
+CONFIGURE_ARGS += --with-ignore-dot
+CONFIGURE_ARGS += --with-env-editor
 
 TEST_TARGET = check
 FIXCONFIG_DIRS = $(DESTDIR)$(libexecdir)
 
 include gar/category.mk
 
-post-install:
+PKGFILES_CSWsudo = .*/bin/.*
+
+post-install-modulated:
 	@( cd $(DESTDIR)$(sysconfdir) ; mv sudoers sudoers.CSW )
+	@( cd $(DESTDIR)$(bindir) ; rm -f sudoedit )
+	@( cd $(DESTDIR)$(bindir) ; mv sudo sudo.minimal )
+	@( cd $(DESTDIR)$(bindir) ; ln -f sudo.minimal sudo )
+	@( cd $(DESTDIR)$(bindir) ; ln -f sudo.minimal sudoedit )
 	@$(MAKECOOKIE)
 	$(DONADA)

Modified: csw/mgar/pkg/sudo/trunk/checksums
===================================================================
--- csw/mgar/pkg/sudo/trunk/checksums	2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo/trunk/checksums	2009-04-09 04:44:37 UTC (rev 4242)
@@ -1,13 +1,5 @@
-67a7f95664e9f3926dc3e36d8684f921  download/sudo-1.6.9p8.tar.gz
-58d79819635f48eccc23c49028d01b55  download/CSWsudo.gspec
+5fd96bba35fe29b464f7aa6ad255f0a6  download/sudo-1.7.0.tar.gz
 2264728d06b220edf5e47eb9da2b7e66  download/CSWsudo.postinstall
-9fbef4bcd879914c4ebc7d8d1ca2a92a  download/CSWsudo.prototype
-82a6efe0a5c261689546cebfff198b0a  download/CSWsudo.depend
-44fabb4ce87e861516533d80274a52c0  download/CSWsudo.space
 e9bd76af1d6c4110121d6d784c910b3d  download/CSWsudo.postremove
-d009538c73a79d95974996ba3096194b  download/CSWsudo-common.gspec
 955d99eda1432c7b7e00d98b91e35a79  download/CSWsudo-common.postinstall
-9203dbbf5dc2c1741fcea6b86895bd6a  download/CSWsudo-common.prototype
-d41d8cd98f00b204e9800998ecf8427e  download/CSWsudo-common.depend
-44fabb4ce87e861516533d80274a52c0  download/CSWsudo-common.space
 157b2e5e38ca54eb36e0364706bd0292  download/install.diff

Deleted: csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.gspec
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.gspec	2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.gspec	2009-04-09 04:44:37 UTC (rev 4242)
@@ -1,5 +0,0 @@
-%var            bitname sudo_common
-%var            pkgname CSWsudo-common
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%var            desc sudo common files
-%copyright      url file://%{WORKSRC}/LICENSE

Deleted: csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.prototype
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.prototype	2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.prototype	2009-04-09 04:44:37 UTC (rev 4242)
@@ -1,13 +0,0 @@
-d none /opt/csw/sbin 0755 root bin
-f none /opt/csw/sbin/visudo 0111 root root
-f none /opt/csw/etc/sudoers.CSW 0440 root root
-d none /opt/csw/share 0755 root bin
-d none /opt/csw/share/man 0755 root bin
-d none /opt/csw/share/man/man1m 0755 root bin
-f none /opt/csw/share/man/man1m/sudo.1m 0644 root root
-l none /opt/csw/share/man/man1m/sudoedit.1m=/opt/csw/share/man/man1m/sudo.1m
-f none /opt/csw/share/man/man1m/visudo.1m 0644 root root
-d none /opt/csw/share/man/man4 0755 root bin
-f none /opt/csw/share/man/man4/sudoers.4 0644 root root
-f none /opt/csw/libexec/sudo_noexec.so 0755 root root
-f none /opt/csw/libexec/sudo_noexec.la 0644 root root

Deleted: csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.space
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.space	2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo/trunk/files/CSWsudo-common.space	2009-04-09 04:44:37 UTC (rev 4242)
@@ -1 +0,0 @@
-$BASEDIR    1   1

Deleted: csw/mgar/pkg/sudo/trunk/files/CSWsudo.depend
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/CSWsudo.depend	2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo/trunk/files/CSWsudo.depend	2009-04-09 04:44:37 UTC (rev 4242)
@@ -1,2 +0,0 @@
-I CSWsudo-minimal sudo_minimal
-P CSWsudo-common sudo_common - sudo common files

Deleted: csw/mgar/pkg/sudo/trunk/files/CSWsudo.gspec
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/CSWsudo.gspec	2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo/trunk/files/CSWsudo.gspec	2009-04-09 04:44:37 UTC (rev 4242)
@@ -1,4 +0,0 @@
-%var            bitname sudo
-%var            pkgname CSWsudo
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      url file://%{WORKSRC}/LICENSE

Deleted: csw/mgar/pkg/sudo/trunk/files/CSWsudo.postinstall
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/CSWsudo.postinstall	2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo/trunk/files/CSWsudo.postinstall	2009-04-09 04:44:37 UTC (rev 4242)
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-BINDIR=$BASEDIR/opt/csw/bin
-
-# Set up links
-cd $BINDIR
-rm -f sudo sudoedit
-ln -f sudo.minimal sudo
-ln -f sudo.minimal sudoedit
-
-exit 0
-

Deleted: csw/mgar/pkg/sudo/trunk/files/CSWsudo.postremove
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/CSWsudo.postremove	2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo/trunk/files/CSWsudo.postremove	2009-04-09 04:44:37 UTC (rev 4242)
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-BINDIR=$BASEDIR/opt/csw/bin
-
-cd $BINDIR
-rm -f sudo sudoedit
-
-OTHERSUDO=`ls -1 sudo.* 2>/dev/null | head -1`
-if [ -n "$OTHERSUDO" ]; then
-    ln -f $OTHERSUDO sudo
-    ln -f $OTHERSUDO sudoedit
-fi
-
-exit 0
-

Deleted: csw/mgar/pkg/sudo/trunk/files/CSWsudo.prototype
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/CSWsudo.prototype	2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo/trunk/files/CSWsudo.prototype	2009-04-09 04:44:37 UTC (rev 4242)
@@ -1,2 +0,0 @@
-d none /opt/csw/bin 0755 root bin
-f none /opt/csw/bin/sudo.minimal=/opt/csw/bin/sudo 4111 root root

Deleted: csw/mgar/pkg/sudo/trunk/files/CSWsudo.space
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/CSWsudo.space	2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo/trunk/files/CSWsudo.space	2009-04-09 04:44:37 UTC (rev 4242)
@@ -1 +0,0 @@
-$BASEDIR    1   1


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