Up to [cvs.NetBSD.org] / pkgsrc / devel / libidn
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Add option "nls" enabled by default
libidn: update to 1.42. * Noteworthy changes in release 1.42 (2024-01-13) [stable] ** Bump required gettext version to 0.19.8 for musl-libc. ** Compiler warning improvements. As before, compiler warnings are enabled by default. You may disable them using ./configure --disable-gcc-warnings or turn them into fatal errors using ./configure --enable-gcc-warnings=error to add -Werror and sensible -Wno-error='s. Based on gnulib's manywarnings, see <https://www.gnu.org/software/gnulib//manual/html_node/manywarnings.html>. ** Fix type confusion on LLP64/Windows platforms. While libidn has worked using cygwin libc, it has never worked on ucrt/msvcrt libc. Report and tiny patch by Francesco Pretto in <https://lists.gnu.org/archive/html/help-libidn/2022-02/msg00000.html>. ** tests: Added script tests/standalone.sh suitable for integrators. The main purpose is to test a system-installed libidn, suitable for distributor checking (a'la Debian's autopkgtest/debci). It may also be used to test a newly built libidn outside the usual 'make check' infrastructure. To check that your system libidn is working, invoke the script with `srcdir` as an environment variable indicating where it can be find the source code for libidn's tests/ directory (it will use the directory name where the script is by default): tests/standalone.sh To check that a newly built static libidn behaves, invoke: env STANDALONE_CFLAGS="-Ilib lib/.libs/libidn.a" tests/standalone.sh To check that a newly built shared libidn behaves, invoke: env srcdir=tests STANDALONE_CFLAGS="-Ilib -Wl,-rpath lib/.libs lib/.libs/libidn.so" tests/standalone.sh If the libidn under testing is too old and has known bugs, that should cause tests to fail, which is intentional. ** Updated translations. ** Update gnulib files and build fixes.
libidn: update to 1.40. * Noteworthy changes in release 1.40 (2022-06-20) [stable] ** lib: Bump STRINGPREP_VERSION to 1.40. It was mistakenly left at 1.38 in the 1.39 release. * Noteworthy changes in release 1.39 (2022-06-20) [stable] ** lib: Code detecting current locale broken since 1.36. The code always returned ASCII. The precise cause is complicated to track down but likely boils down to the new autotools/gettext bootstrapping sequence introduced in release 1.36. Reported by Богдан Пилипенко <bogdan.pylypenko107@gmail.com>. ** maint: Java JAR archive no longer included in source tarball. ** Minor fixes: typos, makefiles, indentation, gnulib update, etc.
libidn: update to 1.37. ** doc: Minor fixes and codespell typos. ** Updated translations. ** Update gnulib files and build fixes. We now use gnulib's ./bootstrap and gnulib's readme-release infrastructure for making releases.
libidn: Update to 1.35 * Version 1.35 (2018-05-11) ** Reflect ABI/API breakage in version 1.34 (Stringprep_profile has a new struct member) Reported-by: Miroslav Lichvar ** Added new gnulib files to repository ** Fix build issues introduced in 1.34
libidn: update to 1.34. * Version 1.34 (2018-03-31) ** libidn: Fix integer overflow in combine_hangul() Found by fuzzing. ** libidn: Fix integer overflow in punycode decoder Found by fuzzing, fix for the fix reported by Christian Weisgerber ** libidn: Fix performance issue in idna_to_unicode_internal() Found by fuzzing. ** libidn: Fix performance issue in stringprep functions. Found by fuzzing. ** libidn: Fix NULL pointer dereference in g_utf8_normalize() Found by fuzzing. ** libidn: Fix NULL pointer dereference in stringprep_ucs4_nfkc_normalize() Found by fuzzing. ** libidn: Increase performance of stringprep functions Found by fuzzing. ** testing: Add OSS-fuzz integration and regression testing ** build: Update gnulib files ** build: Modernize GTK-Doc build ** build: Fix parallel builds ** build: Add configure flag --disable-doc ** build: Add configure flag --enable-ubsan (enable UB Sanitizer) ** build: Add configure flag --enable-asan (enable Address Sanitizer) ** build: Fix compiler warnings ** build: Fix build for gcc-7 ** i18n: Added Swedish translation. Thanks to Josef Andersson. ** API and ABI is backwards compatible with the previous version.
Update to 1.30. Add comment to one patch, and remove another patch for which there is no comment and which I don't understand. New in 1.30: * Version 1.30 (released 2015-03-02) [stable] ** libidn: The punycode.{c,h} files were re-imported from RFC 3492bis. A comment explaining the origin and what was changed was added. ** Bump gettext to 0.19.3. ** Use LT_INIT instead of AC_LIBTOOL_WIN32_DLL. ** i18n: Added Hungarian translation. Updated some other languages. Thanks to Balázs Úr. ** API and ABI is backwards compatible with the previous version.
Update to 1.29: * Version 1.29 (released 2014-08-10) [stable] ** libidn: Mark internal variable "g_utf8_skip" as static. Reported by Thomas Dineen <tdineen@ix.netcom.com>. ** idn: Flush stdout to simplify for tools that buffer too heavily. Tiny patch from Hugh Daschbach <hugh@ccss.com>. ** i18n: Added Brazilian Portuguese translation. Thanks to Rafael Ferreira. ** Update gnulib files. ** API and ABI is backwards compatible with the previous version.
Update to 1.26: * Version 1.26 (released 2012-12-11) [stable] ** libidn, idna_to_ascii: Propagate error on malloc failure. Reported by Sarat Chandra Addepalli <s.addepalli@samsung.com>. ** libidn, tld_get_4: Fix out of bounds read access violation. ** i18n: Added Croatian translation. Updated Vietnamese translation. Thanks to Tomislav Krznar and Trần Ngọc Quân. ** java: Permit usage by Apache projects. Thanks to Oliver Hitz and Angus Turner. ** tests: Improve tld self-tests. ** API and ABI is backwards compatible with the previous version.
Update to 1.23: * Version 1.23 (released 2011-11-25) [stable] ** stringprep.h: Now #include's sys/types.h instead of unistd.h for ssize_t. Some systems (e.g., Mingw with MSVC 9) does not have unistd.h. ** idn-free.h: Protect prototypes with 'extern "C"' marker. Reported by Bittner Ede <bittner.ede@euronetrt.hu>. ** doc: Update link to experimental TLD tables. The new link is <https://github.com/gnuthor/tldchk>. ** Update gnulib files and translations. ** QA: Improved cyclo output. Update GTK-DOC files. Various bugfixes. ** API and ABI is backwards compatible with the previous version.
Update to 1.13: * Version 1.13 (released 2009-03-06) ** libidn: Use a LD version script on platforms where it is supported. Currently only GNU LD and the Solaris linker supports it. This helps Debian package tools to produce better dependencies. Before we used Libtool -export-symbols-regex that created an anonymous version tag. Libidn uses -export-symbols-regex if the system does not support LD version scripts, but that only affect symbol visibility. ** libidn: Compiled with -fvisibility=hidden by default if supported. Currently only GCC supports it for ELF targets. This hides internal symbols and has other advantages, see <http://gcc.gnu.org/wiki/Visibility>. ** libidn: Compiled with warning flags only when GCC is used. This avoids the problem that some flags confuse non-GCC compilers, for example -fdiagnostics-show-option. Reported by jens.rehsack@bayerbbs.com. ** doc: The idn_free function is now documented. Suggested by "Sisyphus" <sisyphus1@optusnet.com.au>. ** API and ABI is backwards compatible with the previous version.
Update to 1.10: * Version 1.10 (released 2008-08-27) ** idn: accept -n as short form for --nfkc. Before '-k' was used as the short form, but all documentation has said '-n'. We now accept both short forms, and -n remains the documented short form. Reported by John McGowan <jmcgowan@inch.com> in <http://lists.gnu.org/archive/html/help-libidn/2008-08/msg00000.html>. ** Fix compiler warnings. ** Update gnulib files. ** Update translations. ** API and ABI is backwards compatible with the previous version.
Update to 1.4: * Version 1.4 (released 2008-01-09) ** Fixes to make the C# port compile under Mono. ** Update gnulib files. ** Improve idn --version and --help output to conform to GNU standards. This also enables translations of --help output. ** Update translations. Added Finish translation, thanks to Jorma Karvonen. Updated Dutch and Vietnamese. ** API and ABI is backwards compatible with the previous version. * Version 1.3 (released 2007-12-11) ** Some hints on Windows installation in the manual. ** Update translations. Added Czech translation, thanks to Petr Pisar. ** Use gettext 0.17. ** Update gnulib files. Top-level gnulib files are now distributed under GPLv3+. (The gnulib files used by the core library are still under LGPLv2.1+.) ** API and ABI is backwards compatible with the previous version.
Update to 1.2: * Version 1.2 (released 2007-10-01) ** Development git tree moved to savannah. See <https://savannah.gnu.org/projects/libidn/>. ** Update gnulib files. Including mono detection fixes. ** Update translations. ** API and ABI is backwards compatible with the previous version. * Version 1.1 (released 2007-09-01) ** Fix compilation error in idn-int.h. The error would typically be 'error: no include path in which to search for stdint.h'. Reported by Remko van der Vossen <wich@stack.nl>, see <http://thread.gmane.org/gmane.comp.gnu.libidn.general/65> and <http://bugs.sourcemage.org/show_bug.cgi?id=13857>. ** Declare external variables with __declspec(import) for Windows. Apparently this is required for variables in DLL's on Windows. This is enabled if __DECLSPEC_SUPPORTED is defined (MinGW), or if _MSC_VER and_DLL is defined (MSVC). ** Update gnulib files. ** Update translations. ** API and ABI is backwards compatible with the previous version.
Update to 0.6.13: * Version 0.6.13 (released 2007-05-31) ** Documentation fixes. Clarify that the C# and Java libraries are licensed under the LGPL. Earlier, some places incorrectly said that these were licensed under the GPL. If you encounter other places that still suggest that GPL applies to the C# and Java library, please let me know. ** Updated Polish and Vietnamese translations. Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Clytie Siddall <clytie@riverland.net.au>. ** Install images for the manual in $infodir. This fixes the broken image in the info manual. Image files will be called libidn-*.png to avoid namespace collisions with images from other info manuals. ** Update gnulib files. ** API and ABI is backwards compatible with the previous version.
Update to 0.6.5: * Version 0.6.5 (released 2006-06-07) ** Link the library with external libintl, for gettext. This fixes building on FreeBSD, reported by Kirill Ponomarew ** Update doxygen config file to version 1.4.7. ** API and ABI is backwards compatible with the previous version. * Version 0.6.4 (released 2006-06-07) ** Fix translation of error messages. Thanks to Joe Orton ** Fix warnings on 64-bit platforms. Thanks to Joe Orton ** The tests are run under valgrind, if it is installed. Use --disable-valgrind-tests to unconditionally disable this. It is disabled by default for cross compiles. ** API and ABI is backwards compatible with the previous version.
Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey PKGLOCALEDIR and which install their locale files directly under ${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now on, pkgsrc/mk/plist/plist-locale.awk will automatically handle transforming the PLIST to refer to the correct locale directory.
* Move info file entries into the PLIST. * Honor PKGINFODIR and EMACS_INFOPREFIX.
Update to 0.5.20: * Version 0.5.20 (released 2005-10-23) ** The header file pr29.h is now installed by 'make install'. ** Translation updates. ** Update of gnulib files. ** API and ABI is backwards compatible with the previous version.
Enable NLS explicitly by including gettext-lib/buildlink3.mk. Bump PKGREVISION due to PLIST changes.
Update to 0.5.12: * Version 0.5.12 (released 2004-12-04) ** Java code now support the XMPP NodePrep and ResourcePrep profiles. ** Bug fixes and improvements to Java code. The allowUnassigned flag is now respected properly. The prohibited code points check now works. Arguments are now checked. Convenience method with allowUnassigned set to false was added. ** Update getopt from gnulib. ** API and ABI is backwards compatible with the previous version. * Version 0.5.11 (released 2004-11-21) ** Fix formatting of man pages, based on warnings from Doclifter. ** Update of gnulib files to fix potential getopt problem on ELF systems. ** API and ABI is backwards compatible with the previous version. * Version 0.5.10 (released 2004-11-08) ** Libtool's -export-symbols-regex is now used to only export official APIs. Before, applications might accidentally access internal functions. Note that this is not supported on all platforms, so you must still make sure you are not using undocumented symbols in Libidn. ** API and ABI is backwards compatible with the previous version. * Version 0.5.9 (released 2004-11-07) ** Align GTK-DOC build infrastructure with GTK-DOC official recommendations. This mean that you can now browse the Libidn API manual using Devhelp. ** Update of gnulib files to fix potential problem in getopt on BSD. ** Documentation improvements. ** API and ABI is backwards compatible with the previous version. * Version 0.5.8 (released 2004-10-12) ** BidiMirroring-3.2.0.txt is now included, not only the generated source code. This allow builds to succeed after 'make realclean'. ** Generated files now have consistent 'DO NOT EDIT!' comments. ** API and ABI is backwards compatible with the previous version. * Version 0.5.7 (released 2004-10-12) ** Shared library version incremented, because new APIs were added. This was forgotten in the last release. ** French translation updated. ** Minor bug fixes. ** API and ABI is backwards compatible with the previous version. * Version 0.5.6 (released 2004-10-02) ** Added functions to convert return codes to human readable text. ** Now using GNULib in command line front end (src/) for portability code. See <http://www.gnu.org/software/gnulib/> for more information on GNULib. This should make the code easier to read and maintain. ** API and ABI is backwards compatible with the previous version. idna_strerror: ADD. pr29_strerror: ADD. punycode_strerror: ADD. stringprep_strerror: ADD. tld_strerror: ADD. TLD_NO_TLD: ADD. Replaces TLD_NOTLD. TLD_NOTLD: DEPRECATED. Use TLD_NO_TLD instead.
Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST. All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
Update to 0.5.5: * Version 0.5.5 (released 2004-09-13) ** Hide accidentally exported variable g_utf8_skip, by marking it as static. ** Various fixes. ** API and ABI is backwards compatible with the previous version. g_utf8_skip: REMOVED. (But never meant to be used.) * Version 0.5.4 (released 2004-08-08) ** Translation updates. ** API and ABI is backwards compatible with the previous version. * Version 0.5.3 (released 2004-08-05) ** Fix crash in `idn --tld' command line tool. ** API and ABI is backwards compatible with the previous version. * Version 0.5.2 (released 2004-07-14) ** Java "make install" rules are now DESTDIR compatible. ** API and ABI is backwards compatible with the previous version.
Update devel/libidn to 0.5.1. Bugfixes, documentation, etc; please review the Changelog file.
Update to 0.4.6. Bump depends in bl3 file because of shlib major bump. * Version 0.4.6 (released 2004-05-24) ** The header file idn-free.h is actually installed by 'make install'. ** API and ABI is backwards compatible with the previous version. * Version 0.4.5 (released 2004-05-21) ** In IDNA ToUnicode, a `free' on a stale pointer fixed by Ulrich Drepper. ** Several memory leaks fixed by Ulrich Drepper. ** Added more SASLPrep and NFKC test vectors. ** Automake 1.8.4 is used. ** API and ABI is backwards compatible with the previous version. idn_free: ADD. Wrapper around system `free'. idn-free.h: ADD. Prototype for `idn_free'. See idn-free.h for discussion. The interface is currently not documented. Comments and feedback is appreciated. * Version 0.4.4 (released 2004-04-29) ** Fixed two bugs in iSCSI definition, syncing with newly published RFC 3722. The first bug was an omission of prohibiting the characters in C.1.1, C.1.2 and C.7 (space characters and characters that are inappropriate for canonical representation). The second was a bug in the definition of the table, causing the entire table to be skipped, of the special prohibited output character table defined in RFC 3722 (see section 6, the characters in the table are various ASCII characters and U+3002). ** A few test vectors for iSCSI were added. ** The self tests are linked with libtool -no-install to avoid wrapper script. ** Separated self test utilities into a separate library, shared by all tests. ** More translations. Added Romanian (by Laurentiu Buzdugan). ** API and ABI is backwards compatible with the previous version. * Version 0.4.3 (released 2004-04-22) ** Fixed a bug in table processing code to prohibit control characters. The problem was that the code used a code point of 0 to indicate end of table, but if (as for table C.2.1) a range starts with 0, this logic would fail. The end-of-table test is now that both the start and end code points of the range is 0. Table C.2.1 is responsible for prohibiting non-ASCII control characters, i.e. ASCII 0-31 and 127. Before, libidn silently accepted such strings without complaining. ** A few test vectors for SASLprep were added. ** The pkg-config script no longer include a -R parameter. ** More translations. Added Dutch (by Elros Cyriatan), and German (by Roland Illig). ** API and ABI is backwards compatible with the previous version. * Version 0.4.2 (released 2004-03-20) ** A Punycode implementation in Java was added, by Oliver Hitz. Eventually hopefully a StringPrep, Nameprep and IDNA implementation will be added as well. Currently you need to specify --enable-java to enable the Java interface. The Java sources (below java/) are compiled into byte-code (not native code) into a JAR library. ** More translations. Added Danish (by Morten Bo Johansen), French (by Michel Robitaille), Polish (by Jakub Bogusz), and Serbian (by Aleksandar Jelenak). ** Norwegian TLD table added, by Thomas Jacob. ** API and ABI is backwards compatible with the previous version. * Version 0.4.1 (released 2004-03-08) ** The user messages from the command line utility are now translated. Currently English and Swedish is supported. ** Logic of stringprep_locale_charset modified. Future versions will use, in order, $CHARSET iff defined, nl_langinfo (CODESET) iff working, or fall back to returning "ASCII". Earlier it attempted to guess the system locale, in contrast with the current application's locale, via some setlocale save/set/reset magic. This change may require you to invoke setlocale() in your application, which is (should be) required for non-ASCII to work anyway. Based on discussion with Ulrich Drepper. ** The command-line utility now invoke setlocale (LC_ALL, "") at startup. ** Fixed SASLprep tables to prohibit non-ASCII space in output. Non-ASCII space has always been mapped to ASCII space, so it is not clear this really have any effect, but the specification require it. ** Building Libidn as part of GLIBC has been updated. Refer to libc/README for more information. Incidentally, GLIBC in CVS now include a copy of Libidn. ** API and ABI is backwards compatible with the previous version. IDNA_DLOPEN_ERROR: ADD. Only used internally by Libidn in libc. * Version 0.4.0 (released 2004-02-28) ** Support for TLD restrictions on IDN strings, contributed by Thomas Jacob. Many TLDs restrict the set of characters that can be used, from the full Unicode 3.2 range that is normally available. This contribution make it possible for you to test strings for TLD conformance locally. The code can be disabled by --disable-tld. If enabled (the default), the new API "tld.h" is installed which can be used to check a string for conformance to TLD specific rules. This add a new self test, and a new chapter in the manual. People responsible for maintaining TLD tables are hereby encouraged to contribute them (under reasonable licensing terms) for inclusion in future versions of Libidn. Be warned that the API for TLD checking may change throughout the 0.4.x series as we get feedback on it. ** Kerberos 5 stringprep profile macro is no longer documented. The macro itself will probably be removed in the future, if the specification is dropped from the Kerberos WG agenda. ** API and ABI is backwards compatible with the previous version. stringprep_kerberos5: DEPRECATED. Tld_table_element: Tld_table: Tld_rc: ADD. New data types. tld_get_4: tld_get_4z: tld_get_z: ADD. New functions to extract TLD from string. tld_get_table: tld_default_table: ADD. New functions to get TLD table from TLD name. tld_check_4t: tld_check_4tz: ADD. New function to provide core TLD operations. tld_check_4: tld_check_4z: tld_check_8z: tld_check_lz: ADD. New functions that combine all TLD operations in one call. * Version 0.3.7 (released 2004-01-22) ** The command line parameter '--' idiom is documented. ** The iSCSI stringprep profile now recognized as "iSCSI". The earlier name "ISCSIprep" is still recognized, for backwards compatibility. ** DocBook manuals no longer included (the tools are too unstable). ** API and ABI is backwards compatible with the previous version. * Version 0.3.6 (released 2004-01-06) ** The manual now contain a troubleshooting section for the command line tool. ** The PHP interface pass the string directly on the command line. ** The macro that create 'idn-int.h' has been updated to latest version. ** API and ABI is backwards compatible with the previous version. * Version 0.3.5 (released 2003-12-15) ** The program 'idn' accepts input strings directly on the command line. ** The program 'idn' defaults to --idna-to-ascii if no parameter is given. ** The program 'idn' now print user instructions before waiting for input. ** DocBook HTML output not included any longer. The reason is that the filenames generated by docbook2html appear to be rather random, so it is difficult to maintain the Makefile.am rules for them. ** Autoconf 2.59, automake 1.8 and libtool from CVS is used. ** API and ABI is backwards compatible with the previous version. IDNA_CONTAINS_NON_LDH: ADD. Same integer value as IDNA_CONTAINS_LDH. IDNA_CONTAINS_LDH: DEPRECATED. LDH (letter-digits-hyphens) characters are not an error, but non-LDH characters are, when IDNA_USE_STD3_ASCII_RULES is used. The logic of the mnemonic name of this error constant was reversed. * Version 0.3.4 (released 2003-11-09) ** DocBook manuals in XML, PDF, PostScript, ASCII and HTML formats included.
Remove info files entries from PLIST.
Initial import of libidn-0.3.3 from pkgsrc-wip. GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group. It is used to prepare internationalized strings (such as domain name labels, usernames, and passwords) in order to increase the likelihood that string input and string comparison work in ways that make sense for typical users throughout the world. The library contains a generic Stringprep implementation that does Unicode 3.2 NFKC normalization, mapping and prohibition of characters, and bidirectional character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via IDNA are supported.
Initial revision