git: 289ce0b3d7ea - 2026Q2 - security/rubygem-auth-sanitizer: Add rubygem-auth-sanitizer 0.1.2

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Tue, 30 Jun 2026 08:09:31 UTC
The branch 2026Q2 has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=289ce0b3d7ead73acf1285d7baec1892fdde717c

commit 289ce0b3d7ead73acf1285d7baec1892fdde717c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-21 14:45:47 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2026-06-30 05:43:18 +0000

    security/rubygem-auth-sanitizer: Add rubygem-auth-sanitizer 0.1.2
    
    auth-sanitizer provides small, dependency-light helpers for keeping OAuth and
    authentication secrets out of object inspection and log output.
    
    The gem is intentionally narrow in scope. It does not change HTTP requests,
    token objects, persistence, or application configuration for you. Instead, it
    gives host gems and applications two reusable redaction surfaces:
    - Auth::Sanitizer::FilteredAttributes redacts selected instance variables from
      #inspect.
    - Auth::Sanitizer::SanitizedLogger wraps an existing logger and redacts
      sensitive values from string log messages.
    
    (cherry picked from commit 4bbca23bd638147c61ce5fa1963286e8aad46644)
---
 security/Makefile                         |  1 +
 security/rubygem-auth-sanitizer/Makefile  | 18 ++++++++++++++++++
 security/rubygem-auth-sanitizer/distinfo  |  3 +++
 security/rubygem-auth-sanitizer/pkg-descr | 10 ++++++++++
 4 files changed, 32 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 2db303b88612..425b9f3fb9f1 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1144,6 +1144,7 @@
     SUBDIR += rubygem-android_key_attestation
     SUBDIR += rubygem-attr_encrypted
     SUBDIR += rubygem-attr_encrypted3
+    SUBDIR += rubygem-auth-sanitizer
     SUBDIR += rubygem-bcrypt
     SUBDIR += rubygem-bcrypt-ruby
     SUBDIR += rubygem-bcrypt_pbkdf
diff --git a/security/rubygem-auth-sanitizer/Makefile b/security/rubygem-auth-sanitizer/Makefile
new file mode 100644
index 000000000000..879e59193804
--- /dev/null
+++ b/security/rubygem-auth-sanitizer/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	auth-sanitizer
+PORTVERSION=	0.1.2
+CATEGORIES=	security rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Configurable KV output redaction. Sanitize/filter your secrets
+WWW=		https://github.com/ruby-oauth/auth-sanitizer
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	rubygem-version_gem>=1.1.9<2:devel/rubygem-version_gem
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-auth-sanitizer/distinfo b/security/rubygem-auth-sanitizer/distinfo
new file mode 100644
index 000000000000..4d2de8bac3b2
--- /dev/null
+++ b/security/rubygem-auth-sanitizer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1779222890
+SHA256 (rubygem/auth-sanitizer-0.1.2.gem) = 29f7638d74b2a19ff890008f1561165668a78969a4d90bc85e991128825a7c03
+SIZE (rubygem/auth-sanitizer-0.1.2.gem) = 36352
diff --git a/security/rubygem-auth-sanitizer/pkg-descr b/security/rubygem-auth-sanitizer/pkg-descr
new file mode 100644
index 000000000000..bfacd865f289
--- /dev/null
+++ b/security/rubygem-auth-sanitizer/pkg-descr
@@ -0,0 +1,10 @@
+auth-sanitizer provides small, dependency-light helpers for keeping OAuth and
+authentication secrets out of object inspection and log output.
+
+The gem is intentionally narrow in scope. It does not change HTTP requests,
+token objects, persistence, or application configuration for you. Instead, it
+gives host gems and applications two reusable redaction surfaces:
+- Auth::Sanitizer::FilteredAttributes redacts selected instance variables from
+  #inspect.
+- Auth::Sanitizer::SanitizedLogger wraps an existing logger and redacts
+  sensitive values from string log messages.