From 4e97d5cdfcc2682b8b863c68c2d7444af3b0b0c8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 04 2021 04:21:33 +0000 Subject: import icu-67.1-9.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1d5c36b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/icu4c-67_1-src.tgz diff --git a/.icu.metadata b/.icu.metadata new file mode 100644 index 0000000..3e54b65 --- /dev/null +++ b/.icu.metadata @@ -0,0 +1 @@ +6822a4a94324d1ba591b3e8ef084e4491af253c1 SOURCES/icu4c-67_1-src.tgz diff --git a/SOURCES/coverity.patch b/SOURCES/coverity.patch new file mode 100644 index 0000000..3efc06e --- /dev/null +++ b/SOURCES/coverity.patch @@ -0,0 +1,453 @@ +diff -ru icu.orig/source/common/serv.cpp icu/source/common/serv.cpp +--- icu.orig/source/common/serv.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/common/serv.cpp 2021-08-18 13:04:50.838841089 +0200 +@@ -532,12 +532,14 @@ + } + UnicodeString* idToCache = new UnicodeString(currentDescriptor); + if (idToCache == NULL || idToCache->isBogus()) { ++ delete idToCache; + status = U_MEMORY_ALLOCATION_ERROR; + return NULL; + } + + cacheDescriptorList._obj->addElement(idToCache, status); + if (U_FAILURE(status)) { ++ // delete idToCache; + return NULL; + } + } while (key.fallback()); +diff -ru icu.orig/source/common/uloc_keytype.cpp icu/source/common/uloc_keytype.cpp +--- icu.orig/source/common/uloc_keytype.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/common/uloc_keytype.cpp 2021-08-18 14:03:41.707324553 +0200 +@@ -331,6 +331,10 @@ + LocExtKeyData* keyData = gLocExtKeyDataEntries->create(); + if (keyData == NULL) { + sts = U_MEMORY_ALLOCATION_ERROR; ++ if (typeDataMap != NULL) { ++ uhash_close(typeDataMap); ++ typeDataMap = NULL; ++ } + break; + } + keyData->bcpId = bcpKeyId; +diff -ru icu.orig/source/common/umutablecptrie.cpp icu/source/common/umutablecptrie.cpp +--- icu.orig/source/common/umutablecptrie.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/common/umutablecptrie.cpp 2021-08-18 13:59:02.507170287 +0200 +@@ -1543,7 +1543,7 @@ + MixedBlocks mixedBlocks; + int32_t newDataLength = compactData(fastILimit, newData, newDataCapacity, + dataNullIndex, mixedBlocks, errorCode); +- if (U_FAILURE(errorCode)) { return 0; } ++ if (U_FAILURE(errorCode)) { uprv_free(newData); return 0; } + U_ASSERT(newDataLength <= newDataCapacity); + uprv_free(data); + data = newData; +diff -ru icu.orig/source/i18n/rbt_pars.cpp icu/source/i18n/rbt_pars.cpp +--- icu.orig/source/i18n/rbt_pars.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/i18n/rbt_pars.cpp 2021-08-18 16:03:45.537119292 +0200 +@@ -557,6 +557,7 @@ + // The next character MUST be a segment open + if (single == NULL || + !ICU_Utility::parseChar(rule, iref, SEGMENT_OPEN)) { ++ delete single; + return syntaxError(U_INVALID_FUNCTION, rule, start, status); + } + +diff -ru icu.orig/source/i18n/tridpars.cpp icu/source/i18n/tridpars.cpp +--- icu.orig/source/i18n/tridpars.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/i18n/tridpars.cpp 2021-08-18 16:08:57.727071891 +0200 +@@ -136,6 +136,9 @@ + specsB = parseFilterID(id, pos, TRUE); + // Must close with a ')' + if (specsB == NULL || !ICU_Utility::parseChar(id, pos, CLOSE_REV)) { ++ if (specsB != NULL) { ++ delete specsB; ++ } + delete specsA; + pos = start; + return NULL; +diff -ru icu.orig/source/i18n/usearch.cpp icu/source/i18n/usearch.cpp +--- icu.orig/source/i18n/usearch.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/i18n/usearch.cpp 2021-08-18 16:19:31.533900708 +0200 +@@ -222,6 +222,9 @@ + int32_t *temp = (int32_t *)allocateMemory( + sizeof(int32_t) * newlength, status); + if (U_FAILURE(*status)) { ++ if (temp != NULL) { ++ uprv_free(temp); ++ } + return NULL; + } + uprv_memcpy(temp, destination, sizeof(int32_t) * (size_t)offset); +diff -ru icu.orig/source/i18n/usearch.cpp icu/source/i18n/usearch.cpp +--- icu.orig/source/i18n/usearch.cpp 2021-08-18 16:23:27.961337248 +0200 ++++ icu/source/i18n/usearch.cpp 2021-08-18 16:27:47.140623351 +0200 +@@ -266,6 +266,9 @@ + sizeof(int64_t) * newlength, status); + + if (U_FAILURE(*status)) { ++ if (temp != NULL) { ++ uprv_free(temp); ++ } + return NULL; + } + +diff -ru icu.orig/source/i18n/uspoof_impl.cpp icu/source/i18n/uspoof_impl.cpp +--- icu.orig/source/i18n/uspoof_impl.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/i18n/uspoof_impl.cpp 2021-08-18 16:30:43.061460025 +0200 +@@ -196,6 +196,9 @@ + tmpSet = allowedChars.clone(); + const char *tmpLocalesList = uprv_strdup(localesList); + if (tmpSet == NULL || tmpLocalesList == NULL) { ++ if (tmpLocalesList != NULL) { ++ uprv_free((void *)tmpLocalesList); ++ } + status = U_MEMORY_ALLOCATION_ERROR; + return; + } +diff -ru icu.orig/source/common/loclikely.cpp icu/source/common/loclikely.cpp +--- icu.orig/source/common/loclikely.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/common/loclikely.cpp 2021-08-18 16:59:05.786257032 +0200 +@@ -1351,7 +1351,9 @@ + } + } + +- rgBuf[rgLen] = 0; ++ if (rgLen >= 0) { ++ rgBuf[rgLen] = 0; ++ } + uprv_strncpy(region, rgBuf, regionCapacity); + return u_terminateChars(region, regionCapacity, rgLen, status); + } +diff -ru icu.orig/source/common/lsr.cpp icu/source/common/lsr.cpp +--- icu.orig/source/common/lsr.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/common/lsr.cpp 2021-08-18 17:39:36.706794880 +0200 +@@ -89,13 +89,15 @@ + int32_t b = region[1] - '0'; + if (b < 0 || 9 < b) { return 0; } + c = region[2] - '0'; +- if (c < 0 || 9 < c || region[3] != 0) { return 0; } ++ if (uprv_strlen(region) > 3) { return 0; } ++ if (c < 0 || 9 < c) { return 0; } + return (10 * a + b) * 10 + c + 1; + } else { // letters: "DE" + a = uprv_upperOrdinal(c); + if (a < 0 || 25 < a) { return 0; } + int32_t b = uprv_upperOrdinal(region[1]); +- if (b < 0 || 25 < b || region[2] != 0) { return 0; } ++ if (uprv_strlen(region) > 2) { return 0; } ++ if (b < 0 || 25 < b) { return 0; } + return 26 * a + b + 1001; + } + return 0; +diff -ru icu.orig/source/tools/toolutil/filetools.cpp icu/source/tools/toolutil/filetools.cpp +--- icu.orig/source/tools/toolutil/filetools.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/tools/toolutil/filetools.cpp 2021-08-19 09:56:56.393333089 +0200 +@@ -64,6 +64,7 @@ + newpath.append(dirEntry->d_name, -1, status); + if (U_FAILURE(status)) { + fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, u_errorName(status)); ++ closedir(pDir); + return FALSE; + } + + +diff -ru icu.orig/source/tools/pkgdata/pkgtypes.c icu/source/tools/pkgdata/pkgtypes.c +--- icu.orig/source/tools/pkgdata/pkgtypes.c 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/tools/pkgdata/pkgtypes.c 2021-08-19 10:37:07.400622046 +0200 +@@ -30,6 +30,7 @@ + { + int32_t ln = 0; + char buffer[1024]; ++ char *bufferp = buffer; + while(l != NULL) + { + if(l->str) +@@ -42,7 +43,7 @@ + buffer[uprv_strlen(buffer)-1] = '\0'; + } + if(buffer[0] == '"') { +- uprv_strcpy(buffer, buffer+1); ++ bufferp = buffer+1; + } + } else if(quote > 0) { /* add quotes */ + if(l->str[0] != '"') { +@@ -53,7 +54,7 @@ + uprv_strcat(buffer, "\""); + } + } +- T_FileStream_write(s, buffer, (int32_t)uprv_strlen(buffer)); ++ T_FileStream_write(s, bufferp, (int32_t)uprv_strlen(bufferp)); + + ln += (int32_t)uprv_strlen(l->str); + } +@@ -74,7 +75,8 @@ + + const char *pkg_writeCharList(FileStream *s, CharList *l, const char *delim, int32_t quote) + { +- char buffer[1024]; ++ char buffer[1026]; /* 1026 instead of 1024 because quotes may be added */ ++ char *bufferp = buffer; + while(l != NULL) + { + if(l->str) +@@ -92,7 +94,7 @@ + buffer[uprv_strlen(buffer)-1] = '\0'; + } + if(buffer[0] == '"') { +- uprv_strcpy(buffer, buffer+1); ++ bufferp = buffer+1; + } + } else if(quote > 0) { /* add quotes */ + if(l->str[0] != '"') { +@@ -103,7 +105,7 @@ + uprv_strcat(buffer, "\""); + } + } +- T_FileStream_write(s, buffer, (int32_t)uprv_strlen(buffer)); ++ T_FileStream_write(s, bufferp, (int32_t)uprv_strlen(bufferp)); + } + + if(l->next && delim) +diff -ru icu.orig/source/tools/pkgdata/pkgdata.cpp icu/source/tools/pkgdata/pkgdata.cpp +--- icu.orig/source/tools/pkgdata/pkgdata.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/tools/pkgdata/pkgdata.cpp 2021-08-19 11:11:35.563339463 +0200 +@@ -980,12 +980,12 @@ + version_major); + #else + if (noVersion && !reverseExt) { +- sprintf(libFileNames[LIB_FILE_VERSION_TMP], "%s%s%s", ++ snprintf(libFileNames[LIB_FILE_VERSION_TMP], sizeof(libFileNames[LIB_FILE_VERSION_TMP]), "%s%s%s", + libFileNames[LIB_FILE], + FILE_SUFFIX, + pkgDataFlags[SOBJ_EXT]); + } else { +- sprintf(libFileNames[LIB_FILE_VERSION_TMP], "%s%s%s%s%s", ++ snprintf(libFileNames[LIB_FILE_VERSION_TMP], sizeof(libFileNames[LIB_FILE_VERSION_TMP]), "%s%s%s%s%s", + libFileNames[LIB_FILE], + FILE_SUFFIX, + reverseExt ? version : pkgDataFlags[SOBJ_EXT], +@@ -994,24 +994,24 @@ + } + #endif + if (noVersion && !reverseExt) { +- sprintf(libFileNames[LIB_FILE_VERSION_MAJOR], "%s%s%s", ++ snprintf(libFileNames[LIB_FILE_VERSION_MAJOR], sizeof(libFileNames[LIB_FILE_VERSION_MAJOR]), "%s%s%s", + libFileNames[LIB_FILE], + FILE_SUFFIX, + pkgDataFlags[SO_EXT]); + +- sprintf(libFileNames[LIB_FILE_VERSION], "%s%s%s", ++ snprintf(libFileNames[LIB_FILE_VERSION], sizeof(libFileNames[LIB_FILE_VERSION]), "%s%s%s", + libFileNames[LIB_FILE], + FILE_SUFFIX, + pkgDataFlags[SO_EXT]); + } else { +- sprintf(libFileNames[LIB_FILE_VERSION_MAJOR], "%s%s%s%s%s", ++ snprintf(libFileNames[LIB_FILE_VERSION_MAJOR], sizeof(libFileNames[LIB_FILE_VERSION_MAJOR]), "%s%s%s%s%s", + libFileNames[LIB_FILE], + FILE_SUFFIX, + reverseExt ? version_major : pkgDataFlags[SO_EXT], + FILE_EXTENSION_SEP, + reverseExt ? pkgDataFlags[SO_EXT] : version_major); + +- sprintf(libFileNames[LIB_FILE_VERSION], "%s%s%s%s%s", ++ snprintf(libFileNames[LIB_FILE_VERSION], sizeof(libFileNames[LIB_FILE_VERSION]), "%s%s%s%s%s", + libFileNames[LIB_FILE], + FILE_SUFFIX, + reverseExt ? version : pkgDataFlags[SO_EXT], +@@ -1029,7 +1029,7 @@ + #endif + + if(IN_STATIC_MODE(mode)) { +- sprintf(libFileNames[LIB_FILE_VERSION], "%s.%s", libFileNames[LIB_FILE], pkgDataFlags[A_EXT]); ++ snprintf(libFileNames[LIB_FILE_VERSION], sizeof(libFileNames[LIB_FILE_VERSION]), "%s.%s", libFileNames[LIB_FILE], pkgDataFlags[A_EXT]); + libFileNames[LIB_FILE_VERSION_MAJOR][0]=0; + if(o->verbose) { + fprintf(stdout, "# libFileName[LIB_FILE_VERSION] = %s (static)\n", libFileNames[LIB_FILE_VERSION]); +@@ -1308,7 +1308,7 @@ + * archive file suffix is the same, then the final library needs to be archived. + */ + if (uprv_strcmp(pkgDataFlags[SOBJ_EXT], pkgDataFlags[SO_EXT]) != 0 && uprv_strcmp(pkgDataFlags[A_EXT], pkgDataFlags[SO_EXT]) == 0) { +- sprintf(libFileNames[LIB_FILE_VERSION], "%s%s%s.%s", ++ snprintf(libFileNames[LIB_FILE_VERSION], sizeof(libFileNames[LIB_FILE_VERSION]), "%s%s%s.%s", + libFileNames[LIB_FILE], + pkgDataFlags[LIB_EXT_ORDER][0] == '.' ? "." : "", + reverseExt ? version : pkgDataFlags[SO_EXT], +diff -ru icu.orig/source/tools/ctestfw/ctest.c icu/source/tools/ctestfw/ctest.c +--- icu.orig/source/tools/ctestfw/ctest.c 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/tools/ctestfw/ctest.c 2021-08-19 13:19:21.016799737 +0200 +@@ -686,7 +686,6 @@ + } + vfprintf(stdout, pattern, ap); + fflush(stdout); +- va_end(ap); + if((*pattern==0) || (pattern[strlen(pattern)-1]!='\n')) { + HANGING_OUTPUT=1; + } else { +@@ -728,7 +727,6 @@ + } + vfprintf(stdout, pattern, ap); + fflush(stdout); +- va_end(ap); + if((*pattern==0) || (pattern[strlen(pattern)-1]!='\n')) { + HANGING_OUTPUT=1; + } else { +@@ -777,7 +775,6 @@ + } + vfprintf(stdout, pattern, ap); + fflush(stdout); +- va_end(ap); + GLOBAL_PRINT_COUNT++; + if((*pattern==0) || (pattern[strlen(pattern)-1]!='\n')) { + HANGING_OUTPUT=1; +@@ -803,6 +800,7 @@ + } + va_start(ap, pattern); + vlog_err(NULL, pattern, ap); ++ va_end(ap); + } + + UBool T_CTEST_EXPORT2 +@@ -806,8 +806,11 @@ + UBool T_CTEST_EXPORT2 + log_knownIssue(const char *ticket, const char *pattern, ...) { + va_list ap; ++ UBool result; + va_start(ap, pattern); +- return vlog_knownIssue(ticket, pattern, ap); ++ result = vlog_knownIssue(ticket, pattern, ap); ++ va_end(ap); ++ return result; + } + + void T_CTEST_EXPORT2 +@@ -843,6 +842,7 @@ + } + vlog_err(NULL, pattern, ap); /* no need for prefix in default case */ + } ++ va_end(ap); + } + + void T_CTEST_EXPORT2 +@@ -852,6 +852,7 @@ + + va_start(ap, pattern); + vlog_info(NULL, pattern, ap); ++ va_end(ap); + } + + void T_CTEST_EXPORT2 +@@ -861,6 +862,7 @@ + + va_start(ap, pattern); + vlog_verbose(NULL, pattern, ap); ++ va_end(ap); + } + + +@@ -882,6 +884,7 @@ + } else { + vlog_info("[DATA] ", pattern, ap); + } ++ va_end(ap); + } + + +diff -ru icu/source/tools/gensprep/store.c icu.new/source/tools/gensprep/store.c +--- icu/source/tools/gensprep/store.c 2020-04-22 22:04:20.000000000 +0200 ++++ icu.new/source/tools/gensprep/store.c 2021-08-19 16:16:17.213687755 +0200 +@@ -636,7 +636,6 @@ + cleanUpData(void) { + uprv_free(mappingData); + utrie_close(sprepTrie); +- uprv_free(sprepTrie); + } + + #endif /* #if !UCONFIG_NO_IDNA */ +diff -ru icu.orig/source/common/uloc_tag.cpp icu/source/common/uloc_tag.cpp +--- icu.orig/source/common/uloc_tag.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/common/uloc_tag.cpp 2021-08-19 16:32:26.948185554 +0200 +@@ -2254,6 +2254,7 @@ + var = (VariantListEntry*)uprv_malloc(sizeof(VariantListEntry)); + if (var == NULL) { + *status = U_MEMORY_ALLOCATION_ERROR; ++ uprv_free(pExtension); + return NULL; + } + *pSep = 0; +diff -ru icu.orig/source/common/uloc_keytype.cpp icu/source/common/uloc_keytype.cpp +--- icu.orig/source/common/uloc_keytype.cpp 2021-08-19 16:34:07.037514442 +0200 ++++ icu/source/common/uloc_keytype.cpp 2021-08-19 16:37:38.276098078 +0200 +@@ -325,6 +325,10 @@ + } + } + if (U_FAILURE(sts)) { ++ if (typeDataMap != NULL) { ++ uhash_close(typeDataMap); ++ typeDataMap = NULL; ++ } + break; + } + +diff -ru icu.orig/source/common/serv.cpp icu/source/common/serv.cpp +--- icu.orig/source/common/serv.cpp 2021-08-19 20:45:49.923742619 +0200 ++++ icu/source/common/serv.cpp 2021-08-20 13:16:04.401298668 +0200 +@@ -793,6 +793,7 @@ + */ + int32_t pos = UHASH_FIRST; + const UHashElement *entry = NULL; ++ /* coverity[deref_after_free] */ + while ((entry = dnCache->cache.nextElement(pos)) != NULL) { + const UnicodeString* id = (const UnicodeString*)entry->value.pointer; + if (matchKey != NULL && !matchKey->isFallbackOf(*id)) { +diff -ru icu.orig/source/i18n/decNumber.h icu/source/i18n/decNumber.h +--- icu.orig/source/i18n/decNumber.h 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/i18n/decNumber.h 2021-08-20 13:17:27.208783404 +0200 +@@ -86,7 +86,7 @@ + /* range: -1999999997 through 999999999 */ + uint8_t bits; /* Indicator bits (see above) */ + /* Coefficient, from least significant unit */ +- decNumberUnit lsu[DECNUMUNITS]; ++ decNumberUnit lsu[DECNUMUNITS+2]; + } decNumber; + + /* Notes: */ +diff -ru icu.orig/source/tools/makeconv/genmbcs.cpp icu/source/tools/makeconv/genmbcs.cpp +--- icu.orig/source/tools/makeconv/genmbcs.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/tools/makeconv/genmbcs.cpp 2021-08-23 08:07:02.972087418 +0200 +@@ -172,7 +172,7 @@ + } + + MBCSInit(mbcsData, ucm); +- return &mbcsData->newConverter; ++ return (NewConverter *)mbcsData; + } + + static void +diff -ru icu.orig/source/common/brkiter.cpp icu/source/common/brkiter.cpp +--- icu.orig/source/common/brkiter.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/common/brkiter.cpp 2021-08-23 13:56:11.644603960 +0200 +@@ -105,7 +105,9 @@ + } + } + ++ /* coverity[incorrect_free] */ + ures_close(brkRules); ++ /* coverity[incorrect_free] */ + ures_close(brkName); + + UDataMemory* file = udata_open(U_ICUDATA_BRKITR, ext, fnbuff, &status); +diff -ru icu.orig/source/common/uresbund.cpp icu/source/common/uresbund.cpp +--- icu.orig/source/common/uresbund.cpp 2020-04-22 22:04:20.000000000 +0200 ++++ icu/source/common/uresbund.cpp 2021-08-23 13:56:53.329339657 +0200 +@@ -2493,7 +2493,9 @@ + static void U_CALLCONV + ures_loc_closeLocales(UEnumeration *enumerator) { + ULocalesContext *ctx = (ULocalesContext *)enumerator->context; ++ /* coverity[address_free] */ + ures_close(&ctx->curr); ++ /* coverity[address_free] */ + ures_close(&ctx->installed); + uprv_free(ctx); + uprv_free(enumerator); diff --git a/SOURCES/gennorm2-man.patch b/SOURCES/gennorm2-man.patch new file mode 100644 index 0000000..07b5b9d --- /dev/null +++ b/SOURCES/gennorm2-man.patch @@ -0,0 +1,128 @@ +Description: supply manual page for program that doesn't have one +Author: Jay Berkenbilt +Bug: http://bugs.icu-project.org/trac/ticket/7554 + +diff -r -u -N icu.orig/source/tools/gennorm2/gennorm2.8.in icu/source/tools/gennorm2/gennorm2.8.in +--- icu.orig/source/tools/gennorm2/gennorm2.8.in 1970-01-01 01:00:00.000000000 +0100 ++++ icu/source/tools/gennorm2/gennorm2.8.in 2013-02-25 16:43:28.297062638 +0100 +@@ -0,0 +1,71 @@ ++.\" Hey, Emacs! This is -*-nroff-*- you know... ++.\" ++.\" gennorm2.8: manual page for the gennorm2 utility ++.\" ++.\" Copyright (C) 2005-2006 International Business Machines Corporation and others ++.\" ++.TH GENNORM2 8 "15 March 2010" "ICU MANPAGE" "ICU @VERSION@ Manual" ++.SH NAME ++.B gennorm2 ++\- Builds binary data file with Unicode normalization data. ++.SH SYNOPSIS ++.B gennorm2 ++[ ++.BR "\-h\fP, \fB\-?\fP, \fB\-\-help" ++] ++[ ++.BR "\-V\fP, \fB\-\-version" ++] ++[ ++.BR "\-c\fP, \fB\-\-copyright" ++] ++[ ++.BR "\-v\fP, \fB\-\-verbose" ++] ++[ ++.BI "\-u\fP, \fB\-\-unicode" " unicode\-version\-number" ++] ++[ ++.BI "\-s\fP, \fB\-\-sourcedir" " source\-directory" ++] ++[ ++.BI "\-o\fP, \fB\-\-output" " output\-filename" ++] ++.BI "\fB\-\-fast" ++.SH DESCRIPTION ++.B gennorm2 ++reads text files that define Unicode normalization, ++them, and builds a binary data file. ++.SH OPTIONS ++.TP ++.BR "\-h\fP, \fB\-?\fP, \fB\-\-help" ++Print help about usage and exit. ++.TP ++.BR "\-V\fP, \fB\-\-version" ++Print the version of ++.B gennorm2 ++and exit. ++.TP ++.BR "\-c\fP, \fB\-\-copyright" ++Include a copyright notice. ++.TP ++.BR "\-v\fP, \fB\-\-verbose" ++Display extra informative messages during execution. ++.TP ++.BR "\-u\fP, \fB\-\-unicode" ++Specify Unicode version number, such as 5.2.0. ++.TP ++.BI "\-s\fP, \fB\-\-sourcedir" " source\-directory" ++Specify the input directory. ++.TP ++.BI "\-s\fP, \fB\-\-sourcedir" " source\-directory" ++Set the name of the output file. ++.TP ++.BI "\fB\-\-fast" ++optimize the .nrm file for fast normalization, ++which might increase its size (Writes fully decomposed ++regular mappings instead of delta mappings. ++You should measure the runtime speed to make sure that ++this is a good trade-off.) ++.SH COPYRIGHT ++Copyright (C) 2009-2010 International Business Machines Corporation and others +diff -r -u -N icu.orig/source/tools/gennorm2/Makefile.in icu/source/tools/gennorm2/Makefile.in +--- icu.orig/source/tools/gennorm2/Makefile.in 2013-01-11 01:23:32.000000000 +0100 ++++ icu/source/tools/gennorm2/Makefile.in 2013-02-25 16:43:28.296062632 +0100 +@@ -16,8 +16,13 @@ + + TARGET_STUB_NAME = gennorm2 + ++SECTION = 8 ++ ++MAN_FILES = $(TARGET_STUB_NAME).$(SECTION) ++ ++ + ## Extra files to remove for 'make clean' +-CLEANFILES = *~ $(DEPS) ++CLEANFILES = *~ $(DEPS) $(MAN_FILES) + + ## Target information + TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT) +@@ -44,12 +49,16 @@ + dist: dist-local + check: all check-local + +-all-local: $(TARGET) ++all-local: $(TARGET) $(MAN_FILES) + +-install-local: all-local ++install-local: all-local install-man + $(MKINSTALLDIRS) $(DESTDIR)$(sbindir) + $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir) + ++install-man: $(MAN_FILES) ++ $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION) ++ $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION) ++ + dist-local: + + clean-local: +@@ -70,6 +79,11 @@ + $(POST_BUILD_STEP) + + ++%.$(SECTION): $(srcdir)/%.$(SECTION).in ++ cd $(top_builddir) \ ++ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status ++ ++ + ifeq (,$(MAKECMDGOALS)) + -include $(DEPS) + else diff --git a/SOURCES/icu-config.sh b/SOURCES/icu-config.sh new file mode 100644 index 0000000..5779637 --- /dev/null +++ b/SOURCES/icu-config.sh @@ -0,0 +1,11 @@ +#!/bin/sh +OOO_ARCH=$(uname -m) +case $OOO_ARCH in + x86_64 | s390x | ppc64 | sparc64 | aarch64 | ppc64le | mips64 | mips64el | riscv64) + bits=64 + ;; + * ) + bits=32 + ;; +esac +exec icu-config-$bits "$@" diff --git a/SOURCES/icuinfo-man.patch b/SOURCES/icuinfo-man.patch new file mode 100644 index 0000000..987e879 --- /dev/null +++ b/SOURCES/icuinfo-man.patch @@ -0,0 +1,145 @@ +Description: supply manual page for program that doesn't have one +Author: Jay Berkenbilt +Bug: http://bugs.icu-project.org/trac/ticket/7665 +erAck: adapted to ICU 56.1 icu/source/tools/icuinfo/Makefile.in + +diff -Nur orig.icu/source/tools/icuinfo/icuinfo.1.in icu/source/tools/icuinfo/icuinfo.1.in +--- orig.icu/source/tools/icuinfo/icuinfo.1.in 1970-01-01 01:00:00.000000000 +0100 ++++ icu/source/tools/icuinfo/icuinfo.1.in 2015-10-27 19:19:35.184056800 +0100 +@@ -0,0 +1,76 @@ ++.\" Hey, Emacs! This is -*-nroff-*- you know... ++.\" ++.\" icuinfo.1: manual page for the icuinfo utility ++.\" ++.\" Copyright (C) 2005-2006 International Business Machines Corporation and others ++.\" ++.TH ICUINFO 1 "1 May 2010" "ICU MANPAGE" "ICU @VERSION@ Manual" ++.SH NAME ++.B icuinfo ++\- Shows some basic info about the current ICU ++.SH SYNOPSIS ++.B icuinfo ++[ ++.BR "\-h\fP, \fB\-?\fP, \fB\-\-help" ++] ++[ ++.BR "\-V\fP, \fB\-\-version" ++] ++[ ++.BR "\-c\fP, \fB\-\-copyright" ++] ++[ ++.BI "\-i\fP, \fB\-\-icudatadir" " directory" ++] ++[ ++.BR "\-v\fP, \fB\-\-verbose" ++] ++[ ++.BI "\-L\fP, \fB\-\-list-plugins" ++] ++[ ++.BI "\-m\fP, \fB\-\-milisecond-time" ++] ++[ ++.BI "\-K\fP, \fB\-\-cleanup" ++] ++.SH DESCRIPTION ++.B icuinfo ++prints basic information about the current version of ICU. ++.SH OPTIONS ++.TP ++.BR "\-h\fP, \fB\-?\fP, \fB\-\-help" ++Print help about usage and exit. ++.TP ++.BR "\-V\fP, \fB\-\-version" ++Print the version of ++.B icuinfo ++and exit. ++.TP ++.BR "\-c\fP, \fB\-\-copyright" ++Embeds the standard ICU copyright into the ++.IR output-file . ++.TP ++.BR "\-v\fP, \fB\-\-verbose" ++Display extra informative messages during execution. ++.TP ++.BI "\-i\fP, \fB\-\-icudatadir" " directory" ++Look for any necessary ICU data files in ++.IR directory . ++For example, the file ++.B pnames.icu ++must be located when ICU's data is not built as a shared library. ++The default ICU data directory is specified by the environment variable ++.BR ICU_DATA . ++Most configurations of ICU do not require this argument. ++.TP ++.BI "\-L\fP, \fB\-\-list-plugins" ++If specified, list and diagnose issues with ICU plugins. ++.TP ++.BI "\-K\fP, \fB\-\-cleanup" ++Attempt to unload plugins before exiting. ++.TP ++.BI "\-m\fP, \fB\-\-milisecond-time" ++Print the current UTC time in milliseconds. ++.SH COPYRIGHT ++Copyright (C) 2010 International Business Machines Corporation and others +diff -Nur orig.icu/source/tools/icuinfo/Makefile.in icu/source/tools/icuinfo/Makefile.in +--- orig.icu/source/tools/icuinfo/Makefile.in 2015-10-08 05:53:56.000000000 +0200 ++++ icu/source/tools/icuinfo/Makefile.in 2015-10-27 19:23:19.115509906 +0100 +@@ -14,8 +14,15 @@ + ## Build directory information + subdir = tools/icuinfo + ++TARGET_STUB_NAME = icuinfo ++ ++SECTION = 1 ++ ++MAN_FILES = $(TARGET_STUB_NAME).$(SECTION) ++ ++ + ## Extra files to remove for 'make clean' +-CLEANFILES = *~ $(DEPS) $(PLUGIN_OBJECTS) $(PLUGINFILE) $(PLUGIN) ++CLEANFILES = *~ $(DEPS) $(PLUGIN_OBJECTS) $(PLUGINFILE) $(PLUGIN) $(MAN_FILES) + + ## Target information + TARGET = icuinfo$(EXEEXT) +@@ -35,7 +42,8 @@ + + ## List of phony targets + .PHONY : all all-local install install-local clean clean-local \ +-distclean distclean-local dist dist-local check check-local plugin-check ++distclean distclean-local dist dist-local check check-local plugin-check \ ++install-man + + ## Clear suffix list + .SUFFIXES : +@@ -48,12 +56,16 @@ + dist: dist-local + check: all check-local + +-all-local: $(TARGET) ++all-local: $(TARGET) $(MAN_FILES) + +-install-local: all-local ++install-local: all-local install-man + $(MKINSTALLDIRS) $(DESTDIR)$(bindir) + $(INSTALL) $(TARGET) $(DESTDIR)$(bindir) + ++install-man: $(MAN_FILES) ++ $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION) ++ $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION) ++ + dist-local: + + clean-local: +@@ -103,6 +115,10 @@ + @echo "Plugins are disabled (use --enable-plugins to enable)" + endif + ++%.$(SECTION): $(srcdir)/%.$(SECTION).in ++ cd $(top_builddir) \ ++ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status ++ + ifeq (,$(MAKECMDGOALS)) + -include $(DEPS) + else diff --git a/SPECS/icu.spec b/SPECS/icu.spec new file mode 100644 index 0000000..0fad01c --- /dev/null +++ b/SPECS/icu.spec @@ -0,0 +1,799 @@ +#%%global debugtrace 1 + +Name: icu +Version: 67.1 +Release: 9%{?dist} +Summary: International Components for Unicode + +License: MIT and UCD and Public Domain +URL: http://site.icu-project.org/ +Source0: https://github.com/unicode-org/icu/releases/download/release-67-1/icu4c-67_1-src.tgz +Source1: icu-config.sh + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: doxygen, autoconf, python3 +BuildRequires: make +Requires: lib%{name}%{?_isa} = %{version}-%{release} + +Patch4: gennorm2-man.patch +Patch5: icuinfo-man.patch +Patch6: coverity.patch + +%description +Tools and utilities for developing with icu. + +%package -n lib%{name} +Summary: International Components for Unicode - libraries + +%description -n lib%{name} +The International Components for Unicode (ICU) libraries provide +robust and full-featured Unicode services on a wide variety of +platforms. ICU supports the most current version of the Unicode +standard, and they provide support for supplementary Unicode +characters (needed for GB 18030 repertoire support). +As computing environments become more heterogeneous, software +portability becomes more important. ICU lets you produce the same +results across all the various platforms you support, without +sacrificing performance. It offers great flexibility to extend and +customize the supplied services. + +%package -n lib%{name}-devel +Summary: Development files for International Components for Unicode +Requires: lib%{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description -n lib%{name}-devel +Includes and definitions for developing with icu. + +%package -n lib%{name}-doc +Summary: Documentation for International Components for Unicode +BuildArch: noarch + +%description -n lib%{name}-doc +%{summary}. + +%{!?endian: %global endian %(%{__python3} -c "import sys;print (0 if sys.byteorder=='big' else 1)")} +# " this line just fixes syntax highlighting for vim that is confused by the above and continues literal + + +%prep +%autosetup -p1 -n %{name} + + +%build +pushd source +autoconf +CFLAGS='%optflags -fno-strict-aliasing' +CXXFLAGS='%optflags -fno-strict-aliasing' +# Endian: BE=0 LE=1 +%if ! 0%{?endian} +CPPFLAGS='-DU_IS_BIG_ENDIAN=1' +%endif + +#rhbz856594 do not use --disable-renaming or cope with the mess +OPTIONS='--with-data-packaging=library --disable-samples' +%if 0%{?debugtrace} +OPTIONS=$OPTIONS' --enable-debug --enable-tracing' +%endif +%configure $OPTIONS + +#rhbz#225896 +sed -i 's|-nodefaultlibs -nostdlib||' config/mh-linux +#rhbz#813484 +sed -i 's| \$(docfilesdir)/installdox||' Makefile +# There is no source/doc/html/search/ directory +sed -i '/^\s\+\$(INSTALL_DATA) \$(docsrchfiles) \$(DESTDIR)\$(docdir)\/\$(docsubsrchdir)\s*$/d' Makefile +# rhbz#856594 The configure --disable-renaming and possibly other options +# result in icu/source/uconfig.h.prepend being created, include that content in +# icu/source/common/unicode/uconfig.h to propagate to consumer packages. +test -f uconfig.h.prepend && sed -e '/^#define __UCONFIG_H__/ r uconfig.h.prepend' -i common/unicode/uconfig.h + +# more verbosity for build.log +sed -i -r 's|(PKGDATA_OPTS = )|\1-v |' data/Makefile + +%make_build +%make_build doc + + +%install +rm -rf $RPM_BUILD_ROOT source/__docs +%make_install %{?_smp_mflags} -C source +make %{?_smp_mflags} -C source install-doc docdir=__docs +chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.* +( + cd $RPM_BUILD_ROOT%{_bindir} + mv icu-config icu-config-%{__isa_bits} +) +install -p -m755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/icu-config + + +%check +# test to ensure that -j(X>1) didn't "break" man pages. b.f.u #2357 +if grep -q @VERSION@ source/tools/*/*.8 source/tools/*/*.1 source/config/*.1; then + exit 1 +fi +%ifarch i686 +# F26 since the mass rebuild in 2017-Feb fails a check, ignore error. TODO: find cause / disable only one. +%make_build -C source check ||: +%else +%make_build -C source check +%endif + +# log available codes +pushd source +LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l + + +%ldconfig_scriptlets -n lib%{name} + + +%files +%license license.html +%exclude %{_datadir}/%{name}/*/LICENSE +%{_bindir}/derb +%{_bindir}/genbrk +%{_bindir}/gencfu +%{_bindir}/gencnval +%{_bindir}/gendict +%{_bindir}/genrb +%{_bindir}/makeconv +%{_bindir}/pkgdata +%{_bindir}/uconv +%{_sbindir}/* +%{_mandir}/man1/derb.1* +%{_mandir}/man1/gencfu.1* +%{_mandir}/man1/gencnval.1* +%{_mandir}/man1/gendict.1* +%{_mandir}/man1/genrb.1* +%{_mandir}/man1/genbrk.1* +%{_mandir}/man1/makeconv.1* +%{_mandir}/man1/pkgdata.1* +%{_mandir}/man1/uconv.1* +%{_mandir}/man8/*.8* + +%files -n lib%{name} +%license LICENSE +%doc readme.html +%{_libdir}/*.so.* + +%files -n lib%{name}-devel +%license LICENSE +%doc source/samples/ +%{_bindir}/%{name}-config* +%{_bindir}/icuinfo +%{_mandir}/man1/%{name}-config.1* +%{_mandir}/man1/icuinfo.1* +%{_includedir}/unicode +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_libdir}/%{name} +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/%{version} +%{_datadir}/%{name}/%{version}/install-sh +%{_datadir}/%{name}/%{version}/mkinstalldirs +%{_datadir}/%{name}/%{version}/config + +%files -n lib%{name}-doc +%license LICENSE +%doc readme.html +%doc source/__docs/%{name}/html/* + + +%changelog +* Wed Aug 18 2021 Mike FABIAN - 67.1-9 +- Resolves: rhbz#1938741 Fix coverity scan problems + +* Mon Aug 09 2021 Mohan Boddu - 67.1-8 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 67.1-7 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Mar 30 2021 Jonathan Wakely - 67.1-6 +- Rebuilt for removed libstdc++ symbol (#1937698) + +* Tue Jan 26 2021 Fedora Release Engineering - 67.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 67.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 21 2020 Eike Rathke - 67.1-3 +- Replace unversioned %%{__python} macro with %%{__python3} + +* Mon Jul 13 2020 Tom Stellard - 67.1-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + +* Fri May 15 2020 Pete Walter - 67.1-1 +- Update to 67.1 + +* Wed Jan 29 2020 Fedora Release Engineering - 65.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Nov 01 2019 Pete Walter - 65.1-1 +- Update to 65.1 +- Add a patch from gentoo to fix the build on s390x +- Drop arm test disabling patches as they are no longer needed + +* Fri Nov 01 2019 Pete Walter - 63.2-4 +- Build with Python 3 + +* Thu Jul 25 2019 Fedora Release Engineering - 63.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon May 13 2019 Eike Rathke - 63.2-2 +- Resolves: rhbz#1708935 temporarily roll back to 63.1 + +* Thu May 09 2019 Eike Rathke - 63.2-1 +- Update to 63.2 + +* Fri Feb 01 2019 Fedora Release Engineering - 63.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Jan 23 2019 Pete Walter - 63.1-1 +- Update to 63.1 + +* Tue Nov 06 2018 Eike Rathke - 62.1-3 +- Resolves: rhbz#1646703 CVE-2018-18928 + +* Fri Jul 13 2018 Fedora Release Engineering - 62.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jul 10 2018 Pete Walter - 62.1-1 +- Update to 62.1 + +* Mon May 28 2018 Eike Rathke - 61.1-2 +- Resolves: rhbz#1582611 Add riscv64 to icu-config.sh + +* Tue Apr 24 2018 Eike Rathke - 61.1-1 +- Update to 61.1 + +* Thu Mar 15 2018 Iryna Shcherbina - 60.2-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Wed Feb 07 2018 Fedora Release Engineering - 60.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Dec 14 2017 Pete Walter - 60.2-1 +- Update to 60.2 + +* Thu Dec 14 2017 Eike Rathke - 60.1-2 +- Resolves: rhbz#1524820 CVE-2017-17484 + +* Thu Nov 30 2017 Pete Walter - 60.1-1 +- Update to 60.1 + +* Wed Nov 08 2017 Eike Rathke - 57.1-9 +- Resolves: rhbz#1510932 CVE-2017-14952 + +* Wed Aug 02 2017 Fedora Release Engineering - 57.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 57.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Apr 20 2017 Eike Rathke - 57.1-6 +- Resolves: rhbz#1444101 CVE-2017-7867 CVE-2017-7868 + +* Fri Feb 10 2017 Fedora Release Engineering - 57.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Nov 18 2016 Eike Rathke - 57.1-4 +- dist.rpmgrill: "Percent signs in specfile changelog should be escaped" + +* Fri Nov 18 2016 Eike Rathke - 57.1-3 +- Resolves: rhbz#1377362 CVE-2016-7415 + +* Tue Nov 01 2016 Eike Rathke - 57.1-2 +- Resolves: rhbz#1360340 CVE-2016-6293 + +* Fri Apr 15 2016 Eike Rathke - 57.1-1 +- upgrade to upstream ICU 57.1 + +* Tue Apr 05 2016 Eike Rathke - 56.1-7 +- make check failure is fatal again + +* Tue Apr 05 2016 Eike Rathke - 56.1-6 +- remove icu-56.1-codes-cache-extend.patch + +* Sun Feb 28 2016 Raphael Groner - 56.1-5 +- even more verbosity and debug output +- add path to extend ICU's internal cache of codes +- use license macro +- provide samples in devel subpackage +- modernize generally + +* Sat Feb 27 2016 Rex Dieter - 56.1-4 +- %%build: make VERBOSE=1 +- %%check: keep 'make check' non-fatal while investigating rhbz#1307633 + +* Sat Feb 06 2016 Caolán McNamara - 56.1-3 +- Resolves: rhbz#1307633 FTBFS, disable check to get build through for now + +* Thu Feb 04 2016 Fedora Release Engineering - 56.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Oct 27 2015 Eike Rathke - 56.1-1 +- Resolves: rhbz#1271353 upgrade to ICU 56.1 + +* Fri Sep 18 2015 Eike Rathke - 54.1-5 +- Workaround rhbz#1239574 disabling offending tests on armv7hl + +* Wed Jun 17 2015 Fedora Release Engineering - 54.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Apr 10 2015 Eike Rathke - 54.1-3 +- Resolves: rhbz#1190131 CVE-2014-7923 CVE-2014-7926 CVE-2014-9654 +- Resolves: rhbz#1184811 CVE-2014-6585 CVE-2014-6591 + +* Sat Feb 21 2015 Till Maas - 54.1-2 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Mon Jan 26 2015 Eike Rathke - 54.1-1 +- Resolves: rhbz#1185433 upgrade to upstream ICU 54.1 + +* Tue Aug 26 2014 Eike Rathke - 53.1-1 +- Resolves: rhbz#1130771 upgrade to upstream ICU 53.1 + +* Sat Aug 16 2014 Fedora Release Engineering - 52.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jun 13 2014 Eike Rathke - 52.1-3 +- Resolves: rhbz#1106793 bad 2-digit year test case + +* Sat Jun 07 2014 Fedora Release Engineering - 52.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Feb 11 2014 Eike Rathke - 52.1-1 +- upgrade to upstream ICU 52.1 +- Resolves: rhbz#1049265 icu-52.1 is available +- Resolves: rhbz#1050063 Trivial change to icu-config to support ppc64le +- drop icu-51-layout-fix-10107.tgz source +- drop integrated icu.10318.CVE-2013-2924_changeset_34076.patch +- drop integrated icu.10143.memory.leak.crash.patch + +* Wed Oct 09 2013 Eike Rathke - 50.1.2-10 +- Resolves: rhbz#1015594 CVE-2013-2924 use-after-free + +* Fri Oct 04 2013 Eike Rathke - 50.1.2-9 +- added %%{?_isa} to Requires for multi-arch systems + +* Sat Aug 03 2013 Fedora Release Engineering - 50.1.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jul 22 2013 Eike Rathke - 50.1.2-7 +- Resolves: rhbz#986814 install icu-config.sh from source2 + +* Wed Jul 17 2013 Eike Rathke - 50.1.2-6 +- Resolves: rhbz#966141 various flaws in Layout Engine font processing +- Resolves: rhbz#966077 aarch64 support for icu-config.sh wrapper + +* Mon Feb 25 2013 Eike Rathke - 50.1.2-5 +- added manpages for gennorm2 and icuinfo, rhbz#884035 related + +* Tue Feb 19 2013 Caolán McNamara - 50.1.2-4 +- Resolves: fdo#52519 crash on typing some Malayalam + +* Tue Jan 29 2013 Eike Rathke - 50.1.2-3 +- Resolves: rhbz#856594 roll back and build without --disable-renaming again + +* Mon Jan 28 2013 Eike Rathke - 50.1.2-2 +- Resolves: rhbz#856594 include content of icu/source/uconfig.h.prepend + +* Fri Jan 25 2013 Eike Rathke - 50.1.2-1 +- Update to 50.1.2 +- Resolves: rhbz#856594 to-do add --disable-renaming on next soname bump +- removed upstream applied icu.9283.regexcmp.crash.patch + +* Wed Sep 12 2012 Caolán McNamara - 49.1.1-7 +- Related: rhbz#856594 reenable icu symbol renaming + +* Wed Sep 12 2012 Caolán McNamara - 49.1.1-6 +- Resolves: rhbz#856594 disable icu symbol renaming + +* Fri Aug 31 2012 Tom Callaway - 49.1.1-5 +- apply upstream fix (bug 9283) for regexcmp crash causing Chromium segfaults + +* Thu Jul 19 2012 Fedora Release Engineering - 49.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 15 2012 Caolán McNamara - 49.1.1-3 +- probably parallel-build safe by now. Add a check for original breakage + +* Fri Jun 15 2012 Caolán McNamara - 49.1.1-2 +- Resolves: rhbz#804313 multi-lib pain + +* Thu Apr 19 2012 Eike Rathke - 49.1.1-1 +- Update to 49.1.1 + +* Thu Apr 19 2012 Eike Rathke - 4.8.1.1-3 +- Resolves: rhbz#813484 doxygen 1.8.0 does not provide installdox, omit from install + +* Mon Jan 30 2012 Jon Masters - 4.8.1.1-2 +- Correct reference to BZ681941, add temporary fix for ARM FTBFS side effect + +* Fri Jan 20 2012 Peter Robinson -4.8.1.1-1 +- Update to 4.8.1.1 + +* Fri Jan 13 2012 Fedora Release Engineering - 4.8.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 13 2011 Eike Rathke - 4.8.1-3 +- Resolves: rhbz#766542 CVE-2011-4599 Stack-based buffer overflow +- add icu.8984.CVE-2011-4599.patch + +* Mon Oct 24 2011 Caolán McNamara - 4.8.1-2 +- Resolves: rhbz#747193 try and enable ccmp for Indic fonts + +* Wed Sep 07 2011 Caolán McNamara - 4.8.1-1 +- Resolves: rhbz#681941 don't link unneccessary -lm, etc. +- add icu.8800.freeserif.crash.patch + +* Tue Mar 08 2011 Caolán McNamara - 4.6-2 +- Resolves: rhbz#681941 don't link unneccessary -lm, etc. + +* Mon Mar 07 2011 Caolán McNamara - 4.6-1 +- latest version +- upgrade includes a .pc now of its own, drop ours +- drop integrated icu.6995.kannada.patch +- drop integrated icu.7971.buildfix.patch +- drop integrated icu.7972.buildfix.patch +- drop integrated icu.7932.doublecompare.patch +- drop integrated icu.8011.buildfix.patch + +* Fri Feb 11 2011 Caolán McNamara - 4.4.2-8 +- Resolves: rhbz#674328 yet more ways that freeserif crashes libicu + +* Wed Feb 09 2011 Fedora Release Engineering - 4.4.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Feb 03 2011 Caolán McNamara - 4.4.2-6 +- Resolves: rhbz#674328 more ways that freeserif crashes libicu + +* Wed Feb 02 2011 Caolán McNamara - 4.4.2-5 +- Resolves: rhbz#674328 freeserif crashes libicu + +* Thu Jan 13 2011 Caolán McNamara - 4.4.2-4 +- Resolves: rhbz#669237 strip libicudata + +* Mon Nov 29 2010 Caolán McNamara - 4.4.2-3 +- Resolves: rhbz#657964 icu-config bindir returns sbindir + +* Thu Nov 25 2010 Caolán McNamara - 4.4.2-2 +- Resolves: rhbz#654200 revert icu#5431 + +* Mon Oct 04 2010 Caolán McNamara - 4.4.2-1 +- latest version + +* Wed Sep 29 2010 jkeating - 4.4.1-6 +- Rebuilt for gcc bug 634757 + +* Wed Sep 22 2010 Caolán McNamara - 4.4.1-5 +- upstream patches + +* Thu Sep 09 2010 Caolán McNamara - 4.4.1-4 +- Resolves: rhbz#631403 doxygen no longer generates gifs + +* Thu Jul 08 2010 Caolán McNamara - 4.4.1-3 +- move licences into libicu, and add them into the -doc subpackage + as well + +* Wed May 26 2010 Caolán McNamara - 4.4.1-2 +- Resolves: rhbz#596171 drop icu.icu6284.strictalias.patch and use + -fno-strict-aliasig as upstream has added a pile more and doesn't look + interested in proposed patchs + +* Thu Apr 29 2010 Caolán McNamara - 4.4.1-1 +- latest version +- drop integrated icu.icu7567.libctest.patch + +* Fri Apr 02 2010 Caolán McNamara - 4.4-1 +- latest version +- drop integrated icu.6969.pkgdata.patch +- drop integrated icu.icu7039.badextract.patch +- drop integrated icu.XXXX.buildfix.patch + +* Wed Dec 02 2009 Caolán McNamara - 4.2.1-8 +- Resolves: rhbz#543386 update icu-config + +* Thu Nov 19 2009 Caolán McNamara - 4.2.1-7 +- Fix FTBFS with yet another autoconf version that changes + behaviour + +* Mon Aug 31 2009 Caolán McNamara - 4.2.1-6 +- Resolves: rhbz#520468 fix s390x and other secondary archs + +* Tue Jul 28 2009 Caolán McNamara - 4.2.1-5 +- icu#7039 fix broken use of extract to get tests working + +* Fri Jul 24 2009 Fedora Release Engineering - 4.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jul 22 2009 Caolán McNamara - 4.2.1-3 +- make documentation noarch + +* Tue Jul 14 2009 Caolán McNamara - 4.2.1-2 +- rpmlint warnings + +* Fri Jul 03 2009 Caolán McNamara - 4.2.1-1 +- 4.2.1 release + +* Fri Jun 26 2009 Caolán McNamara - 4.2.0.1-3 +- Resolves: rhbz#508288 multilib conflict + +* Thu Jun 11 2009 Caolán McNamara - 4.2.0.1-2 +- Resolves: rhbz#505252 add icu.6995.kannada.patch + +* Mon Jun 08 2009 Caolán McNamara - 4.2.0.1-1 +- 4.2.0.1 release + +* Sat May 09 2009 Caolán McNamara - 4.2-1 +- 4.2 release + +* Sun May 03 2009 Caolán McNamara - 4.2-0.1.d03 +- 4.2 release candidate +- drop resolved icu.icu6008.arm.padding.patch +- drop resolved icu.icu6439.bare.elif.patch + +* Tue Feb 24 2009 Fedora Release Engineering - 4.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Feb 03 2009 Caolán McNamara - 4.0.1-2 +- fix bare elif for gcc-4.4 + +* Fri Jan 16 2009 Caolán McNamara - 4.0.1-1 +- 4.0.1 release + +* Mon Dec 29 2008 Caolán McNamara - 4.0-6 +- Resolves rhbz#225896 clean up low hanging rpmlint warnings + +* Tue Dec 16 2008 Caolán McNamara - 4.0-5 +- drop integrated icu.icu5557.safety.patch + +* Thu Nov 20 2008 Caolán McNamara - 4.0-4 +- annoyingly upstream tarball was repacked apparently to remove + some unused/cached dirs + +* Sat Sep 06 2008 Caolán McNamara - 4.0-3 +- Resolves: rhbz#461348 wrong icu-config + +* Tue Aug 26 2008 Caolán McNamara - 4.0-2 +- Resolves: rhbz#459698 drop Malayalam patches. Note test with Rachana/Meera + instead of Lohit Malayalam before filing bugs against icu wrt. + Malayalam rendering + +* Sat Jul 05 2008 Caolán McNamara - 4.0-1 +- final release + +* Mon Jun 30 2008 Caolán McNamara - 4.0-0.3.d03 +- 4.0 release candidate + +* Wed Jun 04 2008 Caolán McNamara - 4.0-0.2.d02 +- drop icu.icu5498.openoffice.org.patch + +* Sat May 31 2008 Caolán McNamara - 4.0-0.1.d02 +- 4.0 release candidate +- drop integrated icu.regexp.patch + +* Mon May 19 2008 Caolán McNamara - 3.8.1-8 +- add icu.icu6284.strictalias.patch and build with + strict-aliasing + +* Tue Mar 18 2008 Caolán McNamara - 3.8.1-7 +- Resolves: rhbz#437761 modify to icu.icu6213.worstcase.patch for + other worst case expansions + +* Mon Mar 17 2008 Caolán McNamara - 3.8.1-6 +- Resolves: rhbz#437761 add icu.icu6213.bengali.worstcase.patch + +* Mon Feb 04 2008 Caolán McNamara - 3.8.1-5 +- Resolves: rhbz#431401 split syllables on 1st 0d4d of a 0d4d + + (>= 0d15 && <= 0d39) + 0d4d + 0d30 sequence + +* Thu Jan 31 2008 Caolán McNamara - 3.8.1-4 +- Resolves: rhbz#431029, rhbz#424661 Remove workaround for 0D31 characters + +* Fri Jan 25 2008 Caolán McNamara - 3.8.1-3 +- CVE-2007-4770 CVE-2007-4771 add icu.regexp.patch +- Resolves: rhbz#423211 fix malalayam stuff in light of syllable + changes + +* Fri Jan 11 2008 Caolán McNamara - 3.8.1-2 +- remove icu.icu5365.dependantvowels.patch and cleanup + icu.icu5506.multiplevowels.patch as they patch and unpatch + eachother (thanks George Rhoten for pointing out that madness) + +* Fri Jan 11 2008 Caolán McNamara - 3.8.1-1 +- latest version +- drop fixed icu.icu6084.zwnj.notdef.patch + +* Thu Dec 13 2007 Caolán McNamara - 3.8-6 +- Resolves: rhbz#423211 experimental hack for 0d15+0d4d+0d30 + +* Tue Dec 11 2007 Caolán McNamara - 3.8-5 +- Resolves: rhbz#415541 icu.icu6084.zwnj.notdef.patch + +* Wed Nov 28 2007 Caolán McNamara - 3.8-4 +- Resolves: ooo#83991 Malayalam "Kartika" font fix + +* Tue Nov 13 2007 Caolán McNamara - 3.8-3 +- add icu.openoffice.org.patch + +* Sat Oct 27 2007 Caolán McNamara - 3.8-2 +- add icu.icu6008.arm.padding.patch to fix an arm problem + +* Tue Oct 02 2007 Caolán McNamara - 3.8-1 +- latest version + +* Mon Sep 03 2007 Caolán McNamara - 3.8-0.2.d02 +- next release candidate + +* Wed Aug 29 2007 Caolán McNamara - 3.8-0.2.d01 +- rebuild + +* Tue Aug 07 2007 Caolán McNamara - 3.8-0.1.d01 +- 3.8 release candidate +- drop integrated icu.icu5433.oriya.patch +- drop integrated icu.icu5488.assamese.patch +- drop integrated icu.icu5500.devicetablecrash.patch +- drop integrated icu.icu5501.sinhala.biggerexpand.patch +- drop integrated icu.icu5594.gujarati.patch +- drop integrated icu.icu5465.telegu.patch + +* Wed Jun 13 2007 Caolán McNamara - 3.6-20 +- Resolves: rhbz#243984 change the icu group as it is libicu + which is "System Environment/Libraries" not icu + +* Mon Apr 30 2007 Caolán McNamara - 3.6-19 +- Resolves: rhbz#220867 Malayalam rendering + +* Tue Feb 13 2007 Caolán McNamara - 3.6-18 +- Resolves: rhbz#228457 icu.icu5594.gujarati.patch + +* Fri Feb 09 2007 Caolán McNamara - 3.6-17 +- spec cleanups + +* Mon Feb 05 2007 Caolán McNamara - 3.6-16 +- Resolves: rhbz#226949 layout telegu like pango + +* Fri Jan 19 2007 Caolán McNamara - 3.6-15 +- Resolves: rhbz#214948 icu.icu5506.multiplevowels.patch + +* Tue Jan 09 2007 Caolán McNamara - 3.6-14 +- Related: rhbz#216089 add icu.icu5557.safety.patch + +* Thu Dec 21 2006 Caolán McNamara - 3.6-13 +- Resolves: rhbz#220433 modify icu.icu5431.malayam.patch + +* Fri Nov 10 2006 Caolán McNamara - 3.6-12 +- Resolves: rhbz#214948 icu.icu5506.multiplevowels.patch + +* Wed Nov 08 2006 Caolán McNamara - 3.6-11 +- Resolves: rhbz#214555 icu.icu5501.sinhala.biggerexpand.patch + +* Wed Nov 08 2006 Caolán McNamara - 3.6-10 +- Resolves: rhbz#214555 icu.icu5500.devicetablecrash.patch + +* Wed Oct 18 2006 Caolán McNamara - 3.6-9 +- Resolves: rhbz#213648 extend prev/next to handle ZWJ + +* Wed Oct 18 2006 Caolán McNamara - 3.6-8 +- Resolves: rhbz213375 (icu.icu5488.assamese.patch) + +* Wed Oct 18 2006 Caolán McNamara - 3.6-7 +- Resolves: rhbz#211258 (icu.icu5465.telegu.patch) + +* Thu Oct 05 2006 Caolán McNamara - 3.6-6 +- rh#209391# add icu.icuXXXX.virama.prevnext.patch + +* Mon Oct 02 2006 Caolán McNamara - 3.6-5 +- rh#208705# add pkg-config Require for -devel package +- add icu.icu5431.malayam.patch for rh#208551#/rh#209084# +- add icu.icu5433.oriya.patch for rh#208559#/rh#209083# + +* Sun Oct 01 2006 Jesse Keating - 3.6-4 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + +* Mon Sep 25 2006 Caolán McNamara - 3.6-3 +- rh#206615# render malayam like pango + +* Wed Sep 06 2006 Caolán McNamara - 3.6-2 +- fix rh#205252#/icu#5365 (gnome#121882#/#icu#4026#) to make icu + like pango for multiple dependant vowels + +* Sun Sep 03 2006 Caolán McNamara - 3.6-1 +- final release + +* Mon Aug 14 2006 Caolán McNamara - 3.6-0.1.d02 +- bump + +* Tue Aug 08 2006 Caolán McNamara - 3.6-0.2.d01 +- c++ code not alias correct + +* Mon Jul 31 2006 Caolán McNamara - 3.6-0.1.d01 +- rh#200728# update to prelease 3.6d01 to pick up on sinhala fixes +- drop integrated rh190879.patch +- drop integrated icu-3.4-sinhala1.patch + +* Wed Jul 12 2006 Jesse Keating - 3.4-10.1.1 +- rebuild + +* Wed Jul 12 2006 Jesse Keating - 3.4-10.1 +- rebuild + +* Sat Jun 10 2006 Caolán McNamara - 3.4-10 +- rh#194686# BuildRequires + +* Tue May 09 2006 Caolán McNamara - 3.4-9 +- rh#190879# backport fix + +* Wed May 03 2006 Caolán McNamara - 3.4-8 +- add Harshula's icu-3.4-sinhala1.patch for some Sinhala support + +* Tue May 02 2006 Caolán McNamara - 3.4-7 +- add a pkgconfig.pc, make icu-config use it + +* Fri Feb 10 2006 Jesse Keating - 3.4-6.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 3.4-6.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Tue Jan 03 2006 Caolán McNamara - 3.4-6 +- add icu-gcc41.patch + +* Tue Oct 11 2005 Caolán McNamara - 3.4-5 +- clear execstack requirement for libicudata + +* Mon Sep 12 2005 Caolán McNamara - 3.4-4 +- import extra icu.spec into fedora core for openoffice.org +- build with gcc 4 + +* Wed Aug 31 2005 Thorsten Leemhuis - 3.4-3 +- Use dist +- gcc32 does not understand -fstack-protector and + --param=ssp-buffer-size=4 + +* Tue Aug 2 2005 Ville Skyttä - 3.4-2 +- 3.4. + +* Sun Jul 31 2005 Ville Skyttä - 3.4-0.2.d02 +- 3.4-d02. +- Don't ship static libraries. + +* Wed Apr 27 2005 Ville Skyttä - 3.2-3 +- Apply upstream case mapping mutex lock removal patch. +- Build with gcc 3.2 as a temporary workaround for #152495. + +* Thu Apr 7 2005 Michael Schwendt - 3.2-2 +- rebuilt + +* Sat Jan 1 2005 Ville Skyttä - 3.2-1 +- Don't use %%{_smp_mflags} (b.f.u #2357). +- Remove unnecessary Epochs. + +* Sat Dec 4 2004 Ville Skyttä - 0:3.2-0.fdr.1 +- Update to 3.2. + +* Sun Jul 18 2004 Ville Skyttä - 0:3.0-0.fdr.1 +- Update to 3.0, datadirs patch no longer needed. +- Package data in shared libs, drop -locales subpackage. +- Rename -docs subpackage to libicu-doc, and generate graphs with graphviz. + +* Sat Dec 13 2003 Ville Skyttä - 0:2.6.1-0.fdr.3 +- Partial fix for bad datadirs returned by icu-config (works as long as + data packaging mode is not "common" or "dll"). + +* Sun Nov 23 2003 Ville Skyttä - 0:2.6.1-0.fdr.2 +- First complete version. + +* Sun Sep 28 2003 Ville Skyttä - 0:2.6.1-0.fdr.1 +- Update to 2.6.1. + +* Wed Aug 27 2003 Ville Skyttä - 0:2.6-0.fdr.1 +- First build, based on upstream and SuSE 8.2 packages.