SF.net SVN: gar:[23192] csw/mgar/pkg/389-ds-base/branches/vers1.3.2

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Tue Mar 11 13:10:23 CET 2014


Revision: 23192
          http://sourceforge.net/p/gar/code/23192
Author:   cgrzemba
Date:     2014-03-11 12:10:21 +0000 (Tue, 11 Mar 2014)
Log Message:
-----------
389-ds-base/branches/vers1.3.2: update version, enable 64bit server

Modified Paths:
--------------
    csw/mgar/pkg/389-ds-base/branches/vers1.3.2/Makefile
    csw/mgar/pkg/389-ds-base/branches/vers1.3.2/checksums

Added Paths:
-----------
    csw/mgar/pkg/389-ds-base/branches/vers1.3.2/files/0016-fix-bigendian-utf8compare.c

Modified: csw/mgar/pkg/389-ds-base/branches/vers1.3.2/Makefile
===================================================================
--- csw/mgar/pkg/389-ds-base/branches/vers1.3.2/Makefile	2014-03-11 10:28:31 UTC (rev 23191)
+++ csw/mgar/pkg/389-ds-base/branches/vers1.3.2/Makefile	2014-03-11 12:10:21 UTC (rev 23192)
@@ -2,7 +2,7 @@
 # TODO (release-critical prefixed with !, non release-critical with *)
 #
 NAME = 389-ds-base
-VERSION = 1.3.2.13
+VERSION = 1.3.2.14
 GARTYPE = v2
 
 DESCRIPTION = The enterprise-class Open Source LDAP server
@@ -12,12 +12,13 @@
 
 BUNDLE = 389-ds
 
-MASTER_SITES = http://port389.org/sources/
+MASTER_SITES = https://git.fedorahosted.org/cgit/389/ds.git/snapshot/
+# MASTER_SITES = http://port389.org/sources/
 DISTFILES  = $(NAME)-$(VERSION).tar.bz2
 DISTFILES += CSW389-ds-base.postinstall
 DISTFILES += CSW389-ds-base.postremove
 
-# BUILD64	= 1
+BUILD64	= 1
 PACKAGING_PLATFORMS += solaris10-sparc
 PACKAGING_PLATFORMS += solaris10-i386
 
@@ -46,6 +47,7 @@
 # needed at least on GCC4
 PATCHFILES += 0015-use-PL_strcasestr-acllas.c.patch
 PATCHFILES += 0010-no-Crun-Cstd-lib-config.ac.patch
+PATCHFILES += 0016-fix-bigendian-utf8compare.c
 
 
 BUILD_DEP_PKGS += CSWautoconf

Modified: csw/mgar/pkg/389-ds-base/branches/vers1.3.2/checksums
===================================================================
--- csw/mgar/pkg/389-ds-base/branches/vers1.3.2/checksums	2014-03-11 10:28:31 UTC (rev 23191)
+++ csw/mgar/pkg/389-ds-base/branches/vers1.3.2/checksums	2014-03-11 12:10:21 UTC (rev 23192)
@@ -1 +1 @@
-8950764771081291117ade801b49ec04  389-ds-base-1.3.2.13.tar.bz2
+a33110a64020aa9c830ef5a0f00c8058  389-ds-base-1.3.2.14.tar.bz2

Added: csw/mgar/pkg/389-ds-base/branches/vers1.3.2/files/0016-fix-bigendian-utf8compare.c
===================================================================
--- csw/mgar/pkg/389-ds-base/branches/vers1.3.2/files/0016-fix-bigendian-utf8compare.c	                        (rev 0)
+++ csw/mgar/pkg/389-ds-base/branches/vers1.3.2/files/0016-fix-bigendian-utf8compare.c	2014-03-11 12:10:21 UTC (rev 23192)
@@ -0,0 +1,34 @@
+--- a/ldap/servers/slapd/utf8compare.c
++++ b/ldap/servers/slapd/utf8compare.c
+@@ -60,6 +60,7 @@ typedef struct sUpperLowerTbl {
+ int
+ slapi_has8thBit(unsigned char *s)
+ {
++#if (defined(CPU_x86) || defined(CPU_x86_64)) 
+ #define MY8THBITWIDTH 4 /* sizeof(PRUint32) */
+ #define MY8THBITFILTER 0x80808080
+     unsigned char *p, *stail, *ltail;
+@@ -73,14 +74,20 @@ slapi_has8thBit(unsigned char *s)
+              return 1;
+         }
+     }
+-    for (; p < ltail; p++) {
++#undef MY8THBITWIDTH 
++#undef MY8THBITFILTER 
++    for (; p < ltail; p++) 
++#else 
++    unsigned char *p, *tail; 
++    tail = s + strlen((char *)s);  
++    for (p = s; p < tail; p++) 
++#endif 
++    { 
+         if (0x80 & *p) {
+              return 1;
+         }
+     }
+     return 0;
+-#undef MY8THBITWIDTH
+-#undef MY8THBITFILTER
+ }
+ 
+ /*

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