From nobody Sat Nov 29 23:53:14 2025 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 4dJn6f6nvgz6JKpQ for ; Sat, 29 Nov 2025 23:53:14 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dJn6f5rzcz3nYX for ; Sat, 29 Nov 2025 23:53:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764460394; 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=vVllpUI+h9ibE/00+8vNUPuZ3zVyuTcJe02qprR+L/g=; b=PejodWxjGy1YjofSV9cA7Uz65V6p6jl+HSVRJOJS3WF667toSJ6KPPoezRWzPaBzwW1UeU tHHcL95Wt75wDjND6+zTl+HtPN6ZGz+V4fnWRtECho24D1mI/S7Fg+UHpUoOaWd1n4kmgq lpahLf2z3yvsrT68LmoGop0Kpjhr+tpfpJFS3xAcqOQAKeLtASilOObJQBi3DH/ng9d0Cc 3IIdJdEEENYMsq65iSPa1IMzrjPOiVZi3d4iWgs7SJf0saAzdB9hDlqE4OHEOWuBM600Aa fe36szkedNaPxU3uavNle+5tvjw6NE3+789KyymQY1STRHwOf1oKhm3JIsWSLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764460394; 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=vVllpUI+h9ibE/00+8vNUPuZ3zVyuTcJe02qprR+L/g=; b=H1ToMU9woJzSL1UseUA1t9TQE/bXLl8+2lICrrTsCG1B9omaO4gKjpY6SVA37w8XzYmTmT lpSpZW7IDgRjjnxStFzYMOHMPHwgskziqJknOzBKPMA8QqbUzXONnxTf51EdczslAgPaPU tqJ3voEIYRg0rN3qQmh/6p6jPf6cz4dEAQksFtxK1PNHCxFMjDeNtP1v2f0pPI3wTHua1m 2jmotuSzK9xPz/STIyfdXkUwcvI5+VJQcebfdTik+xx/s1eBUJ/y1gMLMb9EUl7IBMKSSu Z/YQHnS4ieSnj+dwp7VJyZkP6jFtDROThgH6NQrU/M+CDaQ1PqRES3aRzvNJnw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764460394; a=rsa-sha256; cv=none; b=gWm96sbgU0D92K7Lh5etTg8+yBMLdIdNg7gD5KvZxRqOroeB7Dox+gQpBkmzzfz406idNG EqyAd/U8aXdwPzAyK02qf9BYLrndavQ6lOQPBdKPtdVA3ZDh44cS+zz/qDTEsVLaNluRNk R1pgmZdL8F3zQKL/dhrHtnqgJ/2yFSmpx7HVSTuJX5Fihjre3QtiJBMEwd/D3lmTOZU+Wa rhpYZeCZKvrfLnS86T23tm9dZvFZhJfB+Ud+SoKBFoyTOYPSAiffNh/caTu2n4vvzB3AQB buqyLUJHaJTlRpYL67UKiX/73VAVgBa4+tu94vq73gm++hVdOKBxOyP8xw+y9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dJn6f5QxLz18JR for ; Sat, 29 Nov 2025 23:53:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id ce35 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 29 Nov 2025 23:53:14 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: fd4042a38f6d - main - devel/protovalidate: Add protovalidate 1.0.0 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fd4042a38f6de690818ee4e2ea794996f16e44ad Auto-Submitted: auto-generated Date: Sat, 29 Nov 2025 23:53:14 +0000 Message-Id: <692b876a.ce35.3dc857f6@gitrepo.freebsd.org> The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd4042a38f6de690818ee4e2ea794996f16e44ad commit fd4042a38f6de690818ee4e2ea794996f16e44ad Author: Po-Chuan Hsieh AuthorDate: 2025-11-29 23:20:20 +0000 Commit: Po-Chuan Hsieh CommitDate: 2025-11-29 23:20:20 +0000 devel/protovalidate: Add protovalidate 1.0.0 Protovalidate is the semantic validation library for Protobuf. It provides standard annotations to validate common rules on messages and fields, as well as the ability to use CEL to write custom rules. It's the next generation of protoc-gen-validate. With Protovalidate, you can annotate your Protobuf messages with both standard and custom validation rules. --- devel/Makefile | 1 + devel/protovalidate/Makefile | 23 +++++++++++++++++++++++ devel/protovalidate/distinfo | 5 +++++ devel/protovalidate/pkg-descr | 7 +++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7e17f3e7c079..6f6800a0bb8c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4353,6 +4353,7 @@ SUBDIR += protobuf3 SUBDIR += protoc-gen-go-grpc SUBDIR += prototool + SUBDIR += protovalidate SUBDIR += protozero SUBDIR += pructl SUBDIR += psimd diff --git a/devel/protovalidate/Makefile b/devel/protovalidate/Makefile new file mode 100644 index 000000000000..cb2203bdce04 --- /dev/null +++ b/devel/protovalidate/Makefile @@ -0,0 +1,23 @@ +PORTNAME= protovalidate +PORTVERSION= 1.0.0 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Protocol Buffer Validation +WWW= https://protovalidate.com/ \ + https://github.com/bufbuild/protovalidate + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/bufbuild/protovalidate/tools +GO_TARGET= ./protovalidate-conformance \ + ./protovalidate-migrate + +PLIST_FILES= bin/protovalidate-conformance \ + bin/protovalidate-migrate + +.include diff --git a/devel/protovalidate/distinfo b/devel/protovalidate/distinfo new file mode 100644 index 000000000000..7a2937cee089 --- /dev/null +++ b/devel/protovalidate/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1763853128 +SHA256 (go/devel_protovalidate/protovalidate-v1.0.0/v1.0.0.mod) = de03fc4bc393a8cd74ea73d495ccc424cfec2c67d2be1936379a7f684ddc9bb7 +SIZE (go/devel_protovalidate/protovalidate-v1.0.0/v1.0.0.mod) = 380 +SHA256 (go/devel_protovalidate/protovalidate-v1.0.0/v1.0.0.zip) = 163a1fefebfb8912c8887ae8228a1b0272cfef3ae1dffa63025dce6bdbc4ae1e +SIZE (go/devel_protovalidate/protovalidate-v1.0.0/v1.0.0.zip) = 333895 diff --git a/devel/protovalidate/pkg-descr b/devel/protovalidate/pkg-descr new file mode 100644 index 000000000000..fb8c8f5de16d --- /dev/null +++ b/devel/protovalidate/pkg-descr @@ -0,0 +1,7 @@ +Protovalidate is the semantic validation library for Protobuf. It provides +standard annotations to validate common rules on messages and fields, as well as +the ability to use CEL to write custom rules. It's the next generation of +protoc-gen-validate. + +With Protovalidate, you can annotate your Protobuf messages with both standard +and custom validation rules.