head	1.18;
access;
symbols
	pkgsrc-2026Q1:1.18.0.18
	pkgsrc-2026Q1-base:1.18
	pkgsrc-2025Q4:1.18.0.16
	pkgsrc-2025Q4-base:1.18
	pkgsrc-2025Q3:1.18.0.14
	pkgsrc-2025Q3-base:1.18
	pkgsrc-2025Q2:1.18.0.12
	pkgsrc-2025Q2-base:1.18
	pkgsrc-2025Q1:1.18.0.10
	pkgsrc-2025Q1-base:1.18
	pkgsrc-2024Q4:1.18.0.8
	pkgsrc-2024Q4-base:1.18
	pkgsrc-2024Q3:1.18.0.6
	pkgsrc-2024Q3-base:1.18
	pkgsrc-2024Q2:1.18.0.4
	pkgsrc-2024Q2-base:1.18
	pkgsrc-2024Q1:1.18.0.2
	pkgsrc-2024Q1-base:1.18
	pkgsrc-2023Q4:1.17.0.2
	pkgsrc-2023Q4-base:1.17
	pkgsrc-2023Q3:1.15.0.8
	pkgsrc-2023Q3-base:1.15
	pkgsrc-2023Q2:1.15.0.6
	pkgsrc-2023Q2-base:1.15
	pkgsrc-2023Q1:1.15.0.4
	pkgsrc-2023Q1-base:1.15
	pkgsrc-2022Q4:1.15.0.2
	pkgsrc-2022Q4-base:1.15
	pkgsrc-2022Q3:1.12.0.2
	pkgsrc-2022Q3-base:1.12
	pkgsrc-2022Q2:1.11.0.4
	pkgsrc-2022Q2-base:1.11
	pkgsrc-2022Q1:1.11.0.2
	pkgsrc-2022Q1-base:1.11
	pkgsrc-2021Q4:1.10.0.4
	pkgsrc-2021Q4-base:1.10
	pkgsrc-2021Q3:1.10.0.2
	pkgsrc-2021Q3-base:1.10
	pkgsrc-2021Q2:1.9.0.2
	pkgsrc-2021Q2-base:1.9
	pkgsrc-2021Q1:1.8.0.12
	pkgsrc-2021Q1-base:1.8
	pkgsrc-2020Q4:1.8.0.10
	pkgsrc-2020Q4-base:1.8
	pkgsrc-2020Q3:1.8.0.8
	pkgsrc-2020Q3-base:1.8
	pkgsrc-2020Q2:1.8.0.6
	pkgsrc-2020Q2-base:1.8
	pkgsrc-2020Q1:1.8.0.2
	pkgsrc-2020Q1-base:1.8
	pkgsrc-2019Q4:1.8.0.4
	pkgsrc-2019Q4-base:1.8
	pkgsrc-2019Q3:1.7.0.2
	pkgsrc-2019Q3-base:1.7
	pkgsrc-2019Q2:1.6.0.8
	pkgsrc-2019Q2-base:1.6
	pkgsrc-2019Q1:1.6.0.6
	pkgsrc-2019Q1-base:1.6
	pkgsrc-2018Q4:1.6.0.4
	pkgsrc-2018Q4-base:1.6
	pkgsrc-2018Q3:1.6.0.2
	pkgsrc-2018Q3-base:1.6
	pkgsrc-2018Q2:1.5.0.6
	pkgsrc-2018Q2-base:1.5
	pkgsrc-2018Q1:1.5.0.4
	pkgsrc-2018Q1-base:1.5
	pkgsrc-2017Q4:1.5.0.2
	pkgsrc-2017Q4-base:1.5
	pkgsrc-2017Q3:1.4.0.4
	pkgsrc-2017Q3-base:1.4;
locks; strict;
comment	@# @;


1.18
date	2024.02.10.16.39.00;	author wiz;	state Exp;
branches;
next	1.17;
commitid	xNsdSje3Yfs0hUXE;

1.17
date	2023.11.07.13.19.47;	author nia;	state Exp;
branches;
next	1.16;
commitid	qr1Uw6TzjqiYdGLE;

1.16
date	2023.11.06.11.38.57;	author nia;	state Exp;
branches;
next	1.15;
commitid	hUqF6eA68MgjHxLE;

1.15
date	2022.10.30.11.19.21;	author adam;	state Exp;
branches;
next	1.14;
commitid	8Adsvfbi1pK3yJZD;

1.14
date	2022.10.30.11.17.47;	author wiz;	state Exp;
branches;
next	1.13;
commitid	utvXU9ilFC6sxJZD;

1.13
date	2022.10.26.10.31.01;	author wiz;	state Exp;
branches;
next	1.12;
commitid	PVFjlIYUKslkpdZD;

1.12
date	2022.07.17.08.33.16;	author wiz;	state Exp;
branches;
next	1.11;
commitid	NgY39EiyDv0k0eMD;

1.11
date	2022.01.12.15.21.54;	author schmonz;	state Exp;
branches;
next	1.10;
commitid	Z0YOZaai1QxcfmoD;

1.10
date	2021.07.29.10.24.49;	author wiz;	state Exp;
branches;
next	1.9;
commitid	5CCs1r2yddQ4YR2D;

1.9
date	2021.05.20.08.22.37;	author wiz;	state Exp;
branches;
next	1.8;
commitid	MsaCkrIVUvLExRTC;

1.8
date	2019.11.21.23.32.16;	author nia;	state Exp;
branches;
next	1.7;
commitid	7SA7uwcwqiYO7MLB;

1.7
date	2019.07.31.10.39.54;	author nia;	state Exp;
branches;
next	1.6;
commitid	wZLRYmZSQ09VtbxB;

1.6
date	2018.09.08.18.56.47;	author schmonz;	state Exp;
branches;
next	1.5;
commitid	fpsVasWm72GeIkRA;

1.5
date	2017.10.29.16.47.02;	author leot;	state Exp;
branches;
next	1.4;
commitid	Pp8JQsSLUHUg5YcA;

1.4
date	2017.08.30.15.22.30;	author schmonz;	state Exp;
branches;
next	1.3;
commitid	QGh446aNLOk4yf5A;

1.3
date	2017.08.18.21.04.51;	author adam;	state Exp;
branches;
next	1.2;
commitid	5U3IuvOYjExoPJ3A;

1.2
date	2017.07.22.02.33.00;	author schmonz;	state Exp;
branches;
next	1.1;
commitid	U7HqI4raIPsMxa0A;

1.1
date	2017.07.17.03.25.32;	author schmonz;	state Exp;
branches;
next	;
commitid	fPcNNmqyHkENZwZz;


desc
@@


1.18
log
@libidn2: update to 2.3.7.

* Noteworthy changes in release 2.3.7 (2024-01-27) [stable]

** Really include tests/standalone.sh in tarball.

* Noteworthy changes in release 2.3.6 (2024-01-27) [stable]

** Bump libtool version numbers to reflect API/ABI addition.

** Include tests/standalone.sh in tarball.

* Noteworthy changes in release 2.3.5 (2024-01-27) [stable]

** Declaration of future API/ABI backwards compatibility stability.
GNU libc dlopen libidn2 and use the name libidn2.so.0 for this.  We
believe that it will be too challenging to ever do hard ABI break that
for normal libraries is justified to remove deprecated APIs.  Thus we
decided that we will support the current ABI for a long time.  Of
course, if really convincing arguments for doing a ABI break appears
in the future we may re-consider, but take this as a declaration of
intent of will and that future ABI breaks should be discussed and
co-ordinated with the glibc team first.

** Add public APIs for raw Punycode encoding/decoding.
Normal applications rarely need this, but it cleans up the code and
allow for external testing of the APIs, and resolve
<https://gitlab.com/libidn/libidn2/-/issues/80> due to earlier use of
weak symbols for internal symbols _idn2_punycode_encode and
_idn2_punycode_decode.  We will support these internal symbols for
backwards compatibility.  This allows a clean migration path for code
that is still using the internal names.

** Bump required gettext version to 0.19.8 for musl-libc.
Reported by Helmut Grohne in
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999510>.

** Un-deprecate idn2_to_ascii_4i and make it NUL terminate output.
The API idn2_to_ascii_4i was deprecated in version 2.1.1 released in
2019-02-08.  In that release, the API was also modified to not
NUL-terminate the output.  That is contrary to the old libidn2
behaviour, the behaviour of libidn's API idna_to_ascii_4i, and the API
documentation for the function.  Since we are not likely to ever break
backwards API/ABI compatibility in libidn2, and the deprecated gaurds
leads to some trouble (see report in
<https://gitlab.com/libidn/libidn2/-/merge_requests/93>) we decided to
un-deprecate this function, as supporting it is not costly and the
majority of code that cares about conformance has likely been
modified.  This will fix the error code and NUL termination report by
Yegor Bychin in <https://gitlab.com/libidn/libidn2/-/issues/100>.  We
still encourage you to use the replacement API/ABI idn2_to_ascii_4i2
instead, when appropriate.

** 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>.

** tests: Added script tests/standalone.sh suitable for integrators.
The main purpose is to test a system-installed libidn2 library and
idn2 tool, suitable for distributor checking (a'la Debian's
autopkgtest/debci).  It may also be used to test a newly built libidn2
outside the usual 'make check' infrastructure.  To check that your
system libidn2 library and idn2 tool is working, invoke the script
with `srcdir` as an environment variable indicating where it can be
find the source code for libidn2's tests/ directory (it will use the
directory name where the script is by default):

tests/standalone.sh

If your system libidn2 is too old to pass certain tests, disable them
using STANDALONE_DISABLE like this:

STANDALONE_DISABLE='*punycode*' tests/standalone.sh

See the script for more parameters.  If the libidn2 under testing is
too old and has known bugs, that should cause tests to fail, which is
intentional.

** Various minor build fixes and translation updates.

** API and ABI is backwards compatible with the previous version.
idn2_punycode_decode: ADD.
idn2_punycode_encode: ADD.
@
text
@# $NetBSD: Makefile,v 1.17 2023/11/07 13:19:47 nia Exp $

DISTNAME=	libidn2-2.3.7
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU:=libidn/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.gnu.org/software/libidn/
COMMENT=	Convert internationalized domain names to/from ASCII Encoding
LICENSE=	gnu-gpl-v2

USE_LIBTOOL=		yes
USE_TOOLS+=		pkg-config
GNU_CONFIGURE=		yes
PKGCONFIG_OVERRIDE+=	libidn2.pc.in
INFO_FILES=		yes
TEST_TARGET=		check

# XXX: Kludge to avoid uncoditionally pick up some gtkdoc-* tools if gtk-doc
# XXX: package is installed and then fails in the installation phase.
CONFIGURE_ENV+=	ac_cv_prog_GTKDOC_CHECK=
CONFIGURE_ENV+=	ac_cv_path_GTKDOC_CHECK_PATH=
CONFIGURE_ENV+=	ac_cv_path_GTKDOC_REBASE=
CONFIGURE_ENV+=	ac_cv_path_GTKDOC_MKPDF=

.include "../../mk/bsd.prefs.mk"

.if ${PKGSRC_COMPILER:Msunpro}
# configure check passes, but linker will fail during build
post-configure:
	${ECHO} '#undef HAVE_SYMVER_ALIAS_SUPPORT' >> ${WRKSRC}/config.h
.endif

.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/libunistring/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.17
log
@Centralize per-package hacks for lack of -rpath on Darwin/powerpc.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2023/11/06 11:38:57 nia Exp $
d3 1
a3 1
DISTNAME=	libidn2-2.3.4
@


1.16
log
@libidn2: Explicitly disable RPATH on Darwin, fixes build on 10.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2022/10/30 11:19:21 adam Exp $
a18 2
CONFIGURE_ARGS.Darwin+=	--disable-rpath

@


1.15
log
@libidn2: add TEST_TARGET; pkglint fix
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2022/10/30 11:17:47 wiz Exp $
d19 2
@


1.14
log
@* Noteworthy changes in release 2.3.4 (2022-10-23) [stable]

** Support for Unicode 15.0.0.  Closes: #112.
We now uses Unicode.org's IDNA2008 tables rather than IANA's.  See
<https://gitlab.com/libidn/libidn2/-/issues/112> and
<https://lists.gnu.org/archive/html/help-libidn/2022-10/msg00000.html>
for rationale, which can be summarized into 1) IANA are still on
2019-era Unicode version 12 and we wish to support Unicode version
12-15, 2) consistency with some other implementations, 3) the only
incompatibility related to U+19DA is deemed to have minor real-world
consequences.  Thus we break backwards compatibility for U+19DA in
this release compared against libidn2 0.11..2.3.3 thus reverting back
to the libidn2 <= 0.11 behaviour.  We decided to not bump ABI version
and believe this is the best choice going forward as well for minor
internal non-API related ABI changes.

** Gnulib updated and now libunistring-optional is used.
This allows you to force libidn2 to use internal libunistring with the
following command: ./configure --with-included-libunistring
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2022/10/26 10:31:01 wiz Exp $
d17 1
d21 4
a24 4
CONFIGURE_ENV+=		ac_cv_prog_GTKDOC_CHECK= \
			ac_cv_path_GTKDOC_CHECK_PATH= \
			ac_cv_path_GTKDOC_REBASE= \
			ac_cv_path_GTKDOC_MKPDF=
@


1.13
log
@*: bump PKGREVISION for libunistring shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2022/07/17 08:33:16 wiz Exp $
d3 1
a3 2
DISTNAME=	libidn2-2.3.3
PKGREVISION=	1
@


1.12
log
@libidn2: update to 2.3.3.

* Noteworthy changes in release 2.3.3 (2022-07-11) [stable]

** Upgrade IDNA Tables from Unicode 11 to 12.

** Upgrade TR46 Tables from Unicode 13 to 14.

** Updated gnulib files and various build fixes.
Gnulib's Unicode code claims conformance to Unicode 14.0.0 rather than
Unicode 9.0.0.  A bug in Libidn2's build system was fixed that caused
the system libunistring to be used even though the system version was
too old.

** Self-check improvements.
Self-checks for the idn2 command line tool were added.  Closes: #96.
The C self-checks in tests/ should now be usable outside of the
libidn2 build environment, for system integration checks of a
system-installed libidn2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2022/01/12 15:21:54 schmonz Exp $
d4 1
@


1.11
log
@With SunPro, the HAVE_SYMVER_ALIAS_SUPPORT configure check passes, but
the linker will fail during build. Forcibly #undef it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2021/07/29 10:24:49 wiz Exp $
d3 1
a3 1
DISTNAME=	libidn2-2.3.2
@


1.10
log
@libidn2: update to 2.3.2.

* Noteworthy changes in release 2.3.2 (2021-07-19) [stable]

** Upgrade TR46 tables from Unicode 11 to Unicode 13.
Now U+32FF works.  Fixes
<https://gitlab.com/libidn/libidn2/-/issues/77>.

** Fix build errors related to doc/idn2--help.texi.
With older makeinfo, this would manifest itself by looking for
idn2-help.texi instead.  Further, some BSD grep implementations did
not like the \+ regexp command, so we now rely on the (apparently)
more portable * regexp command.  Reported-By: David Gessel.  See
<https://gitlab.com/libidn/libidn2/-/issues/93>.

** doc: Improve GTK-DOC manual.

** doc: Don't ship HTML/PDF manual.  Drop custom CSS stylesheet.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2021/05/20 08:22:37 wiz Exp $
d25 8
@


1.9
log
@libidn2: update to 2.3.1.

* Noteworthy changes in release 2.3.1 (2021-05-12) [stable]

** Implement full roundtrip for lookup functionality
With TR64 enabled (default), 'â˜ºi' was converted to 'xn-- o-oia59s'.
The output contains an illegal space and thus could not be decoded any
more.  Reported-by: Chris Malton.  See
<https://gitlab.com/libidn/libidn2/issues/78> and
<https://gitlab.isc.org/isc-projects/bind9/issues/1610>.

** Fix domain too long error

** doc: idn2.1 and libidn2.texi automatically get idn2 --help output.

** Updated gnulib files and various build fixes.
In particular, it no longer attempts to detect a host CC compiler.
See <https://gitlab.com/libidn/libidn2/-/issues/83>.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2019/11/21 23:32:16 nia Exp $
d3 1
a3 1
DISTNAME=	libidn2-2.3.1
@


1.8
log
@libidn2: Update to 2.3.0

* Version 2.3.0 (released 2019-11-14)

** Mitre has assigned CVE-2019-12290 which was fixed by
   the roundtrip feature introduced in 2.2.0 (commit 241e8f48)

** Update the data tables from Unicode 6.3.0 to Unicode 11.0

** Turn _idn2_punycode_encode, _idn2_punycode_decode
   into compat symbols (Fixes #74)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2019/07/31 10:39:54 nia Exp $
d3 1
a3 1
DISTNAME=	libidn2-2.3.0
@


1.7
log
@libidn2: Update to 2.2.0

Version 2.2.0 (released 2019-05-23)

* Perform A-Label roundtrip for lookup functions by default
* Stricter check of input to punycode decoder
* Fix punycode decoding with no ASCII chars but given delimiter
* Fix 'idn2 --no-tr64' (was a no-op)
* Allow _ as a basic code point in domain labels
* Fail building documentatino if 'ronn' isn't installed
* git tag changed to reflect https://semver.org/

Version 2.1.1 (released 2019-02-08)

* Revert SONAME bump from release 2.1.0
* Fix NULL dereference in idn2_register_u8() and idn2_register_ul()
* Fix free of random value in idn2_to_ascii_4i()
* Improved fuzzer (which found the above issues)
* Fix printf() crash in test-lookup.c on Solaris
* Check for valid unicode input in punycode encoder
* Avoid excessive CPU usage in punycode encoding with
  large inputs
* Deprecate idn2_to_ascii_4i() in favor of idn2_to_ascii_4i2()
* Restrict output length of idn2_to_ascii_4i() to 63 bytes

Version 2.1.0 (released 2019-01-04)

* Two exposed functions are no longer exposed:
  _idn2_punycode_encode() and _idn2_punycode_decode() which were
  meant to be used internally only. The output needs additional
  checks to be used safely.
  This is the reason to for the SONAME bump, just in case.
* Fix label length check for idn2_register_u8()
* Remove compiler warnings
* Use gnulib-python tool for bootstrapping if possible
* Improve build system (several small issues)
* Add missing error messages to idn2_strerror_name()
* Improve docs and remove typos
* Update gnulib
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2018/09/08 18:56:47 schmonz Exp $
d3 1
a3 1
DISTNAME=	libidn2-2.2.0
@


1.6
log
@Update to 2.0.5. From the changelog:

** Switched the default library behavior to IDNA2008 as amended
   by TR#46 (non-transitional). That default behavior is enabled when
   no flags are specified to function calls. Applications can utilize the
   %IDN2_NO_TR46 flag to switch to the unamended IDNA2008. This is done in
   the interest of interoperability based on the fact that this is what application
   writers care about rather than strict compliance with a particular protocol.

** Fixed memleak in idn2_to_unicode_8zlz().

** Return error (IDN2_ICONV_FAIL) on charset conversion errors.

** Fixed issue with STD3 rules applying in non-transitional
   TR46 mode.

** idn2: added option --usestd3asciirules.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2017/10/29 16:47:02 leot Exp $
d3 1
a3 1
DISTNAME=	libidn2-2.0.5
@


1.5
log
@libidn2: Fix installation if gtk-doc package is already installed

By default libidn2 is configured with `--disable-gtk-doc'. However,
despite that, it will checks several `gtkdoc-*' tools anyway, ending
in a failure during the installation phase because only a couple
of them are available.

Add a kludge via CONFIGURE_ENV to avoid picking up gtkdoc-* tools.

Pointed out by <scole> via PR pkg/52667.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2017/08/30 15:22:30 schmonz Exp $
d3 1
a3 1
DISTNAME=	libidn2-2.0.4
@


1.4
log
@Update to 2.0.4. From the changelog:

* Fix integer overflow in bidi.c/_isBidi()
* Fix integer overflow in puny_decode.c/decode_digit()
* Improve docs
* Fix idna_free() to idn_free()
* Update fuzzer corpora

Use the .tar.gz distfile again, for the moment, to work around
https://github.com/jmmv/pkg_comp/issues/24 ("can't extract distfiles
with EXTRACT_SUFX=.tar.lz").
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2017/08/18 21:04:51 adam Exp $
d18 7
@


1.3
log
@Version 2.0.3 (released 2017-07-24) [beta]

** %IDN2_USE_STD3_ASCII_RULES disabled by default.
 Previously we were eliminating non-STD3 characters from domain strings
 such as _443._tcp.example.com, or IPs 1.2.3.4/24 provided to libidn2
 functions. That was an unexpected regression for applications switching
 from libidn and thus it is no longer applied by default.
 Use %IDN2_USE_STD3_ASCII_RULES to enable that behavior again.

** Fix several documentation issues

** Fix build issues

** Modernize gtk-doc build infrastructure.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2017/07/22 02:33:00 schmonz Exp $
d3 1
a3 1
DISTNAME=	libidn2-2.0.3
a5 1
EXTRACT_SUFX=	.tar.lz
@


1.2
log
@Don't install "idn2_noinstall". Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/07/17 03:25:32 schmonz Exp $
d3 1
a3 2
DISTNAME=	libidn2-2.0.0
PKGREVISION=	1
d5 2
a6 2
MASTER_SITES=	https://alpha.gnu.org/gnu/libidn/
EXTRACT_SUFX=	.tar.xz
d13 3
a15 5
GNU_CONFIGURE=	yes
INFO_FILES=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config

d17 1
@


1.1
log
@Initial import of libidn2, a library to convert internationalized domain
names to and from ASCII Compatible Encoding (ACE), following the
IDNA2008 and TR46 standards. The library is a rewrite of the popular but
legacy libidn library, and is backwards (API) compatible with it.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
@

