Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2006 09:48:38 -0800 (PST)
From:      eps+pbug0611@ana.com (Eric P. Scott)
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports@FreeBSD.org
Subject:   Re: The truth about net-im/ymessenger
Message-ID:  <200611231748.kANHmcYO015317@anna.ana.com>

next in thread | raw e-mail | index | archive | help
>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.

I just want to make it clear we're talking about two different
binaries:

------- FreeBSD 4.x
MD5 (fbsd4.ymessenger.tgz) = 0b9da16fc58cf6072961f1fe197b1e41
SHA256 (fbsd4.ymessenger.tgz) = 63e284c04c19625cec074794684dbb6a9eff05c9b811f41e58172caaa685ed9e
SIZE (fbsd4.ymessenger.tgz) = 933244

ymessenger.bin:
	libgtkhtml.so.0 [included in tarball]
	libgdk_pixbuf.so.2
	libgtk12.so.2
	libgdk12.so.2
	libgmodule12.so.3
	libglib12.so.3
	libintl.so.4 [binary patched to reference libintl.so.6 instead]
	libXext.so.6
	libX11.so.6
	libm.so.2
	libXmu.so.6
	libc.so.4
	libXThrStub.so.6
	libXt.so.6
	libSM.so.6
	libICE.so.6

libgtkhtml.so.0:
	libc.so.4

------- FreeBSD 5.x
MD5 (fbsd5.ymessenger.tgz) = d46390ff26cf5d01767d92efabecfc7e
SHA256 (fbsd5.ymessenger.tgz) = 5a9b5d1fcc854b83567402ff67ad6dad0000c4c912d72f68c30352447578ef15
SIZE (fbsd5.ymessenger.tgz) = 686647

ymessenger.bin
	libgtkhtml.so.6 [included in tarball]
	libgdk_pixbuf.so.2
	libgmodule12.so.3
	libglib12.so.3
	libintl.so.4 [libintl.so.6 via libmap]
	libXi.so.6
	libXext.so.6
	libX11.so.6
	libm.so.2
	libXmu.so.6
	libgtk12.so.2
	libgdk12.so.2
	libc.so.5
	libXThrStub.so.6
	libXt.so.6
	libSM.so.6
	libICE.so.6

libgtkhtml.so.6:
	libc.so.5

-------

Would it be possible (hypothetically) to do something like this
in the Makefile?

DISTNAME=	# set below

.if ${OSVERSION} < 500000
DISTNAME=	fbsd4.${PORTNAME}
.if ${OSVERSION} < 490102
IGNORE=		requires libmap functionality
.endif
.else
DISTNAME=	fbsd5.${PORTNAME}
.if ${OSVERSION} >= 600000
LIB_DEPENDS+=	c.5:${PORTSDIR}/misc/compat5x
.endif
.endif

Is FreeBSD 5.5 / 5-STABLE considered "beyond hope" at this point?

					-=EPS=-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611231748.kANHmcYO015317>