pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/net/erlang-idna



Sorry for this wrong manipulation. The commit message should be:

erlang-idna: Add version 6.1.1

erlang-idna is a pure Erlang IDNA implementation that follows the RFC5891. This addition is motivated by the fact it is a dependency for the last releases of erlang-xmpp.

Le 16/01/2021 à 00:20, Frédéric Fauberteau a écrit :
> Module Name:  pkgsrc
> Committed By: triaxx
> Date:         Fri Jan 15 23:20:36 UTC 2021
> 
> Added Files:
>       pkgsrc/net/erlang-idna: DESCR Makefile PLIST distinfo
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r0 -r1.1 pkgsrc/net/erlang-idna/DESCR \
>     pkgsrc/net/erlang-idna/Makefile pkgsrc/net/erlang-idna/PLIST \
>     pkgsrc/net/erlang-idna/distinfo
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 
> 
> Added files:
> 
> Index: pkgsrc/net/erlang-idna/DESCR
> diff -u /dev/null pkgsrc/net/erlang-idna/DESCR:1.1
> --- /dev/null Fri Jan 15 23:20:36 2021
> +++ pkgsrc/net/erlang-idna/DESCR      Fri Jan 15 23:20:36 2021
> @@ -0,0 +1,19 @@
> +A pure Erlang IDNA implementation that folllow the RFC5891.
> +  * support IDNA 2008 and IDNA 2003.
> +  * label validation:
> +      - check NFC: Label must be in Normalization Form C
> +      - check hyphen: The Unicode string MUST NOT contain "--" (two consecutive
> +        hyphens) in the third and fourth character positions and MUST NOT start
> +        or end with a "-" (hyphen).
> +      - Leading Combining Marks: The Unicode string MUST NOT begin with a
> +        combining mark or combining character (see The Unicode Standard,
> +        Section 2.11 Unicode for an exact definition).
> +      - Contextual Rules: The Unicode string MUST NOT contain any characters
> +        whose validity is context-dependent, unless the validity is positively
> +        confirmed by a contextual rule. To check this, each code point
> +        identified as CONTEXTJ or CONTEXTO in the Tables document RFC5892 MUST
> +        have a non-null rule. If such a code point is missing a rule, the label
> +        is invalid. If the rule exists but the result of applying the rule is
> +        negative or inconclusive, the proposed label is invalid.
> +      - check BIDI: label contains any characters from scripts that are written
> +        from right to left, it MUST meet the Bidi criteria rfc5893
> Index: pkgsrc/net/erlang-idna/Makefile
> diff -u /dev/null pkgsrc/net/erlang-idna/Makefile:1.1
> --- /dev/null Fri Jan 15 23:20:36 2021
> +++ pkgsrc/net/erlang-idna/Makefile   Fri Jan 15 23:20:36 2021
> @@ -0,0 +1,24 @@
> +# $NetBSD: Makefile,v 1.1 2021/01/15 23:20:36 triaxx Exp $
> +
> +DISTNAME=    idna-6.1.1
> +CATEGORIES=  net
> +MASTER_SITES=        ${MASTER_SITE_GITHUB:=benoitc/}
> +
> +MAINTAINER=  pkgsrc-users%NetBSD.org@localhost
> +HOMEPAGE=    https://github.com/benoitc/erlang-idna/
> +COMMENT=     Pure Erlang IDNA implementation following the RFC5891
> +LICENSE=     mit
> +
> +WRKSRC=              ${WRKDIR}/${PKGNAME_NOREV}
> +
> +REBAR=               ${PREFIX}/bin/rebar3
> +
> +do-build:
> +     cd ${WRKSRC} && ${REBAR} compile
> +
> +pre-install:
> +     ${MV} ${WRKSRC}/_build/default/lib/idna/ebin ${WRKSRC}
> +     ${RM} -rf ${WRKSRC}/_build
> +
> +.include "../../lang/erlang/module.mk"
> +.include "../../mk/bsd.pkg.mk"
> Index: pkgsrc/net/erlang-idna/PLIST
> diff -u /dev/null pkgsrc/net/erlang-idna/PLIST:1.1
> --- /dev/null Fri Jan 15 23:20:36 2021
> +++ pkgsrc/net/erlang-idna/PLIST      Fri Jan 15 23:20:36 2021
> @@ -0,0 +1,10 @@
> +@comment $NetBSD: PLIST,v 1.1 2021/01/15 23:20:36 triaxx Exp $
> +lib/erlang/lib/idna-${PKGVERSION}/ebin/idna.app
> +lib/erlang/lib/idna-${PKGVERSION}/ebin/idna.beam
> +lib/erlang/lib/idna-${PKGVERSION}/ebin/idna_bidi.beam
> +lib/erlang/lib/idna-${PKGVERSION}/ebin/idna_context.beam
> +lib/erlang/lib/idna-${PKGVERSION}/ebin/idna_data.beam
> +lib/erlang/lib/idna-${PKGVERSION}/ebin/idna_mapping.beam
> +lib/erlang/lib/idna-${PKGVERSION}/ebin/idna_table.beam
> +lib/erlang/lib/idna-${PKGVERSION}/ebin/idna_ucs.beam
> +lib/erlang/lib/idna-${PKGVERSION}/ebin/punycode.beam
> Index: pkgsrc/net/erlang-idna/distinfo
> diff -u /dev/null pkgsrc/net/erlang-idna/distinfo:1.1
> --- /dev/null Fri Jan 15 23:20:36 2021
> +++ pkgsrc/net/erlang-idna/distinfo   Fri Jan 15 23:20:36 2021
> @@ -0,0 +1,6 @@
> +$NetBSD: distinfo,v 1.1 2021/01/15 23:20:36 triaxx Exp $
> +
> +SHA1 (idna-6.1.1.tar.gz) = 7f6cf2de26f7d31804d68706997d706097677959
> +RMD160 (idna-6.1.1.tar.gz) = dfef45e9105aff43220a459dfcd87ec3608fb619
> +SHA512 (idna-6.1.1.tar.gz) = aa1c4321e1925c8eb6b9cbab61c0216ed2837027382a1a0c36de10959a428a52443f225f901d64740f8b8b3d755990651fa74594d13b36e4131a5d0223a58608
> +Size (idna-6.1.1.tar.gz) = 765828 bytes
> 



Home | Main Index | Thread Index | Old Index