[csw-devel] SF.net SVN: gar:[4241] csw/mgar/pkg/sudo-ldap/trunk
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Thu Apr 9 06:43:04 CEST 2009
Revision: 4241
http://gar.svn.sourceforge.net/gar/?rev=4241&view=rev
Author: valholla
Date: 2009-04-09 04:43:04 +0000 (Thu, 09 Apr 2009)
Log Message:
-----------
Update to gar v2 and sudo 1.7
Modified Paths:
--------------
csw/mgar/pkg/sudo-ldap/trunk/Makefile
csw/mgar/pkg/sudo-ldap/trunk/checksums
Removed Paths:
-------------
csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.depend
csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.gspec
csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.postinstall
csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.postremove
csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.prototype
csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.space
Property Changed:
----------------
csw/mgar/pkg/sudo-ldap/trunk/
Property changes on: csw/mgar/pkg/sudo-ldap/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-ldap/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudo-ldap/trunk/Makefile 2009-04-09 03:32:05 UTC (rev 4240)
+++ csw/mgar/pkg/sudo-ldap/trunk/Makefile 2009-04-09 04:43:04 UTC (rev 4241)
@@ -1,8 +1,8 @@
GARNAME = sudo
-GARVERSION = 1.6.9p8
+GARVERSION = 1.7.0
CATEGORIES = utils
-DESCRIPTION = Provides limited super user privileges to specific users
+DESCRIPTION = Provides limited super user privileges (LDAP Enabled)
define BLURB
Sudo (superuser do) allows a system administrator to give certain users (or
groups of users) the ability to run some (or all) commands as root while
@@ -12,19 +12,25 @@
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
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+# 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-ldap.gspec CSWsudo-ldap.postinstall
-DISTFILES += CSWsudo-ldap.prototype CSWsudo-ldap.depend
-DISTFILES += CSWsudo-ldap.space CSWsudo-ldap.postremove
+PACKAGES = CSWsudo-ldap
-# Original maintainer's patch to disable strip on install
-PATCHFILES = install.diff
+CATALOGNAME_CSWsudo-ldap = sudo_ldap
+SPKG_DESC_CSWsudo-ldap = $(DESCRIPTION)
+SPKG_SOURCEURL_CSWsudo-ldap = http://www.sudo.ws
+INCOMPATIBLE_PKGS_CSWsudo-ldap = CSWsudo
+REQUIRED_PKGS_CSWsudo-ldap = CSWsudo-common CSWggettextrt CSWoldaprt
CONFIGURE_ARGS = $(DIRPATHS)
CONFIGURE_ARGS += --with-pam
+CONFIGURE_ARGS += --with-logging=both
+CONFIGURE_ARGS += --with-ignore-dot
+CONFIGURE_ARGS += --with-env-editor
CONFIGURE_ARGS += --with-ldap=$(prefix)
CONFIGURE_ARGS += --with-ldap-conf-file=$(sysconfdir)/ldap.conf
@@ -32,3 +38,12 @@
include gar/category.mk
+PKGFILES_CSWsudo-ldap = .*/bin/.*
+
+post-install-modulated:
+ @( cd $(DESTDIR)$(bindir) ; rm -f sudoedit )
+ @( cd $(DESTDIR)$(bindir) ; mv sudo sudo.ldap )
+ @( cd $(DESTDIR)$(bindir) ; ln -f sudo.ldap sudo )
+ @( cd $(DESTDIR)$(bindir) ; ln -f sudo.ldap sudoedit )
+ @$(MAKECOOKIE)
+ $(DONADA)
Modified: csw/mgar/pkg/sudo-ldap/trunk/checksums
===================================================================
--- csw/mgar/pkg/sudo-ldap/trunk/checksums 2009-04-09 03:32:05 UTC (rev 4240)
+++ csw/mgar/pkg/sudo-ldap/trunk/checksums 2009-04-09 04:43:04 UTC (rev 4241)
@@ -1,8 +1,2 @@
-67a7f95664e9f3926dc3e36d8684f921 download/sudo-1.6.9p8.tar.gz
-c8104c6902e496dba5bb18f9c6db1959 download/CSWsudo-ldap.gspec
-f9eeac02cdb8e5a3c2d13b65f76a6cf2 download/CSWsudo-ldap.postinstall
-e78775e8a1d8d3ce576d2c8d38afc008 download/CSWsudo-ldap.prototype
-5bda7fbebf834933fb7b72d64da8d60b download/CSWsudo-ldap.depend
-44fabb4ce87e861516533d80274a52c0 download/CSWsudo-ldap.space
-cc346986b765441205b04e076a80ba0e download/CSWsudo-ldap.postremove
+5fd96bba35fe29b464f7aa6ad255f0a6 download/sudo-1.7.0.tar.gz
157b2e5e38ca54eb36e0364706bd0292 download/install.diff
Deleted: csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.depend
===================================================================
--- csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.depend 2009-04-09 03:32:05 UTC (rev 4240)
+++ csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.depend 2009-04-09 04:43:04 UTC (rev 4241)
@@ -1,5 +0,0 @@
-P CSWsudo-common - sudo_common - sudo common files
-P CSWlibnet libnet - the libnet packet construction library
-P CSWoldaprt openldap_rt - ldap runtime libraries
-P CSWosslrt openssl_rt - Openssl runtime libraries
-P CSWsasl sasl - Simple Authentication and Security Layer
Deleted: csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.gspec
===================================================================
--- csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.gspec 2009-04-09 03:32:05 UTC (rev 4240)
+++ csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.gspec 2009-04-09 04:43:04 UTC (rev 4241)
@@ -1,5 +0,0 @@
-%var bitname sudo_ldap
-%var pkgname CSWsudoldap
-%include url file://%{PKGLIB}/csw_dyndepend.gspec
-%var desc Provides limited super user privileges (LDAP Enabled)
-%copyright url file://%{WORKSRC}/LICENSE
Deleted: csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.postinstall
===================================================================
--- csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.postinstall 2009-04-09 03:32:05 UTC (rev 4240)
+++ csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.postinstall 2009-04-09 04:43:04 UTC (rev 4241)
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-BINDIR=$BASEDIR/opt/csw/bin
-
-cd $BINDIR
-rm -f sudo sudoedit
-ln -f sudo.ldap sudo
-ln -f sudo.ldap sudoedit
-
-exit 0
-
Deleted: csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.postremove
===================================================================
--- csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.postremove 2009-04-09 03:32:05 UTC (rev 4240)
+++ csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.postremove 2009-04-09 04:43:04 UTC (rev 4241)
@@ -1,16 +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
- rm -f sudo
- ln -f $OTHERSUDO sudo
- ln -f $OTHERSUDO sudoedit
-fi
-
-exit 0
-
Deleted: csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.prototype
===================================================================
--- csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.prototype 2009-04-09 03:32:05 UTC (rev 4240)
+++ csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.prototype 2009-04-09 04:43:04 UTC (rev 4241)
@@ -1,3 +0,0 @@
-d none /opt/csw/bin 0755 root bin
-f none /opt/csw/bin/sudo.ldap=/opt/csw/bin/sudo 4111 root root
-l none /opt/csw/bin/sudoedit=/opt/csw/bin/sudo.ldap
Deleted: csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.space
===================================================================
--- csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.space 2009-04-09 03:32:05 UTC (rev 4240)
+++ csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudo-ldap.space 2009-04-09 04:43:04 UTC (rev 4241)
@@ -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