From 6d604dc03657e8234b54aca4adfbad4e40d07d93c28cc0b392e7f8b4f5451b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 15:06:17 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libidn revision 8e86b017421d5ab117bd8728a6442beb --- .gitattributes | 23 ++ baselibs.conf | 3 + libidn-1.41.tar.gz | 3 + libidn-1.41.tar.gz.sig | 7 + libidn.changes | 503 +++++++++++++++++++++++++++++++++++++++++ libidn.keyring | 91 ++++++++ libidn.spec | 150 ++++++++++++ 7 files changed, 780 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 libidn-1.41.tar.gz create mode 100644 libidn-1.41.tar.gz.sig create mode 100644 libidn.changes create mode 100644 libidn.keyring create mode 100644 libidn.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..60e66ae --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,3 @@ +libidn12 + obsoletes "libidn- < " + provides "libidn- = " diff --git a/libidn-1.41.tar.gz b/libidn-1.41.tar.gz new file mode 100644 index 0000000..b9ca774 --- /dev/null +++ b/libidn-1.41.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:884d706364b81abdd17bee9686d8ff2ae7431c5a14651047c68adf8b31fd8945 +size 2664011 diff --git a/libidn-1.41.tar.gz.sig b/libidn-1.41.tar.gz.sig new file mode 100644 index 0000000..9010ae9 --- /dev/null +++ b/libidn-1.41.tar.gz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYrddVwAKCRBRcisI/kdF +or2zAQDXUHa/wWqGhG0ePpEcdEkwFK8Vy0S33juRratktLb5+AEAxk5bQt/E9Ztx +Gfk7QS95c1EZuCXgYy28XAZx9zGXtg4= +=8qo3 +-----END PGP SIGNATURE----- diff --git a/libidn.changes b/libidn.changes new file mode 100644 index 0000000..f62cccf --- /dev/null +++ b/libidn.changes @@ -0,0 +1,503 @@ +------------------------------------------------------------------- +Sun Sep 18 09:24:14 UTC 2022 - Andreas Stieger + +- update to 1.41: + * fix detecting current locale + * developer visible changes + +------------------------------------------------------------------- +Tue May 24 14:10:44 UTC 2022 - Stephan Kulow + +- Update keyring from source URL + +------------------------------------------------------------------- +Mon Jul 26 21:47:27 UTC 2021 - Dirk Müller + +- update to 1.38: + * Noteworthy changes in release 1.38 (2021-07-22) [stable] + ** doc: Simplify building of gdoc-generated man/texi outputs. + Now the targets are rebuilt on version number changes properly. + ** doc: Improve GTK-DOC manual. + ** build: Fix build errors related to doc/idn--help.texi. + ** build: Fix --disable-tld builds. + Now tld_strerror() is removed when --disable-tld is used. + +------------------------------------------------------------------- +Mon May 17 16:30:16 UTC 2021 - Andreas Stieger + +- update to 1.37: + * documentation and translations updates + * Update gnulib files and build fixes +- package license text in every subpackage + +------------------------------------------------------------------- +Sat Aug 15 21:33:18 UTC 2020 - Dirk Mueller + +- update to 1.36: + ** Fix unlikely memory leak in idna_to_unicode_4z4z(). + ** Check codepoint validity in punycode_decode() and punycode_decode(). + ** tld: Add U+00EF to .nl TLD table. + ** Indent code. + ** Translation fixes. + ** Update gnulib files. + ** API and ABI is backwards compatible with the previous version. +- remove disable-rwlock-test.patch (builds fine again) + +------------------------------------------------------------------- +Tue Mar 12 16:16:00 UTC 2019 - Tomáš Chvátal + +- Add provides/obsoletes on libdn bsc#1092034 + +------------------------------------------------------------------- +Fri Mar 8 08:50:48 UTC 2019 - Martin Liška + +- Add disable-rwlock-test.patch to disable broken tests + (bnc#1120894). + +------------------------------------------------------------------- +Wed May 16 20:05:43 UTC 2018 - astieger@suse.com + +- libidn 1.35: + * Reflect ABI/API breakage in version 1.34 + * Added new gnulib files to repository + * Fix build issues introduced in 1.34 + +------------------------------------------------------------------- +Sat Mar 31 19:28:36 UTC 2018 - astieger@suse.com + +- libidn 1.34 (bsc#1087709): + * libidn: Fix integer overflow in combine_hangul() + * libidn: Fix integer overflow in punycode decoder + drop previously patched libidn-CVE-2017-14062.patch + * libidn: Fix performance issue in idna_to_unicode_internal() + * libidn: Fix performance issue in stringprep functions. + * libidn: Fix NULL pointer dereference in g_utf8_normalize() + * libidn: Fix NULL pointer dereference in stringprep_ucs4_nfkc_normalize() + * libidn: Increase performance of stringprep functions + * 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 + drop reviously patched libidn-gcc7-part1.patch + * i18n: Added Swedish translation +- update upstream signing key from website + +------------------------------------------------------------------- +Mon Mar 26 11:19:51 UTC 2018 - jengelh@inai.de + +- Update summaries. Remove ineffective --with-pic. + +------------------------------------------------------------------- +Mon Mar 26 08:36:44 UTC 2018 - tchvatal@suse.com + +- Add patch to fix bsc#1056450 CVE-2017-14062: + * libidn-CVE-2017-14062.patch + +------------------------------------------------------------------- +Thu Feb 22 15:10:36 UTC 2018 - fvogt@suse.com + +- Use %license (boo#1082318) + +------------------------------------------------------------------- +Tue Apr 4 09:13:49 UTC 2017 - tchvatal@suse.com + +- Add patches to build with gcc7: + * libidn-gcc7-part1.patch + +------------------------------------------------------------------- +Wed Jul 20 21:01:13 UTC 2016 - astieger@suse.com + +- libidn 1.33: + * bnc#990189 CVE-2015-8948 CVE-2016-6262 + * bnc#990190 CVE-2016-6261 + * bnc#990191 CVE-2016-6263 + * libidn: Fix out-of-bounds stack read in idna_to_ascii_4i. + * idn: Solve out-of-bounds-read when reading one zero byte as input. + * libidn: stringprep_utf8_nfkc_normalize reject invalid UTF-8. + +------------------------------------------------------------------- +Thu Aug 13 19:10:23 UTC 2015 - mpluskal@suse.com + +- Update to 1.32 + * libidn: Fix crash in idna_to_unicode_8z8z and + idna_to_unicode_8zlz. This problem was introduced in 1.31. + * API and ABI is backwards compatible with the previous version. +- Update gpg keyring + +------------------------------------------------------------------- +Thu Jul 9 08:22:18 UTC 2015 - tchvatal@suse.com + +- Add Apache-2.0 license to the license line. Under this is the + java code, but we don't build it -> just the sources license + +------------------------------------------------------------------- +Thu Jul 9 07:54:25 UTC 2015 - tchvatal@suse.com + +- Version bump to 1.31: + * Fixes bnc#923241 CVE-2015-2059 out-of-bounds read with stringprep on + invalid UTF-8 + * Few other triv changes + +------------------------------------------------------------------- +Fri Mar 13 13:49:20 UTC 2015 - tchvatal@suse.com + +- Version bump to 1.30: + * punycode.{c,h} files were reimported +- Cleanup with spec-cleaner + +------------------------------------------------------------------- +Mon Oct 20 13:10:56 UTC 2014 - i@marguerite.su + +- update version 1.29: + * libidn: Mark internal variable "g_utf8_skip" as static. + * idn: Flush stdout to simplify for tools that buffer too heavily. + * i18n: Added Brazilian Portuguese translation. + * Update gnulib files. + * API and ABI is backwards compatible with the previous version. + +------------------------------------------------------------------- +Thu Dec 19 12:22:05 UTC 2013 - coolo@suse.com + +- disable gpg-offline again to avoid build cycles + +------------------------------------------------------------------- +Wed Dec 18 09:50:29 UTC 2013 - mvyskocil@suse.com + +- Verify source tarball via gpg-offline + +------------------------------------------------------------------- +Sat Dec 14 16:57:39 UTC 2013 - uweigand@de.ibm.com + +- Fix gnulib test failure due to SUSE_ASNEEDED. + +------------------------------------------------------------------- +Mon Sep 23 14:35:40 UTC 2013 - tchvatal@suse.com + +- Version bump to 1.28: + * java buildfixes + * translation updates + * improved unit-tests + * for more read NEWS file + +------------------------------------------------------------------- +Fri Sep 21 16:21:41 UTC 2012 - jengelh@inai.de + +- Employ shared library package naming + +------------------------------------------------------------------- +Tue Jun 5 08:41:26 UTC 2012 - vdziewiecki@suse.com + +-Update to 1.25: + * MSVC: Build fixes related to _GL_ATTRIBUTE_CONST and + _GL_ATTRIBUTE_PURE. + Reported by Bartosz Brachaczek . + * examples: Fix compiler warning about ignoring return value from + fgets. + * tests: Ship with a valgrind suppressions file for the strlen + issue. + * Update gnulib files and translations. + * API and ABI is backwards compatible with the previous version. + +------------------------------------------------------------------- +Sun May 13 11:40:34 UTC 2012 - Nico.Laus.2001@gmx.de + +- Upgrade to version 1.24 + * Libraries are re-licensed from LGPLv2+ to dual-GPLv2+|LGPLv3+. + * build: Fix parallel Windows builds. + Reported by René Berber + * libidn: Fix potential infloop in pr29 code. + Reported by Jon Nelson in + http://lists.gnu.org/archive/html/help-libidn/2012-01/msg00008.html + * libidn: Add 'const' keyword to 'stringprep_ucs4_nfkc_normalize' function. + * Sync glib NFKC code and improve copyright/license statements. + * Update gnulib files and translations. + * API and ABI is backwards compatible with the previous version. + +------------------------------------------------------------------- +Mon Dec 26 16:02:38 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections + +------------------------------------------------------------------- +Mon Dec 26 14:01:29 UTC 2011 - crrodriguez@opensuse.org + +- fix URL + +------------------------------------------------------------------- +Mon Dec 26 05:47:14 UTC 2011 - crrodriguez@opensuse.org + +- Update to version 1.23 +- Run spec cleaner + +------------------------------------------------------------------- +Sat Oct 1 01:39:54 UTC 2011 - crrodriguez@opensuse.org + +- Do not build gtk-docs +- make check hangs in qemu-arm, workaround the bugs. + +------------------------------------------------------------------- +Fri Jun 10 09:20:15 UTC 2011 - andrea.turrini@gmail.com + +- Fixed typo in description of libidn.spec + +------------------------------------------------------------------- +Sat May 7 00:16:43 UTC 2011 - crrodriguez@opensuse.org + +- Upgrade to version 1.22 + * Fix memory leak when idna_to_ascii_4i fails + * Fix ToUnicode case-insensitivity bug + * Avoid some warnings to make it build with modern gcc on amd64. + +------------------------------------------------------------------- +Tue Dec 15 19:58:00 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Tue Oct 6 16:28:16 UTC 2009 - crrodriguez@opensuse.org + +- update to version 1.15 + * support GCC visibility features + +------------------------------------------------------------------- +Wed Jan 7 12:34:56 CET 2009 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) + +------------------------------------------------------------------- +Tue Oct 14 21:16:52 CEST 2008 - crrodriguez@suse.de + +- disable static libraries + +------------------------------------------------------------------- +Tue Oct 7 10:17:16 CEST 2008 - stbinner@suse.de + +- update to 1.10: + * idn: accept -n as short form for --nfkc. + * Fix compiler warnings, updated gnulib files and translations + +------------------------------------------------------------------- +Mon Jul 21 15:09:40 CEST 2008 - stbinner@suse.de + +- update to 1.9: + * idn: fix error message when NFKC fails, and other translations + * Remove more non-free text from doc/specifications/rfc3454.txt. + +------------------------------------------------------------------- +Thu Apr 24 10:18:31 CEST 2008 - stbinner@suse.de + +- update to 1.8: no functional changes + +------------------------------------------------------------------- +Mon Apr 14 08:28:55 CEST 2008 - stbinner@suse.de + +- update to 1.7: + * new parameter --nfkc to process string with Unicode v3.2 NFKC + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Tue Mar 25 14:07:54 CET 2008 - stbinner@suse.de + +- update to 1.6: + * Remove non-free portions of doc/specifications/rfc3454.txt. + * Doc fixes in IDNA to clarify that some functions operate on + just one domain labels and some operate on domain name (which + can contain several domain labels). + +------------------------------------------------------------------- +Wed Mar 19 00:33:40 CET 2008 - crrodriguez@suse.de + +- remove "la" file with empty dependency_libs + +------------------------------------------------------------------- +Wed Feb 27 10:17:50 CET 2008 - stbinner@suse.de + +- update to 1.5: + * Don't include wchar.h in idn-int.h. + * Added appendix 'On Label Separators' to the manual. + * Improved rendering of non-ASCII in the info manual. + * Fix non-portable use of brace expansion in makefiles. + * Update translations. + +------------------------------------------------------------------- +Sun Jan 27 08:04:52 CET 2008 - stbinner@suse.de + +- update to 1.4: updated translations and fix of --version/--help + +------------------------------------------------------------------- +Fri Aug 3 17:38:55 CEST 2007 - stbinner@suse.de + +- update to 1.0: + * Command-line tools, examples, etc are now licensed under GPLv3 + * The library is still licensed under LGPL v2.1 for compatibility + reasons (it is included in glibc). + * Updated gnulib files and translations + +------------------------------------------------------------------- +Tue Jul 17 14:33:42 CEST 2007 - stbinner@suse.de + +- update to 0.6.14: + * Documentation fixes + * Install images for the manual in $infodir + * Updated gnulib files + * Use AM_JAVACFLAGS instead of JAVACFLAGS in java/misc/Makefile.am + +------------------------------------------------------------------- +Thu Mar 29 11:44:17 CEST 2007 - rguenther@suse.de + +- add emacs site-lisp directories. + +------------------------------------------------------------------- +Wed Mar 14 13:48:51 CET 2007 - stbinner@suse.de + +- update to 0.6.11: + * The C# Libidn port was updated. + * The Java code has been fixed to properly translate any + non-ASCII dot into ".". + +------------------------------------------------------------------- +Thu Oct 19 11:15:30 CEST 2006 - stbinner@suse.de + +- update to 0.6.8: + * The gnulib directory is separated into two directories. + * Update gnulib files. + * Some minor cleanups, like assuming locale.h and setlocale(). + * API and ABI is backwards compatible with the previous version. + +------------------------------------------------------------------- +Thu Sep 14 10:21:07 CEST 2006 - stbinner@suse.de + +- update to 0.6.7: + * Fix build failure of idn-int.h on C99 platforms. + * The manual includes GPL license, for the command-line tools. + * The function, variable and concept index is moved to the end + of the manual. + * Update of gnulib files and translations + +------------------------------------------------------------------- +Wed Aug 23 16:51:22 CEST 2006 - stbinner@suse.de + +- update to 0.6.6 + * Instead of AX_CREATE_STDINT_H, use the stdint gnulib module, + for idn-int.h. + * Update gnulib files. + * Updated translations. + +------------------------------------------------------------------- +Thu Aug 17 09:26:17 CEST 2006 - aj@suse.de + +- Remove unneccasary BuildRequires. + +------------------------------------------------------------------- +Mon Jul 10 12:09:36 CEST 2006 - stbinner@suse.de + +- update to 0.6.5 + * links the library with an external libintl for gettext + * updates the doxygen configuration file to version 1.4.7 + * translation of error messages was fixed + * warnings on 64-bit platforms were fixed + +------------------------------------------------------------------- +Mon May 22 09:36:36 CEST 2006 - stbinner@suse.de + +- update to 0.6.3 + * Fix objdir != srcdir builds for the Java documentation. + * Update of gnulib files. + * Make it possible to cross-compile to mingw32. + * Minor changes in how the C# code is built. + +------------------------------------------------------------------- +Thu Jan 26 15:51:26 CET 2006 - sbrabec@suse.cz + +- Added %install_info_prereq. + +------------------------------------------------------------------- +Wed Jan 25 21:37:30 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Sat Dec 3 22:58:27 CET 2005 - coolo@suse.de + +- update to 0.6.0 + +------------------------------------------------------------------- +Wed Aug 3 15:18:20 CEST 2005 - coolo@suse.de + +- move .la file to -devel package + +------------------------------------------------------------------- +Fri Jan 21 10:13:49 CET 2005 - coolo@suse.de + +- update to 0.5.9 + +------------------------------------------------------------------- +Thu Oct 14 10:17:09 CEST 2004 - coolo@suse.de + +- update to 0.5.8 + +------------------------------------------------------------------- +Fri Aug 6 09:27:07 CEST 2004 - coolo@suse.de + +- update to 0.5.3 (integrating schwab's patch) + +------------------------------------------------------------------- +Thu Aug 5 09:37:14 CEST 2004 - coolo@suse.de + +- update to 0.5.2 + +------------------------------------------------------------------- +Sat Jul 3 14:07:34 CEST 2004 - schwab@suse.de + +- Fix invalid free. + +------------------------------------------------------------------- +Tue Jun 1 09:52:39 CEST 2004 - coolo@suse.de + +- update to 0.4.8 + +------------------------------------------------------------------- +Thu Mar 4 14:46:23 CET 2004 - coolo@suse.de + +- fixing file list and requires + +------------------------------------------------------------------- +Wed Feb 4 13:02:32 CET 2004 - coolo@suse.de + +- update to 0.3.7 + +------------------------------------------------------------------- +Thu Oct 16 17:25:01 CEST 2003 - coolo@suse.de + +- build as user + +------------------------------------------------------------------- +Fri Sep 26 08:55:43 CEST 2003 - coolo@suse.de + +- update to 0.3 + +------------------------------------------------------------------- +Wed Aug 20 18:43:56 CEST 2003 - coolo@suse.de + +- update to 0.2.2 + +------------------------------------------------------------------- +Wed Jul 23 16:23:00 CEST 2003 - coolo@suse.de + +- update to 0.2.1 + +------------------------------------------------------------------- +Tue Jun 3 09:16:20 CEST 2003 - coolo@suse.de + +- Initial package + diff --git a/libidn.keyring b/libidn.keyring new file mode 100644 index 0000000..e265572 --- /dev/null +++ b/libidn.keyring @@ -0,0 +1,91 @@ +pub ed25519 2019-03-20 [SC] [expires: 2022-10-23] + B1D2 BD13 75BE CB78 4CF4 F8C4 D73C F638 C53C 06BE +uid [ultimate] Simon Josefsson +sub ed25519 2019-03-20 [A] [expires: 2022-10-23] +sub ed25519 2019-03-20 [S] [expires: 2022-10-23] +sub cv25519 2019-03-20 [E] [expires: 2022-10-23] + +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9fV+QlTmXxo2naObDuGtw5 +8YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9zZWZzc29uLm9yZz6IlgQT +FggAPgIbAwULCQgHAgYVC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IACYCGwIWIQSx0r0Tdb7LeEz0+MTXPPY4xTwGvgUCYjieXwUJBsKS +3gCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCXJLPgQAKCRBRcisI +/kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE8GZHYNuFHmM9FEQS6AD6A4x5aYvo +Y6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4JENc89jjFPAa+EBIA/0rPrzBC3cMT +IhbiS1ojp57Ky8z3d0fCCz6nz+PySJztAP9tdNwuqzQn619OP+03gJbo9wmTHd0M +l828YBjfy9VSDLg4BFySz2oSCisGAQQBl1UBBQEBB0AxlRumDW6nZY7A+VCfek9V +pEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggAJgIbDBYhBLHSvRN1vst4TPT4xNc8 +9jjFPAa+BQJg98DxBQkF8HOHAAoJENc89jjFPAa+1D8A/A/xfENQSiCJdYhq2DgD +yhqnbjYIlCM9/0ivARMZ/tyQAQCgX9cKgk06xIpEY+BOdUDu8Py01Cm/oFmyThYH +dKE4B4h+BBgWCAAmAhsMFiEEsdK9E3W+y3hM9PjE1zz2OMU8Br4FAmI4nlQFCQbC +kuoACgkQ1zz2OMU8Br7QXgEAhd81O+aan2sLslGjC749qnaqAHwan9Nxz8f+J9Sz +G3UBAPTMOR4aoC+u8KxUxkNU53Ccf+bgGHY4OJ0gTDLLpPIG +=aN+6 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/libidn.spec b/libidn.spec new file mode 100644 index 0000000..220ace1 --- /dev/null +++ b/libidn.spec @@ -0,0 +1,150 @@ +# +# spec file for package libidn +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define lname libidn12 +Name: libidn +Version: 1.41 +Release: 0 +Summary: Support for Internationalized Domain Names (IDN) +License: (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later AND Apache-2.0 +Group: Development/Libraries/C and C++ +URL: https://www.gnu.org/software/libidn/ +Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz +Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig +Source2: https://josefsson.org/key-20190320.txt#/%{name}.keyring +Source3: baselibs.conf +BuildRequires: pkgconfig + +%description +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 around 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 is supported. + +%package tools +Summary: Command line utility to convert Int. Domain Names +License: (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later +Group: Productivity/Networking/DNS/Utilities + +%description tools +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 around 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 is supported. + +%package -n %{lname} +Summary: Support for Internationalized Domain Names (IDN) +License: (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later +Group: System/Libraries +Provides: libidn = %{version} +Obsoletes: libidn < %{version} + +%description -n %{lname} +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 around 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 is supported. + +%package devel +Summary: Development files for libidn +License: LGPL-2.1-or-later +Group: Development/Libraries/C and C++ +Requires: %{lname} = %{version} +Requires: glibc-devel + +%description devel +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 around 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 is supported. + +%prep +%setup -q + +%build +%configure \ + --disable-silent-rules \ + --disable-static \ + --disable-gtk-doc +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%find_lang %{name} + +%check +%if ! 0%{?qemu_user_space_build} +%make_build check +%endif + +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig + +%files tools -f %{name}.lang +%license COPYING* +%dir %{_datadir}/emacs +%dir %{_datadir}/emacs/site-lisp +%doc AUTHORS ChangeLog FAQ NEWS README THANKS +%{_infodir}/libidn* +%{_bindir}/idn +%{_mandir}/man1/idn.1%{?ext_man} +%{_datadir}/emacs/site-lisp/idna.el +%{_datadir}/emacs/site-lisp/punycode.el + +%files -n %{lname} +%license COPYING* +%{_libdir}/libidn.so.12* + +%files devel +%license COPYING* +%{_libdir}/libidn.so +%{_includedir}/*.h +%{_libdir}/pkgconfig/libidn.pc +%{_mandir}/man3/* + +%changelog