From nobody Tue Aug 2 23:07:22 2022 X-Original-To: ports@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 4Ly9ch1g3Cz4XqbG for ; Tue, 2 Aug 2022 23:07:32 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "prime.gushi.org", Issuer "RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ly9cf71ffz3MsS for ; Tue, 2 Aug 2022 23:07:30 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from smtpclient.apple ([149.20.66.196]) (authenticated bits=0) by prime.gushi.org (8.16.1/8.16.1) with ESMTPSA id 272N7OTT029702 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 2 Aug 2022 16:07:26 -0700 (PDT) (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 272N7OTT029702 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1659481647; bh=hP3CDohnq2gdzI8wRZZQAQt8MeZyKc210qgFlL9NFXY=; h=From:Subject:Date:Cc:To; z=From:=20Dan=20Mahoney=20|Subject:=20MegaCLI=20 port=20is=20ports-only=20--=20how=20would=20you=20deploy=20it?|Dat e:=20Tue,=202=20Aug=202022=2019:07:22=20-0400|Cc:=20samflanker@gma il.com|To:=20ports@freebsd.org; b=klE1uwZCnO7lFEtm7DAGVmxcpdy3hcx0HgKdQsOwuYbByfRCeu2UDszd4TR8dkG+K Xl67AuYM5f+XZsJy/V56COyaZg+DjojK0e7zqOyU2m1j5fPO5F28WXH7ST1BLbUD4E tWXOoXYGFcIck9zVko22/V/xXEO0nHd+xZhpOAb7jROh2t1PlGCKeX/8tCqZ2U9zH9 mlVTKr9LBMX9BAN3KXzcm3sGPM+dBojA2N66D9+9F57DJ9KMLtWWOOrGn2K/ArbPn5 tucWJ4yZtiovF42IXl2swpqAn2dXOMATpI99B9PulKB9Nkku8p6ra3fCE5397yUu88 qoJCvwlFFDJjw== X-Authentication-Warning: prime.gushi.org: Host [149.20.66.196] claimed to be smtpclient.apple From: Dan Mahoney Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: MegaCLI port is ports-only -- how would you deploy it? Message-Id: <1615CF76-EE45-4D11-8102-EA441E845E65@gushi.org> Date: Tue, 2 Aug 2022 19:07:22 -0400 Cc: samflanker@gmail.com To: ports@freebsd.org X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4Ly9cf71ffz3MsS X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gushi.org header.s=prime2014 header.b=klE1uwZC; dmarc=pass (policy=none) header.from=gushi.org; spf=pass (mx1.freebsd.org: domain of freebsd@gushi.org designates 2620:137:6000:10::142 as permitted sender) smtp.mailfrom=freebsd@gushi.org X-Spamd-Result: default: False [-5.20 / 15.00]; DWL_DNSWL_MED(-2.00)[gushi.org:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gushi.org,none]; MV_CASE(0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[2620:137:6000:10::142:from]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[gushi.org:s=prime2014]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; FREEMAIL_CC(0.00)[gmail.com]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[gushi.org:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hey there all, At the dayjob we have a fleet of Dell Poweredge servers that can use = either mptsas or mrsas -- if you use mptsas, you use mptutil (in base) = to check the state of the card. If you use mrsas, you need megacli, which is only in ports, and the port = hasn't translated to pkg probably because of license restrictions. ( = _LICENSE_RESTRICTED =3D delete-package delete-distfiles), but the = license listed is just "megacli". * We want to deploy a cron job to periodically check the raid status = (we're writing a wrapper, also having it check mfiutil, zpool, etc). * We do not want to install and manage a whole ports tree on every = machine in our fleet, just to install a raid utlity. Option A:=20 Make a local package somehow. The port just downloads a static binary, there's nothing to build here, = but we want to do this the "right" way. Is there some way to have pkg = deploy a single local package for this that will, for example, report = the right package ownership, without moving every other package to our = poudriere install (we're just using base packages, we keep poudriere = around for testing in case we need to hot-patch something). For what it's worth, we use puppet for config management, so pushing out = the static binary is not the worst answer, but it also feels "dirty". Option B:=20 Figure out how to fix the license. I have no idea what this would = involve. Option C:=20 Also, apparently MegaCLI is no longer maintained (replaced by StorCLI), = but there's no port for StorCLI, and...there are multiple raid-card = specific versions? Jeez. Feels even more dirty. = https://support.siliconmechanics.com/portal/en/kb/articles/storcli-for-fre= ebsd-and-other-operating-systems Ideas welcome? -Dan Mahoney=