From nobody Sun Nov 05 21:32:10 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SNnkL71zHz50Y7H; Sun, 5 Nov 2023 21:32:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SNnkL6YbVz4Wr0; Sun, 5 Nov 2023 21:32:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699219930; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=e6lRe2o1ov0vDtlVpRYQAGi9a9t/HUeAyEU4g7VdExo=; b=TxibS836Ukup52ZiGEWBVTK4o5Uq0VqibhoedgJO499PvgCB8llI+Hl0ZZsC/6oTlZhS5b 68DtP6/s1ZKjZxPOGKc85UDVEiNalTqa33QJS6XNyxoZnqoDyyRP+zE06LlHeqbltRedBE VYB3+UlOW2M9dIdbJ4BBP6QDalZ6b2wku1aEpi+EmRj+u3PlJETBOBOw0QG8sXYHeSpx7V qtrgCM67h9UQ3epff8p6teZntdlDtYNl9isDclgPkv8cskY21cVU5EkF4nJF4RlnaT8svy +kK+fr+TYJACQaEJIGrTUM+oCvF/3UQ1vdSk/st33fYW5Jy4Avmjj/osMxSpug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699219930; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=e6lRe2o1ov0vDtlVpRYQAGi9a9t/HUeAyEU4g7VdExo=; b=b/anp68xrihMk4PADg8ckJQk9DZSw5xssUKUsroxWa7fSCXS6pkBhJV+iV2g32CFhPyPth 92er+k27oi32Vouo1PHB0inLstJyVQnC/BPXUfTVJKaBYKz6Tm0UTdkUCLZdH9mQBYJPtv e1p1NqqqUdPi9c879XDMjdxZLn6n2ENfP0QTlyDWOgh/KVrZxkK00mtQBzo4gjERj91rm5 cJHn4LW57dMaUXHITxxzvR82R7WL6F0fctjFGPnuW/1dvUivr/mInO1rXWYqVBPiJVLT6q HBGnWH7jus8XtPviNGkROcalhr+hAHirtgc34+6QCy4V4sfjq0n/bEE+eDAZjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699219930; a=rsa-sha256; cv=none; b=p2TclQFA3T0QopkMAZ+e6VHnxIG0ZO73DtatC4M3LqjDl0fgXJG6VuzsfiTjNelQ1oD473 hLiWOVGIz3C0fstRIUxSvOc51qzVVGGjYLjwIV7Qq4IiWX4ZTiwCbksyhJ/J1Cx+175AhP YAI2CYBB0O9M3IcASP+lFke4XxGf/0HMfYVoalTuNVbztY5XVMZAk9+TfK7PLkyxumF0nh iFMLaxq6ZHinSb3VGntlgfNYhWe85Hq4ePFQXkt09Nw1qltuvbCQM9fINvH9XKZ6+TGzeg jKd8KxTE537pNfxYdU4W1YqrIoGq0rzz7h0sWP8JNWpQpgjNc8a7e5y/G76QUA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SNnkL5dSSzhRy; Sun, 5 Nov 2023 21:32:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A5LWABl038041; Sun, 5 Nov 2023 21:32:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A5LWAMp038038; Sun, 5 Nov 2023 21:32:10 GMT (envelope-from git) Date: Sun, 5 Nov 2023 21:32:10 GMT Message-Id: <202311052132.3A5LWAMp038038@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: 3a114f05a3f1 - main - sysutils/uniutils: upgrade to 2.28 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3a114f05a3f15ebfa82e48705710f23d8450961b Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a114f05a3f15ebfa82e48705710f23d8450961b commit 3a114f05a3f15ebfa82e48705710f23d8450961b Author: Thierry Thomas AuthorDate: 2023-11-05 21:29:02 +0000 Commit: Thierry Thomas CommitDate: 2023-11-05 21:31:28 +0000 sysutils/uniutils: upgrade to 2.28 This release adds Unisurrogate, a utility that computes the UTF-16 surrogate decomposition of characters outside the BMP. --- sysutils/uniutils/Makefile | 9 ++++----- sysutils/uniutils/distinfo | 5 +++-- sysutils/uniutils/files/patch-unifuzz.c | 6 +++--- sysutils/uniutils/files/patch-unisurrogate.c | 8 ++++++++ sysutils/uniutils/pkg-descr | 5 ++++- sysutils/uniutils/pkg-plist | 2 ++ 6 files changed, 24 insertions(+), 11 deletions(-) diff --git a/sysutils/uniutils/Makefile b/sysutils/uniutils/Makefile index a83ad515d24e..757a7d24628e 100644 --- a/sysutils/uniutils/Makefile +++ b/sysutils/uniutils/Makefile @@ -1,6 +1,5 @@ PORTNAME= uniutils -PORTVERSION= 2.27 -PORTREVISION= 2 +PORTVERSION= 2.28 CATEGORIES= sysutils textproc MASTER_SITES= http://billposer.org/Software/Downloads/ @@ -14,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ascii2binary:converters/ascii2binary GNU_CONFIGURE= yes -USES= gettext localbase +USES= gettext localbase tar:bz2 LIBS+= -lintl @@ -25,8 +24,8 @@ PORTDOCS= AUTHORS NEWS README OPTIONS_DEFINE= DOCS EXAMPLES pre-configure: - @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|TestData|${EXAMPLESDIR}|' ${WRKSRC}/README + ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} -e 's|TestData|${EXAMPLESDIR}|' ${WRKSRC}/README do-test: (cd ${WRKSRC} && \ diff --git a/sysutils/uniutils/distinfo b/sysutils/uniutils/distinfo index 05d54cee5ae4..e9156033f78f 100644 --- a/sysutils/uniutils/distinfo +++ b/sysutils/uniutils/distinfo @@ -1,2 +1,3 @@ -SHA256 (uniutils-2.27.tar.gz) = c662a9215a3a67aae60510f679135d479dbddaf90f5c85a3c5bab1c89da61596 -SIZE (uniutils-2.27.tar.gz) = 274303 +TIMESTAMP = 1699218799 +SHA256 (uniutils-2.28.tar.bz2) = d67bbc814e7ae8ccb1afc1e9081c6cbcd52510748c20ba1322caff2f9a5d917c +SIZE (uniutils-2.28.tar.bz2) = 262845 diff --git a/sysutils/uniutils/files/patch-unifuzz.c b/sysutils/uniutils/files/patch-unifuzz.c index 1cbf01b5fab0..f054ceb3ceb2 100644 --- a/sysutils/uniutils/files/patch-unifuzz.c +++ b/sysutils/uniutils/files/patch-unifuzz.c @@ -1,6 +1,6 @@ ---- unifuzz.c.orig 2008-04-04 06:30:58.000000000 +0200 -+++ unifuzz.c 2013-09-05 09:50:49.000000000 +0200 -@@ -97,7 +97,7 @@ +--- unifuzz.c.orig 2020-11-20 08:28:53 UTC ++++ unifuzz.c +@@ -97,7 +97,7 @@ EmitBadUTF8 () { } /* Emit the middle character from each range */ diff --git a/sysutils/uniutils/files/patch-unisurrogate.c b/sysutils/uniutils/files/patch-unisurrogate.c new file mode 100644 index 000000000000..b3b9a231ebeb --- /dev/null +++ b/sysutils/uniutils/files/patch-unisurrogate.c @@ -0,0 +1,8 @@ +--- unisurrogate.c.orig 2020-11-20 08:28:53 UTC ++++ unisurrogate.c +@@ -1,4 +1,5 @@ + #include ++#include + #include + #include + #include "config.h" diff --git a/sysutils/uniutils/pkg-descr b/sysutils/uniutils/pkg-descr index 40f75ea92f4f..56185f565aa9 100644 --- a/sysutils/uniutils/pkg-descr +++ b/sysutils/uniutils/pkg-descr @@ -1,4 +1,4 @@ -Uniutils consists of five programs for finding out what is in a Unicode file. +Uniutils consists of six programs for finding out what is in a Unicode file. They are useful when working with Unicode files when one doesn't know the writing system, doesn't have the necessary font, needs to inspect invisible characters, needs to find out whether characters have been combined or in what @@ -19,3 +19,6 @@ determines and explains the validity of a sequence of bytes as a UTF8 encoding. Unirev is a filter that reverses UTF-8 strings character-by-character (as opposed to byte-by-byte). + +Unisurrogate takes a codepoint on the command line and, if it falls outside the +BMP, reports its surrogate decomposition. diff --git a/sysutils/uniutils/pkg-plist b/sysutils/uniutils/pkg-plist index 408f041f3228..63df5e3cf5d4 100644 --- a/sysutils/uniutils/pkg-plist +++ b/sysutils/uniutils/pkg-plist @@ -4,6 +4,7 @@ bin/unifuzz bin/unihist bin/uniname bin/unireverse +bin/unisurrogate bin/utf8lookup man/man1/ExplicateUTF8.1.gz man/man1/unidesc.1.gz @@ -11,6 +12,7 @@ man/man1/unifuzz.1.gz man/man1/unihist.1.gz man/man1/uniname.1.gz man/man1/unireverse.1.gz +man/man1/unisurrogate.1.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test1.ann %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test1.u %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Test2.ann