From nobody Sat May 18 16:52:23 2024 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 4VhVHW6j4zz5L7GV; Sat, 18 May 2024 16:52:23 +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 4VhVHW31Slz4HZp; Sat, 18 May 2024 16:52:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716051143; 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=w5jQl0nwng3kuQeeyeanvsMVL9awMVGsSYKg61X1IYI=; b=sSWV7vav/pEaZQ1p5eIi+5Vh/3XPyL59xlfbV6mzJd+fZtyaYmTCdv8bP3oIKq42vbNCn4 6LPBmhiu2CIAl69pStxS1lBfTL7sXogzOCXTkn5a92HAseTeanoXxyOBG55L7CfAzLpq4/ OQSQuc4evgTi3SKrHSj9icIlLDJTUeE/3FXYQhYoeN0cCdQrf2fp72Nu0V26PRoWV9dNBB DJ4nqZM5dEfrbKQ/KvozDKhfYBz7o31hoHXeb3qtKaL6L/wrSKy0LS1bzHTIFqTYC8+pPK MkIFym+J4P9HGl7fi1vjtkn0uHaZH2BRmWrh6uBv3di707qh826Rs8RiD7a7xw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716051143; a=rsa-sha256; cv=none; b=g8Vnh6EgWdZFZVY7m4CZGe8f5rXiqmedY0WcOj5gMrqmnOrs2ZtjWZQzIxGqpxnkEvJ4kp Irqf6IT5u6Ayrvp3LSIiGzzkCLx+iHzWWlZG21tU4db0kpuN+83vSxhPKLX0z59nWsx0V0 hQkKAqyz2ahs3nakTnVLIkdcuyFwhF3ghz491l53icArV2xi4fq7+NidwK72zlTezb8uMt rBOmh8/Mp7oHrb+VzP4ESSLhpQ+nJyFpaJDf3C1Olx2bcTfhXdIwU+JUguBySptRU7CVso 1dVBvwuWcYZnQJuyJIvovFpgKSuYnXiLEdbo1taP2UV8V4O3lKZ9HuUsXT3WKw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716051143; 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=w5jQl0nwng3kuQeeyeanvsMVL9awMVGsSYKg61X1IYI=; b=xgAZwwv4Kcaj8aB6zGsKNysM7PwuYw/bKx6h8HxczzNfJZ3V683JeQPhq4RXHc/FumBt8u RuYZARbvJub9mrrLG783XCJY5rn1hM0eiiwA7BK8A6lD6stbTG2smSxrawl0kzUAzkTySn 2VORYHFyOYK69Ox1ExrjxkNThjkOAUD2UirbMulGi1u+ZhnlWrU49RVFQAEe0CB7Mwu3Up 89tbrER7uKoyQMEPTKy4E6rKja07UZOfgFNmf3tHBBN5oVhqulZNVKksvuyZXzADV0uQKw 4imhz46/eFkUJGacryfwzF9eSQA6eAC2a1evF5rFm3238RmRhjQrWbmykXTLiw== 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 4VhVHW2dC6zZVV; Sat, 18 May 2024 16:52:23 +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 44IGqNQV066561; Sat, 18 May 2024 16:52:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44IGqNEJ066535; Sat, 18 May 2024 16:52:23 GMT (envelope-from git) Date: Sat, 18 May 2024 16:52:23 GMT Message-Id: <202405181652.44IGqNEJ066535@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: cc8624c76262 - main - devel/buf: New port: CLI tool for working with Protocol Buffers 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cc8624c76262ca5323be102fe8bb09a12f36f720 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=cc8624c76262ca5323be102fe8bb09a12f36f720 commit cc8624c76262ca5323be102fe8bb09a12f36f720 Author: Yuri Victorovich AuthorDate: 2024-05-17 22:18:52 +0000 Commit: Yuri Victorovich CommitDate: 2024-05-18 16:52:18 +0000 devel/buf: New port: CLI tool for working with Protocol Buffers --- devel/Makefile | 1 + devel/buf/Makefile | 26 ++++++++++++++++++++++++++ devel/buf/distinfo | 5 +++++ devel/buf/pkg-descr | 9 +++++++++ 4 files changed, 41 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 0414d79f64ee..9291d7b87903 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -328,6 +328,7 @@ SUBDIR += bsdcflow SUBDIR += bsddialog SUBDIR += bsdowl + SUBDIR += buf SUBDIR += bugzilla44 SUBDIR += bugzilla50 SUBDIR += build diff --git a/devel/buf/Makefile b/devel/buf/Makefile new file mode 100644 index 000000000000..9c1e2fa99b25 --- /dev/null +++ b/devel/buf/Makefile @@ -0,0 +1,26 @@ +PORTNAME= buf +DISTVERSIONPREFIX= v +DISTVERSION= 1.32.0 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= CLI tool for working with Protocol Buffers +WWW= https://buf.build/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= jq:textproc/jq + +USES= go:modules + +GO_MODULE= github.com/bufbuild/buf +GO_TARGET= ./cmd/buf \ + ./cmd/protoc-gen-buf-breaking \ + ./cmd/protoc-gen-buf-lint + +PLIST_FILES= bin/buf \ + bin/protoc-gen-buf-breaking \ + bin/protoc-gen-buf-lint + +.include diff --git a/devel/buf/distinfo b/devel/buf/distinfo new file mode 100644 index 000000000000..d282207ae08b --- /dev/null +++ b/devel/buf/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1715983806 +SHA256 (go/devel_buf/buf-v1.32.0/v1.32.0.mod) = 7ffff26e114671de7a91308f5830ddaeeef8a4d68d7163fb48d1fd626e7f3a4b +SIZE (go/devel_buf/buf-v1.32.0/v1.32.0.mod) = 4181 +SHA256 (go/devel_buf/buf-v1.32.0/v1.32.0.zip) = 6bf42beee7cbc3644c10e31e11baffd0db19abcbf81f495df81f4c3ca4d77748 +SIZE (go/devel_buf/buf-v1.32.0/v1.32.0.zip) = 2850276 diff --git a/devel/buf/pkg-descr b/devel/buf/pkg-descr new file mode 100644 index 000000000000..5b4b6e3b1007 --- /dev/null +++ b/devel/buf/pkg-descr @@ -0,0 +1,9 @@ +The buf CLI is the tool for working with Protocol Buffers. It provides: +* A linter that enforces good API design choices and structure. +* A breaking change detector that enforces compatibility at the source code + or wire level. +* A generator that invokes your plugins based on configurable templates. +* A formatter that formats your Protobuf files in accordance with industry + standards. +* Integration with the Buf Schema Registry, including full dependency + management.