View | Details | Raw Unified | Return to bug 218833
Collapse All | Expand All

(-)dns/libidn2/Makefile (-24 / +3 lines)
Lines 2-20 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libidn2
4
PORTNAME=	libidn2
5
PORTVERSION=	0.16
5
PORTVERSION=	2.0.1
6
CATEGORIES=	dns
6
CATEGORIES=	dns
7
MASTER_SITES=	GNU_ALPHA/libidn \
7
MASTER_SITES=	GNU/libidn
8
		https://ftp.iana.org/assignments/idna-tables-6.3.0/:idna_table \
9
		http://www.unicode.org/Public/6.3.0/ucd/:nfcqc \
10
		http://www.unicode.org/Public/idna/6.3.0/:test,tr64map \
11
		LOCAL/sunpoet/${PORTNAME}
12
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
13
		idna-tables-6.3.0.txt:idna_table \
14
		DerivedNormalizationProps.txt:nfcqc \
15
		IdnaTest.txt:test \
16
		IdnaMappingTable.txt:tr64map
17
EXTRACT_ONLY=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
18
8
19
MAINTAINER=	sunpoet@FreeBSD.org
9
MAINTAINER=	sunpoet@FreeBSD.org
20
COMMENT=	Implementation of IDNA2008 internationalized domain names
10
COMMENT=	Implementation of IDNA2008 internationalized domain names
Lines 22-28 COMMENT= Implementation of IDNA2008 inte Link Here
22
LICENSE=	GPLv3
12
LICENSE=	GPLv3
23
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
24
14
25
BUILD_DEPENDS=	help2man:misc/help2man
26
LIB_DEPENDS=	libunistring.so:devel/libunistring
15
LIB_DEPENDS=	libunistring.so:devel/libunistring
27
16
28
CONFIGURE_ARGS=	--disable-nls \
17
CONFIGURE_ARGS=	--disable-nls \
Lines 30-47 CONFIGURE_ARGS= --disable-nls \ Link Here
30
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
31
INSTALL_TARGET=	install-strip
20
INSTALL_TARGET=	install-strip
32
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
33
USE_PERL5=	build
22
USES=		charsetfix gmake iconv libtool localbase
34
USES=		charsetfix gmake iconv libtool localbase perl5 shebangfix
35
23
36
INFO=		libidn2
24
INFO=		libidn2
37
25
38
SHEBANG_FILES=	gen-tables-from-iana.pl tests/gen-utc-test.pl
39
40
post-patch:
41
	@cd ${DISTDIR}/ && ${CP} idna-tables-6.3.0.txt IdnaMappingTable.txt DerivedNormalizationProps.txt ${WRKSRC}/
42
	@cd ${DISTDIR}/ && ${CP} IdnaTest.txt ${WRKSRC}/tests/
43
44
post-install:
45
	@${RM} ${STAGEDIR}${PREFIX}/bin/idn2_noinstall
46
47
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)dns/libidn2/distinfo (-11 / +3 lines)
Lines 1-11 Link Here
1
TIMESTAMP = 1484743810
1
TIMESTAMP = 1492974399
2
SHA256 (libidn2-0.16.tar.gz) = 2fad9efff4082ae2143f69df76339ca99379e0e0f4231455f5d3d9d2089c688f
2
SHA256 (libidn2-2.0.1.tar.gz) = 0d23651415556508168f15fa0299b54bb8015a3953a23c1ffdfe09f12c27f1d3
3
SIZE (libidn2-0.16.tar.gz) = 1494295
3
SIZE (libidn2-2.0.1.tar.gz) = 1770164
4
SHA256 (idna-tables-6.3.0.txt) = ac67b5bf7c2de2d3b6e11fa7bf0d7ba54e6457788aec1ebde48739ee084822b7
5
SIZE (idna-tables-6.3.0.txt) = 162415
6
SHA256 (DerivedNormalizationProps.txt) = c5e867ae043fe5d1cf713150d859356bfdcdba291c39f584af0bfb943f1a9743
7
SIZE (DerivedNormalizationProps.txt) = 783470
8
SHA256 (IdnaTest.txt) = f56af7d031fddd8264cd95086e360375e3a09e680c8e2d947be469bfa4f4097d
9
SIZE (IdnaTest.txt) = 422220
10
SHA256 (IdnaMappingTable.txt) = 84c8f25d2b58531dada678cbfb779c0fb04b1aac42c7744a63fb59784e974775
11
SIZE (IdnaMappingTable.txt) = 742564
(-)dns/libidn2/files/patch-src-idn2.c (-9 / +9 lines)
Lines 1-7 Link Here
1
--- src/idn2.c.orig	2016-12-26 21:00:11 UTC
1
--- src/idn2.c.orig	2017-04-12 18:43:32 UTC
2
+++ src/idn2.c
2
+++ src/idn2.c
3
@@ -31,7 +31,7 @@
3
@@ -33,7 +33,7 @@
4
 #include <unistr.h>
4
 #include <unistring/localcharset.h>
5
 
5
 
6
 /* Gnulib headers. */
6
 /* Gnulib headers. */
7
-#include "error.h"
7
-#include "error.h"
Lines 9-24 Link Here
9
 #include "gettext.h"
9
 #include "gettext.h"
10
 #define _(String) dgettext (PACKAGE, String)
10
 #define _(String) dgettext (PACKAGE, String)
11
 #include "progname.h"
11
 #include "progname.h"
12
@@ -167,7 +167,7 @@ process_input (char *readbuf, int flags)
12
@@ -176,7 +176,7 @@ process_input (char *readbuf, int flags)
13
       free (output);
13
       free (output);
14
     }
14
     }
15
   else
15
   else
16
-    error (EXIT_FAILURE, 0, "%s: %s",
16
-    error (EXIT_FAILURE, 0, "%s: %s", tag, idn2_strerror (rc));
17
+    errc (EXIT_FAILURE, 0, "%s: %s",
17
+    errc (EXIT_FAILURE, 0, "%s: %s", tag, idn2_strerror (rc));
18
 	   args_info.register_given ? "register" : "lookup",
19
 	   idn2_strerror (rc));
20
 }
18
 }
21
@@ -228,7 +228,7 @@ main (int argc, char *argv[])
19
 
20
 int
21
@@ -237,7 +237,7 @@ main (int argc, char *argv[])
22
     }
22
     }
23
 
23
 
24
   if (ferror (stdin))
24
   if (ferror (stdin))
(-)dns/libidn2/pkg-plist (-2 / +12 lines)
Lines 3-9 include/idn2.h Link Here
3
lib/libidn2.a
3
lib/libidn2.a
4
lib/libidn2.so
4
lib/libidn2.so
5
lib/libidn2.so.0
5
lib/libidn2.so.0
6
lib/libidn2.so.0.1.4
6
lib/libidn2.so.0.3.0
7
lib/pkgconfig/libidn2.pc
7
man/man1/idn2.1.gz
8
man/man1/idn2.1.gz
8
man/man3/idn2_check_version.3.gz
9
man/man3/idn2_check_version.3.gz
9
man/man3/idn2_free.3.gz
10
man/man3/idn2_free.3.gz
Lines 13-22 man/man3/idn2_register_u8.3.gz Link Here
13
man/man3/idn2_register_ul.3.gz
14
man/man3/idn2_register_ul.3.gz
14
man/man3/idn2_strerror.3.gz
15
man/man3/idn2_strerror.3.gz
15
man/man3/idn2_strerror_name.3.gz
16
man/man3/idn2_strerror_name.3.gz
17
man/man3/idn2_to_ascii_4i.3.gz
18
man/man3/idn2_to_ascii_4z.3.gz
19
man/man3/idn2_to_ascii_8z.3.gz
20
man/man3/idn2_to_ascii_lz.3.gz
21
man/man3/idn2_to_unicode_44i.3.gz
22
man/man3/idn2_to_unicode_4z4z.3.gz
23
man/man3/idn2_to_unicode_8z4z.3.gz
24
man/man3/idn2_to_unicode_8z8z.3.gz
25
man/man3/idn2_to_unicode_8zlz.3.gz
26
man/man3/idn2_to_unicode_lzlz.3.gz
16
share/gtk-doc/html/libidn2/api-index-full.html
27
share/gtk-doc/html/libidn2/api-index-full.html
17
share/gtk-doc/html/libidn2/home.png
28
share/gtk-doc/html/libidn2/home.png
18
share/gtk-doc/html/libidn2/index.html
29
share/gtk-doc/html/libidn2/index.html
19
share/gtk-doc/html/libidn2/index.sgml
20
share/gtk-doc/html/libidn2/left-insensitive.png
30
share/gtk-doc/html/libidn2/left-insensitive.png
21
share/gtk-doc/html/libidn2/left.png
31
share/gtk-doc/html/libidn2/left.png
22
share/gtk-doc/html/libidn2/libidn2-idn2.html
32
share/gtk-doc/html/libidn2/libidn2-idn2.html

Return to bug 218833