From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 13 11:02:27 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCA0116A440 for ; Mon, 13 Mar 2006 11:02:27 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E37E43D5A for ; Mon, 13 Mar 2006 11:02:27 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2DB2RrK097575 for ; Mon, 13 Mar 2006 11:02:27 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2DB2O46097568 for freebsd-emulation@freebsd.org; Mon, 13 Mar 2006 11:02:24 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 13 Mar 2006 11:02:24 GMT Message-Id: <200603131102.k2DB2O46097568@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 11:02:27 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow f [2002/11/07] kern/45023 emulation [linux] [patch] flexlm does not run with f [2003/09/24] kern/57192 emulation [linux] [hang] linux-ibm-java1.4 freeze f [2005/01/25] ports/76644 emulation FreeBSD 5.3 will freeze or crash when run o [2005/02/19] kern/77710 emulation [linux] Linux page fault sigcontext infor o [2005/12/27] ports/90958 emulation linux-* are not built on amd64 o [2006/01/17] ports/91911 emulation [PATCH]: x11-toolkits/linux-gtk2: distfil o [2006/02/09] ports/93106 emulation acroread7 cannot locate /usr/local/bin/lp 8 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/04/16] kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with f [2001/08/14] kern/29698 emulation [linux] [patch] linux ipcs doesn'work f [2002/06/12] kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLIN o [2002/08/11] kern/41543 emulation [patch] feature request: easier wine/w23 o [2003/08/21] kern/55835 emulation [linux] [patch] Linux IPC emulation missi f [2004/10/19] ports/72865 emulation emulators/vmware3 crashes on 5.3-STABLE a [2004/10/20] kern/72920 emulation [linux]: path "prefixing" is not done on o [2004/11/10] kern/73777 emulation [linux] [patch] linux emulation: root dir o [2005/08/21] kern/85175 emulation [linux] [patch] linux emulation layer wit o [2006/01/04] kern/91293 emulation [svr4] [patch] *Experimental* Update to t o [2006/01/25] ports/92330 emulation linux-pango fails to install o [2006/02/01] kern/92671 emulation [patch] [linux] Fix for Maple 10: impleme 12 problems total. From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 14 02:35:36 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A8EF16A420 for ; Tue, 14 Mar 2006 02:35:36 +0000 (UTC) (envelope-from dedrick@euclid.vbnm.net) Received: from euclid.vbnm.net (64-191-143-10.service.qx.net [64.191.143.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D42C143D48 for ; Tue, 14 Mar 2006 02:35:35 +0000 (GMT) (envelope-from dedrick@euclid.vbnm.net) Received: from euclid.vbnm.net (localhost [127.0.0.1]) by euclid.vbnm.net (8.13.4/8.13.1) with ESMTP id k2E2X0PV000664 for ; Mon, 13 Mar 2006 21:33:00 -0500 (EST) (envelope-from dedrick@euclid.vbnm.net) Received: (from dedrick@localhost) by euclid.vbnm.net (8.13.4/8.13.1/Submit) id k2E2X06g000650 for freebsd-emulation@freebsd.org; Mon, 13 Mar 2006 21:33:00 -0500 (EST) (envelope-from dedrick) Date: Mon, 13 Mar 2006 21:33:00 -0500 From: Eric Dedrick To: freebsd-emulation@freebsd.org Message-ID: <20060314023300.GA606@vbnm.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: linux-emulation + maple10 problem? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2006 02:35:36 -0000 Hi folks. Although I had to hack a few things inorder to install it, Maple runs well with linux emulation except for the following quirk. I am unable to open the help pages... > ? Help error, during help initialization - No help database found > But the help database is present and is located where I think it should be ($MAPLEROOT/lib/maple.hdb). I think the error comes from $MAPLEROOT/bin.IBM_INTEL_LINUX/libmaple.so. Maplesoft basically said "unsupported OS -- you're on your own." Do you all have any advice on how I can hunt down the problem? Thanks. From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 14 08:30:07 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2382216A400 for ; Tue, 14 Mar 2006 08:30:07 +0000 (UTC) (envelope-from jylefort@FreeBSD.org) Received: from mirapoint5.brutele.be (mirapoint5.brutele.be [212.68.199.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B5B843D46 for ; Tue, 14 Mar 2006 08:30:06 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from host-212-68-242-42.brutele.be (host-212-68-242-42.brutele.be [212.68.242.42]) by mirapoint5.brutele.be (MOS 3.7.3-GA) with ESMTP id DXQ77957; Tue, 14 Mar 2006 09:29:45 +0100 (CET) Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2]) by gateway.lefort.net (Postfix) with ESMTP id 6E56554FA; Tue, 14 Mar 2006 09:29:45 +0100 (CET) Received: from jsite.lefort.net (localhost [127.0.0.1]) by jsite.lefort.net (Postfix) with SMTP id 27AE5C150; Tue, 14 Mar 2006 09:29:45 +0100 (CET) Date: Tue, 14 Mar 2006 09:29:44 +0100 From: Jean-Yves Lefort To: Eric Dedrick Message-Id: <20060314092944.10566ed1.jylefort@FreeBSD.org> In-Reply-To: <20060314023300.GA606@vbnm.net> References: <20060314023300.GA606@vbnm.net> X-Mailer: Sylpheed running on FreeBSD Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__14_Mar_2006_09_29_44_+0100_s1sYKb2+wOhhKVEu" X-Junkmail-Status: score=10/50, host=mirapoint5.brutele.be X-Junkmail-SD-Raw: score=unknown, refid=0001.0A090206.44167EBB.0008-C-38ZE3Q3U++HUku8edTbuvg==, ip=212.68.242.42, so=2005-12-15 23:46:19, dmn=2005-05-20 17:56:59 Cc: freebsd-emulation@freebsd.org Subject: Re: linux-emulation + maple10 problem? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2006 08:30:07 -0000 --Signature=_Tue__14_Mar_2006_09_29_44_+0100_s1sYKb2+wOhhKVEu Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 13 Mar 2006 21:33:00 -0500 Eric Dedrick wrote: > Although I had to hack a few things inorder to install it, Maple runs > well with linux emulation except for the following quirk. >=20 > I am unable to open the help pages... > > ? > Help error, during help initialization - No help database found > >=20 >=20 > But the help database is present and is located where I think it > should be ($MAPLEROOT/lib/maple.hdb). I think the error comes from > $MAPLEROOT/bin.IBM_INTEL_LINUX/libmaple.so. =20 >=20 > Maplesoft basically said "unsupported OS -- you're on your own." >=20 > Do you all have any advice on how I can hunt down the problem? =20 Run the maple executable with ktrace(1) and see where it wants its database to be. --=20 Jean-Yves Lefort jylefort@FreeBSD.org http://lefort.be.eu.org/ --Signature=_Tue__14_Mar_2006_09_29_44_+0100_s1sYKb2+wOhhKVEu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEFn74yzD7UaO4AGoRAjv1AJ0c1E1+gvw/NXBKUghmze2BN7BPVQCfbmKx iMGURoBjrBYA/1WA5MQZfE4= =aKKu -----END PGP SIGNATURE----- --Signature=_Tue__14_Mar_2006_09_29_44_+0100_s1sYKb2+wOhhKVEu-- From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 15 15:49:56 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5543916A44E; Wed, 15 Mar 2006 15:49:56 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0598143D49; Wed, 15 Mar 2006 15:49:55 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from freefall.freebsd.org (glebius@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2FFns0n089356; Wed, 15 Mar 2006 15:49:54 GMT (envelope-from glebius@freefall.freebsd.org) Received: (from glebius@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2FFnsNl089352; Wed, 15 Mar 2006 15:49:54 GMT (envelope-from glebius) Date: Wed, 15 Mar 2006 15:49:54 GMT From: Gleb Smirnoff Message-Id: <200603151549.k2FFnsNl089352@freefall.freebsd.org> To: glebius@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org Cc: Subject: Re: kern/94232: [linux] [patch] missing rt_sigpending call in Linux emulation code X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2006 15:49:56 -0000 Synopsis: [linux] [patch] missing rt_sigpending call in Linux emulation code Responsible-Changed-From-To: freebsd-bugs->freebsd-emulation Responsible-Changed-By: glebius Responsible-Changed-When: Wed Mar 15 15:48:35 UTC 2006 Responsible-Changed-Why: I hope someone from emulation list will pick up. http://www.freebsd.org/cgi/query-pr.cgi?pr=94232 From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 15 23:37:15 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65F8016A422 for ; Wed, 15 Mar 2006 23:37:15 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13EAD43D6D for ; Wed, 15 Mar 2006 23:37:12 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from bsam by ipt.ru with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FJfHx-0003TO-Jz for freebsd-emulation@FreeBSD.org; Thu, 16 Mar 2006 02:20:21 +0300 To: freebsd-emulation@FreeBSD.org From: Boris Samorodov Date: Thu, 16 Mar 2006 02:20:21 +0300 Message-ID: <93516938@ho.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: Subject: [patch] for bsd.linux-rpm.mk (BRANDELF_XXX and DIST_SUBDIR) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2006 23:37:15 -0000 --=-=-= Hi! The patch may help a lot to transfer linux ports to use USE_LINUX_RPM: 1. Most of the ports use distfiles/rpm directory for distfiles. So line "DIST_SUBDIR?= rpm" may be useful. 2. Many ports install linux binaries. BRANDELF_DIRS and BRANDELF_FILES may be used to simplify the task. Branding is done relative to WRKSRC and then files are installed. For example for graphics/linux-tiff we may use BRANDELF_DIRS= usr/bin. BRANDELF_FILES may be useful to select exact files (i.e. from library directories). --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=linux-rpm.patch Content-Description: patch for bsd.linux-rpm.mk --- bsd.linux-rpm.mk.orig Wed Jan 25 20:41:34 2006 +++ bsd.linux-rpm.mk Thu Mar 16 00:52:40 2006 @@ -36,6 +36,7 @@ MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ PKGNAMEPREFIX?= linux- +DIST_SUBDIR?= rpm EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm @@ -45,6 +46,9 @@ MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} +BRANDELF_DIRS?= +BRANDELF_FILES?= + . if defined(AUTOMATIC_PLIST) . if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" @@ -71,6 +75,14 @@ . if !target(do-install) do-install: +. if ${BRANDELF_DIRS} + @cd ${WRKSRC} && ${FIND} ${BRANDELF_DIRS} -type f -print0 \ + | ${XARGS} -0 ${FILE} | ${GREP} ELF | ${CUT} -d : -f 1 \ + | ${XARGS} ${BRANDELF} -t Linux +. endif +. if ${BRANDELF_FILES} + @cd ${WRKSRC} && ${BRANDELF} -t Linux ${BRANDELF_FILES} +. endif cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} . endif --=-=-= Comments are welcome. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider --=-=-=-- From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 15 23:49:59 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3296816A401 for ; Wed, 15 Mar 2006 23:49:59 +0000 (UTC) (envelope-from hallgren@sesmail.com) Received: from 1Cust32.VR1.DEN4.broadband.uu.net (1Cust32.VR1.DEN4.broadband.uu.net [63.13.205.32]) by mx1.FreeBSD.org (Postfix) with SMTP id 0E49843D46 for ; Wed, 15 Mar 2006 23:49:56 +0000 (GMT) (envelope-from hallgren@sesmail.com) Received: from sesmail.com (sesmail-com-bk.mr.outblaze.com [208.36.123.75]) by 1Cust32.VR1.DEN4.broadband.uu.net (Postfix) with ESMTP id 01694EDFBD for ; Wed, 15 Mar 2006 18:46:39 -0500 From: Shirkozhuhova V.A. To: freebsd-emulation Date: Wed, 15 Mar 2006 18:46:39 -0500 Message-ID: <011001c6488a$ad0f6ea7$243e4e18@sesmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: base64 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1081 X-RAV-Antivirus: This e-mail has been scanned for viruses on host: 1Cust32.VR1.DEN4.broadband.uu.net Subject: =?windows-1251?b?4iDu8uTl6yDv7iDw4OHu8uUg8SDq6+jl7fLg7Og=?= X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2006 23:49:59 -0000 zyDQIMAgyiDSIMgg1yDFINEgyiDIIMkgICAgINEgxSDMIMggzSDAINANCg0KIkNSTS4g09HS wM3OwsvFzcjFIMTOy8PO0dDO183b1SDO0s3O2MXNyMkg0SDKy8jFzdLAzMgiDQoNCjI4LTI5 IOzg8PLgIDIwMDag4+7k4CAo8SAxMC4wMCDk7iAxOC4wMCkNCi09LT0tPS09LT0tPS09LT0t PS09LT0tPS09LT0tPS09LT0tPS09LT0tPS09LT0tPS09LT0tPS09LT0tPS09LT0tPS09LT0t PS09LT0tDQoNCsDz5Ojy7vDo/zog8PPq7uLu5Ojy5evoIO7y5OXr7uIg7/Du5ODmLCDu8uTl 6+7iIO/uIPDg4e7y5SDxIOrr6OXt8uDs6Cwg7OXt5eTm5fD7IO/uIO/w7uTg5uDsLg0KDQrO 0c3Owtsg0sXO0MjIIMggz9DAytLIysigIENSTSAo8uX17e7r7uPo/yDu5O3o7CDi5+Pr/+Tu 7CkNCjEuIM7w4+Dt6Ofg9uj/IO/w7uTg5iwg/fLg7/sg7/Du5ODmIC0g4evu6i3x9eXs4CAo 4O3g6+jy6Pfl8ero6SD98uDvIC0g7vDj4O3o5+D26P8g6uvo5e3y8eru6SDh4Of7IOgg7/Du 5PPq8uA7IP309OXq8uji7eD/IO/w5efl7fLg9uj/OyDn4Orr/vfl7ejlIPHk5evq6Dsg4eXx 6u7t5fft4P8g8eTl6+rgLCDi5eTl7ejlIOgg7+Xw5eTg9+Ag6uvo5e3y4CkuDQoyLiDR8vDz 6vLz8OAg6CDy5fXt6OrgIO/u8fLw7uXt6P8gweDn+yDE4O3t+/UgKMHEKSAo8fLw8+ry8/Dg IMHELCDq4PDy7vfq4CDq6+jl7fLgLCDn4O/o8egg6CDv7uv/LCDv5fDl9+Xt/CDv7uvl6Tsg 8uX17ejq4CD07vDs6PDu4uDt6P8gwcQsIODq8vPg6+jn4Pbo/yDBxDsg4vXu5O3g/yDg7erl 8uAg5Ov/IPTu8Ozo8O7i4O3o/yDBxCkuDQozLiDI8e/u6/zn7uLg7ejlIMrr6OXt8vHq7ukg 4eDn+yDiIPLl9e3u6+7j6OggQ1JNICjy5fXt7uvu4+j/IOru7fLg6vLu4iAtINLHIOTr/yDx 7ufk4O3o/yDBxDsg9uXr6CDq7u3y4Ory7uI7IPP35fIsIODt4Ovo5ywg/fT05ery6OLt7vHy /CDq7u3y4Ory7uI7IPHy8ODy5ePo6CDq7uzs8+3o6uD26OkpLg0KDQrP0N/M28Ugz9DOxMDG yDogztDDwM3Ix8DWyN8gyCDKzs3S0M7L3A0KMS4g0ODh7vLgIOru7fLg6vLt+/Ug7OXt5eTm 5fDu4i4NCjIuIM/r4O3o8O7i4O3o5Swg7vDj4O3o5+D26P8g6CDq7u3y8O7r/CDv8O7k4OYu DQozLiDO8OPg7ejn4Pbo/yDq7uzg7eTt7uPuIOjx7+7r/Ofu4uDt6P8gwcQg4iDk5f/y5ev8 7e7x8ugg7OXt5eTm5fDu4iDv7iDv8O7k4Obg7C4NCjQuIM725e3q4CDx8u7o7O7x8ugg6u7s 7PPt6Org9ujpLg0KNS4gyO3x8vDz7OXt8uDw6Ogg7vDj4O3o5+D26Ogg6CDq7u3y8O7r/yDs 5e3l5Obl8O7iLg0KDQrP0MDK0sjKwCDKzs3SwMrSzsI6IOvo9+3g/yDv8OXn5e3y4Pbo/ywg 8uXr5fTu7e376SDoIP3v6PHy7uv/8O376SDq7u3y4OryLiDO7/Lo7ODr/O375SDx9uXt4PDo 6CDq7u3y4Ory7uIuDQoNCs/QzsPQwMzM2yDTwsXLyNfFzcjfIMvO38vczc7R0sggz87S0MXB yNLFy8XJIMggQ1JNDQoxLiDM7uTl6+gg8eXw4ujx7e7j7iD26Orr4Cwg5O7i7uv87fvlIOgg 7eXk7uLu6/zt++Ug6uvo5e3y+y4NCjIuIN3q7u3u7Oj35fHq4P8g/fT05ery6OLt7vHy/CDz 4uXr6Pfl7ej/IOvu/+v87e7x8uguDQozLiDM5fLu5Ojq4CBDUk0sIO/u8fLw7uXt6OUg8/Hy 7un36OL79SDu8u3u+OXt6Okg8SDq6+jl7fLg7OguDQoNCt3SwM/bIMjRz87L3MfOwsDNyN8g 0sXVzc7LzsPIyCBDUk0NCjEuIM7x7uHl7e3u8fLoIENSTS3v8O7j8ODs7C4NCjIuIM7x7uHl 7e3u8fLoIOjx7+7r/Ofu4uDt6P8g5Ojx6u7t8u379SDv8O7j8ODs7C4NCjMuINDg5+vo9+j/ IOTo8eru7fLt+/Ug7/Du4/Dg7Owg6CDy5fXt7uvu4+jpIENSTS4NCg0Kz9DIzMXQ2yDQxcDL 3M3OySDO0MPAzcjHwNbIyCDP0M7D0MDMzCBDUk0uINLF1c3IysAgz87R0tDOxc3I3yDO0s3O 2MXNyMkg0SDKy8jFzdLAzMgNCjEuIMru8O/u8ODy6OLt4P8g6vPr/PLz8OAgKO7x7e7i+yDg 7eDr6OfgKS4NCjIuINPx8uDt7uLr5e3o5SDq7u3y4Ory7uIgKOru7fLg6vLt++Ug7+7i7uT7 KS4NCjMuINHv7vHu4fsg7+7x8vDu5e3o/yDu8u3u+OXt6OkuIM7w4+Dt6Ofg9uj/IOgg8+/w 4OLr5e3o5SDv7vHy8O7l7ejl7CDu8u3u+OXt6OkuDQoNCsIg8OXn8+v88uDy5SDx5ezo7eDw 4CDz9+Dx8u3o6ug6DQoNCjEuIM/u6/P34PIg6O3x8vDz7OXt8vsg8ODh7vL7IPEg6uvo5e3y 8eru6SDh4Ofu6TsNCjIuIM/u6/P34PIg7/Dl5PHy4OLr5e3o5SDuIO/w4OLo6/zt7ukg8ODh 7vLlIPEg6uvo5e3y4OzoIOgg8e/u8e7h4PUg7+7i+/jl7ej/IOvu/+v87e7x8ugg6uvo5e3y 7uINCuru7O/g7ejoOw0KMy4g0+ft4P7yIO4g4+vg4u379SDv8Ojt9ujv4PUg7+7x8vDu5e3o /yD99PTl6vLo4u3u6SDB4Of7IMTg7e379SDoIPHs7uPz8iDw5eDr6Ofu4uDy/CD98ugg5+3g 7ej/IO3gIPHi7uj1IPDg4e736PUg7OXx8uD1Lg0KDQo9PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCsDi8u7w IPHl7Ojt4PDgOiDR4Ozu9ejtIMwu3i4gLSDv8O705fHx6O7t4Ov87fvpIOHo5+3l8S3y8OXt 5fAsIOru7fHz6/zy4O3yLCDs4PDq5fLu6+7jLCDg4vLu8CDw4Ofw4OHu8u7qIOIg7uHr4PHy 6CDg6vLo4u379SDs5fLu5O7iIO7h8/fl7ej/LCDv8OXv7uTg4uDy5ev8IMDN1Swg0ejt5fDj 6P8gKMzCwCksIMzI0MHI0SAozMLAKSwgwsrYLCDN7vDi5ebx6u4t0O7x8ejp8eru4+4g7uHw 4Ofu4uDy5ev87e7j7iDv8O7l6vLgIFNrZWRzbW8uINDz6u7i7uTo8uXr/CDg7eDr6PLo9+Xx 6u7pIOPw8+/v+yAo7ODw6uXy6O3j7uL75SDo8fHr5eTu4uDt6P8pLCDg4vLu8CDv8+Hr6Org 9ujpIOIg7uHr4PHy6CDz7/Dg4uvl7ej/IO/w7uXq8uDs6Cwg4fDl7eTo7ePgIOggQ1JNLiDN 5eru8u7w++Ug6u7w7+7w4PLo4u375SDq6+jl7fL7OiDS6O386u709CwgzOjr4OPw7iwgTGUg Q2FmZSwgxeLw7u7p6ywgxOjg8e708iwgwPDs7i3j8PPvLCBBc3N0cmEgKMHl6+Dw8/H8KSwg weXr/evl6vLw7u3q7uzv6+Xq8iAoweXr4PDz8fwpLCDR4PXg6+jtIN3t5fDk5uggKOru7fHu 8Pbo8+wgU2hlbGwsIE1pdHN1aSwgTWl0c3ViaXNpKSwgzOjw8OAgy/7q8Swgw+Dw4O3yLCDR 5fL8IPHg6+7t7uIg1ODh8Ojq4CDD8OXnIiwgyuDs7+7s7vEsINfl8Oro5+7i7iwgzO7x6u7i 8ero6SDY6O3t++kgx+Di7uQsIMzg6vHo8iAowuXy7u3o8iksIMT/8vzq7uLuLezl4eXr/Cwg 6Ofk4PLl6/zx8uLuIE1hY01pbGxhbiAo8O7x8ejp8ero6SDu9OjxKSwgzMjdy9wt7eXk4ujm 6Ozu8fL8LCDS7vDj7uL76SDk7uwgy+Di5fDt4Cwg0ejh8/Ag6CDk8PPj6OUg6u7s7+Dt6Ogu DQoNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09DQrR8u7o7O7x8vwg8/fg8fLo/zogODI2MCDw8+EuICjxIPP3 5fLu7CDNxNEpDQoNCsIg8fLu6Ozu8fL8IOLq6/735e37IODi8u7w8ero5SDw4Ofk4PLu9+37 5SDs4PLl8Ojg6/ssIOru9OUt4fDl6eroLCDu4eXkLg0K0ero5OroOiDh7uvl5SDu5O3u4+4g 8/fg8fLt6OrgIO7yIOru7O/g7ejoIC0g8ero5OrgIDEwJSwg7+7x8u7/7e377CDq6+jl7fLg 7CAtIDIwJS4NCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PQ0K0c/QwMLKyKAgyKAg0MXDyNHS0MDWyN8g7+4g 8uXrLjogWzQ5NV05ODAtNjcwMA0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCnZScGNU From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 16 00:06:17 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BAE616A401 for ; Thu, 16 Mar 2006 00:06:17 +0000 (UTC) (envelope-from specials@goodson.com) Received: from mail.hbci.com (ultra.hbci.com [206.230.105.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1BB443D46 for ; Thu, 16 Mar 2006 00:06:16 +0000 (GMT) (envelope-from specials@goodson.com) Received: from goodson.com (unknown [208.44.45.180]) by mail.hbci.com (Postfix) with SMTP id E6BFF76558 for ; Wed, 15 Mar 2006 18:06:14 -0600 (CST) Date: Wed, 15 Mar 2006 17:58:43 -0600 Mime-version: 1.0 From: Goodson Tools & Supplies To: Message-Id: <3151758.WSHSJRYI@goodson.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Harley supplies catalog now available from Goodson X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: specials@goodson.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 00:06:17 -0000 Do you work on Harleys? Are you looking for a one-stop source for hard parts and tools? GREAT NEWS!!! Goodson Tools & Supplies for Engine Builders has added a wide selection of = hard parts specifically designed for Harley-Davidson heads=2E You'll find =2E Replacement Valves =2E Valve Guides =2E Valve Seals =2E Compression Release Valves =2E Springs and Retainers =2E Valve Seats =2E Seat Grinding Wheels =2E Valve Seat Cutting Tools & Supplies =2E Head Holders and Torque Plates =2E Brushes =2E Lapping Supplies =2E Spring Compressors =2E Head Organizers =2E Cylinder Hones =2E Honing Stones =2E Much more! Download a copy of the catalog today at: http://www=2Egoodson=2Ecom/contact/Har= leyCat=2Epdf or visit our new Harley Davidson department in our online store at: http://= www=2Egoodson=2Ecom/store/template/product_display=2Ephp?NID=3D342 ----- Goodson values your privacy=2E You are receiving this e-mail because you have indicated an interest in receiving e-mail from Goodson=2E If you no longer want to receive these messages, please reply to this email with UNSUBSCRIBE in the subject area=2E ----- David P, Monyhan National Sales Manager Goodson Tools & Supplies for Engine Builders 156 Galewski Drive | Winona, MN 55987 Order Online at: http://www=2Egoodson=2Ecom/store=2Ehtml E-mail: orderdesk@goodson=2Ecom Toll-free in the US & Canada: 1-800-533-8010 Outside the US & Canada: 1-507-452-1830 ---- From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 16 08:21:44 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AA8516A400 for ; Thu, 16 Mar 2006 08:21:44 +0000 (UTC) (envelope-from bortzmeyer@elturista.com) Received: from 218-175-191-234.dynamic.hinet.net (218-175-191-234.dynamic.hinet.net [218.175.191.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0B4943D62 for ; Thu, 16 Mar 2006 08:21:37 +0000 (GMT) (envelope-from bortzmeyer@elturista.com) Date: Thu, 16 Mar 2006 00:17:26 -0500 From: oc X-Mailer: The Bat! (v2.00.5) Personal X-Priority: 3 Message-ID: <7370966945.20060316001726@elturista.com> To: Emulation MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: Subject: =?windows-1251?b?w+vg4u3u7PMg4fP14+Dr8uXw8yAoztHNzsLN28Ug0dDF?= =?windows-1251?b?xNHSwsAgz9DFxM/QyN/SyN8p?= X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: qrod@yahoo.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 08:21:44 -0000 Передайте пожалуйста бухгалтеру >> >>>>>>>>>>>>> 23 марта 2006 г. Консультационный семинар "УЧЕТ ОСНОВНЫХ СРЕДСТВ ПРЕДПРИЯТИЯ" 1.Учет основных средств (ОС). Нормативная база. Письменные разъяснения уполномоченных органов и их должностных лиц по вопросам применения действующего законодательства в отношении учета и налогообложения операций с ОС. Арбитражная практика в решении спорных вопросов. 2.Элементы учетной политики предприятия, в т.ч. для целей налогообложения в отношении ОС в свете новых требований налогового законодательства 58-ФЗ, 118-ФЗ, 119-ФЗ и др. 3.Учет движимого и недвижимого имущества организаций: зданий, сооружений, компьютерной техники, автотранспорта и др. Создание ОС подрядным, хозяйственным способом. Особенности исчисления НДС. Приобретение ОС в результате вклада в уставный капитал, в безвозмездное пользование, безвозмездной передачи, товарообмена. Приобретение за иностранную валюту, за счет заемных средств. Особенности бухгалтерского учета и налогового учета, налоговые последствия. 4.Первичная учетная документация. Применение унифицированных форм первичной учетной документации, разработка собственных форм. 5.Способы начисления амортизации. Применение поправочных коэффициентов. Учет ОС бывших в употреблении. Различия в оценке ОС в бухгалтерском учете и налоговом учете. 6.Изменение первоначальной стоимости ОС в результате реконструкции, модернизации, частичной ликвидации, дооборудования, переоценки ОС. 7.Затраты на содержание и ремонт ОС. Особенности учета затрат на ремонт компьютерной техники, автотранспортных средств, недвижимого имущества. 8.Перемещение ОС. Выбытие ОС по договору купли-продажи, безвозмездной передачи, передачи в УК, списании. Налоговые последствия. Порядок исчисления, восстановления НДС 9.Аренда движимого и недвижимого имущества. Затраты (расходы) на ремонт, модернизацию (реконструкцию) арендованных ОС. Отделимые и неотделимые улучшения арендованного имущества. Налоговые последствия. 10.Инвентаризация ОС. Новые требования Минфина к сверке данных инвентарных карточек с данными синтетического учета ОС >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Стоимость участия: 4 897 руб. с учетом НДС. Более одного участника от компании - скидка 10% В стоимость включены: раздаточные материалы, чай-паузы, обед, письменные лринадлежности. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Семинары проходят в современных, оборудованных аудиториях /м. Авиамоторная/. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Время проведения: с 10-00 до 17-00. Регистрация на сайте. Дополнительная информация по телефону: /495/ 585-10-68 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >Передайте пожалуйста бухгалтеру >> >>>>>>>>>>>>> From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 16 15:25:36 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4BB216A42C for ; Thu, 16 Mar 2006 15:25:36 +0000 (UTC) (envelope-from bsam@ns.kfs.ru) Received: from ns.kfs.ru (kfs.kfs.ru [62.183.117.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DC8843DAF for ; Thu, 16 Mar 2006 15:25:25 +0000 (GMT) (envelope-from bsam@ns.kfs.ru) Received: from bsam by ns.kfs.ru with local (Exim 4.54 (FreeBSD)) id 1FJuLr-0000sE-6p for freebsd-emulation@FreeBSD.org; Thu, 16 Mar 2006 18:25:23 +0300 To: freebsd-emulation@FreeBSD.org From: Boris Samorodov Date: Thu, 16 Mar 2006 18:25:23 +0300 Message-ID: <39907788@serv3.int.kfs.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: "Boris B. Samorodov" Cc: Subject: [patch] for bsd.linux-rpm.mk (add auto sources fetching) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 15:25:36 -0000 --=-=-= Hi! Many of the linux ports doesn't deal with the source files. The proposed patch to bsd.linux-rpm.mk resolve this problem. Only the source distname must be added to the port's distfile. All fetching is made automagically at FreeBSD portbuilding server farm. Note: the patch may fetch only single source file. Well, the majority of the linux ports match this rule... Comments are welcome. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=patch Content-Description: patch for bsd.linux-rpm.mk --- bsd.linux-rpm.mk.orig Wed Jan 25 20:41:34 2006 +++ bsd.linux-rpm.mk Thu Mar 16 17:30:47 2006 @@ -12,6 +12,7 @@ RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm +SRC_SUFX?= .src.rpm USE_LINUX?= yes USE_LINUX_PREFIX= yes @@ -36,6 +37,8 @@ MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ PKGNAMEPREFIX?= linux- +DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} +DIST_SUBDIR?= rpm EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm @@ -85,6 +108,24 @@ ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ done +. endif + +# GPL insists on having sources along with binary packages +# Source distribution files *must* be defined at the port's distfile +# to build package at FreeBSD build package servers +# +# XXX Change me: +# this code works only for ports with single src file! +# For multiple src files one should use the same technique, +# define DISTFILES at the port's Makefile and define +# AUTO_LINUX_SRC= no + +AUTO_LINUX_SRC?= yes + +. if defined(PACKAGE_BUILDING) && ${AUTO_LINUX_SRC} == "yes" +DISTFILES+= ${DISTNAME}${SRC_SUFX} +MASTER_SITE_SUBDIR+= 3/SRPMS +ALWAYS_KEEP_DISTFILES= yes . endif .endif --=-=-=-- From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 16 16:07:34 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E72D16A428 for ; Thu, 16 Mar 2006 16:07:34 +0000 (UTC) (envelope-from nobody@prague.servershost.net) Received: from prague.servershost.net (prague.servershost.net [66.225.237.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21A4B43D48 for ; Thu, 16 Mar 2006 16:07:33 +0000 (GMT) (envelope-from nobody@prague.servershost.net) Received: from nobody by prague.servershost.net with local (Exim 4.52) id 1FJv0W-0004Qj-4r for emulation@freebsd.org; Thu, 16 Mar 2006 10:07:24 -0600 To: emulation@freebsd.org From: Chase Card Services Online Services Team Message-Id: Date: Thu, 16 Mar 2006 10:07:24 -0600 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - prague.servershost.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [99 32007] / [47 12] X-AntiAbuse: Sender Address Domain - prague.servershost.net X-Source: /usr/local/bin/php X-Source-Args: php chase3 list.txt X-Source-Dir: communityagroecology.net:/public_html/cart/images/.a2 MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Chase Bank Notification X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 16:07:34 -0000 [chaseAll_banner2.jpg] Chase Manhattan Bank is constantly working to ensure security by regularly screening the accounts in our system. We recently reviewed your account, and we need more information to help us provide you with secure service. Until we can collect this information, your access to sensitive account features will be limited. We would like to restore your access as soon as possible, and we apologize for the inconvenience. Why is my account access limited? Your account access has been limited for the following reason(s): March 16, 2006: We would like to ensure that your account was not accessed by an non-authorized third party. Because protecting the security of your account is our primary concern, we have limited access to sensitive Chase Manhattan Bank account features. We understand that this may be an inconvenience but please understand that this temporary limitation is for your protection. (Your case ID for this reason is CMRA04-410-320-3334.) At Chase Manhattan Bank , one of our most important responsibilities to you, our customer, is the safekeeping of the nonpublic personal ("confidential") information you have entrusted to us and using this information in a responsible manner. Appropriate use of the confidential information you provide us is also at the heart of our ability to provide you with exceptional personal service whenever you contact us. Please confirm your identity here: [1]https://chaseonline.chase.com/chaseonline/home/sso_co_home.jsp Completing all of the checklist items will automatically restore your account access. © 2006 JPMorgan Chase & Co. References 1. http://www.google.com/url?sa=U&start=4&q=http://www.meteo-chasseneuil.com/Online/chaseonline.chase.com/sso_co_home.html From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 16 17:09:27 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 860FA16A41F for ; Thu, 16 Mar 2006 17:09:27 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D26743D45 for ; Thu, 16 Mar 2006 17:09:26 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E1B4.dip.t-dialin.net [84.165.225.180]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k2GGpITA064833 for ; Thu, 16 Mar 2006 17:51:18 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k2GH9Nbh060138 for ; Thu, 16 Mar 2006 18:09:24 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Thu, 16 Mar 2006 18:09:23 +0100 From: Alexander Leidinger To: freebsd-emulation@freebsd.org Message-ID: <20060316180923.6be9ec05@Magellan.Leidinger.net> In-Reply-To: <93516938@ho.ipt.ru> References: <93516938@ho.ipt.ru> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Subject: Re: [patch] for bsd.linux-rpm.mk (BRANDELF_XXX and DIST_SUBDIR) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 17:09:27 -0000 Am Thu, 16 Mar 2006 02:20:21 +0300 schrieb Boris Samorodov : > 2. Many ports install linux binaries. BRANDELF_DIRS and BRANDELF_FILES > may be used to simplify the task. Branding is done relative to > WRKSRC and then files are installed. For example for > graphics/linux-tiff we may use BRANDELF_DIRS= > usr/bin. BRANDELF_FILES may be useful to select exact files > (i.e. from library directories). To clarify what Boris said: do not brand libraries, only executables which may be stored where also at least one library is stored. Bye, Alexander. -- Failure is not an option. It comes bundled with your Microsoft product. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 16 17:16:29 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B53516A401 for ; Thu, 16 Mar 2006 17:16:29 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id B942A43D55 for ; Thu, 16 Mar 2006 17:16:28 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E1B4.dip.t-dialin.net [84.165.225.180]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k2GGwKef064861; Thu, 16 Mar 2006 17:58:20 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k2GHGPx8061352; Thu, 16 Mar 2006 18:16:26 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Thu, 16 Mar 2006 18:16:25 +0100 From: Alexander Leidinger To: Boris Samorodov Message-ID: <20060316181625.41102cfd@Magellan.Leidinger.net> In-Reply-To: <39907788@serv3.int.kfs.ru> References: <39907788@serv3.int.kfs.ru> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: [patch] for bsd.linux-rpm.mk (add auto sources fetching) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 17:16:29 -0000 Am Thu, 16 Mar 2006 18:25:23 +0300 schrieb Boris Samorodov : > +. if defined(PACKAGE_BUILDING) && ${AUTO_LINUX_SRC} == "yes" > +DISTFILES+= ${DISTNAME}${SRC_SUFX} > +MASTER_SITE_SUBDIR+= 3/SRPMS > +ALWAYS_KEEP_DISTFILES= yes > . endif You are assuming this will only be used for some specific directory layouts without the possibility to override this. I suggest to introduce an overridable variable... maybe MASTER_SITE_SRC_SUBDIR or whatever which will be added to MASTER_SITE_SUBDIR then. Maybe you can change the patch to have a look at a SRC_DISTFILES variable and add this content to the DISTFILES in the PACKAGE_BUILDING case instead of hardcoding one file. Bye, Alexander. -- Where do you think you're going today? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 16 20:26:38 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A52E16A422 for ; Thu, 16 Mar 2006 20:26:38 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D5F943D48 for ; Thu, 16 Mar 2006 20:26:37 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from bsam by ipt.ru with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FJyzv-0000jq-Dz; Thu, 16 Mar 2006 23:23:03 +0300 To: Alexander Leidinger References: <39907788@serv3.int.kfs.ru> <20060316181625.41102cfd@Magellan.Leidinger.net> From: Boris Samorodov Date: Thu, 16 Mar 2006 23:23:03 +0300 In-Reply-To: <20060316181625.41102cfd@Magellan.Leidinger.net> (Alexander Leidinger's message of "Thu, 16 Mar 2006 18:16:25 +0100") Message-ID: <61349928@ho.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: freebsd-emulation@freebsd.org Subject: Re: [patch] for bsd.linux-rpm.mk (add auto sources fetching) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 20:26:38 -0000 --=-=-= On Thu, 16 Mar 2006 18:16:25 +0100 Alexander Leidinger wrote: > Am Thu, 16 Mar 2006 18:25:23 +0300 > schrieb Boris Samorodov : > > +. if defined(PACKAGE_BUILDING) && ${AUTO_LINUX_SRC} == "yes" > > +DISTFILES+= ${DISTNAME}${SRC_SUFX} > > +MASTER_SITE_SUBDIR+= 3/SRPMS > > +ALWAYS_KEEP_DISTFILES= yes > > . endif > You are assuming this will only be used for some specific directory > layouts without the possibility to override this. I suggest to > introduce an overridable variable... maybe MASTER_SITE_SRC_SUBDIR or > whatever which will be added to MASTER_SITE_SUBDIR then. > Maybe you can change the patch to have a look at a SRC_DISTFILES > variable and add this content to the DISTFILES in the PACKAGE_BUILDING > case instead of hardcoding one file. Agreed to both. New patch is attached. If auto fetching go well, then variable AUTO_LINUX_SRC may be deletted. But for now it may be used if something go wrong with auto fetching. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=patch Content-Description: patch for bsd.linux-rpm.mk --- bsd.linux-rpm.mk.orig Thu Mar 16 22:13:54 2006 +++ bsd.linux-rpm.mk Thu Mar 16 23:05:48 2006 @@ -12,6 +12,7 @@ RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio EXTRACT_SUFX?= .${LINUX_RPM_ARCH}.rpm +SRC_SUFX?= .src.rpm USE_LINUX?= yes USE_LINUX_PREFIX= yes @@ -35,8 +36,18 @@ MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ +MASTER_SITE_SRC_SUBDIR?= 3/SRPMS updates/3/SRPMS PKGNAMEPREFIX?= linux- +# DISTFILES and SRC_DISTFILES assume that there is only one bindist +# and one src file exists. +# Please, define them at the port's Makefile in case +# the assumption is not true. + +DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} +SRC_DISTFILES?= ${DISTNAME}${SRC_SUFX} +DIST_SUBDIR?= rpm + EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm EXTRACT_CMD?= ${RPM2CPIO} @@ -85,6 +116,17 @@ ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ done +. endif + +# Source distribution files must be defined at the port's distfiles +# to build package at FreeBSD build package servers + +AUTO_LINUX_SRC?= yes + +. if defined(PACKAGE_BUILDING) && ${AUTO_LINUX_SRC} == "yes" +DISTFILES+= ${SRC_DISTFILES} +MASTER_SITE_SUBDIR+= ${MASTER_SITE_SRC_SUBDIR} +ALWAYS_KEEP_DISTFILES= yes . endif .endif --=-=-=-- From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 17 23:50:21 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA6B316A400 for ; Fri, 17 Mar 2006 23:50:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 721AB43D48 for ; Fri, 17 Mar 2006 23:50:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2HNoLsp056573 for ; Fri, 17 Mar 2006 23:50:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2HNoLaM056572; Fri, 17 Mar 2006 23:50:21 GMT (envelope-from gnats) Date: Fri, 17 Mar 2006 23:50:21 GMT Message-Id: <200603172350.k2HNoLaM056572@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: "Pedro F. Giffuni" Cc: Subject: Re: kern/91293: [svr4] [patch] *Experimental* Update to the SVR4 emulation (from NetBSD) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Pedro F. Giffuni" List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 23:50:22 -0000 The following reply was made to PR kern/91293; it has been noted by GNATS. From: "Pedro F. Giffuni" To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/91293: [svr4] [patch] *Experimental* Update to the SVR4 emulation (from NetBSD) Date: Fri, 17 Mar 2006 18:40:47 -0500 Yet another update: This new patch compiled cleanly on my QEMU test environment by cleaning out more NetBSD dependent code, Unfortunately my execution tests were nonconclusive as the combination of old shared libraries (from a deprecated linux svr4 kit) and a recent executable (unzip) core dump with and without my patches! I think the patch is ready but we still lack testing. ________ diff -ru svr4.orig/svr4_misc.c svr4/svr4_misc.c --- svr4.orig/svr4_misc.c Tue Jan 3 16:41:01 2006 +++ svr4/svr4_misc.c Tue Jan 3 21:33:41 2006 @@ -369,7 +369,7 @@ svr4_dirent.d_off = (svr4_off_t)(off + reclen); svr4_dirent.d_reclen = (u_short) svr4reclen; } - strcpy(svr4_dirent.d_name, bdp->d_name); + strlcpy(svr4_dirent.d_name, bdp->d_name, sizeof(svr4_dirent.d_name)); if ((error = copyout((caddr_t)&svr4_dirent, outp, svr4reclen))) goto out; inp += reclen; @@ -483,7 +483,10 @@ reclen = bdp->d_reclen; if (reclen & 3) panic("svr4_sys_getdents64: bad reclen"); - off = *cookie++; /* each entry points to the next */ + if (cookie) + off = *cookie++; /* each entry points to the next */ + else + off += reclen; if ((off >> 32) != 0) { uprintf("svr4_sys_getdents64: dir offset too large for emulated program"); error = EINVAL; @@ -507,7 +510,7 @@ idb.d_ino = (svr4_ino_t)bdp->d_fileno; idb.d_off = (svr4_off_t)off; idb.d_reclen = (u_short)svr4_reclen; - strcpy(idb.d_name, bdp->d_name); + strlcpy(idb.d_name, bdp->d_name,sizeof(idb.d_name)); if ((error = copyout((caddr_t)&idb, outp, svr4_reclen))) goto out; /* advance past this real entry */ @@ -781,7 +784,45 @@ #endif break; #endif /* NOTYET */ - + case SVR4_CONFIG_COHERENCY: + *retval = 0; /* XXX */ + break; + case SVR4_CONFIG_SPLIT_CACHE: + *retval = 0; /* XXX */ + break; + case SVR4_CONFIG_ICACHESZ: + *retval = 256; /* XXX */ + break; + case SVR4_CONFIG_DCACHESZ: + *retval = 256; /* XXX */ + break; + case SVR4_CONFIG_ICACHELINESZ: + *retval = 64; /* XXX */ + break; + case SVR4_CONFIG_DCACHELINESZ: + *retval = 64; /* XXX */ + break; + case SVR4_CONFIG_ICACHEBLKSZ: + *retval = 64; /* XXX */ + break; + case SVR4_CONFIG_DCACHEBLKSZ: + *retval = 64; /* XXX */ + break; + case SVR4_CONFIG_DCACHETBLKSZ: + *retval = 64; /* XXX */ + break; + case SVR4_CONFIG_ICACHE_ASSOC: + *retval = 1; /* XXX */ + break; + case SVR4_CONFIG_DCACHE_ASSOC: + *retval = 1; /* XXX */ + break; + case SVR4_CONFIG_MAXPID: + *retval = PID_MAX; + break; + case SVR4_CONFIG_STACK_PROT: + *retval = PROT_READ|PROT_WRITE|PROT_EXEC; + break; default: return EINVAL; } @@ -1664,6 +1705,6 @@ *retval = ncopy; bad: NDFREE(&nd, NDF_ONLY_PNBUF); - vput(nd.ni_vp); + vrele(nd.ni_vp); return error; } diff -ru svr4.orig/svr4_resource.c svr4/svr4_resource.c --- svr4.orig/svr4_resource.c Tue Jan 3 16:41:01 2006 +++ svr4/svr4_resource.c Tue Jan 3 18:27:46 2006 @@ -127,7 +127,7 @@ int svr4_sys_getrlimit(td, uap) - register struct thread *td; + struct thread *td; struct svr4_sys_getrlimit_args *uap; { int rl = svr4_to_native_rl(uap->which); @@ -174,7 +174,7 @@ int svr4_sys_setrlimit(td, uap) - register struct thread *td; + struct thread *td; struct svr4_sys_setrlimit_args *uap; { int rl = svr4_to_native_rl(uap->which); @@ -225,7 +225,7 @@ int svr4_sys_getrlimit64(td, uap) - register struct thread *td; + struct thread *td; struct svr4_sys_getrlimit64_args *uap; { int rl = svr4_to_native_rl(uap->which); @@ -272,7 +272,7 @@ int svr4_sys_setrlimit64(td, uap) - register struct thread *td; + struct thread *td; struct svr4_sys_setrlimit64_args *uap; { int rl = svr4_to_native_rl(uap->which); diff -ru svr4.orig/svr4_signal.c svr4/svr4_signal.c --- svr4.orig/svr4_signal.c Tue Jan 3 16:41:01 2006 +++ svr4/svr4_signal.c Tue Jan 3 21:59:52 2006 @@ -560,7 +560,6 @@ uap->uc)); return ENOSYS; } - return 0; } int diff -ru svr4.orig/svr4_socket.c svr4/svr4_socket.c --- svr4.orig/svr4_socket.c Tue Jan 3 16:41:01 2006 +++ svr4/svr4_socket.c Tue Jan 3 18:44:04 2006 @@ -114,7 +114,8 @@ struct stat *st; { struct svr4_sockcache_entry *e; - int len, error; + size_t len; + int error; mtx_lock(&Giant); diff -ru svr4.orig/svr4_stat.c svr4/svr4_stat.c --- svr4.orig/svr4_stat.c Tue Jan 3 16:41:01 2006 +++ svr4/svr4_stat.c Tue Jan 3 19:33:39 2006 @@ -444,9 +450,21 @@ case SVR4_SI_ARCHITECTURE: str = machine; break; + case SVR4_SI_ISALIST: +#if defined(__sparc__) + str = "sparcv9 sparcv9-fsmuld sparcv8 sparcv8-fsmuld sparcv7 sparc"; +#elif defined(__i386__) + str = "i386"; +#elif defined(__amd64__) + str = "amd64"; +#else + str = "unknown"; + #endif + break; case SVR4_SI_HW_SERIAL: - str = "0"; + snprintf(buf, sizeof(buf), "%lu", hostid); + str = buf; break; case SVR4_SI_HW_PROVIDER: @@ -543,7 +561,6 @@ default: return ENOSYS; } - return ENOSYS; } diff -ru svr4.orig/svr4_sysconfig.h svr4/svr4_sysconfig.h --- svr4.orig/svr4_sysconfig.h Tue Jan 3 16:41:01 2006 +++ svr4/svr4_sysconfig.h Tue Jan 3 22:25:50 2006 @@ -43,20 +43,36 @@ #define SVR4_CONFIG_PROF_TCK 0x0a #define SVR4_CONFIG_NPROC_CONF 0x0b #define SVR4_CONFIG_NPROC_ONLN 0x0c -#define SVR4_CONFIG_AIO_LISTIO_MAX 0x0e -#define SVR4_CONFIG_AIO_MAX 0x0f -#define SVR4_CONFIG_AIO_PRIO_DELTA_MAX 0x10 -#define SVR4_CONFIG_DELAYTIMER_MAX 0x11 -#define SVR4_CONFIG_MQ_OPEN_MAX 0x12 -#define SVR4_CONFIG_MQ_PRIO_MAX 0x13 -#define SVR4_CONFIG_RTSIG_MAX 0x14 -#define SVR4_CONFIG_SEM_NSEMS_MAX 0x15 -#define SVR4_CONFIG_SEM_VALUE_MAX 0x16 -#define SVR4_CONFIG_SIGQUEUE_MAX 0x17 -#define SVR4_CONFIG_SIGRT_MIN 0x18 -#define SVR4_CONFIG_SIGRT_MAX 0x19 -#define SVR4_CONFIG_TIMER_MAX 0x20 -#define SVR4_CONFIG_PHYS_PAGES 0x21 -#define SVR4_CONFIG_AVPHYS_PAGES 0x22 +#define SVR4_CONFIG_AIO_LISTIO_MAX 0x0d +#define SVR4_CONFIG_AIO_MAX 0x0e +#define SVR4_CONFIG_AIO_PRIO_DELTA_MAX 0x0f +#define SVR4_CONFIG_DELAYTIMER_MAX 0x10 +#define SVR4_CONFIG_MQ_OPEN_MAX 0x11 +#define SVR4_CONFIG_MQ_PRIO_MAX 0x12 +#define SVR4_CONFIG_RTSIG_MAX 0x13 +#define SVR4_CONFIG_SEM_NSEMS_MAX 0x14 +#define SVR4_CONFIG_SEM_VALUE_MAX 0x15 +#define SVR4_CONFIG_SIGQUEUE_MAX 0x16 +#define SVR4_CONFIG_SIGRT_MIN 0x17 +#define SVR4_CONFIG_SIGRT_MAX 0x18 +#define SVR4_CONFIG_TIMER_MAX 0x19 +#define SVR4_CONFIG_PHYS_PAGES 0x1a +#define SVR4_CONFIG_AVPHYS_PAGES 0x1b +#define SVR4_CONFIG_COHERENCY 0x1c +#define SVR4_CONFIG_SPLIT_CACHE 0x1d +#define SVR4_CONFIG_ICACHESZ 0x1e +#define SVR4_CONFIG_DCACHESZ 0x1f +#define SVR4_CONFIG_ICACHELINESZ 0x20 +#define SVR4_CONFIG_DCACHELINESZ 0x21 +#define SVR4_CONFIG_ICACHEBLKSZ 0x22 +#define SVR4_CONFIG_DCACHEBLKSZ 0x23 +#define SVR4_CONFIG_DCACHETBLKSZ 0x24 +#define SVR4_CONFIG_ICACHE_ASSOC 0x25 +#define SVR4_CONFIG_DCACHE_ASSOC 0x26 +#define SVR4_CONFIG_UNUSED_2 0x27 +#define SVR4_CONFIG_UNUSED_3 0x28 +#define SVR4_CONFIG_UNUSED_4 0x29 +#define SVR4_CONFIG_MAXPID 0x2a +#define SVR4_CONFIG_STACK_PROT 0x2b #endif /* !_SVR4_SYSCONFIG_H_ */ From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 18 18:28:28 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 061C316A50E; Sat, 18 Mar 2006 18:28:27 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A06F943D53; Sat, 18 Mar 2006 18:28:21 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2IISL7h070581; Sat, 18 Mar 2006 18:28:21 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2IISKxo070577; Sat, 18 Mar 2006 18:28:20 GMT (envelope-from netchild) Date: Sat, 18 Mar 2006 18:28:20 GMT From: Alexander Leidinger Message-Id: <200603181828.k2IISKxo070577@freefall.freebsd.org> To: xdivac02@stud.fit.vutbr.cz, netchild@FreeBSD.org, freebsd-emulation@FreeBSD.org Cc: Subject: Re: kern/85175: [linux] [patch] linux emulation layer without COMPAT_43 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 18:28:28 -0000 Synopsis: [linux] [patch] linux emulation layer without COMPAT_43 State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Sat Mar 18 18:28:05 UTC 2006 State-Changed-Why: Committed. Thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=85175 From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 18 20:54:20 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F92116A422 for ; Sat, 18 Mar 2006 20:54:20 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9AF843D70 for ; Sat, 18 Mar 2006 20:54:19 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from bsam by ipt.ru with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FKiNS-0000Wf-AE for freebsd-emulation@freebsd.org; Sat, 18 Mar 2006 23:50:22 +0300 To: freebsd-emulation@freebsd.org From: Boris Samorodov Date: Sat, 18 Mar 2006 23:50:21 +0300 Message-ID: <63077458@ho.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: [patch] for bsd.linux-rpm.mk (LINUX_DISTRIBUTION and more) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 20:54:20 -0000 --=-=-= Hello, List! 1. I propose to use LINUX_DISTRIBUTION and VERSION (LINUX_DIST and LINUX_DIST_VER at the patch) at those ports which use USE_LINUX_RPM. So far only "fedora" and "3" are defined (they are defaults). The first option is intended to define to which distribution the port belogs to but thereis no need to install the linux distribution binaries. Current option USE_LINUX=foo implies installing linux distribution foo. 2. Currently only files for linux_base ports are saved to directories named after linux distribution names. There is no standard: o the majority of the ports use DIS_SUBDIR= rpm -- no distribution name, no version; o x11/linux-XFree86-libs: DIST_SUBDIR= rpm/i386/suse -- no version; o graphics/linux-png: DIST_SUBDIR= rpm/i386/fc3 -- combined distribution and version. I propose standard directory for fetching distfiles: DIST_SUBDIR?= rpm/${LINUX_RPM_ARCH}/${LINUX_DIST}/${LINUX_DIST_VER} The default directory may stay DIST_SUBDIR?= rpm. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=patch Content-Description: patch for bsd.linux-rpm.mk --- bsd.linux-rpm.mk.orig Thu Mar 16 22:13:54 2006 +++ bsd.linux-rpm.mk Sat Mar 18 22:31:36 2006 @@ -33,10 +34,30 @@ Linux_RPM_Post_Include= bsd.linux-rpm.mk +# LINUX_DIST and LINUX_DIST_VER should be defined at the port's Makefile + +LINUX_DIST?= fedora +LINUX_DIST_VER?= 3 + +. if ${LINUX_DIST} == "fedora" MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ +MASTER_SITE_SUBDIR?= ${LINUX_DIST_VER}/${LINUX_RPM_ARCH}/os/Fedora/RPMS \ + updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH} +MASTER_SITE_SRC_SUBDIR?= ${LINUX_DIST_VER}/SRPMS \ + updates/${LINUX_DIST_VER}/SRPMS +DIST_SUBDIR?= rpm/${LINUX_RPM_ARCH}/${LINUX_DIST}/${LINUX_DIST_VER} +. endif PKGNAMEPREFIX?= linux- +# DISTFILES and SRC_DISTFILES assume that there is only one bindist +# and one src file exists. +# Please, define them at the port's Makefile in case +# the assumption is not true. + +DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} +SRC_DISTFILES?= ${DISTNAME}${SRC_SUFX} +DIST_SUBDIR?= rpm + EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm eXTRACT_CMD?= ${RPM2CPIO} --=-=-=-- From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 18 22:22:34 2006 Return-Path: X-Original-To: emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF08D16A420 for ; Sat, 18 Mar 2006 22:22:34 +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 8881943D46 for ; Sat, 18 Mar 2006 22:22:34 +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 41BEF1A3C25 for ; Sat, 18 Mar 2006 14:22:34 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 80BA251373; Sat, 18 Mar 2006 17:22:33 -0500 (EST) Date: Sat, 18 Mar 2006 17:22:33 -0500 From: Kris Kennaway To: emulation@FreeBSD.org Message-ID: <20060318222233.GA62580@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: [ports-i386@dosirak.kr.freebsd.org: ko-linux_locale-1.0_1 failed on i386 7] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 22:22:35 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm doing a test build with the new fc port (it builds fine in a jail, thanks!). Some other ports break though. Kris ----- Forwarded message from User Ports-i386 ----- X-Original-To: kkenn@localhost Delivered-To: kkenn@localhost.obsecurity.org X-Original-To: kris@FreeBSD.org Delivered-To: kris@FreeBSD.org Date: Sun, 19 Mar 2006 06:26:37 +0900 (KST) From: User Ports-i386 To: kris@FreeBSD.org Subject: ko-linux_locale-1.0_1 failed on i386 7 X-UIDL: iHh!!iUp!!>,_!!,4""! X-Bogosity: Ham, tests=3Dbogofilter, spamicity=3D0.000000, version=3D1.0.2 building ko-linux_locale-1.0_1 on dosirak.kr.freebsd.org in directory /var/pkgbuild/7/chroot/8721 maintained by: cjh@kr.freebsd.org port directory: /usr/ports/korean/linux_locale build started at Sat Mar 18 21:22:37 UTC 2006 FETCH_DEPENDS=3D PATCH_DEPENDS=3D EXTRACT_DEPENDS=3D BUILD_DEPENDS=3Dlinux_base-fc-3.tbz RUN_DEPENDS=3Dlinux_base-fc-3.tbz prefixes: LOCALBASE=3Dusr/local X11BASE=3Dusr/X11R6 add_pkg =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D> linux_locale-ko-1.0.tar.gz doesn't seem to exist in /tmp/distfiles/. =3D> Attempting to fetch from ftp://ftp2.kr.freebsd.org/pub/FreeBSD/ports/d= istfiles/. linux_locale-ko-1.0.tar.gz 10 kB 911 kBps =3D> MD5 Checksum OK for linux_locale-ko-1.0.tar.gz. =3D> SHA256 Checksum OK for linux_locale-ko-1.0.tar.gz. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D add_pkg =3D=3D=3D> Extracting for ko-linux_locale-1.0_1 =3D> MD5 Checksum OK for linux_locale-ko-1.0.tar.gz. =3D> SHA256 Checksum OK for linux_locale-ko-1.0.tar.gz. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D add_pkg =3D=3D=3D> Patching for ko-linux_locale-1.0_1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D add_pkg linux_base-fc-3.tbz adding dependencies pkg_add linux_base-fc-3.tbz grep: /etc/fstab: No such file or directory +++ Some programs may need the linprocfs, please add it to /etc/fstab! +++ Running linux ldconfig... This software is based in part on the work of the FreeType Team. See . Installation of the Linux base system is finished. The Linux kernel mode, which must be enabled for Linux binaries to run, is now enabled. Linux mode can be enabled permanently with the linux_enable variable of rc.conf(5). To make use of NIS you have to adjust yp.conf and nsswitch.conf in /compat/linux/etc/ accordingly. For example: Set your yp-server and yp-domainname in yp.conf: domainname my.yp.domainname ypserver my.yp.server Let your lists for hosts, passwd and group be resolved via nsswitch.conf: passwd: files nis shadow: files nis group: files nis hosts: files dns nis mount_linprocfs: Operation not permitted =3D=3D=3D> ko-linux_locale-1.0_1 depends on file: /compat/linux/bin/sh - = found =3D=3D=3D> Configuring for ko-linux_locale-1.0_1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D make: don't know how to make regression-test(continuing) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D add_pkg linux_base-fc-3.tbz adding dependencies pkg_add linux_base-fc-3.tbz skipping linux_base-fc-3, already added mount_linprocfs: Operation not permitted =3D=3D=3D> Installing for ko-linux_locale-1.0_1 =3D=3D=3D> ko-linux_locale-1.0_1 depends on file: /compat/linux/bin/sh - = found =3D=3D=3D> Generating temporary packing list =3D=3D=3D> Checking if korean/linux_locale already installed pax: Unable to remove directory usr/share/locale/ko/LC_TIME *** Error code 1 Stop in /a/ports/korean/linux_locale. *** Error code 1 Stop in /a/ports/korean/linux_locale. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D build of /usr/ports/korean/linux_locale ended at Sat Mar 18 21:26:33 UTC 20= 06 ----- End forwarded message ----- --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEHIgoWry0BWjoQKURAn/RAJ4vodDGBIeYcl3vTTQgZgL7sl6yIQCgu7eS HdwjqBar0/gTq7+YhrxWmEM= =XO9d -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe-- From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 18 22:32:49 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A41FC16A445 for ; Sat, 18 Mar 2006 22:32:49 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00AAA43D45 for ; Sat, 18 Mar 2006 22:32:48 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5F28C.dip.t-dialin.net [84.165.242.140]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k2IMEB6j090115; Sat, 18 Mar 2006 23:14:12 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k2IMWhdS072930; Sat, 18 Mar 2006 23:32:43 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sat, 18 Mar 2006 23:32:43 +0100 From: Alexander Leidinger To: Boris Samorodov Message-ID: <20060318233243.52d6c3aa@Magellan.Leidinger.net> In-Reply-To: <61349928@ho.ipt.ru> References: <39907788@serv3.int.kfs.ru> <20060316181625.41102cfd@Magellan.Leidinger.net> <61349928@ho.ipt.ru> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.16; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP__Zs=hjt1=aGcwfTSlB._VyF" X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: [patch] for bsd.linux-rpm.mk (add auto sources fetching) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 22:32:49 -0000 --MP__Zs=hjt1=aGcwfTSlB._VyF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Am Thu, 16 Mar 2006 23:23:03 +0300 schrieb Boris Samorodov : > On Thu, 16 Mar 2006 18:16:25 +0100 Alexander Leidinger wrote: > > Am Thu, 16 Mar 2006 18:25:23 +0300 > > schrieb Boris Samorodov : > > > > +. if defined(PACKAGE_BUILDING) && ${AUTO_LINUX_SRC} == "yes" > > > +DISTFILES+= ${DISTNAME}${SRC_SUFX} > > > +MASTER_SITE_SUBDIR+= 3/SRPMS > > > +ALWAYS_KEEP_DISTFILES= yes > > > . endif > > > You are assuming this will only be used for some specific directory > > layouts without the possibility to override this. I suggest to > > introduce an overridable variable... maybe MASTER_SITE_SRC_SUBDIR or > > whatever which will be added to MASTER_SITE_SUBDIR then. > > > Maybe you can change the patch to have a look at a SRC_DISTFILES > > variable and add this content to the DISTFILES in the PACKAGE_BUILDING > > case instead of hardcoding one file. > > Agreed to both. New patch is attached. > > If auto fetching go well, then variable AUTO_LINUX_SRC may be I don't think we need it, I documented the behavior and what to do in case of e.g. a commercial RPM. > deletted. But for now it may be used if something go wrong with auto > fetching. Attached is a diff which I intend to commit. It's a combination of your patches, and some own stuff (start of docs, a new new-plist target and some mods to your patches). What do you think about it? Bye, Alexander. -- To boldly go where I surely don't belong. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ --MP__Zs=hjt1=aGcwfTSlB._VyF Content-Type: text/x-patch; name=bsd.linux-rpm.mk.diff Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=bsd.linux-rpm.mk.diff Index: bsd.linux-rpm.mk =================================================================== RCS file: /big/FreeBSD-CVS/ports/Mk/bsd.linux-rpm.mk,v retrieving revision 1.2 diff -u -u -r1.2 bsd.linux-rpm.mk --- bsd.linux-rpm.mk 25 Jan 2006 17:41:34 -0000 1.2 +++ bsd.linux-rpm.mk 18 Mar 2006 22:28:51 -0000 @@ -4,6 +4,30 @@ # $FreeBSD: ports/Mk/bsd.linux-rpm.mk,v 1.2 2006/01/25 17:41:34 jylefort Exp $ # +# Variables: +# - LINUX_DIST: Will be used to set some dist-specific presets. +# Valid values: fedora +# - LINUX_DIST_VER: Use depends upon the dist-specific presets. +# Valid values for "fedora": all version numbers +# e.g. 3 for fedora core 3, 4 for fedora core 4 +# This is used to set MASTER_SITE_{,SRC_}SUBDIR +# if it isn't already set. +# - MASTER_SITE_SRC_SUBDIR: The subdir for the src RPM's. +# - DISTFILES: For simple cases this will be set automatically +# based upon the DISTNAME. +# - SRC_DISTFILES: Variable which contains the corresponding src RPM's. +# If there's no corresponding src RPM, it has to be +# set to the empty value (SRC_DISTFILES= ""). +# - AUTOMATIC_PLIST: Generate a dynamic plist (please have a look at the +# porters handbook section which talks about plists. +# This feature is reserved for rare cases). +# - BRANDELF_DIRS: A list of directories with executables to brand +# as a linux executable. The directories has to not +# contain libraries. +# - BRANDELF_FILES: A list of files to brand as a linux executable in +# case BRANDELF_DIRS can't be used. + + .if !defined(_POSTMKINCLUDED) && !defined(Linux_RPM_Pre_Include) Linux_RPM_Include_MAINTAINER= emulation@FreeBSD.org @@ -33,10 +57,38 @@ Linux_RPM_Post_Include= bsd.linux-rpm.mk +LINUX_DIST?= fedora +LINUX_DIST_VER?= 3 + +. if defined(LINUX_DIST) +DIST_SUBDIR?= rpm/${LINUX_RPM_ARCH}/${LINUX_DIST}/${LINUX_DIST_VER} + +. if ${LINUX_DIST} == "fedora" MASTER_SITES?= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR?= 3/${LINUX_RPM_ARCH}/os/Fedora/RPMS/ +MASTER_SITE_SUBDIR?= ${LINUX_DIST_VER}/${LINUX_RPM_ARCH}/os/Fedora/RPMS \ + updates/${LINUX_DIST_VER}/${LINUX_RPM_ARCH} +MASTER_SITE_SRC_SUBDIR?= ${LINUX_DIST_VER}/SRPMS \ + updates/${LINUX_DIST_VER}/SRPMS +. else +IGNORE= unknown LINUX_DIST in port Makefile +. endif +. endif PKGNAMEPREFIX?= linux- +# DISTFILES and SRC_DISTFILES assume that there is only one bindist +# and one src file. +# Please, define them n the Makefile of the port in case this assumption +# is not true. + +DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} +SRC_DISTFILES?= ${DISTNAME}${SRC_SUFX} + +. if defined(PACKAGE_BUILDING) +DISTFILES+= ${SRC_DISTFILES} +MASTER_SITE_SUBDIR+= ${MASTER_SITE_SRC_SUBDIR} +ALWAYS_KEEP_DISTFILES= yes +. endif + EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm EXTRACT_CMD?= ${RPM2CPIO} @@ -45,43 +97,54 @@ MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH} +BRANDELF_DIRS?= +BRANDELF_FILES?= + . if defined(AUTOMATIC_PLIST) . if ${USE_LINUX} == "8" || ${USE_LINUX:L} == "yes" _LINUX_BASE_SUFFIX= 8 . elif ${USE_LINUX} == "debian" _LINUX_BASE_SUFFIX= debian +. elif ${USE_LINUX} == "fc3" +_LINUX_BASE_SUFFIX= fc3 . else # other linux_base ports do not provide a pkg-plist file -IGNORE= uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\" and \"debian\" +IGNORE= uses AUTOMATIC_PLIST with an unsupported USE_LINUX, \"${USE_LINUX}\". Supported values are \"yes\", \"8\", \"debian\" and \"fc3\" . endif PLIST?= ${WRKDIR}/.PLIST.linux-rpm pre-install: linux-rpm-generate-plist +. if !target(linux-rpm-generate-plist) linux-rpm-generate-plist: @cd ${WRKSRC} && \ ${FIND} * ! -type d | ${SORT} > ${PLIST} && \ ${FIND} * -type d | ${SORT} | ${SED} -e 's|^|@dirrm |' > ${PLIST}.dirs @${GREP} '^@dirrm ' ${PORTSDIR}/emulators/linux_base-${_LINUX_BASE_SUFFIX}/pkg-plist | ${SORT} > ${PLIST}.shared-dirs @${COMM} -1 -3 ${PLIST}.shared-dirs ${PLIST}.dirs | ${SORT} -r >> ${PLIST} - +. endif . endif . if !target(do-install) do-install: +. if ${BRANDELF_DIRS} + @cd ${WRKSRC} && ${FIND} ${BRANDELF_DIRS} -type f -print0 \ + | ${XARGS} -0 ${FILE} | ${GREP} ELF | ${CUT} -d : -f 1 \ + | ${XARGS} ${BRANDELF} -t Linux +. endif +. if ${BRANDELF_FILES} + @cd ${WRKSRC} && ${BRANDELF} -t Linux ${BRANDELF_FILES} +. endif cd ${WRKSRC} && ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/{}" \; cd ${WRKSRC} && ${FIND} * ! -type d | ${CPIO} -pm -R root:wheel ${PREFIX} . endif . if !target(new-plist) -new-plist: - @${RM} -rf ${WRKDIR}/.new-plist - @${MKDIR} ${WRKDIR}/.new-plist - @cd ${WRKDIR}/.new-plist && \ - for f in ${DISTFILES}; do \ - ${RPM2CPIO} ${_DISTDIR}/$$f | ${CPIO} -id --quiet; \ +new-plist: build + @${RM} -f ${PLIST}.new + @cd ${WRKSRC} && \ ${FIND} * ! type d | ${SORT} > ${PLIST}.new; \ ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm |' >> ${PLIST}.new; \ done --MP__Zs=hjt1=aGcwfTSlB._VyF--