From owner-freebsd-ports@FreeBSD.ORG Fri Aug 19 20:50:53 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2CA416A41F; Fri, 19 Aug 2005 20:50:53 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B86543D48; Fri, 19 Aug 2005 20:50:51 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail.ijs.si [193.2.4.66]) by patsy.ijs.si (Postfix) with ESMTP id 1C5A317B863; Fri, 19 Aug 2005 22:50:50 +0200 (CEST) Received: from patsy.ijs.si ([127.0.0.1]) by localhost (patsy.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 64020-02; Fri, 19 Aug 2005 22:50:47 +0200 (CEST) Received: from radagast.ijs.si (radagast.ijs.si [193.2.4.168]) by patsy.ijs.si (Postfix) with ESMTP id C5A7617B829; Fri, 19 Aug 2005 22:50:46 +0200 (CEST) Received: from localhost.ijs.si (localhost.ijs.si [127.0.0.1]) by radagast.ijs.si (Postfix) with ESMTP id 9FA8D1702C; Fri, 19 Aug 2005 22:50:46 +0200 (CEST) From: Dejan Lesjak To: Hiroki Sato Date: Fri, 19 Aug 2005 22:50:45 +0200 User-Agent: KMail/1.8.2 In-Reply-To: <20050820.044946.21925501.hrs@allbsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508192250.46012.dejan.lesjak@ijs.si> X-Virus-Scanned: amavisd-new at ijs.si Cc: freebsd-ports@freebsd.org, Kris Kennaway Subject: Re: Needed: compat5x package 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: Fri, 19 Aug 2005 20:50:54 -0000 Hiroki Sato wrote: > Kris Kennaway wrote > in <20050819160949.GA29051@xor.obsecurity.org>: > > kr> Can someone please volunteer to work on this? The compat4x port > kr> should be a useful starting point for this - you could fetch the > kr> library "sources" by downloading the appropriate 5.4-RELEASE tarballs. > > I am afraid I do not have enough time to create it now, but I have > a simple one which includes the bumped shared libraries and locale files. > It is available from: > > - port skeleton: > > http://people.allbsd.org/~hrs/FreeBSD/compat5x.tar.gz > > - distfiles: > > http://people.allbsd.org/~hrs/FreeBSD/compat5x-alpha-5.4.tar.gz > http://people.allbsd.org/~hrs/FreeBSD/compat5x-i386-5.4.tar.gz > http://people.allbsd.org/~hrs/FreeBSD/compat5x-ia64-5.4.tar.gz > http://people.allbsd.org/~hrs/FreeBSD/compat5x-pc98-5.4.tar.gz > http://people.allbsd.org/~hrs/FreeBSD/compat5x-sparc64-5.4.tar.gz > > I guess this may need some more work but it works. Any comments are > welcome. > > Also, I have a request for compat5x which I did not include into my > prototype yet---rebuilding libc.so.5 with > _PATH_LOCALE=/usr/local/share/compat/locale in paths.h and make the old > binaries use the old version of LC_* files > included in the package. This is because incompatibility of on-disk > format of LC_* files is a big hurdle especially for people in Asian > countries, who heavily depend on setlocale(3) when they upgrade their > system from 5.x to 6.x. I have also been playing with this a bit and came up with similar result: http://agrajag.ijs.si/tinderbox/stuff/compat5/compat5x-port.tar.bz2 It uses misc/localedata port for locale files as does compat4x though. One thing to consider is how to get these libraries. If they are taken from 5.4 release tarballs then there is problem with locale above and at least problem with libz and FreeBSD-SA-05:18.zlib vulnerability. One possible thing to do is to build RELENG_5_4 with the change to paths.h above and take libraries from there and generate tarballs (which is what I did for this sample except I took RELENG_5). If that makes sense I can do it for alpha, amd64, i386 and sparc64. Dejan