From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 21 12:56:05 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 333821065670 for ; Sun, 21 Jun 2009 12:56:05 +0000 (UTC) (envelope-from adamk@voicenet.com) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id D5ED58FC1A for ; Sun, 21 Jun 2009 12:56:04 +0000 (UTC) (envelope-from adamk@voicenet.com) Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA01.westchester.pa.mail.comcast.net with comcast id 6cQn1c0050Fqzac51cveCY; Sun, 21 Jun 2009 12:55:38 +0000 Received: from sorrow.ashke.com ([68.45.151.98]) by OMTA08.westchester.pa.mail.comcast.net with comcast id 6cw51c00227dlBY3Ucw5FG; Sun, 21 Jun 2009 12:56:05 +0000 Message-ID: <4A3E2DE3.9070102@voicenet.com> Date: Sun, 21 Jun 2009 08:56:03 -0400 From: Adam K Kirchhoff User-Agent: Thunderbird 2.0.0.21 (X11/20090410) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Graphics distortion in the guest OS with VirtualBox 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: Sun, 21 Jun 2009 12:56:05 -0000 This is what I'm getting with a Windows XP guest OS that was created on a linux host: http://www.npark.com/vbox.jpg I am running: FreeBSD sorrow.ashke.com 8.0-CURRENT FreeBSD 8.0-CURRENT #9: Sun Jun 21 08:10:15 EDT 2009 root@sorrow.ashke.com:/usr/obj/usr/src/sys/GENERIC i386 VirtualBox is from ports at version 2.2.51.r20457_2 I have the video memory set at 32 megs, with 3D acceleration disabled. I am using a radeon x850 on the host. If no one has seen this before or has an idea of how to fix it, I'll open up pr for it. Adam From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 21 15:45:20 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0742106564A for ; Sun, 21 Jun 2009 15:45:20 +0000 (UTC) (envelope-from yamagi@yamagi.org) Received: from mail.yamagi.org (yamagi.org [88.198.78.242]) by mx1.freebsd.org (Postfix) with ESMTP id 594FF8FC0A for ; Sun, 21 Jun 2009 15:45:20 +0000 (UTC) (envelope-from yamagi@yamagi.org) Received: from screw.home.yamagi.org (f054129239.adsl.alicedsl.de [78.54.129.239]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yamagi.org (Postfix) with ESMTP id A3C4310835E4; Sun, 21 Jun 2009 17:45:18 +0200 (CEST) Received: from screw.home.yamagi.org (localhost [127.0.0.1]) by screw.home.yamagi.org (8.14.3/8.14.3) with ESMTP id n5LFjHgX012401; Sun, 21 Jun 2009 17:45:17 +0200 (CEST) (envelope-from yamagi@screw.home.yamagi.org) Received: (from yamagi@localhost) by screw.home.yamagi.org (8.14.3/8.14.3/Submit) id n5LFjGRG012400; Sun, 21 Jun 2009 17:45:16 +0200 (CEST) (envelope-from yamagi) Date: Sun, 21 Jun 2009 17:45:16 +0200 From: Yamagi Burmeister To: Adam K Kirchhoff Message-ID: <20090621154516.GA12325@yamagi.org> References: <4A3E2DE3.9070102@voicenet.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <4A3E2DE3.9070102@voicenet.com> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-emulation@freebsd.org Subject: Re: Graphics distortion in the guest OS with VirtualBox 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: Sun, 21 Jun 2009 15:45:20 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am Sun, Jun 21, 2009 at 08:56:03AM -0400 schrieb Adam K Kirchhoff: >=20 > This is what I'm getting with a Windows XP guest OS that was created on= =20 > a linux host: >=20 > http://www.npark.com/vbox.jpg Hello, I had the same problem some days ago. The problem is not Virtualbox, it's the ati/radeonhd video driver. nox@ gave me a little hint how to work arround: Just set the environment variable XLIB_SKIP_ARGB_VISUALS to 1 before starting Virtualbox. With that variable set it should work. Ciao, Yamagi --=20 Homepage: www.yamagi.org Jabber: yamagi@yamagi.org GnuPG/GPG: 0xEFBCCBCB --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAko+VYsACgkQWTjlg++8y8tATQCfcaM1eavaGBKbFNy9w2WyOfJH YSEAoKJMB7JXzK8HQtnbBmb7B1Z0NxWR =nIDQ -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 21 16:28:15 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B30D0106564A for ; Sun, 21 Jun 2009 16:28:15 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 73C118FC08 for ; Sun, 21 Jun 2009 16:28:15 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id E01091E00202; Sun, 21 Jun 2009 18:28:13 +0200 (CEST) Received: from triton.kn-bremen.de (noident@localhost [127.0.0.1]) by triton.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n5LGPopc061882; Sun, 21 Jun 2009 18:25:50 +0200 (CEST) (envelope-from nox@triton.kn-bremen.de) Received: (from nox@localhost) by triton.kn-bremen.de (8.14.3/8.14.3/Submit) id n5LGPjEE061881; Sun, 21 Jun 2009 18:25:45 +0200 (CEST) (envelope-from nox) Date: Sun, 21 Jun 2009 18:25:45 +0200 (CEST) From: Juergen Lock Message-Id: <200906211625.n5LGPjEE061881@triton.kn-bremen.de> To: adamk@voicenet.com X-Newsgroups: local.list.freebsd.emulation In-Reply-To: <4A3E2DE3.9070102@voicenet.com> Organization: home Cc: freebsd-emulation@freebsd.org Subject: Re: Graphics distortion in the guest OS with VirtualBox 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: Sun, 21 Jun 2009 16:28:15 -0000 In article <4A3E2DE3.9070102@voicenet.com> you write: >This is what I'm getting with a Windows XP guest OS that was created on >a linux host: > >http://www.npark.com/vbox.jpg > >I am running: > >FreeBSD sorrow.ashke.com 8.0-CURRENT FreeBSD 8.0-CURRENT #9: Sun Jun 21 >08:10:15 EDT 2009 >root@sorrow.ashke.com:/usr/obj/usr/src/sys/GENERIC i386 > > >VirtualBox is from ports at version 2.2.51.r20457_2 > >I have the video memory set at 32 megs, with 3D acceleration disabled. >I am using a radeon x850 on the host. > >If no one has seen this before or has an idea of how to fix it, I'll >open up pr for it. I'm not sure if this is the same issue, but... http://webupd8.blogspot.com/2009/05/quick-tip-make-virtualbox-os-window-non.html HTH, Juergen From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 21 19:22:37 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1636F1065672 for ; Sun, 21 Jun 2009 19:22:37 +0000 (UTC) (envelope-from adamk@voicenet.com) Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mx1.freebsd.org (Postfix) with ESMTP id B69E58FC1D for ; Sun, 21 Jun 2009 19:22:36 +0000 (UTC) (envelope-from adamk@voicenet.com) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA04.westchester.pa.mail.comcast.net with comcast id 6cvr1c0031GhbT854jNdWg; Sun, 21 Jun 2009 19:22:37 +0000 Received: from scroll.ashke.com ([68.45.151.98]) by OMTA07.westchester.pa.mail.comcast.net with comcast id 6jNc1c00B27dlBY3TjNcSV; Sun, 21 Jun 2009 19:22:37 +0000 Message-ID: <4A3E887B.7060708@voicenet.com> Date: Sun, 21 Jun 2009 15:22:35 -0400 From: Adam K Kirchhoff User-Agent: Thunderbird 2.0.0.21 (X11/20090515) MIME-Version: 1.0 To: Yamagi Burmeister , freebsd-emulation@freebsd.org References: <4A3E2DE3.9070102@voicenet.com> <20090621154516.GA12325@yamagi.org> In-Reply-To: <20090621154516.GA12325@yamagi.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Graphics distortion in the guest OS with VirtualBox 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: Sun, 21 Jun 2009 19:22:37 -0000 Yamagi Burmeister wrote: > Am Sun, Jun 21, 2009 at 08:56:03AM -0400 schrieb Adam K Kirchhoff: > >> This is what I'm getting with a Windows XP guest OS that was created on >> a linux host: >> >> http://www.npark.com/vbox.jpg >> > > Hello, > I had the same problem some days ago. The problem is not Virtualbox, > it's the ati/radeonhd video driver. nox@ gave me a little hint how to > work arround: Just set the environment variable XLIB_SKIP_ARGB_VISUALS > to 1 before starting Virtualbox. With that variable set it should work. > > Ciao, > Yamagi > > Well that seems to have done it. Thanks. I wonder why that variable is required for FreeBSD, but not on Linux with the same radeon driver. Adam From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 22 11:06:53 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29A6D106564A for ; Mon, 22 Jun 2009 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1607F8FC2C for ; Mon, 22 Jun 2009 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5MB6qda017982 for ; Mon, 22 Jun 2009 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5MB6qGJ017978 for freebsd-emulation@FreeBSD.org; Mon, 22 Jun 2009 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Jun 2009 11:06:52 GMT Message-Id: <200906221106.n5MB6qGJ017978@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org 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, 22 Jun 2009 11:06:53 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/135341 emulation [PATCH] linux-f10 ports that install manpages: add NOM o ports/135337 emulation [PATCH] emulators/linux_base-f10: incorrect bash usage o kern/130724 emulation [linprocfs] [patch] cpuinfo in linprocfs is dated, cau o kern/129169 emulation [linux] [patch] Linux Emulation ENOTCONN error using n f ports/127018 emulation Linuxulator incapable of using FreeBSD's LDAP environm o kern/126232 emulation [linux] Linux ioctl TCGETS (0x5401) always fails o kern/97326 emulation [linux] file descriptor leakage in linux emulation o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/56451 emulation [linprocfs] /compat/linux/proc/cpuinfo gives wrong CPU o kern/41543 emulation [patch] [request] easier wine/w23 support o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 15 problems total. From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 26 17:45:44 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C709E106564A; Fri, 26 Jun 2009 17:45:44 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 81F278FC0C; Fri, 26 Jun 2009 17:45:44 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.16.254] (helo=moosi) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1MKFUd-0003oH-EA; Fri, 26 Jun 2009 21:45:43 +0400 To: Juergen Lock References: <20090606162235.GA49444@triton.kn-bremen.de> From: Boris Samorodov Date: Fri, 26 Jun 2009 21:46:30 +0400 In-Reply-To: <20090606162235.GA49444@triton.kn-bremen.de> (Juergen Lock's message of "Sat\, 6 Jun 2009 18\:22\:35 +0200") Message-ID: <43784537@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org Subject: flash10 vs f10 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: Fri, 26 Jun 2009 17:45:45 -0000 Juergen Lock writes: > Anyway, on to www/linux-f8-flashplugin10 with OVERRIDE_LINUX_BASE_PORT > and OVERRIDE_LINUX_NONBASE_PORTS both f10: I got that going after > removing libidn from the port's USE_LINUX_APPS (its part of linux_base-f10) > and installing two new dependencies of f10's libcurl: > libldap-2.4.so.2 in openldap-2.4.12-1.fc10.i386.rpm > and > libsasl2.so.2 in cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm > (so we'll need two new ports for these), Are you sure that those two ports are necessary? I had no reports that something doesn't work without those libraries. > and then finally to get > libflashsupport working too (i.e., audio) I had to > ln -s libssl.so.7 /compat/linux/lib/libssl.so.6 > - so we probably need a new linux-f10-flashsupport too if we want to > avoid that symlink. Can you provide one? Then we can create a repocopy and commit a new port. Thanks! WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 26 18:17:19 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6288B1065674; Fri, 26 Jun 2009 18:17:19 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 2A7998FC0C; Fri, 26 Jun 2009 18:17:19 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id n5QIHHij054129; Fri, 26 Jun 2009 13:17:18 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Fri, 26 Jun 2009 13:17:17 -0500 (CDT) From: "Sean C. Farley" To: Boris Samorodov In-Reply-To: <43784537@ipt.ru> Message-ID: References: <20090606162235.GA49444@triton.kn-bremen.de> <43784537@ipt.ru> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org, Juergen Lock Subject: Re: flash10 vs f10 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: Fri, 26 Jun 2009 18:17:19 -0000 On Fri, 26 Jun 2009, Boris Samorodov wrote: > Juergen Lock writes: > >> Anyway, on to www/linux-f8-flashplugin10 with OVERRIDE_LINUX_BASE_PORT >> and OVERRIDE_LINUX_NONBASE_PORTS both f10: I got that going after >> removing libidn from the port's USE_LINUX_APPS (its part of linux_base-f10) >> and installing two new dependencies of f10's libcurl: >> libldap-2.4.so.2 in openldap-2.4.12-1.fc10.i386.rpm >> and >> libsasl2.so.2 in cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm >> (so we'll need two new ports for these), > > Are you sure that those two ports are necessary? I had no reports > that something doesn't work without those libraries. > >> and then finally to get >> libflashsupport working too (i.e., audio) I had to >> ln -s libssl.so.7 /compat/linux/lib/libssl.so.6 >> - so we probably need a new linux-f10-flashsupport too if we want to >> avoid that symlink. > > Can you provide one? Then we can create a repocopy and commit > a new port. Thanks! Here you go (at least for the binary): http://lists.freebsd.org/pipermail/freebsd-emulation/2009-June/006401.html Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 26 19:31:55 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28499106566C; Fri, 26 Jun 2009 19:31:55 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id D38F88FC18; Fri, 26 Jun 2009 19:31:54 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.16.254] (helo=moosi) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1MKH9M-00058T-Sj; Fri, 26 Jun 2009 23:31:53 +0400 To: "Sean C. Farley" References: <20090606162235.GA49444@triton.kn-bremen.de> <43784537@ipt.ru> From: Boris Samorodov Date: Fri, 26 Jun 2009 23:32:40 +0400 In-Reply-To: (Sean C. Farley's message of "Fri\, 26 Jun 2009 13\:17\:17 -0500 \(CDT\)") Message-ID: <66988167@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org, Juergen Lock Subject: Re: flash10 vs f10 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: Fri, 26 Jun 2009 19:31:55 -0000 "Sean C. Farley" writes: > On Fri, 26 Jun 2009, Boris Samorodov wrote: >> Juergen Lock writes: >> >>> Anyway, on to www/linux-f8-flashplugin10 with OVERRIDE_LINUX_BASE_PORT >>> and OVERRIDE_LINUX_NONBASE_PORTS both f10: I got that going after >>> removing libidn from the port's USE_LINUX_APPS (its part of linux_base-f10) >>> and installing two new dependencies of f10's libcurl: >>> libldap-2.4.so.2 in openldap-2.4.12-1.fc10.i386.rpm >>> and >>> libsasl2.so.2 in cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm >>> (so we'll need two new ports for these), >> >> Are you sure that those two ports are necessary? I had no reports >> that something doesn't work without those libraries. >> >>> and then finally to get >>> libflashsupport working too (i.e., audio) I had to >>> ln -s libssl.so.7 /compat/linux/lib/libssl.so.6 >>> - so we probably need a new linux-f10-flashsupport too if we want to >>> avoid that symlink. >> >> Can you provide one? Then we can create a repocopy and commit >> a new port. Thanks! > > Here you go (at least for the binary): > http://lists.freebsd.org/pipermail/freebsd-emulation/2009-June/006401.html OK, thanks! I should have missed you previous post. Here is a port for tests. This shar should be run at /usr/ports/www: ftp://ftp.ipt.ru/pub/linux/linux-f10-flashplugin10.shar Note: the port is only hand-written and tested to build/install/deinstall. WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 26 19:56:06 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61BFB1065674 for ; Fri, 26 Jun 2009 19:56:06 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id B83D38FC1E for ; Fri, 26 Jun 2009 19:56:05 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by ewy9 with SMTP id 9so2112806ewy.43 for ; Fri, 26 Jun 2009 12:56:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=BkB/Zu84O+XQHyd5ta9pzBTk9XIaj4CJfjwQz/RzreQ=; b=eoZMJpkMQr9IT4ElevI2eh6QVIQYulemHY1qL8gunqD1XU2ct6v7DnCueiBeo/kMsJ 0CotgaS3TJnNb48sOTtEDjEp7b82mlktjI/p/jpSdaY5EkVwLtlnhf0/AdHjqnvzfrLo ABBWZAnCkC8b2QlouSxLZo5RVV0uKXKlcdgGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=hMTDS6Oecg1Y0QlzYdDLWq2t4K8oCBFgLaOgBRi12YSAP7uhRASsrLugG8/9DNG8LG gk6aai1tr8X7Y4Zgqhq2eONSv0CODtVxFSUWLV9wbkQzqBoyf3lOUihWz0F0ZI4DW1e6 ndBMm30TjJ1AIsZGn39LQ5dH49UiE+uIps/tU= MIME-Version: 1.0 Received: by 10.211.162.11 with SMTP id p11mr44527ebo.95.1246046164183; Fri, 26 Jun 2009 12:56:04 -0700 (PDT) In-Reply-To: <66988167@ipt.ru> References: <20090606162235.GA49444@triton.kn-bremen.de> <43784537@ipt.ru> <66988167@ipt.ru> From: Renato Botelho Date: Fri, 26 Jun 2009 16:55:44 -0300 Message-ID: <747dc8f30906261255s1ecc1420x574ded3be835b448@mail.gmail.com> To: Boris Samorodov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, Juergen Lock Subject: Re: flash10 vs f10 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: Fri, 26 Jun 2009 19:56:06 -0000 On Fri, Jun 26, 2009 at 4:32 PM, Boris Samorodov wrote: > OK, thanks! I should have missed you previous post. > > Here is a port for tests. This shar should be run at /usr/ports/www: > ftp://ftp.ipt.ru/pub/linux/linux-f10-flashplugin10.shar > > Note: the port is only hand-written and tested to build/install/deinstall. I tried it and got this message: *** NSPlugin Wrapper *** ERROR: NPP_New() wait for reply: Message timeout My environment: FreeBSD botelhor.bplab.local 8.0-CURRENT FreeBSD 8.0-CURRENT #73 r194284: Wed Jun 24 19:09:04 BRT 2009 root@botelhor.bplab.local:/usr/obj/usr/src/sys/GARGA i386 linux-f10-atk-1.24.0 linux-f10-cairo-1.8.0 linux-f10-curl-7.19.4_1 linux-f10-expat-2.0.1 linux-f10-flashplugin-10.0r22 linux-f10-fontconfig-2.6.0 linux-f10-gtk2-2.14.7 linux-f10-jpeg-6b linux-f10-libssh2-0.18 linux-f10-nspr-4.7.3 linux-f10-nss-3.12.2.0 linux-f10-openssl-0.9.8g linux-f10-pango-1.22.3 linux-f10-png-1.2.35 linux-f10-sqlite3-3.5.9 linux-f10-tiff-3.8.2 linux-f10-xorg-libs-7.4 linux_base-f10-10 nspluginwrapper-1.2.2_2 I deinstalled linux-f8, cleaned compat/linux and reinstalled everything. -- Renato Botelho From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 26 20:33:18 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F1F5106566C; Fri, 26 Jun 2009 20:33:18 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 4A06F8FC19; Fri, 26 Jun 2009 20:33:18 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id n5QKXFTL056791; Fri, 26 Jun 2009 15:33:16 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Fri, 26 Jun 2009 15:33:15 -0500 (CDT) From: "Sean C. Farley" To: Renato Botelho In-Reply-To: <747dc8f30906261255s1ecc1420x574ded3be835b448@mail.gmail.com> Message-ID: References: <20090606162235.GA49444@triton.kn-bremen.de> <43784537@ipt.ru> <66988167@ipt.ru> <747dc8f30906261255s1ecc1420x574ded3be835b448@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org, Juergen Lock Subject: Re: flash10 vs f10 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: Fri, 26 Jun 2009 20:33:19 -0000 On Fri, 26 Jun 2009, Renato Botelho wrote: > On Fri, Jun 26, 2009 at 4:32 PM, Boris Samorodov wrote: >> OK, thanks! I should have missed you previous post. >> >> Here is a port for tests. This shar should be run at /usr/ports/www: >> ftp://ftp.ipt.ru/pub/linux/linux-f10-flashplugin10.shar >> >> Note: the port is only hand-written and tested to build/install/deinstall. > > I tried it and got this message: > > *** NSPlugin Wrapper *** ERROR: NPP_New() wait for reply: Message timeout > > My environment: > > FreeBSD botelhor.bplab.local 8.0-CURRENT FreeBSD 8.0-CURRENT #73 > r194284: Wed Jun 24 19:09:04 BRT 2009 > root@botelhor.bplab.local:/usr/obj/usr/src/sys/GARGA i386 > > linux-f10-atk-1.24.0 > linux-f10-cairo-1.8.0 > linux-f10-curl-7.19.4_1 > linux-f10-expat-2.0.1 > linux-f10-flashplugin-10.0r22 > linux-f10-fontconfig-2.6.0 > linux-f10-gtk2-2.14.7 > linux-f10-jpeg-6b > linux-f10-libssh2-0.18 > linux-f10-nspr-4.7.3 > linux-f10-nss-3.12.2.0 > linux-f10-openssl-0.9.8g > linux-f10-pango-1.22.3 > linux-f10-png-1.2.35 > linux-f10-sqlite3-3.5.9 > linux-f10-tiff-3.8.2 > linux-f10-xorg-libs-7.4 > linux_base-f10-10 > nspluginwrapper-1.2.2_2 > > I deinstalled linux-f8, cleaned compat/linux and reinstalled everything. Assuming it is the issue with missing dependencies for libcurl, we also need port(s) for liblber and libldap since f10's libcurl depends upon them. I had to manually extract a couple of RPM's to get them. Here is the ldd output of libcurl for me: # /compat/linux/bin/sh /compat/linux/usr/bin/ldd /compat/linux/usr/lib/libcurl.so.4.1.1 libidn.so.11 => /lib/libidn.so.11 (0x20073000) libssh2.so.1 => /usr/lib/libssh2.so.1 (0x200a5000) libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0x200c7000) librt.so.1 => /lib/librt.so.1 (0x20109000) libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x20113000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x20141000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x201e1000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x20206000) libz.so.1 => /lib/libz.so.1 (0x20209000) libssl3.so => /lib/libssl3.so (0x2021d000) libsmime3.so => /lib/libsmime3.so (0x2024e000) libnss3.so => /lib/libnss3.so (0x20275000) libplds4.so => /lib/libplds4.so (0x203bb000) libplc4.so => /lib/libplc4.so (0x203bf000) libnspr4.so => /lib/libnspr4.so (0x203c4000) libpthread.so.0 => /lib/libpthread.so.0 (0x203fe000) libdl.so.2 => /lib/libdl.so.2 (0x20418000) libc.so.6 => /lib/libc.so.6 (0x2041d000) libssl.so.7 => /lib/libssl.so.7 (0x20596000) libcrypto.so.7 => /lib/libcrypto.so.7 (0x205e1000) liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x20735000) libresolv.so.2 => /lib/libresolv.so.2 (0x20744000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x2075b000) /lib/ld-linux.so.2 (0x00000000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x20775000) libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x2077f000) libnssutil3.so => /lib/libnssutil3.so (0x20782000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x2079b000) libselinux.so.1 => /lib/libselinux.so.1 (0x207cf000) Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 27 14:42:20 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD144106567E; Sat, 27 Jun 2009 14:42:20 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 31C818FC20; Sat, 27 Jun 2009 14:42:19 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 18CE91E00202; Sat, 27 Jun 2009 16:42:19 +0200 (CEST) Received: from triton.kn-bremen.de (noident@localhost [127.0.0.1]) by triton.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n5REbKCv028516; Sat, 27 Jun 2009 16:37:20 +0200 (CEST) (envelope-from nox@triton.kn-bremen.de) Received: (from nox@localhost) by triton.kn-bremen.de (8.14.3/8.14.3/Submit) id n5REbJqN028515; Sat, 27 Jun 2009 16:37:19 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 27 Jun 2009 16:37:19 +0200 To: "Sean C. Farley" Message-ID: <20090627143719.GA28318@triton.kn-bremen.de> References: <20090606162235.GA49444@triton.kn-bremen.de> <43784537@ipt.ru> <66988167@ipt.ru> <747dc8f30906261255s1ecc1420x574ded3be835b448@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org, Juergen Lock Subject: Re: flash10 vs f10 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, 27 Jun 2009 14:42:21 -0000 On Fri, Jun 26, 2009 at 03:33:15PM -0500, Sean C. Farley wrote: > On Fri, 26 Jun 2009, Renato Botelho wrote: > > > On Fri, Jun 26, 2009 at 4:32 PM, Boris Samorodov wrote: > >> OK, thanks! I should have missed you previous post. > >> > >> Here is a port for tests. This shar should be run at /usr/ports/www: > >> ftp://ftp.ipt.ru/pub/linux/linux-f10-flashplugin10.shar > >> > >> Note: the port is only hand-written and tested to build/install/deinstall. > > > > I tried it and got this message: > > > > *** NSPlugin Wrapper *** ERROR: NPP_New() wait for reply: Message timeout > > > > My environment: > > > > FreeBSD botelhor.bplab.local 8.0-CURRENT FreeBSD 8.0-CURRENT #73 > > r194284: Wed Jun 24 19:09:04 BRT 2009 > > root@botelhor.bplab.local:/usr/obj/usr/src/sys/GARGA i386 > > > > linux-f10-atk-1.24.0 > > linux-f10-cairo-1.8.0 > > linux-f10-curl-7.19.4_1 > > linux-f10-expat-2.0.1 > > linux-f10-flashplugin-10.0r22 > > linux-f10-fontconfig-2.6.0 > > linux-f10-gtk2-2.14.7 > > linux-f10-jpeg-6b > > linux-f10-libssh2-0.18 > > linux-f10-nspr-4.7.3 > > linux-f10-nss-3.12.2.0 > > linux-f10-openssl-0.9.8g > > linux-f10-pango-1.22.3 > > linux-f10-png-1.2.35 > > linux-f10-sqlite3-3.5.9 > > linux-f10-tiff-3.8.2 > > linux-f10-xorg-libs-7.4 > > linux_base-f10-10 > > nspluginwrapper-1.2.2_2 > > > > I deinstalled linux-f8, cleaned compat/linux and reinstalled everything. > > Assuming it is the issue with missing dependencies for libcurl, we also > need port(s) for liblber and libldap since f10's libcurl depends upon > them. liblber is in the same rpm with libldap (I used openldap-2.4.12-1.fc10.i386.rpm as I said), and as I said we also need libsasl2 (libldap depends on it) which is in cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm . > I had to manually extract a couple of RPM's to get them. Here is > the ldd output of libcurl for me: > > # /compat/linux/bin/sh /compat/linux/usr/bin/ldd /compat/linux/usr/lib/libcurl.so.4.1.1 > libidn.so.11 => /lib/libidn.so.11 (0x20073000) > libssh2.so.1 => /usr/lib/libssh2.so.1 (0x200a5000) > libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0x200c7000) > librt.so.1 => /lib/librt.so.1 (0x20109000) > libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x20113000) > libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x20141000) > libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x201e1000) > libcom_err.so.2 => /lib/libcom_err.so.2 (0x20206000) > libz.so.1 => /lib/libz.so.1 (0x20209000) > libssl3.so => /lib/libssl3.so (0x2021d000) > libsmime3.so => /lib/libsmime3.so (0x2024e000) > libnss3.so => /lib/libnss3.so (0x20275000) > libplds4.so => /lib/libplds4.so (0x203bb000) > libplc4.so => /lib/libplc4.so (0x203bf000) > libnspr4.so => /lib/libnspr4.so (0x203c4000) > libpthread.so.0 => /lib/libpthread.so.0 (0x203fe000) > libdl.so.2 => /lib/libdl.so.2 (0x20418000) > libc.so.6 => /lib/libc.so.6 (0x2041d000) > libssl.so.7 => /lib/libssl.so.7 (0x20596000) > libcrypto.so.7 => /lib/libcrypto.so.7 (0x205e1000) > liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x20735000) > libresolv.so.2 => /lib/libresolv.so.2 (0x20744000) > libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x2075b000) > /lib/ld-linux.so.2 (0x00000000) > libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x20775000) > libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x2077f000) > libnssutil3.so => /lib/libnssutil3.so (0x20782000) > libcrypt.so.1 => /lib/libcrypt.so.1 (0x2079b000) > libselinux.so.1 => /lib/libselinux.so.1 (0x207cf000) Same here with the following ports I just tested here: (thanx to bsam for the linux-f10-flashplugin10 port and to Peter Jeremy for the original linux-f10-openldap and linux-f10-cyrus-sasl2 ports!) First a patch for bsd.linux-apps.mk, then the shar, please test and comment :) Index: Mk/bsd.linux-apps.mk @@ -70,7 +70,8 @@ _LINUX_APPS_ALL+= # 2.6.16 components -_LINUX_26_APPS= libidn libssh2 nspr nss sqlite3 tcl84 tk84 +_LINUX_26_APPS= cyrus-sasl2 libidn libssh2 nspr nss openldap \ + sqlite3 tcl84 tk84 _LINUX_APPS_ALL+= ${_LINUX_26_APPS} @@ -137,6 +138,11 @@ curl_DETECT= ${curl${LINUX_DIST_SUFFIX:S/-/_/}_FILE} curl_PORT= ${PORTSDIR}/ftp/linux${LINUX_DIST_SUFFIX}-curl +# no cyrus-sasl2_FILE, cyrus-sasl2_f8_FILE +cyrus-sasl2_f10_FILE= ${LINUXBASE}/usr/lib/libsasl2.so.2.0.22 +cyrus-sasl2_DETECT= ${cyrus-sasl2${LINUX_DIST_SUFFIX:S/-/_/}_FILE} +cyrus-sasl2_PORT= ${PORTSDIR}/security/linux${LINUX_DIST_SUFFIX}-cyrus-sasl2 + dri_FILE= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 dri_f8_FILE= ${LINUXBASE}/usr/lib/libGL.so.1 dri_f10_FILE= ${LINUXBASE}/usr/lib/libGL.so.1.2 @@ -307,6 +313,11 @@ mikmod_DETECT= ${mikmod${LINUX_DIST_SUFFIX:S/-/_/}_FILE} mikmod_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-mikmod +# no openldap_FILE, openldap_f8_FILE +openldap_f10_FILE= ${LINUXBASE}/usr/lib/libldap-2.4.so.2.2.0 +openldap_DETECT= ${openldap${LINUX_DIST_SUFFIX:S/-/_/}_FILE} +openldap_PORT= ${PORTSDIR}/net/linux${LINUX_DIST_SUFFIX}-openldap + openmotif_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3 openmotif_f8_FILE= ${LINUXBASE}/usr/lib/libXm.so.4.0.2 openmotif_f10_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3 # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # net/linux-f10-openldap/ # net/linux-f10-openldap/Makefile # net/linux-f10-openldap/distinfo.i386 # security/linux-f10-cyrus-sasl2/ # security/linux-f10-cyrus-sasl2/Makefile # security/linux-f10-cyrus-sasl2/distinfo.i386 # www/linux-f10-flashplugin10/ # www/linux-f10-flashplugin10/Makefile # www/linux-f10-flashplugin10/distinfo # www/linux-f10-flashplugin10/pkg-descr # www/linux-f10-flashplugin10/pkg-plist # echo c - net/linux-f10-openldap/ mkdir -p net/linux-f10-openldap/ > /dev/null 2>&1 echo x - net/linux-f10-openldap/Makefile sed 's/^X//' >net/linux-f10-openldap/Makefile << '17a12d65b66950d2cbc504ac86a37255' X# New ports collection makefile for: net/linux-f10-openldap X# Date created: 2009-06-07 X# Whom: peter X# X# $FreeBSD$ X# X XPORTNAME= openldap XPORTVERSION= 2.4.12 XCATEGORIES= net linux XPKGNAMEPREFIX= linux-f10- XDISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION} X X.if defined(PACKAGE_BUILDING) XSRC_DISTFILES= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}.src.rpm XALWAYS_KEEP_DISTFILES= YES X.endif X XMAINTAINER= emulation@FreeBSD.org XCOMMENT= Lightweight Directory Access Protocol libraries (Linux Fedora 10) X X#CONFLICTS= X XUSE_LINUX_RPM= yes XLINUX_DIST_VER= 10 XRPMVERSION= 1.fc10 XUSE_LDCONFIG= yes XDESCR= ${.CURDIR}/../openldap24-server/pkg-descr X XPLIST_DIRS= etc/openldap/cacerts etc/openldap XPLIST_FILES= etc/openldap/ldap.conf usr/lib/liblber-2.4.so.2 usr/lib/liblber-2.4.so.2.2.0 usr/lib/libldap-2.4.so.2 usr/lib/libldap-2.4.so.2.2.0 usr/lib/libldap_r-2.4.so.2 usr/lib/libldap_r-2.4.so.2.2.0 XDOCSDIR= usr/share/doc/${PORTNAME}-${PORTVERSION} XPORTDOCS= ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README XMANPREFIX= ${PREFIX}/usr/share XMAN5= ldap.conf.5 ldif.5 XMANCOMPRESSED= yes X X.include 17a12d65b66950d2cbc504ac86a37255 echo x - net/linux-f10-openldap/distinfo.i386 sed 's/^X//' >net/linux-f10-openldap/distinfo.i386 << 'f422178bbd4668750265f4e584e91c0e' XMD5 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = e3ea12058a8cdc54d6f270c802c92a00 XSHA256 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = 2a71dcfdbfb1dc9b4e056c951518474d5958147c033f3584dc06e784fd67d567 XSIZE (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = 323504 f422178bbd4668750265f4e584e91c0e echo c - security/linux-f10-cyrus-sasl2/ mkdir -p security/linux-f10-cyrus-sasl2/ > /dev/null 2>&1 echo x - security/linux-f10-cyrus-sasl2/Makefile sed 's/^X//' >security/linux-f10-cyrus-sasl2/Makefile << '4fc58bcf97a8889077c61da23cb55faa' X# New ports collection makefile for: security/linux-f10-cyrus-sasl2 X# Date created: 2009-06-07 X# Whom: peter X# X# $FreeBSD$ X# X XPORTNAME= cyrus-sasl2 XPORTVERSION= 2.1.22 XCATEGORIES= security linux XPKGNAMEPREFIX= linux-f10- XDISTNAME= cyrus-sasl-lib-${PORTVERSION}-${RPMVERSION} X X.if defined(PACKAGE_BUILDING) XSRC_DISTFILES= cyrus-sasl-lib-${PORTVERSION}-${RPMVERSION}.src.rpm XALWAYS_KEEP_DISTFILES= YES X.endif X XMAINTAINER= emulation@FreeBSD.org XCOMMENT= RFC 2222 SASL (Simple Authentication and Security Layer) (Linux Fedora 10) X X#CONFLICTS= X XUSE_LINUX_RPM= yes XLINUX_DIST_VER= 10 XRPMVERSION= 19.fc10 XUSE_LDCONFIG= yes XBRANDELF_FILES= usr/sbin/sasldblistusers2 usr/sbin/saslpasswd2 XDESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr X XPLIST_DIRS= etc/sasl2 usr/lib/sasl2 XPLIST_FILES= usr/lib/libsasl2.so.2 usr/lib/libsasl2.so.2.0.22 usr/lib/sasl2/libanonymous.so usr/lib/sasl2/libanonymous.so.2 usr/lib/sasl2/libanonymous.so.2.0.22 usr/lib/sasl2/libsasldb.so usr/lib/sasl2/libsasldb.so.2 usr/lib/sasl2/libsasldb.so.2.0.22 usr/sbin/sasldblistusers2 usr/sbin/saslpasswd2 XDOCSDIR= usr/share/doc/cyrus-sasl-lib-${PORTVERSION} XPORTDOCS= AUTHORS COPYING NEWS README advanced.html appconvert.html components.html gssapi.html index.html install.html macosx.html mechanisms.html options.html plugprog.html programming.html readme.html sysadmin.html upgrading.html windows.html X X.include 4fc58bcf97a8889077c61da23cb55faa echo x - security/linux-f10-cyrus-sasl2/distinfo.i386 sed 's/^X//' >security/linux-f10-cyrus-sasl2/distinfo.i386 << '9c7e54bf867023e1f8fcaa16319c72f4' XMD5 (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = 5a4ee3c84ec9581723fd56b658eec994 XSHA256 (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = ae8da4ee07615519c657ddbe3b8c128a2e81f00a4db0da17b7369dabe03ed6d2 XSIZE (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = 145305 9c7e54bf867023e1f8fcaa16319c72f4 echo c - www/linux-f10-flashplugin10/ mkdir -p www/linux-f10-flashplugin10/ > /dev/null 2>&1 echo x - www/linux-f10-flashplugin10/Makefile sed 's/^X//' >www/linux-f10-flashplugin10/Makefile << '5455d901d257b50d731e64397ea6df2f' X# New ports collection makefile for: www/linux-f10-flashplugin10 X# Date created: 2009-06-26 X# Whom: bsam X# Based on: www/linux-f8-flashplugin10 by nox@ X# X# $FreeBSD$ X# X XPORTNAME= flashplugin XPORTVERSION= 10.0r22 XCATEGORIES= www multimedia linux XMASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/:plugin \ X ftp://ftp.ipt.ru/pub/download/:suplib XPKGNAMEPREFIX= linux-f10- XDISTFILES= install_flash_player_10_linux.tar.gz:plugin \ X linux-f10-flashsupport-9.0.1.i386.tar.gz:suplib XDIST_SUBDIR= ${PORTNAME}/${PORTVERSION} X XMAINTAINER= emulation@FreeBSD.org XCOMMENT= Adobe Flash Player NPAPI Plugin X XONLY_FOR_ARCHS= amd64 i386 XUSE_LINUX= yes XUSE_LINUX_APPS= openssl curl cyrus-sasl2 libssh2 nspr nss openldap X XRESTRICTED= Redistribution not allowed XRESTRICTED_FILES= ${DISTFILES:Nlinux-f10-flashsupport*:C/:[^:]+$//} X XNO_BUILD= yes XWRKSRC= ${WRKDIR}/install_flash_player_10_linux X XUSE_NPAPI= linux-* XNPAPI_FILES= libflashplayer.so X XCONFLICTS= linux-flashplugin-7* linux-flashplugin-9* linux-f8-flashplugin10-* X Xpost-install: X @${INSTALL_PROGRAM} ${WRKDIR}/libflashsupport.so ${LINUXBASE}/usr/lib X X.include X.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi" X.include 5455d901d257b50d731e64397ea6df2f echo x - www/linux-f10-flashplugin10/distinfo sed 's/^X//' >www/linux-f10-flashplugin10/distinfo << '1f552e2e0c05a396106217e48ff92103' XMD5 (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = 23e4c2b844db0f87ff62084178aa2b1f XSHA256 (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = cd29f166c87fecc943e88fe951bb61c56728fab12b4bf343badafa73ea95394e XSIZE (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = 3994294 XMD5 (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 6e416c81497f65065d78dae1e0acad0d XSHA256 (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf XSIZE (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455 1f552e2e0c05a396106217e48ff92103 echo x - www/linux-f10-flashplugin10/pkg-descr sed 's/^X//' >www/linux-f10-flashplugin10/pkg-descr << '57a1420ff5e8cb1b77c71ecb3a15c599' XThis is the official Flash Player from Adobe. This plugin enables Xyou to see .swf and .spl files on the 'net from your Opera, Mozilla or XFirefox sessions. X XPlease see the Adobe home page for more information. X XFreeBSD Flash License Agreement: X http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96374 X XWWW: http://www.adobe.com/ 57a1420ff5e8cb1b77c71ecb3a15c599 echo x - www/linux-f10-flashplugin10/pkg-plist sed 's/^X//' >www/linux-f10-flashplugin10/pkg-plist << '9254ee58cdc375ce93f8fc3b1afc9e77' X@cwd /compat/linux Xusr/lib/libflashsupport.so X@cwd 9254ee58cdc375ce93f8fc3b1afc9e77 exit From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 27 16:09:20 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A9531065670; Sat, 27 Jun 2009 16:09:20 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 9C22C8FC1E; Sat, 27 Jun 2009 16:09:19 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.175.178.149] (helo=moosi) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1MKaSs-000Ke8-2q; Sat, 27 Jun 2009 20:09:18 +0400 To: Juergen Lock References: <20090606162235.GA49444@triton.kn-bremen.de> <43784537@ipt.ru> <66988167@ipt.ru> <747dc8f30906261255s1ecc1420x574ded3be835b448@mail.gmail.com> <20090627143719.GA28318@triton.kn-bremen.de> From: Boris Samorodov Date: Sat, 27 Jun 2009 20:10:10 +0400 In-Reply-To: <20090627143719.GA28318@triton.kn-bremen.de> (Juergen Lock's message of "Sat\, 27 Jun 2009 16\:37\:19 +0200") Message-ID: <33059629@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org, "Sean C. Farley" Subject: Re: flash10 vs f10 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, 27 Jun 2009 16:09:21 -0000 Juergen Lock writes: > On Fri, Jun 26, 2009 at 03:33:15PM -0500, Sean C. Farley wrote: >> On Fri, 26 Jun 2009, Renato Botelho wrote: >> >> > On Fri, Jun 26, 2009 at 4:32 PM, Boris Samorodov wrote: >> >> OK, thanks! I should have missed you previous post. >> >> >> >> Here is a port for tests. This shar should be run at /usr/ports/www: >> >> ftp://ftp.ipt.ru/pub/linux/linux-f10-flashplugin10.shar >> >> >> >> Note: the port is only hand-written and tested to build/install/deinstall. >> > >> > I tried it and got this message: >> > >> > *** NSPlugin Wrapper *** ERROR: NPP_New() wait for reply: Message timeout >> > >> > My environment: >> > >> > FreeBSD botelhor.bplab.local 8.0-CURRENT FreeBSD 8.0-CURRENT #73 >> > r194284: Wed Jun 24 19:09:04 BRT 2009 >> > root@botelhor.bplab.local:/usr/obj/usr/src/sys/GARGA i386 >> > >> > linux-f10-atk-1.24.0 >> > linux-f10-cairo-1.8.0 >> > linux-f10-curl-7.19.4_1 >> > linux-f10-expat-2.0.1 >> > linux-f10-flashplugin-10.0r22 >> > linux-f10-fontconfig-2.6.0 >> > linux-f10-gtk2-2.14.7 >> > linux-f10-jpeg-6b >> > linux-f10-libssh2-0.18 >> > linux-f10-nspr-4.7.3 >> > linux-f10-nss-3.12.2.0 >> > linux-f10-openssl-0.9.8g >> > linux-f10-pango-1.22.3 >> > linux-f10-png-1.2.35 >> > linux-f10-sqlite3-3.5.9 >> > linux-f10-tiff-3.8.2 >> > linux-f10-xorg-libs-7.4 >> > linux_base-f10-10 >> > nspluginwrapper-1.2.2_2 >> > >> > I deinstalled linux-f8, cleaned compat/linux and reinstalled everything. >> >> Assuming it is the issue with missing dependencies for libcurl, we also >> need port(s) for liblber and libldap since f10's libcurl depends upon >> them. > > liblber is in the same rpm with libldap (I used > openldap-2.4.12-1.fc10.i386.rpm as I said), and as I said we > also need libsasl2 (libldap depends on it) which is in > cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm . > >> I had to manually extract a couple of RPM's to get them. Here is >> the ldd output of libcurl for me: >> >> # /compat/linux/bin/sh /compat/linux/usr/bin/ldd /compat/linux/usr/lib/libcurl.so.4.1.1 >> libidn.so.11 => /lib/libidn.so.11 (0x20073000) >> libssh2.so.1 => /usr/lib/libssh2.so.1 (0x200a5000) >> libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0x200c7000) >> librt.so.1 => /lib/librt.so.1 (0x20109000) >> libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x20113000) >> libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x20141000) >> libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x201e1000) >> libcom_err.so.2 => /lib/libcom_err.so.2 (0x20206000) >> libz.so.1 => /lib/libz.so.1 (0x20209000) >> libssl3.so => /lib/libssl3.so (0x2021d000) >> libsmime3.so => /lib/libsmime3.so (0x2024e000) >> libnss3.so => /lib/libnss3.so (0x20275000) >> libplds4.so => /lib/libplds4.so (0x203bb000) >> libplc4.so => /lib/libplc4.so (0x203bf000) >> libnspr4.so => /lib/libnspr4.so (0x203c4000) >> libpthread.so.0 => /lib/libpthread.so.0 (0x203fe000) >> libdl.so.2 => /lib/libdl.so.2 (0x20418000) >> libc.so.6 => /lib/libc.so.6 (0x2041d000) >> libssl.so.7 => /lib/libssl.so.7 (0x20596000) >> libcrypto.so.7 => /lib/libcrypto.so.7 (0x205e1000) >> liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x20735000) >> libresolv.so.2 => /lib/libresolv.so.2 (0x20744000) >> libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x2075b000) >> /lib/ld-linux.so.2 (0x00000000) >> libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x20775000) >> libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x2077f000) >> libnssutil3.so => /lib/libnssutil3.so (0x20782000) >> libcrypt.so.1 => /lib/libcrypt.so.1 (0x2079b000) >> libselinux.so.1 => /lib/libselinux.so.1 (0x207cf000) > > Same here with the following ports I just tested here: (thanx to bsam > for the linux-f10-flashplugin10 port and to Peter Jeremy for the > original linux-f10-openldap and linux-f10-cyrus-sasl2 ports!) > > First a patch for bsd.linux-apps.mk, then the shar, please test > and comment :) Good work! Here are some comments. > Index: Mk/bsd.linux-apps.mk > @@ -70,7 +70,8 @@ > _LINUX_APPS_ALL+= > > # 2.6.16 components > -_LINUX_26_APPS= libidn libssh2 nspr nss sqlite3 tcl84 tk84 > +_LINUX_26_APPS= cyrus-sasl2 libidn libssh2 nspr nss openldap \ > + sqlite3 tcl84 tk84 > > _LINUX_APPS_ALL+= ${_LINUX_26_APPS} > > @@ -137,6 +138,11 @@ > curl_DETECT= ${curl${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > curl_PORT= ${PORTSDIR}/ftp/linux${LINUX_DIST_SUFFIX}-curl Since linux-f10 curl requires cyrus-sasl2 and openldap I'd add here: ----- . if ${LINUX_DIST_SUFFIX} == "-f10" curl_DEPENDS=cyrus-sasl2 openldap . endif ----- Also apropriate changes should go to ftp/linux-f10-curl port. > +# no cyrus-sasl2_FILE, cyrus-sasl2_f8_FILE > +cyrus-sasl2_f10_FILE= ${LINUXBASE}/usr/lib/libsasl2.so.2.0.22 > +cyrus-sasl2_DETECT= ${cyrus-sasl2${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > +cyrus-sasl2_PORT= ${PORTSDIR}/security/linux${LINUX_DIST_SUFFIX}-cyrus-sasl2 > + > dri_FILE= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 > dri_f8_FILE= ${LINUXBASE}/usr/lib/libGL.so.1 > dri_f10_FILE= ${LINUXBASE}/usr/lib/libGL.so.1.2 > @@ -307,6 +313,11 @@ > mikmod_DETECT= ${mikmod${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > mikmod_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-mikmod > > +# no openldap_FILE, openldap_f8_FILE > +openldap_f10_FILE= ${LINUXBASE}/usr/lib/libldap-2.4.so.2.2.0 > +openldap_DETECT= ${openldap${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > +openldap_PORT= ${PORTSDIR}/net/linux${LINUX_DIST_SUFFIX}-openldap > + > openmotif_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3 > openmotif_f8_FILE= ${LINUXBASE}/usr/lib/libXm.so.4.0.2 > openmotif_f10_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3 > > # This is a shell archive. Save it in a file, remove anything before > # this line, and then unpack it by entering "sh file". Note, it may > # create directories; files and directories will be owned by you and > # have default permissions. > # > # This archive contains: > # > # net/linux-f10-openldap/ > # net/linux-f10-openldap/Makefile > # net/linux-f10-openldap/distinfo.i386 > # security/linux-f10-cyrus-sasl2/ > # security/linux-f10-cyrus-sasl2/Makefile > # security/linux-f10-cyrus-sasl2/distinfo.i386 > # www/linux-f10-flashplugin10/ > # www/linux-f10-flashplugin10/Makefile > # www/linux-f10-flashplugin10/distinfo > # www/linux-f10-flashplugin10/pkg-descr > # www/linux-f10-flashplugin10/pkg-plist > # > echo c - net/linux-f10-openldap/ > mkdir -p net/linux-f10-openldap/ > /dev/null 2>&1 > echo x - net/linux-f10-openldap/Makefile > sed 's/^X//' >net/linux-f10-openldap/Makefile << '17a12d65b66950d2cbc504ac86a37255' > X# New ports collection makefile for: net/linux-f10-openldap > X# Date created: 2009-06-07 > X# Whom: peter > X# > X# $FreeBSD$ > X# > X > XPORTNAME= openldap > XPORTVERSION= 2.4.12 > XCATEGORIES= net linux > XPKGNAMEPREFIX= linux-f10- > XDISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION} > X > X.if defined(PACKAGE_BUILDING) > XSRC_DISTFILES= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}.src.rpm > XALWAYS_KEEP_DISTFILES= YES > X.endif Well, those <.if, .endif> actually are not needed as bsd.linux-rpm.mk should itself take care of the case. If it doesn't, please tell me. > X > XMAINTAINER= emulation@FreeBSD.org > XCOMMENT= Lightweight Directory Access Protocol libraries (Linux Fedora 10) > X > X#CONFLICTS= > X > XUSE_LINUX_RPM= yes > XLINUX_DIST_VER= 10 > XRPMVERSION= 1.fc10 > XUSE_LDCONFIG= yes > XDESCR= ${.CURDIR}/../openldap24-server/pkg-descr > X > XPLIST_DIRS= etc/openldap/cacerts etc/openldap I'd say only etc/openldap is needed (see below). > XPLIST_FILES= etc/openldap/ldap.conf usr/lib/liblber-2.4.so.2 usr/lib/liblber-2.4.so.2.2.0 usr/lib/libldap-2.4.so.2 usr/lib/libldap-2.4.so.2.2.0 usr/lib/libldap_r-2.4.so.2 usr/lib/libldap_r-2.4.so.2.2.0 > XDOCSDIR= usr/share/doc/${PORTNAME}-${PORTVERSION} > XPORTDOCS= ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README > XMANPREFIX= ${PREFIX}/usr/share > XMAN5= ldap.conf.5 ldif.5 > XMANCOMPRESSED= yes At my port's propotype I have this: ----- # do not install any openldap configuration directories/files post-extract: ${RM} -rf ${WRKSRC}/etc # use a native openldap configuration directories/files post-install: ${LN} -sf ${LOCALBASE}/etc/openldap ${PREFIX}/etc ----- This should work for managing the port via ports system but not with packages. > X > X.include > 17a12d65b66950d2cbc504ac86a37255 > echo x - net/linux-f10-openldap/distinfo.i386 > sed 's/^X//' >net/linux-f10-openldap/distinfo.i386 << 'f422178bbd4668750265f4e584e91c0e' > XMD5 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = e3ea12058a8cdc54d6f270c802c92a00 > XSHA256 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = 2a71dcfdbfb1dc9b4e056c951518474d5958147c033f3584dc06e784fd67d567 > XSIZE (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = 323504 The following commands would do the right thing (no src distinfo for now): ----- % cd % sudo make fetch PACKAGE_BUILDING=YES % sudo make makesum PACKAGE_BUILDING=YES ----- > f422178bbd4668750265f4e584e91c0e > echo c - security/linux-f10-cyrus-sasl2/ > mkdir -p security/linux-f10-cyrus-sasl2/ > /dev/null 2>&1 > echo x - security/linux-f10-cyrus-sasl2/Makefile > sed 's/^X//' >security/linux-f10-cyrus-sasl2/Makefile << '4fc58bcf97a8889077c61da23cb55faa' > X# New ports collection makefile for: security/linux-f10-cyrus-sasl2 > X# Date created: 2009-06-07 > X# Whom: peter > X# > X# $FreeBSD$ > X# > X > XPORTNAME= cyrus-sasl2 > XPORTVERSION= 2.1.22 > XCATEGORIES= security linux > XPKGNAMEPREFIX= linux-f10- > XDISTNAME= cyrus-sasl-lib-${PORTVERSION}-${RPMVERSION} > X > X.if defined(PACKAGE_BUILDING) > XSRC_DISTFILES= cyrus-sasl-lib-${PORTVERSION}-${RPMVERSION}.src.rpm > XALWAYS_KEEP_DISTFILES= YES > X.endif This is not right. I propose to add (somewhere further) instead of the last four lines: ----- SRC_DISTFILES=cyrus-sasl-${PORTVERSION}-${RPMVERSION}.src.rpm ----- > X > XMAINTAINER= emulation@FreeBSD.org > XCOMMENT= RFC 2222 SASL (Simple Authentication and Security Layer) (Linux Fedora 10) > X > X#CONFLICTS= > X > XUSE_LINUX_RPM= yes > XLINUX_DIST_VER= 10 > XRPMVERSION= 19.fc10 > XUSE_LDCONFIG= yes > XBRANDELF_FILES= usr/sbin/sasldblistusers2 usr/sbin/saslpasswd2 > XDESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr > X > XPLIST_DIRS= etc/sasl2 usr/lib/sasl2 > XPLIST_FILES= usr/lib/libsasl2.so.2 usr/lib/libsasl2.so.2.0.22 usr/lib/sasl2/libanonymous.so usr/lib/sasl2/libanonymous.so.2 usr/lib/sasl2/libanonymous.so.2.0.22 usr/lib/sasl2/libsasldb.so usr/lib/sasl2/libsasldb.so.2 usr/lib/sasl2/libsasldb.so.2.0.22 usr/sbin/sasldblistusers2 usr/sbin/saslpasswd2 > XDOCSDIR= usr/share/doc/cyrus-sasl-lib-${PORTVERSION} > XPORTDOCS= AUTHORS COPYING NEWS README advanced.html appconvert.html components.html gssapi.html index.html install.html macosx.html mechanisms.html options.html plugprog.html programming.html readme.html sysadmin.html upgrading.html windows.html > X > X.include > 4fc58bcf97a8889077c61da23cb55faa > echo x - security/linux-f10-cyrus-sasl2/distinfo.i386 > sed 's/^X//' >security/linux-f10-cyrus-sasl2/distinfo.i386 << '9c7e54bf867023e1f8fcaa16319c72f4' > XMD5 (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = 5a4ee3c84ec9581723fd56b658eec994 > XSHA256 (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = ae8da4ee07615519c657ddbe3b8c128a2e81f00a4db0da17b7369dabe03ed6d2 > XSIZE (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = 145305 > 9c7e54bf867023e1f8fcaa16319c72f4 The same comment about distinfo as for net/linux-f10-openldap. > echo c - www/linux-f10-flashplugin10/ > mkdir -p www/linux-f10-flashplugin10/ > /dev/null 2>&1 > echo x - www/linux-f10-flashplugin10/Makefile > sed 's/^X//' >www/linux-f10-flashplugin10/Makefile << '5455d901d257b50d731e64397ea6df2f' > X# New ports collection makefile for: www/linux-f10-flashplugin10 This port should be probably first repocopied from www/linux-f8-flashplugin10 and then committed. > X# Date created: 2009-06-26 > X# Whom: bsam > X# Based on: www/linux-f8-flashplugin10 by nox@ > X# > X# $FreeBSD$ > X# > X > XPORTNAME= flashplugin > XPORTVERSION= 10.0r22 > XCATEGORIES= www multimedia linux > XMASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/:plugin \ > X ftp://ftp.ipt.ru/pub/download/:suplib > XPKGNAMEPREFIX= linux-f10- > XDISTFILES= install_flash_player_10_linux.tar.gz:plugin \ > X linux-f10-flashsupport-9.0.1.i386.tar.gz:suplib > XDIST_SUBDIR= ${PORTNAME}/${PORTVERSION} > X > XMAINTAINER= emulation@FreeBSD.org > XCOMMENT= Adobe Flash Player NPAPI Plugin > X > XONLY_FOR_ARCHS= amd64 i386 > XUSE_LINUX= yes > XUSE_LINUX_APPS= openssl curl cyrus-sasl2 libssh2 nspr nss openldap > X > XRESTRICTED= Redistribution not allowed > XRESTRICTED_FILES= ${DISTFILES:Nlinux-f10-flashsupport*:C/:[^:]+$//} > X > XNO_BUILD= yes > XWRKSRC= ${WRKDIR}/install_flash_player_10_linux > X > XUSE_NPAPI= linux-* > XNPAPI_FILES= libflashplayer.so > X > XCONFLICTS= linux-flashplugin-7* linux-flashplugin-9* linux-f8-flashplugin10-* > X > Xpost-install: > X @${INSTALL_PROGRAM} ${WRKDIR}/libflashsupport.so ${LINUXBASE}/usr/lib > X > X.include > X.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi" > X.include > 5455d901d257b50d731e64397ea6df2f > echo x - www/linux-f10-flashplugin10/distinfo > sed 's/^X//' >www/linux-f10-flashplugin10/distinfo << '1f552e2e0c05a396106217e48ff92103' > XMD5 (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = 23e4c2b844db0f87ff62084178aa2b1f > XSHA256 (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = cd29f166c87fecc943e88fe951bb61c56728fab12b4bf343badafa73ea95394e > XSIZE (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = 3994294 > XMD5 (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 6e416c81497f65065d78dae1e0acad0d > XSHA256 (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf > XSIZE (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455 > 1f552e2e0c05a396106217e48ff92103 > echo x - www/linux-f10-flashplugin10/pkg-descr > sed 's/^X//' >www/linux-f10-flashplugin10/pkg-descr << '57a1420ff5e8cb1b77c71ecb3a15c599' > XThis is the official Flash Player from Adobe. This plugin enables > Xyou to see .swf and .spl files on the 'net from your Opera, Mozilla or > XFirefox sessions. > X > XPlease see the Adobe home page for more information. > X > XFreeBSD Flash License Agreement: > X http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96374 > X > XWWW: http://www.adobe.com/ > 57a1420ff5e8cb1b77c71ecb3a15c599 > echo x - www/linux-f10-flashplugin10/pkg-plist > sed 's/^X//' >www/linux-f10-flashplugin10/pkg-plist << '9254ee58cdc375ce93f8fc3b1afc9e77' > X@cwd /compat/linux > Xusr/lib/libflashsupport.so > X@cwd > 9254ee58cdc375ce93f8fc3b1afc9e77 > exit There may be something more, but I don't see it right now. Thanks for all involved! It's a good team work. WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 27 21:38:15 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 461DE1065670; Sat, 27 Jun 2009 21:38:15 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 87ECB8FC20; Sat, 27 Jun 2009 21:38:14 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id B03941E00218; Sat, 27 Jun 2009 23:38:13 +0200 (CEST) Received: from triton.kn-bremen.de (noident@localhost [127.0.0.1]) by triton.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n5RLZYWq047357; Sat, 27 Jun 2009 23:35:34 +0200 (CEST) (envelope-from nox@triton.kn-bremen.de) Received: (from nox@localhost) by triton.kn-bremen.de (8.14.3/8.14.3/Submit) id n5RLZXHR047356; Sat, 27 Jun 2009 23:35:33 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 27 Jun 2009 23:35:33 +0200 To: Boris Samorodov Message-ID: <20090627213533.GA46429@triton.kn-bremen.de> References: <20090606162235.GA49444@triton.kn-bremen.de> <43784537@ipt.ru> <66988167@ipt.ru> <747dc8f30906261255s1ecc1420x574ded3be835b448@mail.gmail.com> <20090627143719.GA28318@triton.kn-bremen.de> <33059629@ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33059629@ipt.ru> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org, Juergen Lock , "Sean C. Farley" Subject: Re: flash10 vs f10 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, 27 Jun 2009 21:38:15 -0000 On Sat, Jun 27, 2009 at 08:10:10PM +0400, Boris Samorodov wrote: > Juergen Lock writes: > > On Fri, Jun 26, 2009 at 03:33:15PM -0500, Sean C. Farley wrote: > >> On Fri, 26 Jun 2009, Renato Botelho wrote: > >> > >> > On Fri, Jun 26, 2009 at 4:32 PM, Boris Samorodov wrote: > >> >> OK, thanks! I should have missed you previous post. > >> >> > >> >> Here is a port for tests. This shar should be run at /usr/ports/www: > >> >> ftp://ftp.ipt.ru/pub/linux/linux-f10-flashplugin10.shar > >> >> > >> >> Note: the port is only hand-written and tested to build/install/deinstall. > >> > > >> > I tried it and got this message: > >> > > >> > *** NSPlugin Wrapper *** ERROR: NPP_New() wait for reply: Message timeout > >> > > >> > My environment: > >> > > >> > FreeBSD botelhor.bplab.local 8.0-CURRENT FreeBSD 8.0-CURRENT #73 > >> > r194284: Wed Jun 24 19:09:04 BRT 2009 > >> > root@botelhor.bplab.local:/usr/obj/usr/src/sys/GARGA i386 > >> > > >> > linux-f10-atk-1.24.0 > >> > linux-f10-cairo-1.8.0 > >> > linux-f10-curl-7.19.4_1 > >> > linux-f10-expat-2.0.1 > >> > linux-f10-flashplugin-10.0r22 > >> > linux-f10-fontconfig-2.6.0 > >> > linux-f10-gtk2-2.14.7 > >> > linux-f10-jpeg-6b > >> > linux-f10-libssh2-0.18 > >> > linux-f10-nspr-4.7.3 > >> > linux-f10-nss-3.12.2.0 > >> > linux-f10-openssl-0.9.8g > >> > linux-f10-pango-1.22.3 > >> > linux-f10-png-1.2.35 > >> > linux-f10-sqlite3-3.5.9 > >> > linux-f10-tiff-3.8.2 > >> > linux-f10-xorg-libs-7.4 > >> > linux_base-f10-10 > >> > nspluginwrapper-1.2.2_2 > >> > > >> > I deinstalled linux-f8, cleaned compat/linux and reinstalled everything. > >> > >> Assuming it is the issue with missing dependencies for libcurl, we also > >> need port(s) for liblber and libldap since f10's libcurl depends upon > >> them. > > > > liblber is in the same rpm with libldap (I used > > openldap-2.4.12-1.fc10.i386.rpm as I said), and as I said we > > also need libsasl2 (libldap depends on it) which is in > > cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm . > > > >> I had to manually extract a couple of RPM's to get them. Here is > >> the ldd output of libcurl for me: > >> > >> # /compat/linux/bin/sh /compat/linux/usr/bin/ldd /compat/linux/usr/lib/libcurl.so.4.1.1 > >> libidn.so.11 => /lib/libidn.so.11 (0x20073000) > >> libssh2.so.1 => /usr/lib/libssh2.so.1 (0x200a5000) > >> libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0x200c7000) > >> librt.so.1 => /lib/librt.so.1 (0x20109000) > >> libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x20113000) > >> libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x20141000) > >> libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x201e1000) > >> libcom_err.so.2 => /lib/libcom_err.so.2 (0x20206000) > >> libz.so.1 => /lib/libz.so.1 (0x20209000) > >> libssl3.so => /lib/libssl3.so (0x2021d000) > >> libsmime3.so => /lib/libsmime3.so (0x2024e000) > >> libnss3.so => /lib/libnss3.so (0x20275000) > >> libplds4.so => /lib/libplds4.so (0x203bb000) > >> libplc4.so => /lib/libplc4.so (0x203bf000) > >> libnspr4.so => /lib/libnspr4.so (0x203c4000) > >> libpthread.so.0 => /lib/libpthread.so.0 (0x203fe000) > >> libdl.so.2 => /lib/libdl.so.2 (0x20418000) > >> libc.so.6 => /lib/libc.so.6 (0x2041d000) > >> libssl.so.7 => /lib/libssl.so.7 (0x20596000) > >> libcrypto.so.7 => /lib/libcrypto.so.7 (0x205e1000) > >> liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x20735000) > >> libresolv.so.2 => /lib/libresolv.so.2 (0x20744000) > >> libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x2075b000) > >> /lib/ld-linux.so.2 (0x00000000) > >> libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x20775000) > >> libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x2077f000) > >> libnssutil3.so => /lib/libnssutil3.so (0x20782000) > >> libcrypt.so.1 => /lib/libcrypt.so.1 (0x2079b000) > >> libselinux.so.1 => /lib/libselinux.so.1 (0x207cf000) > > > > Same here with the following ports I just tested here: (thanx to bsam > > for the linux-f10-flashplugin10 port and to Peter Jeremy for the > > original linux-f10-openldap and linux-f10-cyrus-sasl2 ports!) > > > > First a patch for bsd.linux-apps.mk, then the shar, please test > > and comment :) > > Good work! Here are some comments. > > > Index: Mk/bsd.linux-apps.mk > > @@ -70,7 +70,8 @@ > > _LINUX_APPS_ALL+= > > > > # 2.6.16 components > > -_LINUX_26_APPS= libidn libssh2 nspr nss sqlite3 tcl84 tk84 > > +_LINUX_26_APPS= cyrus-sasl2 libidn libssh2 nspr nss openldap \ > > + sqlite3 tcl84 tk84 > > > > _LINUX_APPS_ALL+= ${_LINUX_26_APPS} > > > > @@ -137,6 +138,11 @@ > > curl_DETECT= ${curl${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > > curl_PORT= ${PORTSDIR}/ftp/linux${LINUX_DIST_SUFFIX}-curl > > Since linux-f10 curl requires cyrus-sasl2 and openldap I'd add here: > ----- > . if ${LINUX_DIST_SUFFIX} == "-f10" > curl_DEPENDS=cyrus-sasl2 openldap > . endif > ----- > > Also apropriate changes should go to ftp/linux-f10-curl port. > Right. > > +# no cyrus-sasl2_FILE, cyrus-sasl2_f8_FILE > > +cyrus-sasl2_f10_FILE= ${LINUXBASE}/usr/lib/libsasl2.so.2.0.22 > > +cyrus-sasl2_DETECT= ${cyrus-sasl2${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > > +cyrus-sasl2_PORT= ${PORTSDIR}/security/linux${LINUX_DIST_SUFFIX}-cyrus-sasl2 > > + > > dri_FILE= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 > > dri_f8_FILE= ${LINUXBASE}/usr/lib/libGL.so.1 > > dri_f10_FILE= ${LINUXBASE}/usr/lib/libGL.so.1.2 > > @@ -307,6 +313,11 @@ > > mikmod_DETECT= ${mikmod${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > > mikmod_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-mikmod > > > > +# no openldap_FILE, openldap_f8_FILE > > +openldap_f10_FILE= ${LINUXBASE}/usr/lib/libldap-2.4.so.2.2.0 > > +openldap_DETECT= ${openldap${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > > +openldap_PORT= ${PORTSDIR}/net/linux${LINUX_DIST_SUFFIX}-openldap > > + > > openmotif_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3 > > openmotif_f8_FILE= ${LINUXBASE}/usr/lib/libXm.so.4.0.2 > > openmotif_f10_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3 > > > > # This is a shell archive. Save it in a file, remove anything before > > # this line, and then unpack it by entering "sh file". Note, it may > > # create directories; files and directories will be owned by you and > > # have default permissions. > > # > > # This archive contains: > > # > > # net/linux-f10-openldap/ > > # net/linux-f10-openldap/Makefile > > # net/linux-f10-openldap/distinfo.i386 > > # security/linux-f10-cyrus-sasl2/ > > # security/linux-f10-cyrus-sasl2/Makefile > > # security/linux-f10-cyrus-sasl2/distinfo.i386 > > # www/linux-f10-flashplugin10/ > > # www/linux-f10-flashplugin10/Makefile > > # www/linux-f10-flashplugin10/distinfo > > # www/linux-f10-flashplugin10/pkg-descr > > # www/linux-f10-flashplugin10/pkg-plist > > # > > echo c - net/linux-f10-openldap/ > > mkdir -p net/linux-f10-openldap/ > /dev/null 2>&1 > > echo x - net/linux-f10-openldap/Makefile > > sed 's/^X//' >net/linux-f10-openldap/Makefile << '17a12d65b66950d2cbc504ac86a37255' > > X# New ports collection makefile for: net/linux-f10-openldap > > X# Date created: 2009-06-07 > > X# Whom: peter > > X# > > X# $FreeBSD$ > > X# > > X > > XPORTNAME= openldap > > XPORTVERSION= 2.4.12 > > XCATEGORIES= net linux > > XPKGNAMEPREFIX= linux-f10- > > XDISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION} > > X > > X.if defined(PACKAGE_BUILDING) > > XSRC_DISTFILES= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}.src.rpm > > XALWAYS_KEEP_DISTFILES= YES > > X.endif > > Well, those <.if, .endif> actually are not needed as bsd.linux-rpm.mk > should itself take care of the case. If it doesn't, please tell me. > Ah, then a bunch of other ports can be changed too... (I guess Peter just went by existing examples :) > > X > > XMAINTAINER= emulation@FreeBSD.org > > XCOMMENT= Lightweight Directory Access Protocol libraries (Linux Fedora 10) > > X > > X#CONFLICTS= > > X > > XUSE_LINUX_RPM= yes > > XLINUX_DIST_VER= 10 > > XRPMVERSION= 1.fc10 > > XUSE_LDCONFIG= yes > > XDESCR= ${.CURDIR}/../openldap24-server/pkg-descr > > X > > XPLIST_DIRS= etc/openldap/cacerts etc/openldap > > I'd say only etc/openldap is needed (see below). > > > XPLIST_FILES= etc/openldap/ldap.conf usr/lib/liblber-2.4.so.2 usr/lib/liblber-2.4.so.2.2.0 usr/lib/libldap-2.4.so.2 usr/lib/libldap-2.4.so.2.2.0 usr/lib/libldap_r-2.4.so.2 usr/lib/libldap_r-2.4.so.2.2.0 > > XDOCSDIR= usr/share/doc/${PORTNAME}-${PORTVERSION} > > XPORTDOCS= ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README > > XMANPREFIX= ${PREFIX}/usr/share > > XMAN5= ldap.conf.5 ldif.5 > > XMANCOMPRESSED= yes > > At my port's propotype I have this: > ----- > # do not install any openldap configuration directories/files > post-extract: > ${RM} -rf ${WRKSRC}/etc > > # use a native openldap configuration directories/files > post-install: > ${LN} -sf ${LOCALBASE}/etc/openldap ${PREFIX}/etc > ----- > > This should work for managing the port via ports system but not with > packages. > Good idea, but actually the post-install target isn't really needed since the linuxolator /compat/linux search magic should already dtrt here. (I.e. if the dir doesn't exits it should fall back to the one outside of /compat/linux.) > > X > > X.include > > 17a12d65b66950d2cbc504ac86a37255 > > echo x - net/linux-f10-openldap/distinfo.i386 > > sed 's/^X//' >net/linux-f10-openldap/distinfo.i386 << 'f422178bbd4668750265f4e584e91c0e' > > XMD5 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = e3ea12058a8cdc54d6f270c802c92a00 > > XSHA256 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = 2a71dcfdbfb1dc9b4e056c951518474d5958147c033f3584dc06e784fd67d567 > > XSIZE (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = 323504 > > The following commands would do the right thing (no src distinfo for > now): > ----- > % cd > % sudo make fetch PACKAGE_BUILDING=YES > % sudo make makesum PACKAGE_BUILDING=YES > ----- > Done. (Actually makesum depends on fetch :) > > f422178bbd4668750265f4e584e91c0e > > echo c - security/linux-f10-cyrus-sasl2/ > > mkdir -p security/linux-f10-cyrus-sasl2/ > /dev/null 2>&1 > > echo x - security/linux-f10-cyrus-sasl2/Makefile > > sed 's/^X//' >security/linux-f10-cyrus-sasl2/Makefile << '4fc58bcf97a8889077c61da23cb55faa' > > X# New ports collection makefile for: security/linux-f10-cyrus-sasl2 > > X# Date created: 2009-06-07 > > X# Whom: peter > > X# > > X# $FreeBSD$ > > X# > > X > > XPORTNAME= cyrus-sasl2 > > XPORTVERSION= 2.1.22 > > XCATEGORIES= security linux > > XPKGNAMEPREFIX= linux-f10- > > XDISTNAME= cyrus-sasl-lib-${PORTVERSION}-${RPMVERSION} > > X > > X.if defined(PACKAGE_BUILDING) > > XSRC_DISTFILES= cyrus-sasl-lib-${PORTVERSION}-${RPMVERSION}.src.rpm > > XALWAYS_KEEP_DISTFILES= YES > > X.endif > > This is not right. I propose to add (somewhere further) instead > of the last four lines: > ----- > SRC_DISTFILES=cyrus-sasl-${PORTVERSION}-${RPMVERSION}.src.rpm > ----- > Done. > > X > > XMAINTAINER= emulation@FreeBSD.org > > XCOMMENT= RFC 2222 SASL (Simple Authentication and Security Layer) (Linux Fedora 10) > > X > > X#CONFLICTS= > > X > > XUSE_LINUX_RPM= yes > > XLINUX_DIST_VER= 10 > > XRPMVERSION= 19.fc10 > > XUSE_LDCONFIG= yes > > XBRANDELF_FILES= usr/sbin/sasldblistusers2 usr/sbin/saslpasswd2 > > XDESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr > > X > > XPLIST_DIRS= etc/sasl2 usr/lib/sasl2 > > XPLIST_FILES= usr/lib/libsasl2.so.2 usr/lib/libsasl2.so.2.0.22 usr/lib/sasl2/libanonymous.so usr/lib/sasl2/libanonymous.so.2 usr/lib/sasl2/libanonymous.so.2.0.22 usr/lib/sasl2/libsasldb.so usr/lib/sasl2/libsasldb.so.2 usr/lib/sasl2/libsasldb.so.2.0.22 usr/sbin/sasldblistusers2 usr/sbin/saslpasswd2 > > XDOCSDIR= usr/share/doc/cyrus-sasl-lib-${PORTVERSION} > > XPORTDOCS= AUTHORS COPYING NEWS README advanced.html appconvert.html components.html gssapi.html index.html install.html macosx.html mechanisms.html options.html plugprog.html programming.html readme.html sysadmin.html upgrading.html windows.html > > X > > X.include > > 4fc58bcf97a8889077c61da23cb55faa > > echo x - security/linux-f10-cyrus-sasl2/distinfo.i386 > > sed 's/^X//' >security/linux-f10-cyrus-sasl2/distinfo.i386 << '9c7e54bf867023e1f8fcaa16319c72f4' > > XMD5 (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = 5a4ee3c84ec9581723fd56b658eec994 > > XSHA256 (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = ae8da4ee07615519c657ddbe3b8c128a2e81f00a4db0da17b7369dabe03ed6d2 > > XSIZE (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = 145305 > > 9c7e54bf867023e1f8fcaa16319c72f4 > > The same comment about distinfo as for net/linux-f10-openldap. > Yup. > > echo c - www/linux-f10-flashplugin10/ > > mkdir -p www/linux-f10-flashplugin10/ > /dev/null 2>&1 > > echo x - www/linux-f10-flashplugin10/Makefile > > sed 's/^X//' >www/linux-f10-flashplugin10/Makefile << '5455d901d257b50d731e64397ea6df2f' > > X# New ports collection makefile for: www/linux-f10-flashplugin10 > > This port should be probably first repocopied from > www/linux-f8-flashplugin10 and then committed. > True... I'll do the PR. > > X# Date created: 2009-06-26 > > X# Whom: bsam > > X# Based on: www/linux-f8-flashplugin10 by nox@ > > X# > > X# $FreeBSD$ > > X# > > X > > XPORTNAME= flashplugin > > XPORTVERSION= 10.0r22 > > XCATEGORIES= www multimedia linux > > XMASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/:plugin \ > > X ftp://ftp.ipt.ru/pub/download/:suplib > > XPKGNAMEPREFIX= linux-f10- > > XDISTFILES= install_flash_player_10_linux.tar.gz:plugin \ > > X linux-f10-flashsupport-9.0.1.i386.tar.gz:suplib > > XDIST_SUBDIR= ${PORTNAME}/${PORTVERSION} > > X > > XMAINTAINER= emulation@FreeBSD.org > > XCOMMENT= Adobe Flash Player NPAPI Plugin > > X > > XONLY_FOR_ARCHS= amd64 i386 > > XUSE_LINUX= yes > > XUSE_LINUX_APPS= openssl curl cyrus-sasl2 libssh2 nspr nss openldap > > X > > XRESTRICTED= Redistribution not allowed > > XRESTRICTED_FILES= ${DISTFILES:Nlinux-f10-flashsupport*:C/:[^:]+$//} > > X > > XNO_BUILD= yes > > XWRKSRC= ${WRKDIR}/install_flash_player_10_linux > > X > > XUSE_NPAPI= linux-* > > XNPAPI_FILES= libflashplayer.so > > X > > XCONFLICTS= linux-flashplugin-7* linux-flashplugin-9* linux-f8-flashplugin10-* > > X > > Xpost-install: > > X @${INSTALL_PROGRAM} ${WRKDIR}/libflashsupport.so ${LINUXBASE}/usr/lib > > X > > X.include > > X.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi" > > X.include > > 5455d901d257b50d731e64397ea6df2f > > echo x - www/linux-f10-flashplugin10/distinfo > > sed 's/^X//' >www/linux-f10-flashplugin10/distinfo << '1f552e2e0c05a396106217e48ff92103' > > XMD5 (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = 23e4c2b844db0f87ff62084178aa2b1f > > XSHA256 (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = cd29f166c87fecc943e88fe951bb61c56728fab12b4bf343badafa73ea95394e > > XSIZE (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = 3994294 > > XMD5 (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 6e416c81497f65065d78dae1e0acad0d > > XSHA256 (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf > > XSIZE (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455 > > 1f552e2e0c05a396106217e48ff92103 > > echo x - www/linux-f10-flashplugin10/pkg-descr > > sed 's/^X//' >www/linux-f10-flashplugin10/pkg-descr << '57a1420ff5e8cb1b77c71ecb3a15c599' > > XThis is the official Flash Player from Adobe. This plugin enables > > Xyou to see .swf and .spl files on the 'net from your Opera, Mozilla or > > XFirefox sessions. > > X > > XPlease see the Adobe home page for more information. > > X > > XFreeBSD Flash License Agreement: > > X http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96374 > > X > > XWWW: http://www.adobe.com/ > > 57a1420ff5e8cb1b77c71ecb3a15c599 > > echo x - www/linux-f10-flashplugin10/pkg-plist > > sed 's/^X//' >www/linux-f10-flashplugin10/pkg-plist << '9254ee58cdc375ce93f8fc3b1afc9e77' > > X@cwd /compat/linux > > Xusr/lib/libflashsupport.so > > X@cwd > > 9254ee58cdc375ce93f8fc3b1afc9e77 > > exit > > There may be something more, but I don't see it right now. Thanks for > all involved! It's a good team work. New patch and shar below: Index: Mk/bsd.linux-apps.mk @@ -70,7 +70,8 @@ _LINUX_APPS_ALL+= # 2.6.16 components -_LINUX_26_APPS= libidn libssh2 nspr nss sqlite3 tcl84 tk84 +_LINUX_26_APPS= cyrus-sasl2 libidn libssh2 nspr nss openldap \ + sqlite3 tcl84 tk84 _LINUX_APPS_ALL+= ${_LINUX_26_APPS} @@ -136,6 +137,14 @@ curl_f10_FILE= ${LINUXBASE}/usr/lib/libcurl.so.4.1.1 curl_DETECT= ${curl${LINUX_DIST_SUFFIX:S/-/_/}_FILE} curl_PORT= ${PORTSDIR}/ftp/linux${LINUX_DIST_SUFFIX}-curl +. if ${LINUX_DIST_SUFFIX} == "-f10" +curl_DEPENDS= cyrus-sasl2 openldap +. endif + +# no cyrus-sasl2_FILE, cyrus-sasl2_f8_FILE +cyrus-sasl2_f10_FILE= ${LINUXBASE}/usr/lib/libsasl2.so.2.0.22 +cyrus-sasl2_DETECT= ${cyrus-sasl2${LINUX_DIST_SUFFIX:S/-/_/}_FILE} +cyrus-sasl2_PORT= ${PORTSDIR}/security/linux${LINUX_DIST_SUFFIX}-cyrus-sasl2 dri_FILE= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 dri_f8_FILE= ${LINUXBASE}/usr/lib/libGL.so.1 @@ -307,6 +316,11 @@ mikmod_DETECT= ${mikmod${LINUX_DIST_SUFFIX:S/-/_/}_FILE} mikmod_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-mikmod +# no openldap_FILE, openldap_f8_FILE +openldap_f10_FILE= ${LINUXBASE}/usr/lib/libldap-2.4.so.2.2.0 +openldap_DETECT= ${openldap${LINUX_DIST_SUFFIX:S/-/_/}_FILE} +openldap_PORT= ${PORTSDIR}/net/linux${LINUX_DIST_SUFFIX}-openldap + openmotif_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3 openmotif_f8_FILE= ${LINUXBASE}/usr/lib/libXm.so.4.0.2 openmotif_f10_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3 Index: ftp/linux-f10-curl/Makefile @@ -24,6 +24,7 @@ CONFLICTS= linux-curl-[0-9]* linux-f8-curl-[0-9]* USE_LINUX_RPM= yes +USE_LINUX_APPS= cyrus-sasl2 openldap LINUX_DIST_VER= 10 RPMVERSION= 5.fc10 USE_LDCONFIG= yes # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # net/linux-f10-openldap/ # net/linux-f10-openldap/Makefile # net/linux-f10-openldap/distinfo.i386 # security/linux-f10-cyrus-sasl2/ # security/linux-f10-cyrus-sasl2/Makefile # security/linux-f10-cyrus-sasl2/distinfo.i386 # www/linux-f10-flashplugin10/ # www/linux-f10-flashplugin10/Makefile # www/linux-f10-flashplugin10/distinfo # www/linux-f10-flashplugin10/pkg-descr # www/linux-f10-flashplugin10/pkg-plist # echo c - net/linux-f10-openldap/ mkdir -p net/linux-f10-openldap/ > /dev/null 2>&1 echo x - net/linux-f10-openldap/Makefile sed 's/^X//' >net/linux-f10-openldap/Makefile << '17a12d65b66950d2cbc504ac86a37255' X# New ports collection makefile for: net/linux-f10-openldap X# Date created: 2009-06-07 X# Whom: peter X# X# $FreeBSD$ X# X XPORTNAME= openldap XPORTVERSION= 2.4.12 XCATEGORIES= net linux XPKGNAMEPREFIX= linux-f10- XDISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION} X XSRC_DISTFILES= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}.src.rpm X XMAINTAINER= emulation@FreeBSD.org XCOMMENT= Lightweight Directory Access Protocol libraries (Linux Fedora 10) X X#CONFLICTS= X XUSE_LINUX_RPM= yes XLINUX_DIST_VER= 10 XRPMVERSION= 1.fc10 XUSE_LDCONFIG= yes XDESCR= ${.CURDIR}/../openldap24-server/pkg-descr X XPLIST_FILES= etc/openldap/ldap.conf usr/lib/liblber-2.4.so.2 usr/lib/liblber-2.4.so.2.2.0 usr/lib/libldap-2.4.so.2 usr/lib/libldap-2.4.so.2.2.0 usr/lib/libldap_r-2.4.so.2 usr/lib/libldap_r-2.4.so.2.2.0 XDOCSDIR= usr/share/doc/${PORTNAME}-${PORTVERSION} XPORTDOCS= ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README XMANPREFIX= ${PREFIX}/usr/share XMAN5= ldap.conf.5 ldif.5 XMANCOMPRESSED= yes X X# do not install any openldap configuration directories/files Xpost-extract: X ${RM} -rf ${WRKSRC}/etc X X.include 17a12d65b66950d2cbc504ac86a37255 echo x - net/linux-f10-openldap/distinfo.i386 sed 's/^X//' >net/linux-f10-openldap/distinfo.i386 << 'f422178bbd4668750265f4e584e91c0e' XMD5 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = e3ea12058a8cdc54d6f270c802c92a00 XSHA256 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = 2a71dcfdbfb1dc9b4e056c951518474d5958147c033f3584dc06e784fd67d567 XSIZE (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = 323504 XMD5 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.src.rpm) = f28ec039fad4f81abc6df09c5542bdaa XSHA256 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.src.rpm) = 84bff280805bf046849d96ba80bd6b0d0da895da07f0e6d6efde2667b4ff1e1c XSIZE (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.src.rpm) = 16905121 f422178bbd4668750265f4e584e91c0e echo c - security/linux-f10-cyrus-sasl2/ mkdir -p security/linux-f10-cyrus-sasl2/ > /dev/null 2>&1 echo x - security/linux-f10-cyrus-sasl2/Makefile sed 's/^X//' >security/linux-f10-cyrus-sasl2/Makefile << '4fc58bcf97a8889077c61da23cb55faa' X# New ports collection makefile for: security/linux-f10-cyrus-sasl2 X# Date created: 2009-06-07 X# Whom: peter X# X# $FreeBSD$ X# X XPORTNAME= cyrus-sasl2 XPORTVERSION= 2.1.22 XCATEGORIES= security linux XPKGNAMEPREFIX= linux-f10- XDISTNAME= cyrus-sasl-lib-${PORTVERSION}-${RPMVERSION} X XSRC_DISTFILES= cyrus-sasl-${PORTVERSION}-${RPMVERSION}.src.rpm X XMAINTAINER= emulation@FreeBSD.org XCOMMENT= RFC 2222 SASL (Simple Authentication and Security Layer) (Linux Fedora 10) X X#CONFLICTS= X XUSE_LINUX_RPM= yes XLINUX_DIST_VER= 10 XRPMVERSION= 19.fc10 XUSE_LDCONFIG= yes XBRANDELF_FILES= usr/sbin/sasldblistusers2 usr/sbin/saslpasswd2 XDESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr X XPLIST_DIRS= etc/sasl2 usr/lib/sasl2 XPLIST_FILES= usr/lib/libsasl2.so.2 usr/lib/libsasl2.so.2.0.22 usr/lib/sasl2/libanonymous.so usr/lib/sasl2/libanonymous.so.2 usr/lib/sasl2/libanonymous.so.2.0.22 usr/lib/sasl2/libsasldb.so usr/lib/sasl2/libsasldb.so.2 usr/lib/sasl2/libsasldb.so.2.0.22 usr/sbin/sasldblistusers2 usr/sbin/saslpasswd2 XDOCSDIR= usr/share/doc/cyrus-sasl-lib-${PORTVERSION} XPORTDOCS= AUTHORS COPYING NEWS README advanced.html appconvert.html components.html gssapi.html index.html install.html macosx.html mechanisms.html options.html plugprog.html programming.html readme.html sysadmin.html upgrading.html windows.html X X.include 4fc58bcf97a8889077c61da23cb55faa echo x - security/linux-f10-cyrus-sasl2/distinfo.i386 sed 's/^X//' >security/linux-f10-cyrus-sasl2/distinfo.i386 << '9c7e54bf867023e1f8fcaa16319c72f4' XMD5 (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = 5a4ee3c84ec9581723fd56b658eec994 XSHA256 (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = ae8da4ee07615519c657ddbe3b8c128a2e81f00a4db0da17b7369dabe03ed6d2 XSIZE (rpm/i386/fedora/10/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm) = 145305 XMD5 (rpm/i386/fedora/10/cyrus-sasl-2.1.22-19.fc10.src.rpm) = f66997139328e0446b1635b4c59c5cd4 XSHA256 (rpm/i386/fedora/10/cyrus-sasl-2.1.22-19.fc10.src.rpm) = 70f087f10f7a6c62a30befadef9904c03543aa20ae890889b2a08a04382e6963 XSIZE (rpm/i386/fedora/10/cyrus-sasl-2.1.22-19.fc10.src.rpm) = 1661687 9c7e54bf867023e1f8fcaa16319c72f4 echo c - www/linux-f10-flashplugin10/ mkdir -p www/linux-f10-flashplugin10/ > /dev/null 2>&1 echo x - www/linux-f10-flashplugin10/Makefile sed 's/^X//' >www/linux-f10-flashplugin10/Makefile << '5455d901d257b50d731e64397ea6df2f' X# New ports collection makefile for: www/linux-f10-flashplugin10 X# Date created: 2009-06-26 X# Whom: bsam X# Based on: www/linux-f8-flashplugin10 by nox@ X# X# $FreeBSD$ X# X XPORTNAME= flashplugin XPORTVERSION= 10.0r22 XCATEGORIES= www multimedia linux XMASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/:plugin \ X ftp://ftp.ipt.ru/pub/download/:suplib XPKGNAMEPREFIX= linux-f10- XDISTFILES= install_flash_player_10_linux.tar.gz:plugin \ X linux-f10-flashsupport-9.0.1.i386.tar.gz:suplib XDIST_SUBDIR= ${PORTNAME}/${PORTVERSION} X XMAINTAINER= emulation@FreeBSD.org XCOMMENT= Adobe Flash Player NPAPI Plugin X XONLY_FOR_ARCHS= amd64 i386 XUSE_LINUX= yes XUSE_LINUX_APPS= openssl curl cyrus-sasl2 libssh2 nspr nss openldap X XRESTRICTED= Redistribution not allowed XRESTRICTED_FILES= ${DISTFILES:Nlinux-f10-flashsupport*:C/:[^:]+$//} X XNO_BUILD= yes XWRKSRC= ${WRKDIR}/install_flash_player_10_linux X XUSE_NPAPI= linux-* XNPAPI_FILES= libflashplayer.so X XCONFLICTS= linux-flashplugin-7* linux-flashplugin-9* linux-f8-flashplugin10-* X Xpost-install: X @${INSTALL_PROGRAM} ${WRKDIR}/libflashsupport.so ${LINUXBASE}/usr/lib X X.include X.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi" X.include 5455d901d257b50d731e64397ea6df2f echo x - www/linux-f10-flashplugin10/distinfo sed 's/^X//' >www/linux-f10-flashplugin10/distinfo << '1f552e2e0c05a396106217e48ff92103' XMD5 (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = 23e4c2b844db0f87ff62084178aa2b1f XSHA256 (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = cd29f166c87fecc943e88fe951bb61c56728fab12b4bf343badafa73ea95394e XSIZE (flashplugin/10.0r22/install_flash_player_10_linux.tar.gz) = 3994294 XMD5 (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 6e416c81497f65065d78dae1e0acad0d XSHA256 (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf XSIZE (flashplugin/10.0r22/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455 1f552e2e0c05a396106217e48ff92103 echo x - www/linux-f10-flashplugin10/pkg-descr sed 's/^X//' >www/linux-f10-flashplugin10/pkg-descr << '57a1420ff5e8cb1b77c71ecb3a15c599' XThis is the official Flash Player from Adobe. This plugin enables Xyou to see .swf and .spl files on the 'net from your Opera, Mozilla or XFirefox sessions. X XPlease see the Adobe home page for more information. X XFreeBSD Flash License Agreement: X http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96374 X XWWW: http://www.adobe.com/ 57a1420ff5e8cb1b77c71ecb3a15c599 echo x - www/linux-f10-flashplugin10/pkg-plist sed 's/^X//' >www/linux-f10-flashplugin10/pkg-plist << '9254ee58cdc375ce93f8fc3b1afc9e77' X@cwd /compat/linux Xusr/lib/libflashsupport.so X@cwd 9254ee58cdc375ce93f8fc3b1afc9e77 exit From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 27 22:00:24 2009 Return-Path: Delivered-To: emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8A821065670; Sat, 27 Jun 2009 22:00:24 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7DEF98FC1D; Sat, 27 Jun 2009 22:00:24 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5RM0Oh3079016; Sat, 27 Jun 2009 22:00:24 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5RM0OkG079007; Sat, 27 Jun 2009 22:00:24 GMT (envelope-from edwin) Date: Sat, 27 Jun 2009 22:00:24 GMT Message-Id: <200906272200.n5RM0OkG079007@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, emulation@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/136099: [repocopy]: www/linux-f8-flashplugin10 -> www/linux-f10-flashplugin10 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, 27 Jun 2009 22:00:25 -0000 Synopsis: [repocopy]: www/linux-f8-flashplugin10 -> www/linux-f10-flashplugin10 Responsible-Changed-From-To: freebsd-ports-bugs->emulation Responsible-Changed-By: edwin Responsible-Changed-When: Sat Jun 27 22:00:23 UTC 2009 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=136099 From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 27 22:02:09 2009 Return-Path: Delivered-To: emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE6211065670; Sat, 27 Jun 2009 22:02:09 +0000 (UTC) (envelope-from nox@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B3CD98FC15; Sat, 27 Jun 2009 22:02:09 +0000 (UTC) (envelope-from nox@FreeBSD.org) Received: from freefall.freebsd.org (nox@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5RM297j083715; Sat, 27 Jun 2009 22:02:09 GMT (envelope-from nox@freefall.freebsd.org) Received: (from nox@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5RM29kb083711; Sat, 27 Jun 2009 22:02:09 GMT (envelope-from nox) Date: Sat, 27 Jun 2009 22:02:09 GMT Message-Id: <200906272202.n5RM29kb083711@freefall.freebsd.org> To: nox@jelal.kn-bremen.de, nox@FreeBSD.org, emulation@FreeBSD.org, portmgr@FreeBSD.org From: nox@FreeBSD.org Cc: Subject: Re: ports/136099: [repocopy]: www/linux-f8-flashplugin10 -> www/linux-f10-flashplugin10 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, 27 Jun 2009 22:02:10 -0000 Synopsis: [repocopy]: www/linux-f8-flashplugin10 -> www/linux-f10-flashplugin10 State-Changed-From-To: open->repocopy State-Changed-By: nox State-Changed-When: Sat Jun 27 22:01:26 UTC 2009 State-Changed-Why: Repocopy Responsible-Changed-From-To: emulation->portmgr Responsible-Changed-By: nox Responsible-Changed-When: Sat Jun 27 22:01:26 UTC 2009 Responsible-Changed-Why: Repocopy http://www.freebsd.org/cgi/query-pr.cgi?pr=136099 From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 27 22:35:11 2009 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 840EA1065672; Sat, 27 Jun 2009 22:35:11 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 17A128FC08; Sat, 27 Jun 2009 22:35:10 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.175.178.149] (helo=moosi) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1MKgUG-000PS1-Qu; Sun, 28 Jun 2009 02:35:08 +0400 To: Juergen Lock References: <20090606162235.GA49444@triton.kn-bremen.de> <43784537@ipt.ru> <66988167@ipt.ru> <747dc8f30906261255s1ecc1420x574ded3be835b448@mail.gmail.com> <20090627143719.GA28318@triton.kn-bremen.de> <33059629@ipt.ru> <20090627213533.GA46429@triton.kn-bremen.de> From: Boris Samorodov Date: Sun, 28 Jun 2009 02:36:02 +0400 In-Reply-To: <20090627213533.GA46429@triton.kn-bremen.de> (Juergen Lock's message of "Sat\, 27 Jun 2009 23\:35\:33 +0200") Message-ID: <88413085@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org, "Sean C. Farley" Subject: Re: flash10 vs f10 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, 27 Jun 2009 22:35:12 -0000 Juergen Lock writes: > On Sat, Jun 27, 2009 at 08:10:10PM +0400, Boris Samorodov wrote: >> Juergen Lock writes: >> > X# New ports collection makefile for: net/linux-f10-openldap >> > X# Date created: 2009-06-07 >> > X# Whom: peter >> > X# >> > X# $FreeBSD$ >> > X# >> > X >> > XPORTNAME= openldap >> > XPORTVERSION= 2.4.12 >> > XCATEGORIES= net linux >> > XPKGNAMEPREFIX= linux-f10- >> > XDISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION} >> > X >> > X.if defined(PACKAGE_BUILDING) >> > XSRC_DISTFILES= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}.src.rpm >> > XALWAYS_KEEP_DISTFILES= YES >> > X.endif >> >> Well, those <.if, .endif> actually are not needed as bsd.linux-rpm.mk >> should itself take care of the case. If it doesn't, please tell me. >> > Ah, then a bunch of other ports can be changed too... (I guess Peter > just went by existing examples :) I should have been more verbose here. The whole if-endif case was not needed because SRC_DISTFILES=${DISTNAME}.src.rpm. This is true for net/linux-f10-openldap. But for security/linux-f10-cyrus-sasl2 it is not true and SRC_DISTFILES should be defined at Makefile. >> > X >> > XMAINTAINER= emulation@FreeBSD.org >> > XCOMMENT= Lightweight Directory Access Protocol libraries (Linux Fedora 10) >> > X >> > X#CONFLICTS= >> > X >> > XUSE_LINUX_RPM= yes >> > XLINUX_DIST_VER= 10 >> > XRPMVERSION= 1.fc10 >> > XUSE_LDCONFIG= yes >> > XDESCR= ${.CURDIR}/../openldap24-server/pkg-descr >> > X >> > XPLIST_DIRS= etc/openldap/cacerts etc/openldap >> >> I'd say only etc/openldap is needed (see below). >> >> > XPLIST_FILES= etc/openldap/ldap.conf usr/lib/liblber-2.4.so.2 usr/lib/liblber-2.4.so.2.2.0 usr/lib/libldap-2.4.so.2 usr/lib/libldap-2.4.so.2.2.0 usr/lib/libldap_r-2.4.so.2 usr/lib/libldap_r-2.4.so.2.2.0 >> > XDOCSDIR= usr/share/doc/${PORTNAME}-${PORTVERSION} >> > XPORTDOCS= ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README >> > XMANPREFIX= ${PREFIX}/usr/share >> > XMAN5= ldap.conf.5 ldif.5 >> > XMANCOMPRESSED= yes >> >> At my port's propotype I have this: >> ----- >> # do not install any openldap configuration directories/files >> post-extract: >> ${RM} -rf ${WRKSRC}/etc >> >> # use a native openldap configuration directories/files >> post-install: >> ${LN} -sf ${LOCALBASE}/etc/openldap ${PREFIX}/etc >> ----- >> >> This should work for managing the port via ports system but not with >> packages. >> > Good idea, but actually the post-install target isn't really needed > since the linuxolator /compat/linux search magic should already dtrt > here. (I.e. if the dir doesn't exits it should fall back to the one > outside of /compat/linux.) The linuxulator magic will work if a linux program search not only at /etc/openldap but also at /usr/local/etc/openldap. I guess it won't happen. The linuxulator do a search for a /some/path/file at: . /compat/linux/some/path/file, if not found . /some/path/file, if not found . /compat/linux/some/path/file. Anyway, we are talking here about correct linux openldap work. But for the sake of linux-f10-flashplugin10 imho it's not critical. >> > X >> > X.include >> > 17a12d65b66950d2cbc504ac86a37255 >> > echo x - net/linux-f10-openldap/distinfo.i386 >> > sed 's/^X//' >net/linux-f10-openldap/distinfo.i386 << 'f422178bbd4668750265f4e584e91c0e' >> > XMD5 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = e3ea12058a8cdc54d6f270c802c92a00 >> > XSHA256 (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = 2a71dcfdbfb1dc9b4e056c951518474d5958147c033f3584dc06e784fd67d567 >> > XSIZE (rpm/i386/fedora/10/openldap-2.4.12-1.fc10.i386.rpm) = 323504 >> >> The following commands would do the right thing (no src distinfo for >> now): >> ----- >> % cd >> % sudo make fetch PACKAGE_BUILDING=YES >> % sudo make makesum PACKAGE_BUILDING=YES >> ----- >> > Done. (Actually makesum depends on fetch :) Yea, but I usually fetch with sudo (to /usr/ports/distfiles) but do a makesum without it (at my home work directory). ;-) > New patch and shar below: > > Index: Mk/bsd.linux-apps.mk > @@ -70,7 +70,8 @@ > _LINUX_APPS_ALL+= > > # 2.6.16 components > -_LINUX_26_APPS= libidn libssh2 nspr nss sqlite3 tcl84 tk84 > +_LINUX_26_APPS= cyrus-sasl2 libidn libssh2 nspr nss openldap \ > + sqlite3 tcl84 tk84 > > _LINUX_APPS_ALL+= ${_LINUX_26_APPS} > > @@ -136,6 +137,14 @@ > curl_f10_FILE= ${LINUXBASE}/usr/lib/libcurl.so.4.1.1 > curl_DETECT= ${curl${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > curl_PORT= ${PORTSDIR}/ftp/linux${LINUX_DIST_SUFFIX}-curl > +. if ${LINUX_DIST_SUFFIX} == "-f10" > +curl_DEPENDS= cyrus-sasl2 openldap > +. endif > + > +# no cyrus-sasl2_FILE, cyrus-sasl2_f8_FILE > +cyrus-sasl2_f10_FILE= ${LINUXBASE}/usr/lib/libsasl2.so.2.0.22 > +cyrus-sasl2_DETECT= ${cyrus-sasl2${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > +cyrus-sasl2_PORT= ${PORTSDIR}/security/linux${LINUX_DIST_SUFFIX}-cyrus-sasl2 > > dri_FILE= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 > dri_f8_FILE= ${LINUXBASE}/usr/lib/libGL.so.1 > @@ -307,6 +316,11 @@ > mikmod_DETECT= ${mikmod${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > mikmod_PORT= ${PORTSDIR}/audio/linux${LINUX_DIST_SUFFIX}-mikmod > > +# no openldap_FILE, openldap_f8_FILE > +openldap_f10_FILE= ${LINUXBASE}/usr/lib/libldap-2.4.so.2.2.0 > +openldap_DETECT= ${openldap${LINUX_DIST_SUFFIX:S/-/_/}_FILE} > +openldap_PORT= ${PORTSDIR}/net/linux${LINUX_DIST_SUFFIX}-openldap > + > openmotif_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3 > openmotif_f8_FILE= ${LINUXBASE}/usr/lib/libXm.so.4.0.2 > openmotif_f10_FILE= ${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3 > Index: ftp/linux-f10-curl/Makefile Seems like PORTREVISION should be bumped. [...] > @@ -24,6 +24,7 @@ > CONFLICTS= linux-curl-[0-9]* linux-f8-curl-[0-9]* > > USE_LINUX_RPM= yes > +USE_LINUX_APPS= cyrus-sasl2 openldap > LINUX_DIST_VER= 10 > RPMVERSION= 5.fc10 > USE_LDCONFIG= yes > > # This is a shell archive. Save it in a file, remove anything before > # this line, and then unpack it by entering "sh file". Note, it may > # create directories; files and directories will be owned by you and > # have default permissions. > # > # This archive contains: > # > # net/linux-f10-openldap/ > # net/linux-f10-openldap/Makefile > # net/linux-f10-openldap/distinfo.i386 > # security/linux-f10-cyrus-sasl2/ > # security/linux-f10-cyrus-sasl2/Makefile > # security/linux-f10-cyrus-sasl2/distinfo.i386 > # www/linux-f10-flashplugin10/ > # www/linux-f10-flashplugin10/Makefile > # www/linux-f10-flashplugin10/distinfo > # www/linux-f10-flashplugin10/pkg-descr > # www/linux-f10-flashplugin10/pkg-plist > # > echo c - net/linux-f10-openldap/ > mkdir -p net/linux-f10-openldap/ > /dev/null 2>&1 > echo x - net/linux-f10-openldap/Makefile > sed 's/^X//' >net/linux-f10-openldap/Makefile << '17a12d65b66950d2cbc504ac86a37255' > X# New ports collection makefile for: net/linux-f10-openldap > X# Date created: 2009-06-07 > X# Whom: peter > X# > X# $FreeBSD$ > X# > X > XPORTNAME= openldap > XPORTVERSION= 2.4.12 > XCATEGORIES= net linux > XPKGNAMEPREFIX= linux-f10- > XDISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION} > X > XSRC_DISTFILES= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}.src.rpm Sorry that I wasn't verbose for the first time, this line is not needed here. No more comments from me. ;-) Thanks! WBR -- bsam