[csw-devel] SF.net SVN: gar:[16669] csw/mgar/pkg/ldapvi/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Jan 3 14:54:32 CET 2012


Revision: 16669
          http://gar.svn.sourceforge.net/gar/?rev=16669&view=rev
Author:   dmichelsen
Date:     2012-01-03 13:54:32 +0000 (Tue, 03 Jan 2012)
Log Message:
-----------
ldapvi/trunk: Update to latest standards

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

Added Paths:
-----------
    csw/mgar/pkg/ldapvi/trunk/files/0001-Use-putenv-instead-of-setenv.patch

Removed Paths:
-------------
    csw/mgar/pkg/ldapvi/trunk/files/patch-putenv.diff

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


Property changes on: csw/mgar/pkg/ldapvi/trunk
___________________________________________________________________
Deleted: svn:externals
   - gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Modified: csw/mgar/pkg/ldapvi/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ldapvi/trunk/Makefile	2012-01-03 13:22:19 UTC (rev 16668)
+++ csw/mgar/pkg/ldapvi/trunk/Makefile	2012-01-03 13:54:32 UTC (rev 16669)
@@ -10,25 +10,25 @@
 endef
 
 MASTER_SITES = http://www.lichteblau.com/download/
-DISTFILES  = $(NAME)-$(VERSION).tar.gz
+DISTFILES += $(DISTNAME).tar.gz
+PATCHFILES += 0001-Use-putenv-instead-of-setenv.patch
 
-RUNTIME_DEP_PKGS = CSWggettextrt CSWreadline CSWglib2 CSWlibpopt
-RUNTIME_DEP_PKGS += CSWosslrt CSWsasl CSWoldaprt
+VENDOR_URL = http://www.lichteblau.com/ldapvi/
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-
-PATCHFILES = patch-putenv.diff
-
 BUILD_DEP_PKGS = CSWoldapdevel
 
-RUNPATHQUOTE = 1
-CONFIGURE_ARGS = $(DIRPATHS)
+PACKAGES += CSWldapvi
+SPKG_DESC_CSWldapvi = Interactive LDAP client for Unix terminals
+RUNTIME_DEP_PKGS_CSWldapvi += CSWlibpopt0
+RUNTIME_DEP_PKGS_CSWldapvi += CSWlibintl8
+RUNTIME_DEP_PKGS_CSWldapvi += CSWlibreadline6
+RUNTIME_DEP_PKGS_CSWldapvi += CSWosslrt
+RUNTIME_DEP_PKGS_CSWldapvi += CSWoldaprt
+RUNTIME_DEP_PKGS_CSWldapvi += CSWglib2
 
+TEST_TARGET = test
 INSTALL_SCRIPTS = custom
 
-SPKG_SOURCEURL = http://www.lichteblau.com/ldapvi/
-
 include gar/category.mk
 
 install-custom:

Modified: csw/mgar/pkg/ldapvi/trunk/checksums
===================================================================
--- csw/mgar/pkg/ldapvi/trunk/checksums	2012-01-03 13:22:19 UTC (rev 16668)
+++ csw/mgar/pkg/ldapvi/trunk/checksums	2012-01-03 13:54:32 UTC (rev 16669)
@@ -1,2 +1 @@
-6dc2f5441ac5f1e2b5b036e3521012cc  download/ldapvi-1.7.tar.gz
-d1f0031d0db3b7bb68c258185a0c63ad  download/patch-putenv.diff
+6dc2f5441ac5f1e2b5b036e3521012cc  ldapvi-1.7.tar.gz

Added: csw/mgar/pkg/ldapvi/trunk/files/0001-Use-putenv-instead-of-setenv.patch
===================================================================
--- csw/mgar/pkg/ldapvi/trunk/files/0001-Use-putenv-instead-of-setenv.patch	                        (rev 0)
+++ csw/mgar/pkg/ldapvi/trunk/files/0001-Use-putenv-instead-of-setenv.patch	2012-01-03 13:54:32 UTC (rev 16669)
@@ -0,0 +1,25 @@
+From 3ecc8abf7b82e1dc359d788d0410c4e9d00a6302 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 3 Jan 2012 14:28:05 +0100
+Subject: [PATCH] Use putenv() instead of setenv()
+
+---
+ arguments.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/arguments.c b/arguments.c
+index a92fe10..3a03e14 100644
+--- a/arguments.c
++++ b/arguments.c
+@@ -686,7 +686,7 @@ parse_arguments(int argc, const char **argv, cmdline *result, GPtrArray *ctrls)
+ 	}		
+ 
+ 	if (result->profileonlyp)
+-		if (setenv("LDAPNOINIT", "thanks", 1)) syserr();
++		if (putenv("LDAPNOINIT=thanks")) syserr();
+ 
+ 	/* don't free! */
+ /* 	poptFreeContext(ctx); */
+-- 
+1.7.6.1
+

Deleted: csw/mgar/pkg/ldapvi/trunk/files/patch-putenv.diff
===================================================================
--- csw/mgar/pkg/ldapvi/trunk/files/patch-putenv.diff	2012-01-03 13:22:19 UTC (rev 16668)
+++ csw/mgar/pkg/ldapvi/trunk/files/patch-putenv.diff	2012-01-03 13:54:32 UTC (rev 16669)
@@ -1,13 +0,0 @@
-diff --git a/ldapvi/arguments.c b/ldapvi/arguments.c
-index a6cbb8e..63e6213 100644
---- ldapvi/arguments.c
-+++ ldapvi/arguments.c
-@@ -724,7 +724,7 @@ parse_arguments(int argc, const char **argv, cmdline *result, GPtrArray *ctrls)
- 	}
-
- 	if (result->profileonlyp)
--		if (setenv("LDAPNOINIT", "thanks", 1)) syserr();
-+		if (putenv("LDAPNOINIT=thanks")) syserr();
-
- 	/* don't free! */
- /* 	poptFreeContext(ctx); */

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