From nobody Thu Oct 9 22:25:03 2025 X-Original-To: dev-commits-ports-main@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 4cjPZS06RVz6CF1c; Thu, 09 Oct 2025 22:25:04 +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 4cjPZR6lCwz3pW7; Thu, 09 Oct 2025 22:25:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760048703; 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=x/5ALTlf3u5rFpncf3mH0LJISj4Fb5WKLrf3Cjpebyw=; b=hUpN4GHTGU/X+rzf+LKVDJFD8T5CR8EYVBFJhBOiIR+JU3fiUXSzbSaxJ38RH7GaUo5Mc1 gcnQJ/hSyTyvCpCVvOj256hDvGzMiFHj9+3AmdzA9qk64+7k4cJTc79B6jlJCo9BFLQijg juiny3cdkdtswVwuJqZzBcihk3OgkgO/1ZCk4MXU5WVCNniHBM6wK5h5jWDajpmkicTUxX A2nMPfIYQPSvucXgg/Z1Jd3C6IKh6yr/uSW8w2MiXynzJNLzV3SERhXHyh634WjatUBn0+ ZltTCMmIfm56pcrbGzZKoP/3NMSIzry29z0kQ8gFlg+tBKn1q0tXyhND5CSh3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760048703; 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=x/5ALTlf3u5rFpncf3mH0LJISj4Fb5WKLrf3Cjpebyw=; b=LAT9jBWNd/gVAvcHIo75bG3m5J/mft2+By9KHsaJfCaD/nz7R29gxjM1soviPIt9WywW9n TAD3wmzRAoK7ef1xibttN2ZhrdN5bLgLe9Ona5UkWiP1cWLAA+JQooMVsei+dugufVr4XN UZyzeVkFh4lIhwEuhvjI0PYoW8IBlr3HhaZYixKzhTwhs7FgjxlegRkZb1nEeVBqoJHiiV luj0Y322dorEfhPiMFIcbE8p4co/GWbwrp+334sKTfKhRpKqY+28Eiatb4UFqgSpZ+b5sw a8inB9Rew+oJ+2XTYhGgd5fA2b3pMMwFkRyIOnnIqnvmMnKPXJuPpg065k328g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760048703; a=rsa-sha256; cv=none; b=xrRTGkH1jMQOqY46fhi9n+hEtwyc4RHoiqcpV8/pKGDGIcmDa69rwuqOVBiLz9ZphFf7gk NsQ615Tac57YoldxjS+MUecRI/s4JyN0C5JWQLeO4gRsYffxnXF89WlWdhjTDjramniyxH REBV+GM5iD/J7k3g0xrYQX1f/Fg6u1wOpALslGDIYsJFITbPXn9yiZ7Soc5iEPcu8Veg4Q Qrs97wUnaImuXlEwgsn6mMwzhagXC6jztXOPA9+AS7+N9IuwIjfwEkiFgLTT+Ct2b9cbgl 16mTKu/NCLYgCzZueyI4I07T4FlIc+16VrS42Ps2I/LB4TKtoVMrvxWt3AcMsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cjPZR61GMzd0b; Thu, 09 Oct 2025 22:25:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 599MP35A084241; Thu, 9 Oct 2025 22:25:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 599MP3Zs084238; Thu, 9 Oct 2025 22:25:03 GMT (envelope-from git) Date: Thu, 9 Oct 2025 22:25:03 GMT Message-Id: <202510092225.599MP3Zs084238@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?=C3=84lven?= Subject: git: 997c58dc7b54 - main - devel/oq: [NEW PORT] A terminal OpenAPI Spec viewer List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: alven X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 997c58dc7b54a766b352d4d8d8db82b31e460a22 Auto-Submitted: auto-generated The branch main has been updated by alven: URL: https://cgit.FreeBSD.org/ports/commit/?id=997c58dc7b54a766b352d4d8d8db82b31e460a22 commit 997c58dc7b54a766b352d4d8d8db82b31e460a22 Author: Al Hoang AuthorDate: 2025-10-01 18:59:19 +0000 Commit: Älven CommitDate: 2025-10-09 22:22:15 +0000 devel/oq: [NEW PORT] A terminal OpenAPI Spec viewer PR: 289944 Approved by: yuri@ (Mentor) --- devel/Makefile | 1 + devel/oq/Makefile | 26 ++++++++++++++++++++++++++ devel/oq/distinfo | 5 +++++ devel/oq/pkg-descr | 11 +++++++++++ 4 files changed, 43 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4d037fd75cc2..f522ded40728 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1844,6 +1844,7 @@ SUBDIR += openocd-devel SUBDIR += opentelemetry-cpp SUBDIR += opentelemetry-proto + SUBDIR += oq SUBDIR += orc SUBDIR += orcania SUBDIR += osc diff --git a/devel/oq/Makefile b/devel/oq/Makefile new file mode 100644 index 000000000000..ca451458c1c0 --- /dev/null +++ b/devel/oq/Makefile @@ -0,0 +1,26 @@ +PORTNAME= oq +DISTVERSIONPREFIX= v +DISTVERSION= 0.0.20 +CATEGORIES= devel + +MAINTAINER= hoanga@gmail.com +COMMENT= Terminal OpenAPI Spec viewer +WWW= https://github.com/plutov/oq + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:1.25,modules +GO_MODULE= github.com/plutov/oq + +PLIST_FILES= bin/${PORTNAME} +PORTEXAMPLES= * + +OPTIONS_DEFINE= EXAMPLES + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} + +.include diff --git a/devel/oq/distinfo b/devel/oq/distinfo new file mode 100644 index 000000000000..1f47e1841b1e --- /dev/null +++ b/devel/oq/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1760026734 +SHA256 (go/devel_oq/oq-v0.0.20/v0.0.20.mod) = 96631ba5496f9e8769763e7fb030778e2bc914f55bdb871d43503f7a9269a1b9 +SIZE (go/devel_oq/oq-v0.0.20/v0.0.20.mod) = 1411 +SHA256 (go/devel_oq/oq-v0.0.20/v0.0.20.zip) = d840d66196eb1d238991321ed9d11cfe674a17ef724a0e8561481fa72e4d5a71 +SIZE (go/devel_oq/oq-v0.0.20/v0.0.20.zip) = 920875 diff --git a/devel/oq/pkg-descr b/devel/oq/pkg-descr new file mode 100644 index 000000000000..dff604781ebe --- /dev/null +++ b/devel/oq/pkg-descr @@ -0,0 +1,11 @@ +Terminal OpenAPI Spec (OAS) viewer + +* Keyboard Shortcuts: + + Press `?` to see the help screen with all available keyboard shortcuts. + +* OpenAPI support: + + oq supports all 3.* OpenAPI specification versions: 3.0, 3.1 and 3.2. + + Both JSON and YAML formats are supported.