From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Add libidn2 Date: Fri, 4 Nov 2016 11:28:39 -0400 Message-ID: <20161104152839.GA14769@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gatW/ieO32f1wygP" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2gQD-0006BP-Ue for guix-devel@gnu.org; Fri, 04 Nov 2016 11:28:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2gQA-0001AR-On for guix-devel@gnu.org; Fri, 04 Nov 2016 11:28:49 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33402) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c2gQA-00019s-Hq for guix-devel@gnu.org; Fri, 04 Nov 2016 11:28:46 -0400 Received: from localhost (c-76-124-102-142.hsd1.pa.comcast.net [76.124.102.142]) by mail.messagingengine.com (Postfix) with ESMTPA id 93D6EF29CC for ; Fri, 4 Nov 2016 11:28:45 -0400 (EDT) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --gatW/ieO32f1wygP Content-Type: multipart/mixed; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Libidn2 is a GNU internationalized domain name (IDN) processing library implementing the IDNA2008 specification (libidn implements IDNA2003). This library is ostensibly used by the most recent release of curl, although the curl maintainer has suggested distributors disable IDN support altogether for now: https://curl.haxx.se/mail/lib-2016-11/0033.html In any case, here is a package definition for the latest libidn2 release. --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-Add-libidn2.patch" Content-Transfer-Encoding: quoted-printable =46rom 537645e615a9c3b10c7882cfba1311f1283d1d0a Mon Sep 17 00:00:00 2001 =46rom: Leo Famulari Date: Fri, 4 Nov 2016 11:19:45 -0400 Subject: [PATCH] gnu: Add libidn2. * gnu/packages/libidn.scm (libidn2): New variable. --- gnu/packages/libidn.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/libidn.scm b/gnu/packages/libidn.scm index 432c1fe..141ad7a 100644 --- a/gnu/packages/libidn.scm +++ b/gnu/packages/libidn.scm @@ -59,3 +59,25 @@ names. It includes native C, C# and Java libraries.") (sha256 (base32 "068fjg2arlppjqqpzd714n1lf6gxkpac9v5yyvp1qwmv6nvam9s4"))))))) + +(define-public libidn2 + (package + (name "libidn2") + (version "0.11") + (source (origin + (method url-fetch) + (uri (string-append "ftp://alpha.gnu.org/gnu/libidn/libidn2-" + version ".tar.gz")) + (sha256 + (base32 + "1zxzhzx14q2b1xkx746pz4lawvqd8d055yy84n52ndwb4pf7nfax")))) + (build-system gnu-build-system) + (synopsis "Internationalized domain name library for IDNA2008") + (description "Libidn2 is an internationalized domain library implement= ing +the IDNA2008 specifications. Libidn2 is believed to be a complete IDNA20= 08 +implementation, but has yet to be as extensively used as the original Libi= dn +library.") + (home-page "https://www.gnu.org/software/libidn/#libidn2") + ;; The command-line tool 'idn2' is GPL3+, while the library is dual-li= censed + ;; GPL2+ or LGPL3+. + (license (list gpl2+ gpl3+ lgpl3+)))) --=20 2.10.2 --LZvS9be/3tNcYl/X-- --gatW/ieO32f1wygP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYHKkkAAoJECZG+jC6yn8IRp8QAOKHBWP9SNIf9IaxpVC+h1T7 5Qo+y1XXJ1ExhhKiUVyMwRbB+/D/Pv+MiZuRSynOn4ENDZU/BHm34db3AK5RlFce Lm2mkqzSdV3+2N8jW5z2Kyy1giB7H+iJFDvZ9ih7B7ZQggUUEO8mAs/+xX+ZqE2R wKn9Rcx5k/TaY+O/wpFZJv6zII116QwaHlXLzIcyDcmLjSQd2Ize/c+lPbpnUkjj hYt6Kyu1AXQCFAKLRV8beH1JoRGJHLIYQ1xq0Q47nwWkNGzjOmxTASU26B8t46Bc rt3kgpoAYJIO/ujljAd3E2DaEykwuns4tOFqkEXcgxkZj+n/bk0QSuHgfPd9Puvj +kF/QdTVi+r7zzWd2k6Ms2qdyqVsHNV80KCXM+LcJo81L+er2O90fGjAv+SxfahV xDVW4+IcKpI/L24bYIteP+LXF54rd58sJOR2byw7RkZXRbht0mnT/C8a18wAGBeU hif7c86wn6q5smGeg1gBWfzS/762CorqEQiEVZaLEIoy5Dcb1kKO0AAyUBoMq+gf HpTGMpVVlFStDZ8boMhExCpsPsgLojOJ/xErayKG7OqBpehEC+MT+ETVQfKR2ysv bPyrtdfxV0jOjkc/pWiXfUCoLBGcY3CenseRUf51m9c52EjobiQhpSbSQzaGyzWk szAUOEDA35HJ8ogxIfw6 =Nymr -----END PGP SIGNATURE----- --gatW/ieO32f1wygP--