From nobody Tue Apr 18 06:39:20 2023 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 4Q0vQw6NyJz45qYL; Tue, 18 Apr 2023 06:39:20 +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 4Q0vQw4JSvz3QnN; Tue, 18 Apr 2023 06:39:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681799960; 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=W5DdQjFFp0In2m0CnXytTMV9iNWEarLazNm32vH0ppY=; b=KD6LQmp9GeRiWQaHib4gAgOPET5z2/uhVWoZfvvGFZ49hHATGMRe0WWyP2Yb368wRqNV0q mGQXyJybIMQuX+AVsDXK24NbUAjGlEAK7DRRDv2Rfn4CNUvorSeq2ne3RcARr6q5OCDyDB DrLpdgTrkYkrFJ9RfM40iuxlyUASGnqj0v7Xc28pM2RsxyAjTrSu9YGiSsDsGEfK5wW29i TOt5JWurwzb70B+afHvomz8VOA6H0ln+tBMRcMqVk55Hsm9+fB3/Sh9zjW+0wLlVtAutjN XUWesezm1LOxjRDk035f/GGxKsLc2n0SGsiOGP/ULTEz6qh0xrUAOktG4l+S7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681799960; 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=W5DdQjFFp0In2m0CnXytTMV9iNWEarLazNm32vH0ppY=; b=P8qslcEA6zkcn3zh+9SFFLHk9subeCMYtk9yddV/TDkuUfSIrjbIvRHuOQvU1iD9sa/EYe 4nyDbycWBhTH/BmPSFjnNE2SJnsaTpMj5ELG7aNAGO0dH4wr2WE8uEPUpV75hhnjFYP28i rk6/RwKzbKiidgXTb+1OFUcuLldvOOVHAXejlcaMaP6Cn/AXMEh63XkQB2HEQHcTGgfFDK zvtIp5zkn8rb2D0JZZ59G3SmOSR3bzSFA+Fkk7NeDXRiwyOhTwAdgjAConf0bRksnLGjBK fxNNvQpasfA24Wq+3fZ2jR5R2Q1gXiNkxlOaZS7IhHWhrFEXjTgmbIEaPHbIrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681799960; a=rsa-sha256; cv=none; b=K/xR4x9w5gbyQp221XxherE4sLBpvm2tgIZDq8xqGwPI0cbpxNefgvYBl+5xB3Oan9RCuC UAwrU5OCx5DLa8o0JOVN1z37jFrWMSOjUGB4THMtmVuKD+ulKfTeX8/FdPLCamb06f+/lG h9kJm1am6Qk177eARUhaBB4m1/AOWNCdxvT3C4qgj+B64HoGW7nfEaRNe8kJ1vjGa0K4vO QYG0nO2NBHPZII/LVLSr+8XJ9ZvBg7/Cl7i9xayjKgUR9SUO0+aHN0gmIZSbTjreO74KkL 1z8EFhMwYFHeNseybz7yAZfqujyZ0NLxh73FaBWsx0JmXwYROrkd2ZY9RS8jfg== 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 4Q0vQw1KXwz11Np; Tue, 18 Apr 2023 06:39:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33I6dKkX038335; Tue, 18 Apr 2023 06:39:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33I6dKiL038334; Tue, 18 Apr 2023 06:39:20 GMT (envelope-from git) Date: Tue, 18 Apr 2023 06:39:20 GMT Message-Id: <202304180639.33I6dKiL038334@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthew Seaman Subject: git: b5613f6f4f42 - main - sysutils/dynamic_motd: -- new port 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: matthew X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b5613f6f4f42d9fe4b28704055698b9038b93e81 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=b5613f6f4f42d9fe4b28704055698b9038b93e81 commit b5613f6f4f42d9fe4b28704055698b9038b93e81 Author: Matthew Seaman AuthorDate: 2023-04-18 06:36:55 +0000 Commit: Matthew Seaman CommitDate: 2023-04-18 06:38:58 +0000 sysutils/dynamic_motd: -- new port dynamic_motd is a drop-in replacement for generating messages of the day on FreeBSD 13.0 or later. During system startup, the file /var/run/motd is replaced with a fifo whose content is generated by a user-configurable shell script that is executed on each login. All other aspects of motd(5) are preserved. PR: 267107 Reported by: Steven Stallion --- sysutils/Makefile | 1 + sysutils/dynamic_motd/Makefile | 19 +++++++++++++++++++ sysutils/dynamic_motd/distinfo | 3 +++ sysutils/dynamic_motd/pkg-descr | 5 +++++ sysutils/dynamic_motd/pkg-message | 23 +++++++++++++++++++++++ sysutils/dynamic_motd/pkg-plist | 7 +++++++ 6 files changed, 58 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 34461c48677d..407a5ef30cf8 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -339,6 +339,7 @@ SUBDIR += dwatch-gource SUBDIR += dwatch-json SUBDIR += dwatch-pwsnoop + SUBDIR += dynamic_motd SUBDIR += e2fsprogs SUBDIR += e2fsprogs-core SUBDIR += e2tools diff --git a/sysutils/dynamic_motd/Makefile b/sysutils/dynamic_motd/Makefile new file mode 100644 index 000000000000..56cdae0f78b1 --- /dev/null +++ b/sysutils/dynamic_motd/Makefile @@ -0,0 +1,19 @@ +PORTNAME= dynamic_motd +DISTVERSIONPREFIX= v +DISTVERSION= 1.3 +CATEGORIES= sysutils + +MAINTAINER= sstallion@gmail.com +COMMENT= Dynamic /var/run/motd +WWW= https://github.com/sstallion/dynamic_motd + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +IGNORE_FreeBSD_12= requires FreeBSD 13.0 or later + +NO_ARCH= yes +USE_GITHUB= yes +GH_ACCOUNT= sstallion + +.include diff --git a/sysutils/dynamic_motd/distinfo b/sysutils/dynamic_motd/distinfo new file mode 100644 index 000000000000..7b32f8fb36e6 --- /dev/null +++ b/sysutils/dynamic_motd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1681758637 +SHA256 (sstallion-dynamic_motd-v1.3_GH0.tar.gz) = 4f000c16f881ac15761b3c878c4845f0cb4f67a6de5172b2562384ac88143505 +SIZE (sstallion-dynamic_motd-v1.3_GH0.tar.gz) = 192602 diff --git a/sysutils/dynamic_motd/pkg-descr b/sysutils/dynamic_motd/pkg-descr new file mode 100644 index 000000000000..b069d418c114 --- /dev/null +++ b/sysutils/dynamic_motd/pkg-descr @@ -0,0 +1,5 @@ +dynamic_motd is a drop-in replacement for generating messages of the day on +FreeBSD 13.0 or later. During system startup, the file /var/run/motd is +replaced with a fifo whose content is generated by a user-configurable shell +script that is executed on each login. All other aspects of motd(5) are +preserved. diff --git a/sysutils/dynamic_motd/pkg-message b/sysutils/dynamic_motd/pkg-message new file mode 100644 index 000000000000..21c84f031db5 --- /dev/null +++ b/sysutils/dynamic_motd/pkg-message @@ -0,0 +1,23 @@ +[ +{ type: install + message: <