From nobody Tue Aug 2 23:11:54 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 4Ly9jx4NNTz4Xqvp for ; Tue, 2 Aug 2022 23:12:05 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ly9jw4slpz3Nsv; Tue, 2 Aug 2022 23:12:04 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id ef8bbfd6; Tue, 2 Aug 2022 23:11:56 +0000 (UTC) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id c28f5b74 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 2 Aug 2022 23:11:56 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 (1.0) Subject: Re: MegaCLI port is ports-only -- how would you deploy it? From: Michael Gmelin In-Reply-To: <1615CF76-EE45-4D11-8102-EA441E845E65@gushi.org> Date: Wed, 3 Aug 2022 01:11:54 +0200 Cc: ports@freebsd.org, samflanker@gmail.com Message-Id: References: <1615CF76-EE45-4D11-8102-EA441E845E65@gushi.org> To: Dan Mahoney X-Mailer: iPhone Mail (19F77) X-Rspamd-Queue-Id: 4Ly9jw4slpz3Nsv X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 213.239.217.29 is neither permitted nor denied by domain of grembo@freebsd.org) smtp.mailfrom=grembo@freebsd.org X-Spamd-Result: default: False [-1.60 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[grembo]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[freebsd.org]; RCVD_TLS_LAST(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; FREEMAIL_CC(0.00)[freebsd.org,gmail.com] X-ThisMailContainsUnwantedMimeParts: N > On 3. Aug 2022, at 01:07, Dan Mahoney wrote: >=20 > =EF=BB=BFHey there all, >=20 > At the dayjob we have a fleet of Dell Poweredge servers that can use eithe= r mptsas or mrsas -- if you use mptsas, you use mptutil (in base) to check t= he state of the card. >=20 > If you use mrsas, you need megacli, which is only in ports, and the port h= asn't translated to pkg probably because of license restrictions. ( _LICENS= E_RESTRICTED =3D delete-package delete-distfiles), but the license listed is= just "megacli". >=20 > * We want to deploy a cron job to periodically check the raid status (we'r= e writing a wrapper, also having it check mfiutil, zpool, etc). >=20 > * We do not want to install and manage a whole ports tree on every machine= in our fleet, just to install a raid utlity. >=20 > Option A:=20 >=20 > Make a local package somehow. >=20 > The port just downloads a static binary, there's nothing to build here, bu= t 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 pack= age 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). >=20 > For what it's worth, we use puppet for config management, so pushing out t= he static binary is not the worst answer, but it also feels "dirty". >=20 > Option B:=20 >=20 > Figure out how to fix the license. I have no idea what this would involve= . >=20 > Option C:=20 >=20 > Also, apparently MegaCLI is no longer maintained (replaced by StorCLI), bu= t there's no port for StorCLI, and...there are multiple raid-card specific v= ersions? Jeez. >=20 > Feels even more dirty. >=20 > https://support.siliconmechanics.com/portal/en/kb/articles/storcli-for-fre= ebsd-and-other-operating-systems >=20 > Ideas welcome? Option D: Configure pkg to be multi-repo. Usually I wouldn=E2=80=99t recomme= nd this, but if all the second repo provides is just this package, it might b= e viable. -m >=20 > -Dan Mahoney