From nobody Mon Jan 26 23:00:45 2026 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 4f0PCK2B5fz6PlwT for ; Mon, 26 Jan 2026 23:00:45 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f0PCK0lZlz3PjH for ; Mon, 26 Jan 2026 23:00:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769468445; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ERiOnyturC1FxX/ELRPpecwif2k+oKkTXemAiIMI7AA=; b=RCXgexaLhTc0qqonhkWmMG7ZIHoqFCzHZ+kxsoZkCCbwx3Y3tqBOSG5CqpkQUwGo/QlXWf dacoMt+CrED/Wcf1o1qydoy1Hw0ehoJOXtCicKyxdORZg93/lQpQY0M9dvQFzUFXlooMOE BrTGDZQIim3iboGeRBYBUMMHGcFBggLytFOqCpoNITtqmObwGF8K9CTLGT0uqalODJmlRL FLR7FThoH6Qh4FD5Oc3GEq+uqOc17C5OXDIuAsO324u6LQUJgsmQki/P4JXb4AKvZg3oVs gZ6rRU5kBvqF5CFIhYM5L5ImOiS0c/fSAdxco3EwpJNxD5ZkQLCv4OQ7yRZHUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769468445; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ERiOnyturC1FxX/ELRPpecwif2k+oKkTXemAiIMI7AA=; b=iUW+vVQ8hYZd68L8xcFClnZfDZnLqZWXhYLJRXLezsYGt5+4BxbWvp/JewRu9W3CvlviqS h7vBXEH4Gv5CmXIrE/sSOmKWgyaH6NyaMhdeVj/YSlFtUJZVoNTlJww3/qoDT/WxPEUE0d dgYMr2IIAODTdXwHiw9lSpx+nr4vn5XIPt3WYL8qn4WflZvc8uKo7ErHp3/a5vwvEXMukB AG966x6O8E4SJNsTbixm4xfPmGt2wUbQb4/VUg2UELew/fuMwQNKNJBnCVvC3nUem9pXel 5bWf/At9lGKInmZErrazBRUizD08Sn0zzcpxqVPvWGDkgbj1hxYhN8EI5GwQaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769468445; a=rsa-sha256; cv=none; b=S4qyRV0Kuqrtf01KOaBuYvJ3Hr3q8ld4152bmToPPaQk0xOB3ZUzoOi9sTk2UZx4iQeqQF j2SFtqN95H3dlEfuEX2HFvmMW0wvqsel+nQfpb6AczJtllvC/IAZ0uBAUbHOhSJbq+17hH x6Jm6dY9tND6XYs9TUIn8Rj6Yr8VRlq0DnmVRXTnamvvtyfon2w47pl6ZFXE3oXK+YnHrl 7s9aekV7r3cFtiekqsKN6uH+WmsxRS95ywYDYA+ZhleNXJK7hnlD4dcKImOrm2YYZHivNS JrNhVbGIxKCMPNUQykyDhsPthf6r+n6dvpRY4t2rbGEMcALmUa0qT7kBAK02Mw== 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 4f0PCK0Jw1zh5b for ; Mon, 26 Jan 2026 23:00:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3be96 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 26 Jan 2026 23:00:45 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Antranig Vartanian From: Robert Clausecker Subject: git: f3623c7218cc - main - sysutils/watchcat: watchcat combines good things about watch and cat 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f3623c7218cc17d09e5fb198368fde7e8e52f5f4 Auto-Submitted: auto-generated Date: Mon, 26 Jan 2026 23:00:45 +0000 Message-Id: <6977f21d.3be96.65653cdc@gitrepo.freebsd.org> The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3623c7218cc17d09e5fb198368fde7e8e52f5f4 commit f3623c7218cc17d09e5fb198368fde7e8e52f5f4 Author: Antranig Vartanian AuthorDate: 2026-01-26 17:10:47 +0000 Commit: Robert Clausecker CommitDate: 2026-01-26 22:59:50 +0000 sysutils/watchcat: watchcat combines good things about watch and cat Watchcat is a command-line tool that combines the functionalities of the 'watch' and 'cat' commands. It allows users to monitor the output of a command by executing it repeatedly at specified intervals or to watch a file for changes and display its contents when modified. Differential Revision: https://reviews.freebsd.org/D54863 --- sysutils/Makefile | 1 + sysutils/watchcat/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ sysutils/watchcat/distinfo | 9 +++++++++ sysutils/watchcat/pkg-descr | 4 ++++ 4 files changed, 52 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 1506e7963da0..5b36ce2a9758 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1588,6 +1588,7 @@ SUBDIR += waitforssh SUBDIR += walk SUBDIR += watchfolder + SUBDIR += watchcat SUBDIR += watchman SUBDIR += watchmen SUBDIR += waynergy diff --git a/sysutils/watchcat/Makefile b/sysutils/watchcat/Makefile new file mode 100644 index 000000000000..8baeb5558964 --- /dev/null +++ b/sysutils/watchcat/Makefile @@ -0,0 +1,38 @@ +PORTNAME= watchcat +DISTVERSION= g20260124 +CATEGORIES= sysutils + +MAINTAINER= antranigv@FreeBSD.am +COMMENT= Combines the functionality of watch and cat + +LICENSE= GPLv2 + +BUILD_DEPENDS= voc:lang/voc + +USE_GITHUB= yes +GH_ACCOUNT= norayr +GH_TAGNAME= f1134a59f6b581d8d500b2678407285a1ee6443b + +GH_TUPLE= norayr:pipes:ef0629a71853b145def2b8b27300d3d02b228739:pipes/dps/pipes \ + norayr:strutils:2a450a1ef94a431787e258e262d053377ac9275c:strutils/dps/strutils \ + norayr:time:8f4d8612518cd69f91e85fa224c85bfe5d506028:time/dps/time + +PLIST_FILES= bin/watchcat + +pre-build: + ${MKDIR} ${WRKSRC}/build/ + +do-build: + (cd ${WRKSRC}/build && \ + ${SETENVI} ${MAKE_ENV} voc \ + ../dps/time/src/time.Mod -s \ + ../dps/strutils/src/strTypes.Mod -s \ + ../dps/strutils/src/strUtils.Mod -s \ + ../dps/pipes/src/pipes.Mod -s \ + ../src/watchcat.Mod -M \ + ) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/build/watchcat ${STAGEDIR}${PREFIX}/bin/watchcat + +.include diff --git a/sysutils/watchcat/distinfo b/sysutils/watchcat/distinfo new file mode 100644 index 000000000000..09a568366d1e --- /dev/null +++ b/sysutils/watchcat/distinfo @@ -0,0 +1,9 @@ +TIMESTAMP = 1769447608 +SHA256 (norayr-watchcat-g20260124-f1134a59f6b581d8d500b2678407285a1ee6443b_GH0.tar.gz) = 631ad43c8035b40e1d134c9f906fcf7fa3ab54e3c05255466ca00dfd1cd2b41a +SIZE (norayr-watchcat-g20260124-f1134a59f6b581d8d500b2678407285a1ee6443b_GH0.tar.gz) = 10293 +SHA256 (norayr-pipes-ef0629a71853b145def2b8b27300d3d02b228739_GH0.tar.gz) = aa2c08fbd8b1d7ca0e9511a02e580e387747fdfd44ef876d67009fa7cef162e7 +SIZE (norayr-pipes-ef0629a71853b145def2b8b27300d3d02b228739_GH0.tar.gz) = 8339 +SHA256 (norayr-strutils-2a450a1ef94a431787e258e262d053377ac9275c_GH0.tar.gz) = 4a7d49daf14c707c3a7c257e98a4dd8372ab84a70efa9073c95142bce21a54a5 +SIZE (norayr-strutils-2a450a1ef94a431787e258e262d053377ac9275c_GH0.tar.gz) = 19396 +SHA256 (norayr-time-8f4d8612518cd69f91e85fa224c85bfe5d506028_GH0.tar.gz) = d3985485df35e03171feed80d75d3be4655498a91e2e413003780c7e77074c2e +SIZE (norayr-time-8f4d8612518cd69f91e85fa224c85bfe5d506028_GH0.tar.gz) = 7362 diff --git a/sysutils/watchcat/pkg-descr b/sysutils/watchcat/pkg-descr new file mode 100644 index 000000000000..55182c11b2da --- /dev/null +++ b/sysutils/watchcat/pkg-descr @@ -0,0 +1,4 @@ +Watchcat is a command-line tool that combines the functionalities of +the 'watch' and 'cat' commands. It allows users to monitor the output +of a command by executing it repeatedly at specified intervals or to +watch a file for changes and display its contents when modified.