From nobody Sun Feb 13 19:44:04 2022 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 1788D19B032B; Sun, 13 Feb 2022 19:44:06 +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 4Jxd8N6r1Yz4pmp; Sun, 13 Feb 2022 19:44:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644781445; 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=19N4ckuXgx+HKRfYs9nKd3tgW0eb7PJ+bWIOP7QJW0k=; b=L9gARhpuGyVI+KX1rJeUOlktVK136sUZiEUVxuyo9o+4IReep84TMm77gTDdoatmoJnYY9 efBS8utgW0nXan0pYCcebLdalYq3H8dhD0dXyD5q7tjq3spde461jbG1+VXXbprEHboeuJ qagKFqdRjGQ+TvVhuroWwESEVHR2ICJ4yvDNwqLLmcDuoF5Yt0NX6nARquKaex+5571Tnf dzPhgL2wDCUiSJD6I4Yl34cyYcJgjvmTsFt6nmunFe1h8HkxNiL1Wt6wC6dbvT3D0T1kNC NCHMhUFpJ5CLM3gwyVyOB6mvmZ5NdO4FaUxdtpLR/nI3ExSEcpSr2uHUvIv35g== 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 93F2220DE2; Sun, 13 Feb 2022 19:44:04 +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 21DJi4hu008947; Sun, 13 Feb 2022 19:44:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21DJi4g4008946; Sun, 13 Feb 2022 19:44:04 GMT (envelope-from git) Date: Sun, 13 Feb 2022 19:44:04 GMT Message-Id: <202202131944.21DJi4g4008946@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 25e9280a0c8d - main - sysutils/fand: New port: PWM cooling fan control daemon 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: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 25e9280a0c8deee457d28b23eb8fb32c7aa19f1b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644781445; 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=19N4ckuXgx+HKRfYs9nKd3tgW0eb7PJ+bWIOP7QJW0k=; b=pkDg5im8SN8vP7fJwLel7UdkAUXG1O635Mf2urafAYsWI9pHUzIroN4F83E6efrDb5IK5q DjYUSFJ4KDvMQIdbgkjuBHiNHweKRsW7zKusXsfHAVMiMDFXFnBYk91XqDd+2r4Egglanc 8Y6OBCyg2TNuSdQQHVtWKnl3wLkY/ZssjFlIdR1g/RI1ixJFEWvTq4SqM7YuemSg8DC5S8 nlFqHD+xBs7LgVFz/RKQGV+0NaNYk3oysRdw1pHcXlAUXlMsc7rmJBfpHd5iz+jPs1kZx4 JzBlOXa+nYuRXOznTBOUqP9iAVmzQzQxkM+4X/0s1w3aOmrCVskJL9s9c5reOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644781445; a=rsa-sha256; cv=none; b=vi7s+O0I4sDVnU0tKW8TGf0YC2O38Xk02aPabbxnfNYeMOJSnEptTqvgszxE0KTpOdbqUh +LO2EzMts+SUSy4slJQuAUKY5QvpjSCzm4iVeXmFomanwFOG4jBySAKSzf9qUmorilZWCQ 6SLW7ZnkLOTxyoBbQJD6W3htk7GNx02qGSTUYSekoq2l+nba37dKynpbm5jzaKFlo9nOJJ UhYiWI4HFOP412WkoG8KENzNCiMuaOqgrD1p3eovwTuTg9VlftSkl0cW31kejnWKLX+cbu rkuH5AA7lpJEUMix1AMvrQp3Gn60sbm2ukqjVtfOhOzZ1CZdmwXhft8uIseVjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=25e9280a0c8deee457d28b23eb8fb32c7aa19f1b commit 25e9280a0c8deee457d28b23eb8fb32c7aa19f1b Author: Corey Hinshaw AuthorDate: 2022-02-13 19:14:27 +0000 Commit: Daniel Engberg CommitDate: 2022-02-13 19:43:32 +0000 sysutils/fand: New port: PWM cooling fan control daemon Simple daemon to control PWM (Pulse Width Modulation) cooling fans. fand was originally written for use on arm64 single board computers, but should work on any cooling fan driven by a pwmc(4) device. WWW: https://github.com/electrickite/fand PR: 261880 --- sysutils/Makefile | 1 + sysutils/fand/Makefile | 21 +++++++++++++++++++++ sysutils/fand/distinfo | 3 +++ sysutils/fand/files/patch-fand.rc.in | 10 ++++++++++ sysutils/fand/pkg-descr | 3 +++ 5 files changed, 38 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 87b13cdc8a3d..d6f04fec98ef 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -345,6 +345,7 @@ SUBDIR += f2 SUBDIR += f3 SUBDIR += facter + SUBDIR += fand SUBDIR += fanout SUBDIR += fatback SUBDIR += fcode-utils diff --git a/sysutils/fand/Makefile b/sysutils/fand/Makefile new file mode 100644 index 000000000000..e78aff2aa2a3 --- /dev/null +++ b/sysutils/fand/Makefile @@ -0,0 +1,21 @@ +PORTNAME= fand +DISTVERSION= 0.2.3 +CATEGORIES= sysutils + +MAINTAINER= corey@electrickite.org +COMMENT= PWM cooling fan control daemon + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= electrickite + +PLIST_FILES= sbin/${PORTNAME} \ + man/man8/${PORTNAME}.8.gz \ + etc/rc.d/${PORTNAME} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} + +.include diff --git a/sysutils/fand/distinfo b/sysutils/fand/distinfo new file mode 100644 index 000000000000..ec8810baaa8d --- /dev/null +++ b/sysutils/fand/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1644624555 +SHA256 (electrickite-fand-0.2.3_GH0.tar.gz) = d93d85a1825cfe507d45b19a8c5b5e0ec282ab14684a4dc383482f39086c9c39 +SIZE (electrickite-fand-0.2.3_GH0.tar.gz) = 6308 diff --git a/sysutils/fand/files/patch-fand.rc.in b/sysutils/fand/files/patch-fand.rc.in new file mode 100644 index 000000000000..f98d3aa37de4 --- /dev/null +++ b/sysutils/fand/files/patch-fand.rc.in @@ -0,0 +1,10 @@ +--- fand.rc.in.orig 2022-02-10 20:48:18 UTC ++++ fand.rc.in +@@ -1,5 +1,7 @@ + #!/bin/sh + ++# $FreeBSD$ ++# + # PROVIDE: fand + # REQUIRE: DAEMON devfs sysctl + # KEYWORD: nojail shutdown diff --git a/sysutils/fand/pkg-descr b/sysutils/fand/pkg-descr new file mode 100644 index 000000000000..f25c6e7da33f --- /dev/null +++ b/sysutils/fand/pkg-descr @@ -0,0 +1,3 @@ +PWM cooling fan control daemon. + +WWW: https://github.com/electrickite/fand