mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
- Update to 0.12
Changes: https://gitlab.com/jas/libidn2/blob/master/NEWS
This commit is contained in:
parent
9c0c1fb587
commit
bfffffcd0c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430019
@ -2,9 +2,19 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libidn2
|
||||
PORTVERSION= 0.11
|
||||
PORTVERSION= 0.12
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= GNU_ALPHA/libidn
|
||||
MASTER_SITES= GNU_ALPHA/libidn \
|
||||
https://ftp.iana.org/assignments/idna-tables-6.3.0/:idna_table \
|
||||
http://www.unicode.org/Public/6.3.0/ucd/:nfcqc \
|
||||
http://www.unicode.org/Public/idna/6.3.0/:test,tr64map \
|
||||
LOCAL/sunpoet/${PORTNAME}
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
||||
idna-tables-6.3.0.txt:idna_table \
|
||||
DerivedNormalizationProps.txt:nfcqc \
|
||||
IdnaTest.txt:test \
|
||||
IdnaMappingTable.txt:tr64map
|
||||
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Implementation of IDNA2008 internationalized domain names
|
||||
@ -12,12 +22,26 @@ COMMENT= Implementation of IDNA2008 internationalized domain names
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= help2man:misc/help2man
|
||||
LIB_DEPENDS= libunistring.so:devel/libunistring
|
||||
|
||||
CONFIGURE_ARGS= --disable-nls \
|
||||
--with-libunistring-prefix=${LOCALBASE}
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
USES= charsetfix gmake iconv libtool localbase shebangfix
|
||||
USE_LDCONFIG= yes
|
||||
USE_PERL5= build
|
||||
USES= charsetfix gmake iconv libtool localbase perl5 shebangfix
|
||||
|
||||
INFO= libidn2
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
SHEBANG_FILES= gen-tables-from-iana.pl tests/gen-utc-test.pl
|
||||
|
||||
post-patch:
|
||||
@cd ${DISTDIR}/ && ${CP} idna-tables-6.3.0.txt IdnaMappingTable.txt DerivedNormalizationProps.txt ${WRKSRC}/
|
||||
@cd ${DISTDIR}/ && ${CP} IdnaTest.txt ${WRKSRC}/tests/
|
||||
|
||||
post-install:
|
||||
@${RM} ${STAGEDIR}${PREFIX}/bin/idn2_noinstall
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,11 @@
|
||||
TIMESTAMP = 1479474854
|
||||
SHA256 (libidn2-0.11.tar.gz) = 5d397bdc258b372b8a25c8fb5240430d6fae28f9d790d3670f4b6012fa87bfff
|
||||
SIZE (libidn2-0.11.tar.gz) = 1563669
|
||||
TIMESTAMP = 1483036483
|
||||
SHA256 (libidn2-0.12.tar.gz) = 5aac6a35546a472b218a1b1257b39e5e829fda489152f6c793064afc5a2f2956
|
||||
SIZE (libidn2-0.12.tar.gz) = 1223699
|
||||
SHA256 (idna-tables-6.3.0.txt) = ac67b5bf7c2de2d3b6e11fa7bf0d7ba54e6457788aec1ebde48739ee084822b7
|
||||
SIZE (idna-tables-6.3.0.txt) = 162415
|
||||
SHA256 (DerivedNormalizationProps.txt) = c5e867ae043fe5d1cf713150d859356bfdcdba291c39f584af0bfb943f1a9743
|
||||
SIZE (DerivedNormalizationProps.txt) = 783470
|
||||
SHA256 (IdnaTest.txt) = f56af7d031fddd8264cd95086e360375e3a09e680c8e2d947be469bfa4f4097d
|
||||
SIZE (IdnaTest.txt) = 422220
|
||||
SHA256 (IdnaMappingTable.txt) = 84c8f25d2b58531dada678cbfb779c0fb04b1aac42c7744a63fb59784e974775
|
||||
SIZE (IdnaMappingTable.txt) = 742564
|
||||
|
29
dns/libidn2/files/patch-src-idn2.c
Normal file
29
dns/libidn2/files/patch-src-idn2.c
Normal file
@ -0,0 +1,29 @@
|
||||
--- src/idn2.c.orig 2016-12-26 21:00:11 UTC
|
||||
+++ src/idn2.c
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <unistr.h>
|
||||
|
||||
/* Gnulib headers. */
|
||||
-#include "error.h"
|
||||
+#include "err.h"
|
||||
#include "gettext.h"
|
||||
#define _(String) dgettext (PACKAGE, String)
|
||||
#include "progname.h"
|
||||
@@ -167,7 +167,7 @@ process_input (char *readbuf, int flags)
|
||||
free (output);
|
||||
}
|
||||
else
|
||||
- error (EXIT_FAILURE, 0, "%s: %s",
|
||||
+ errc (EXIT_FAILURE, 0, "%s: %s",
|
||||
args_info.register_given ? "register" : "lookup",
|
||||
idn2_strerror (rc));
|
||||
}
|
||||
@@ -228,7 +228,7 @@ main (int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (ferror (stdin))
|
||||
- error (EXIT_FAILURE, errno, "%s", _("input error"));
|
||||
+ errc (EXIT_FAILURE, errno, "%s", _("input error"));
|
||||
|
||||
cmdline_parser_free (&args_info);
|
||||
|
@ -1,11 +1,9 @@
|
||||
bin/idn2
|
||||
bin/lookup
|
||||
bin/register
|
||||
include/idn2.h
|
||||
lib/libidn2.a
|
||||
lib/libidn2.so
|
||||
lib/libidn2.so.0
|
||||
lib/libidn2.so.0.%%PORTVERSION%%
|
||||
lib/libidn2.so.0.1.0
|
||||
man/man1/idn2.1.gz
|
||||
man/man3/idn2_check_version.3.gz
|
||||
man/man3/idn2_free.3.gz
|
||||
|
Loading…
Reference in New Issue
Block a user