Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2026 05:08:27 +0000
From:      =?utf-8?Q?Jes=C3=BAs?= Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 47aaf92081c3 - main - security/py-unicode-show: New port: Detect and annotate suspicious Unicode characters in text or files
Message-ID:  <699fd54b.3aaa3.44dce069@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by dtxdf:

URL: https://cgit.FreeBSD.org/ports/commit/?id=47aaf92081c35b01878a56131b0de3ca58058f8c

commit 47aaf92081c35b01878a56131b0de3ca58058f8c
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2026-02-26 05:04:05 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2026-02-26 05:08:18 +0000

    security/py-unicode-show: New port: Detect and annotate suspicious Unicode characters in text or files
    
    unicode-show is a utility that reads text input (from standard input
    or files) and highlights suspicious Unicode characters, such as
    those outside the safe ASCII range. This tool is useful for identifying
    potentially malicious or misleading Unicode characters in source
    code, logs, or user input.
    
    WWW: https://www.kicksecure.com/wiki/Unicode-show
---
 security/Makefile                  |  1 +
 security/py-unicode-show/Makefile  | 40 ++++++++++++++++++++++++++++++++++++++
 security/py-unicode-show/distinfo  |  3 +++
 security/py-unicode-show/pkg-descr |  5 +++++
 security/py-unicode-show/pkg-plist | 22 +++++++++++++++++++++
 5 files changed, 71 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 776733ebefcd..454303370b13 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1097,6 +1097,7 @@
     SUBDIR += py-tuf
     SUBDIR += py-txtorcon
     SUBDIR += py-uhashring
+    SUBDIR += py-unicode-show
     SUBDIR += py-vici
     SUBDIR += py-virustotal-api
     SUBDIR += py-volatility3
diff --git a/security/py-unicode-show/Makefile b/security/py-unicode-show/Makefile
new file mode 100644
index 000000000000..27a3fa56bd35
--- /dev/null
+++ b/security/py-unicode-show/Makefile
@@ -0,0 +1,40 @@
+PORTNAME=	unicode-show
+DISTVERSION=	48.5-1
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	dtxdf@FreeBSD.org
+COMMENT=	Detect and annotate suspicious Unicode characters in text or files
+WWW=		https://www.kicksecure.com/wiki/Unicode-show
+
+LICENSE=	AGPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		python:3.12+ shebangfix
+USE_GITHUB=	yes
+GH_ACCOUNT=	Kicksecure
+GH_PROJECT=	helper-scripts
+
+SHEBANG_FILES=	usr/bin/unicode-show
+
+NO_ARCH=	yes
+
+do-build:
+.for m in unicode_show stdisplay
+	@${RM} -r ${WRKSRC}/usr/lib/python3/dist-packages/${m}/tests
+	@${RM} ${WRKSRC}/usr/lib/python3/dist-packages/${m}/py.typed
+	@${PYTHON_CMD} -OO ${PYTHON_LIBDIR}/compileall.py \
+		-d ${PYTHON_SITELIBDIR} \
+		-f ${WRKSRC}/usr/lib/python3/dist-packages/${m}
+.endfor
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/unicode-show ${STAGEDIR}${PREFIX}/bin/unicode-show
+.for m in unicode_show stdisplay
+	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${m}
+	@cd ${WRKSRC}/usr/lib/python3/dist-packages/${m} && \
+		${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/${m}
+.endfor
+	${INSTALL_MAN} ${WRKSRC}/auto-generated-man-pages/unicode-show.1 ${STAGEDIR}${PREFIX}/share/man/man1/unicode-show.1
+
+.include <bsd.port.mk>
diff --git a/security/py-unicode-show/distinfo b/security/py-unicode-show/distinfo
new file mode 100644
index 000000000000..c5e44112d327
--- /dev/null
+++ b/security/py-unicode-show/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1772081009
+SHA256 (Kicksecure-helper-scripts-48.5-1_GH0.tar.gz) = 7d9d3dc91c2b95896e4a29ef54b7d10935da12d238f6dea49156fc57dad605d1
+SIZE (Kicksecure-helper-scripts-48.5-1_GH0.tar.gz) = 326909
diff --git a/security/py-unicode-show/pkg-descr b/security/py-unicode-show/pkg-descr
new file mode 100644
index 000000000000..87eaffc511f0
--- /dev/null
+++ b/security/py-unicode-show/pkg-descr
@@ -0,0 +1,5 @@
+unicode-show is a utility that reads text input (from standard input
+or files) and highlights suspicious Unicode characters, such as
+those outside the safe ASCII range. This tool is useful for identifying
+potentially malicious or misleading Unicode characters in source
+code, logs, or user input.
diff --git a/security/py-unicode-show/pkg-plist b/security/py-unicode-show/pkg-plist
new file mode 100644
index 000000000000..aba1a69b8529
--- /dev/null
+++ b/security/py-unicode-show/pkg-plist
@@ -0,0 +1,22 @@
+bin/unicode-show
+%%PYTHON_SITELIBDIR%%/stdisplay/__init__.py
+%%PYTHON_SITELIBDIR%%/stdisplay/__pycache__/__init__%%PYTHON_TAG%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/stdisplay/__pycache__/stcat%%PYTHON_TAG%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/stdisplay/__pycache__/stcatn%%PYTHON_TAG%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/stdisplay/__pycache__/stdisplay%%PYTHON_TAG%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/stdisplay/__pycache__/stecho%%PYTHON_TAG%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/stdisplay/__pycache__/stprint%%PYTHON_TAG%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/stdisplay/__pycache__/stsponge%%PYTHON_TAG%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/stdisplay/__pycache__/sttee%%PYTHON_TAG%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/stdisplay/stcat.py
+%%PYTHON_SITELIBDIR%%/stdisplay/stcatn.py
+%%PYTHON_SITELIBDIR%%/stdisplay/stdisplay.py
+%%PYTHON_SITELIBDIR%%/stdisplay/stecho.py
+%%PYTHON_SITELIBDIR%%/stdisplay/stprint.py
+%%PYTHON_SITELIBDIR%%/stdisplay/stsponge.py
+%%PYTHON_SITELIBDIR%%/stdisplay/sttee.py
+%%PYTHON_SITELIBDIR%%/unicode_show/__init__.py
+%%PYTHON_SITELIBDIR%%/unicode_show/__pycache__/__init__%%PYTHON_TAG%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/unicode_show/__pycache__/unicode_show%%PYTHON_TAG%%.opt-2.pyc
+%%PYTHON_SITELIBDIR%%/unicode_show/unicode_show.py
+share/man/man1/unicode-show.1.gz


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699fd54b.3aaa3.44dce069>