[Midnightbsd-cvs] mports [23017] trunk/dns: add libidn2

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Feb 17 17:41:37 EST 2018


Revision: 23017
          http://svnweb.midnightbsd.org/mports/?rev=23017
Author:   laffer1
Date:     2018-02-17 17:41:36 -0500 (Sat, 17 Feb 2018)
Log Message:
-----------
add libidn2

Modified Paths:
--------------
    trunk/dns/Makefile

Added Paths:
-----------
    trunk/dns/libidn2/
    trunk/dns/libidn2/Makefile
    trunk/dns/libidn2/distinfo
    trunk/dns/libidn2/files/
    trunk/dns/libidn2/files/patch-src-idn2.c
    trunk/dns/libidn2/pkg-descr
    trunk/dns/libidn2/pkg-plist

Modified: trunk/dns/Makefile
===================================================================
--- trunk/dns/Makefile	2018-02-17 22:40:01 UTC (rev 23016)
+++ trunk/dns/Makefile	2018-02-17 22:41:36 UTC (rev 23017)
@@ -16,6 +16,7 @@
 SUBDIR += ldns
 SUBDIR += libbind
 SUBDIR += libidn
+SUBDIR += libidn2
 SUBDIR += linux-f10-libasyncns
 SUBDIR += mDNSResponder_nss
 SUBDIR += mdnsd

Added: trunk/dns/libidn2/Makefile
===================================================================
--- trunk/dns/libidn2/Makefile	                        (rev 0)
+++ trunk/dns/libidn2/Makefile	2018-02-17 22:41:36 UTC (rev 23017)
@@ -0,0 +1,31 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD: head/dns/libidn2/Makefile 449040 2017-08-31 15:31:36Z sunpoet $
+# $MidnightBSD$
+
+PORTNAME=	libidn2
+PORTVERSION=	2.0.4
+CATEGORIES=	dns
+MASTER_SITES=	GNU/libidn
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Implementation of IDNA2008 internationalized domain names
+
+LICENSE=	gpl3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libunistring.so:devel/libunistring
+
+CONFIGURE_ARGS=	--disable-nls \
+		--with-libunistring-prefix=${LOCALBASE} \
+		ac_cv_prog_RONN=${TRUE}
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+USE_LDCONFIG=	yes
+USES=		charsetfix gmake iconv libtool localbase pathfix
+
+INFO=		libidn2
+
+post-patch:
+	@${REINPLACE_CMD} -e '/^TMPDIR = /d' ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>


Property changes on: trunk/dns/libidn2/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/dns/libidn2/distinfo
===================================================================
--- trunk/dns/libidn2/distinfo	                        (rev 0)
+++ trunk/dns/libidn2/distinfo	2018-02-17 22:41:36 UTC (rev 23017)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1504161218
+SHA256 (libidn2-2.0.4.tar.gz) = 644b6b03b285fb0ace02d241d59483d98bc462729d8bb3608d5cad5532f3d2f0
+SIZE (libidn2-2.0.4.tar.gz) = 2008524


Property changes on: trunk/dns/libidn2/distinfo
___________________________________________________________________
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
Added: trunk/dns/libidn2/files/patch-src-idn2.c
===================================================================
--- trunk/dns/libidn2/files/patch-src-idn2.c	                        (rev 0)
+++ trunk/dns/libidn2/files/patch-src-idn2.c	2018-02-17 22:41:36 UTC (rev 23017)
@@ -0,0 +1,29 @@
+--- src/idn2.c.orig	2017-04-12 18:43:32 UTC
++++ src/idn2.c
+@@ -33,7 +33,7 @@
+ #include <unistring/localcharset.h>
+ 
+ /* Gnulib headers. */
+-#include "error.h"
++#include "err.h"
+ #include "gettext.h"
+ #define _(String) dgettext (PACKAGE, String)
+ #include "progname.h"
+@@ -176,7 +176,7 @@ process_input (char *readbuf, int flags)
+       free (output);
+     }
+   else
+-    error (EXIT_FAILURE, 0, "%s: %s", tag, idn2_strerror (rc));
++    errc (EXIT_FAILURE, 0, "%s: %s", tag, idn2_strerror (rc));
+ }
+ 
+ int
+@@ -237,7 +237,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: trunk/dns/libidn2/files/patch-src-idn2.c
___________________________________________________________________
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
Added: trunk/dns/libidn2/pkg-descr
===================================================================
--- trunk/dns/libidn2/pkg-descr	                        (rev 0)
+++ trunk/dns/libidn2/pkg-descr	2018-02-17 22:41:36 UTC (rev 23017)
@@ -0,0 +1,4 @@
+Libidn2 is an implementation of IDNA2008 internationalized domain names.
+
+WWW: https://www.gnu.org/software/libidn/#libidn2
+WWW: https://gitlab.com/libidn/libidn2


Property changes on: trunk/dns/libidn2/pkg-descr
___________________________________________________________________
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
Added: trunk/dns/libidn2/pkg-plist
===================================================================
--- trunk/dns/libidn2/pkg-plist	                        (rev 0)
+++ trunk/dns/libidn2/pkg-plist	2018-02-17 22:41:36 UTC (rev 23017)
@@ -0,0 +1,39 @@
+bin/idn2
+include/idn2.h
+lib/libidn2.a
+lib/libidn2.so
+lib/libidn2.so.0
+lib/libidn2.so.0.3.3
+libdata/pkgconfig/libidn2.pc
+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
+man/man3/idn2_to_ascii_4i.3.gz
+man/man3/idn2_to_ascii_4z.3.gz
+man/man3/idn2_to_ascii_8z.3.gz
+man/man3/idn2_to_ascii_lz.3.gz
+man/man3/idn2_to_unicode_44i.3.gz
+man/man3/idn2_to_unicode_4z4z.3.gz
+man/man3/idn2_to_unicode_8z4z.3.gz
+man/man3/idn2_to_unicode_8z8z.3.gz
+man/man3/idn2_to_unicode_8zlz.3.gz
+man/man3/idn2_to_unicode_lzlz.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/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


Property changes on: trunk/dns/libidn2/pkg-plist
___________________________________________________________________
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


More information about the Midnightbsd-cvs mailing list