Date: Sun, 25 Apr 2010 22:34:33 -0400 From: Wesley Shields <wxs@FreeBSD.org> To: Darren Pilgrim <freebsd@bitfreak.org> Cc: ports@freebsd.org Subject: Re: How to port something requiring different versions depending on OSVERSION? Message-ID: <20100426023433.GA12831@atarininja.org> In-Reply-To: <4BD4D568.5@bitfreak.org> References: <4BD4D568.5@bitfreak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 25, 2010 at 04:51:04PM -0700, Darren Pilgrim wrote: > I maintain the sysutils/3dm port. The port installs a binary-only > package provided by 3ware (now LSI). The binary provided is a 5.4-R, > static-linked binary which requires KSE. Because it's static-linked, > there is no legacy KSE support workaround. > > Yes, LSI is aware of the problem. > No, they haven't fixed it yet (they don't officially support 8.0). > No, I can't get source. > Yes, the port is currently marked BROKEN for RELENG_8 and later. > > Here's my dilemna: > > If I install the latest version of 3dm2, the port won't run on RELENG_8 > and later. If I install v2.01.09.004 (the last version that doesn't > require KSE), the port will run on all versions of FreeBSD but lack > proper support for current-model cards--the 9690 and 9750 series. > > Option 1: > > Detect the OS version, install the latest version if running <8.x and > install 2.01.09.004 if >=8.x. I can't find anything in the Porter's > Handbook that explicitly says NOT to do this. Wesley Shields (wxs) says > this "seems like a bad idea" without further qualification. The only > thing I could think of is the automated ports QA and packaging; however, > those are moot because LSI requires pre-download agreement to a license > which prohibits redistribution. That does eliminate a lot of my concern. I didn't really have a hard-line stance on this. It just struck me as the kind of thing you want would to do as a last resort only. Is there any way that libmap.conf can help here? -- WXS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100426023433.GA12831>