Index: head/dns/libidn2/Makefile =================================================================== --- head/dns/libidn2/Makefile (revision 430018) +++ head/dns/libidn2/Makefile (revision 430019) @@ -1,23 +1,47 @@ # Created by: Sunpoet Po-Chuan Hsieh # $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 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 Index: head/dns/libidn2/distinfo =================================================================== --- head/dns/libidn2/distinfo (revision 430018) +++ head/dns/libidn2/distinfo (revision 430019) @@ -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 Index: head/dns/libidn2/files/patch-src-idn2.c =================================================================== --- head/dns/libidn2/files/patch-src-idn2.c (nonexistent) +++ head/dns/libidn2/files/patch-src-idn2.c (revision 430019) @@ -0,0 +1,29 @@ +--- src/idn2.c.orig 2016-12-26 21:00:11 UTC ++++ src/idn2.c +@@ -31,7 +31,7 @@ + #include + + /* 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); + Property changes on: head/dns/libidn2/files/patch-src-idn2.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/libidn2/pkg-plist =================================================================== --- head/dns/libidn2/pkg-plist (revision 430018) +++ head/dns/libidn2/pkg-plist (revision 430019) @@ -1,31 +1,29 @@ 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 man/man3/idn2_lookup_u8.3.gz man/man3/idn2_lookup_ul.3.gz man/man3/idn2_register_u8.3.gz man/man3/idn2_register_ul.3.gz man/man3/idn2_strerror.3.gz man/man3/idn2_strerror_name.3.gz share/gtk-doc/html/libidn2/api-index-full.html share/gtk-doc/html/libidn2/home.png share/gtk-doc/html/libidn2/index.html share/gtk-doc/html/libidn2/index.sgml share/gtk-doc/html/libidn2/left-insensitive.png share/gtk-doc/html/libidn2/left.png share/gtk-doc/html/libidn2/libidn2-idn2.html share/gtk-doc/html/libidn2/libidn2.devhelp2 share/gtk-doc/html/libidn2/libidn2.html share/gtk-doc/html/libidn2/right-insensitive.png share/gtk-doc/html/libidn2/right.png share/gtk-doc/html/libidn2/style.css share/gtk-doc/html/libidn2/up-insensitive.png share/gtk-doc/html/libidn2/up.png