[csw-devel] SF.net SVN: gar:[4322] csw/mgar/pkg
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Wed Apr 15 16:40:20 CEST 2009
Revision: 4322
http://gar.svn.sourceforge.net/gar/?rev=4322&view=rev
Author: valholla
Date: 2009-04-15 14:40:20 +0000 (Wed, 15 Apr 2009)
Log Message:
-----------
rename sudo-ldap to sudo_ldap
Modified Paths:
--------------
csw/mgar/pkg/sudo/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/sudo_ldap/
csw/mgar/pkg/sudo_ldap/trunk/
csw/mgar/pkg/sudo_ldap/trunk/Makefile
csw/mgar/pkg/sudo_ldap/trunk/files/
csw/mgar/pkg/sudo_ldap/trunk/files/CSWsudoldap.postinstall
csw/mgar/pkg/sudo_ldap/trunk/files/CSWsudoldap.postremove
Removed Paths:
-------------
csw/mgar/pkg/sudo_ldap/trunk/
csw/mgar/pkg/sudo_ldap/trunk/Makefile
csw/mgar/pkg/sudo_ldap/trunk/files/
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
Modified: csw/mgar/pkg/sudo/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudo/trunk/Makefile 2009-04-15 14:36:20 UTC (rev 4321)
+++ csw/mgar/pkg/sudo/trunk/Makefile 2009-04-15 14:40:20 UTC (rev 4322)
@@ -54,3 +54,7 @@
@( cd $(DESTDIR)$(bindir) ; ln -f sudo.minimal sudoedit )
@$(MAKECOOKIE)
$(DONADA)
+
+post-merge-modulated:
+ @( cd $(PKGROOT)$(bindir) ; gchmod 4755 sudo* )
+ @$(MAKECOOKIE)
Deleted: csw/mgar/pkg/sudo_ldap/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudo-ldap/trunk/Makefile 2009-04-09 04:43:04 UTC (rev 4241)
+++ csw/mgar/pkg/sudo_ldap/trunk/Makefile 2009-04-15 14:40:20 UTC (rev 4322)
@@ -1,49 +0,0 @@
-GARNAME = sudo
-GARVERSION = 1.7.0
-CATEGORIES = utils
-
-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
- logging all commands and arguments. Sudo operates on a per-command basis, it
- is not a replacement for the shell.
-endef
-
-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+)*)(p\d+)?).tar.gz
-
-PACKAGES = CSWsudo-ldap
-
-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
-
-TEST_TARGET = check
-
-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)
Copied: csw/mgar/pkg/sudo_ldap/trunk/Makefile (from rev 4321, csw/mgar/pkg/sudo-ldap/trunk/Makefile)
===================================================================
--- csw/mgar/pkg/sudo_ldap/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/sudo_ldap/trunk/Makefile 2009-04-15 14:40:20 UTC (rev 4322)
@@ -0,0 +1,54 @@
+GARNAME = sudo
+GARVERSION = 1.7.0
+CATEGORIES = utils
+
+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
+ logging all commands and arguments. Sudo operates on a per-command basis, it
+ is not a replacement for the shell.
+endef
+
+MASTER_SITES = ftp://ftp.sudo.ws/pub/sudo/
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += CSWsudoldap.postinstall
+DISTFILES += CSWsudoldap.postremove
+PATCHFILES = install.diff
+
+# We define upstream file regex so we can be notifed of new
+# upstream software release
+UFILES_REGEX = $(GARNAME)-((\d+(?:\.\d+)*)(p\d+)?).tar.gz
+
+PACKAGES = CSWsudoldap
+
+CATALOGNAME_CSWsudoldap = sudo_ldap
+SPKG_DESC_CSWsudoldap = $(DESCRIPTION)
+SPKG_SOURCEURL_CSWsudoldap = http://www.sudo.ws
+INCOMPATIBLE_PKGS_CSWsudoldap = CSWsudo
+REQUIRED_PKGS_CSWsudoldap = 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 += --withldap=$(prefix)
+CONFIGURE_ARGS += --withldap-conf-file=$(sysconfdir)/ldap.conf
+
+TEST_TARGET = check
+
+include gar/category.mk
+
+PKGFILES_CSWsudoldap = .*/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)
+
+post-merge-modulated:
+ @( cd $(PKGROOT)$(bindir) ; gchmod 4755 sudo* )
+ @$(MAKECOOKIE)
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-15 14:40:20 UTC (rev 4322)
@@ -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-15 14:40:20 UTC (rev 4322)
@@ -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-15 14:40:20 UTC (rev 4322)
@@ -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-15 14:40:20 UTC (rev 4322)
@@ -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-15 14:40:20 UTC (rev 4322)
@@ -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-15 14:40:20 UTC (rev 4322)
@@ -1 +0,0 @@
-$BASEDIR 1 1
Copied: csw/mgar/pkg/sudo_ldap/trunk/files/CSWsudoldap.postinstall (from rev 4321, csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudoldap.postinstall)
===================================================================
--- csw/mgar/pkg/sudo_ldap/trunk/files/CSWsudoldap.postinstall (rev 0)
+++ csw/mgar/pkg/sudo_ldap/trunk/files/CSWsudoldap.postinstall 2009-04-15 14:40:20 UTC (rev 4322)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+BINDIR=$BASEDIR/opt/csw/bin
+
+rm -f ${BINDIR}/sudo
+rm -f ${BINDIR}/sudoedit
+ln -f ${BINDIR}/sudo.ldap ${BINDIR}/sudo
+ln -f ${BINDIR}/sudo.ldap ${BINDIR}/sudoedit
+
+exit 0
+
Copied: csw/mgar/pkg/sudo_ldap/trunk/files/CSWsudoldap.postremove (from rev 4321, csw/mgar/pkg/sudo-ldap/trunk/files/CSWsudoldap.postremove)
===================================================================
--- csw/mgar/pkg/sudo_ldap/trunk/files/CSWsudoldap.postremove (rev 0)
+++ csw/mgar/pkg/sudo_ldap/trunk/files/CSWsudoldap.postremove 2009-04-15 14:40:20 UTC (rev 4322)
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+BINDIR=$BASEDIR/opt/csw/bin
+SUDO_MINIMAL=${BINDIR}/sudo.minimal
+
+if [ -f ${SUDO_MINIMAL} ]; then
+ rm -f sudo sudoedit
+ ln -f $SUDO_MINIMAL ${BINDIR}/sudo
+ ln -f $SUDO_MINIMAL ${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