From owner-freebsd-ports@FreeBSD.ORG Thu Nov 23 19:17:15 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9F3F16A4AB for ; Thu, 23 Nov 2006 19:17:15 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6381243D58 for ; Thu, 23 Nov 2006 19:16:35 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id BEC301A3C19; Thu, 23 Nov 2006 11:17:11 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A443E51379; Thu, 23 Nov 2006 14:16:56 -0500 (EST) Date: Thu, 23 Nov 2006 14:16:56 -0500 From: Kris Kennaway To: "Eric P. Scott" Message-ID: <20061123191656.GB81608@xor.obsecurity.org> References: <200611231748.kANHmcYO015317@anna.ana.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MW5yreqqjyrRcusr" Content-Disposition: inline In-Reply-To: <200611231748.kANHmcYO015317@anna.ana.com> User-Agent: Mutt/1.4.2.2i Cc: ports@FreeBSD.org, Kris Kennaway Subject: Re: The truth about net-im/ymessenger X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2006 19:17:16 -0000 --MW5yreqqjyrRcusr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 23, 2006 at 09:48:38AM -0800, Eric P. Scott wrote: > >This is not enough; since it is a 4.x binary it is linked against 4.x > >versions of those libraries, and if you try and run the binary on a > >modern version of FreeBSD then it will fail, since those libraries are > >incompatible with their 4.x analogues. >=20 > I just want to make it clear we're talking about two different > binaries: Yep, and everything I said also applies to the 5.x binary when running on 6.x and above. It may even apply to running it on later 5.x releases (e.g. >=3D 5.3), if it's a binary built against an older version. > Would it be possible (hypothetically) to do something like this > in the Makefile? >=20 > DISTNAME=3D # set below >=20 > .if ${OSVERSION} < 500000 > DISTNAME=3D fbsd4.${PORTNAME} > .if ${OSVERSION} < 490102 > IGNORE=3D requires libmap functionality > .endif > .else > DISTNAME=3D fbsd5.${PORTNAME} > .if ${OSVERSION} >=3D 600000 > LIB_DEPENDS+=3D c.5:${PORTSDIR}/misc/compat5x > .endif > .endif >=20 > Is FreeBSD 5.5 / 5-STABLE considered "beyond hope" at this point? It's also a "legacy" branch although termination of support is not scheduled yet. FreeBSD 6.x is the active branch that is receiving most user attention and developer support, so a port that does not work on 6.x is doomed to irrelevance by the tide of history :-) If someone confirms that the 5.x binary still does actually work on 5.x, then a variation of your above could be added. The variation needed would be to keep it BROKEN on 6.0 and above, where neither version of the binary works. Kris --MW5yreqqjyrRcusr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFZfOoWry0BWjoQKURAtm8AKCI3a0AyQDe1gwAZlMflB3x2H9HFwCgwvHc n0wNpghQEJNzVEtufCryLMo= =aKAd -----END PGP SIGNATURE----- --MW5yreqqjyrRcusr--