From bsam@bb.ipt.ru  Fri Aug 28 13:36:44 2009
Return-Path: <bsam@bb.ipt.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E5A37106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 28 Aug 2009 13:36:44 +0000 (UTC)
	(envelope-from bsam@bb.ipt.ru)
Received: from bb.ipt.ru (bb.ipt.ru [194.62.233.89])
	by mx1.freebsd.org (Postfix) with ESMTP id 6A0B28FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 28 Aug 2009 13:36:43 +0000 (UTC)
Received: from bb.ipt.ru (localhost [127.0.0.1])
	by bb.ipt.ru (8.14.3/8.14.3) with ESMTP id n7SDaiDI008980
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 28 Aug 2009 17:36:44 +0400 (MSD)
	(envelope-from bsam@bb.ipt.ru)
Received: (from bsam@localhost)
	by bb.ipt.ru (8.14.3/8.14.3/Submit) id n7SDaiWH008979;
	Fri, 28 Aug 2009 17:36:44 +0400 (MSD)
	(envelope-from bsam)
Message-Id: <200908281336.n7SDaiWH008979@bb.ipt.ru>
Date: Fri, 28 Aug 2009 17:36:44 +0400 (MSD)
From: Boris Samorodov <bsam@freebsd.org>
Reply-To: Boris Samorodov <bsam@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] the Handbook: add a section about installing a random linux rpm-based application
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         138269
>Category:       docs
>Synopsis:       [patch] [Handbook] add a section about installing a random linux rpm-based application
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    blackend
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 28 13:40:06 UTC 2009
>Closed-Date:    Mon Aug 31 18:03:20 UTC 2009
>Last-Modified:  Mon Aug 31 18:10:03 UTC 2009
>Originator:     Boris Samorodov
>Release:        FreeBSD 8.0-BETA3 i386
>Organization:
InPharmTech, Co.
>Environment:
System: FreeBSD bb.ipt.ru 8.0-BETA3 FreeBSD 8.0-BETA3 #2: Mon Aug 24 16:06:36 MSD 2009 root@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386

>Description:
	This is one most frequently asked questions at freebsd-question@
	and freebsd-emulation@ mail lists and is not covered at any
	official documents.
>How-To-Repeat:
>Fix:
	This is my first try to use sgml format, so please be indulgent. ;-)

--- linux.rpm.diff begins here ---
Index: chapter.sgml
===================================================================
RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml,v
retrieving revision 1.138
diff -u -r1.138 chapter.sgml
--- chapter.sgml	27 Aug 2009 12:48:48 -0000	1.138
+++ chapter.sgml	28 Aug 2009 13:28:06 -0000
@@ -349,6 +349,24 @@
 	<literal>bind</literal> if you have not configured a name server
 	using the <filename>/etc/resolv.conf</filename> file.</para>
     </sect2>
+
+    <sect2>
+      <title>Installing a Random Linux RPM Based Application</title>
+
+      <para>FreeBSD has it's own package database and it is used to track
+	all ports (linux ports as well). So the Linux rpm database is not
+	used (not supported).</para>
+
+      <para>However if you need to install a random Linux rpm-based
+	application it can de achieved by:</para>
+
+      <screen>&prompt.root; <userinput>cd /compat/linux</userinput></screen>
+      <screen>&prompt.root; <userinput>rpm2cpio -q < /path/to/linux.archieve.rpm | cpio -id</userinput></screen>
+
+      <para>Then brandelf installed ELF binaries (not libraries!).
+	You won't be able to do a clean uninstall, but it may help you
+	to do tests.<para/>
+    </sect2>
   </sect1>
 
   <sect1 id="linuxemu-mathematica">
--- linux.rpm.diff ends here ---

-- 
WBR, bsam
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->blackend 
Responsible-Changed-By: blackend 
Responsible-Changed-When: Fri Aug 28 14:08:48 UTC 2009 
Responsible-Changed-Why:  
I will help bsam to polish and commit this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138269 

From: Marc Fonvieille <blackend@FreeBSD.org>
To: Boris Samorodov <bsam@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: docs/138269: [patch] the Handbook: add a section about
 installing a random linux rpm-based application
Date: Sat, 29 Aug 2009 09:56:28 +0200

 On Fri, Aug 28, 2009 at 05:36:44PM +0400, Boris Samorodov wrote:
 > 
 > >Number:         138269
 > >Category:       docs
 > >Synopsis:       [patch] the Handbook: add a section about installing a random linux rpm-based application
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-doc
 > >State:          closed
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          update
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Fri Aug 28 13:40:06 UTC 2009
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Boris Samorodov
 > >Release:        FreeBSD 8.0-BETA3 i386
 > >Organization:
 > InPharmTech, Co.
 > >Environment:
 > System: FreeBSD bb.ipt.ru 8.0-BETA3 FreeBSD 8.0-BETA3 #2: Mon Aug 24 16:06:36 MSD 2009 root@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386
 > 
 > >Description:
 > 	This is one most frequently asked questions at freebsd-question@
 > 	and freebsd-emulation@ mail lists and is not covered at any
 > 	official documents.
 > >How-To-Repeat:
 > >Fix:
 > 	This is my first try to use sgml format, so please be indulgent. ;-)
 > 
 > --- linux.rpm.diff begins here ---
 > Index: chapter.sgml
 > ===================================================================
 > RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml,v
 > retrieving revision 1.138
 > diff -u -r1.138 chapter.sgml
 > --- chapter.sgml	27 Aug 2009 12:48:48 -0000	1.138
 > +++ chapter.sgml	28 Aug 2009 13:28:06 -0000
 > @@ -349,6 +349,24 @@
 >  	<literal>bind</literal> if you have not configured a name server
 >  	using the <filename>/etc/resolv.conf</filename> file.</para>
 >      </sect2>
 
 Actually I'd put your section just before, I mean just under the one
 about "Installing Linux ELF Binaries"
 
 > +
 > +    <sect2>
 > +      <title>Installing a Random Linux RPM Based Application</title>
 > +
 > +      <para>FreeBSD has it's own package database and it is used to track
 
                            ^ its ?
 
 > +	all ports (linux ports as well). So the Linux rpm database is not
                                                       ^--- RPM ?
 
                    ^ linux or Linux?    ^----------- we use to put 2 whitespace
 		   you should use &linux;            after a fullstop
 		   to avoid such dilema :)
 
 > +	used (not supported).</para>
 > +
 > +      <para>However if you need to install a random Linux rpm-based
 
                                                              ^ RPM
 
 > +	application it can de achieved by:</para>
 
                            ^ be?
 
 > +
 > +      <screen>&prompt.root; <userinput>cd /compat/linux</userinput></screen>
 > +      <screen>&prompt.root; <userinput>rpm2cpio -q < /path/to/linux.archieve.rpm | cpio -id</userinput></screen>
 
 a best solution in term of rendering should be with one
 <screen></screen> couple, i.e,
 
 	<screen>&prompt.root; <userinput>cd /compat/linux</userinput></screen>
 &prompt.root; <userinput>rpm2cpio -q &lt; /path/to/linux.archive.rpm | cpio -id</userinput></screen>
 
 I also did a s/</&lt; and a s/archieve/archive/
 
 > +
 > +      <para>Then brandelf installed ELF binaries (not libraries!).
 > +	You won't be able to do a clean uninstall, but it may help you
 
             ^ we do not use contraction in docs so "You will not"
 
 > +	to do tests.<para/>
 > +    </sect2>
 >    </sect1>
 >  
 >    <sect1 id="linuxemu-mathematica">
 > --- linux.rpm.diff ends here ---
 > 
 > -- 
 > WBR, bsam
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > _______________________________________________
 > freebsd-doc@freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-doc
 > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"
 
 -- 
 Marc

From: Boris Samorodov <bsam@ipt.ru>
To: Marc Fonvieille <blackend@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: docs/138269: [patch] the Handbook: add a section about installing a random linux rpm-based application
Date: Sat, 29 Aug 2009 14:18:22 +0400

 --=-=-=
 
 Wow, too many errors for a couple of sentences. I suspected something
 like this, but not so many. Thanks for your help!
 
 Agreed for all your comments. Here is the revised patch.
 
 --=-=-=
 Content-Type: text/x-patch
 Content-Disposition: inline; filename=linux.rpm.diff
 
 Index: chapter.sgml
 ===================================================================
 RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml,v
 retrieving revision 1.138
 diff -u -r1.138 chapter.sgml
 --- chapter.sgml	27 Aug 2009 12:48:48 -0000	1.138
 +++ chapter.sgml	29 Aug 2009 10:15:59 -0000
 @@ -326,6 +326,24 @@
      </sect2>
  
      <sect2>
 +      <title>Installing a Random Linux RPM Based Application</title>
 +
 +      <para>FreeBSD has its own package database and it is used to track
 +	all ports (&linux ports as well).  So the &linux RPM database is not
 +	used (not supported).</para>
 +
 +      <para>However if you need to install a random &linux RPM-based
 +	application it can be achieved by:</para>
 +
 +      <screen>&prompt.root; <userinput>cd /compat/linux</userinput>
 +&prompt.root; <userinput>rpm2cpio -q &lt; /path/to/linux.archive.rpm | cpio -id</userinput></screen>
 +
 +      <para>Then brandelf installed ELF binaries (not libraries!).
 +	You will not be able to do a clean uninstall, but it may help you
 +	to do tests.<para/>
 +    </sect2>
 +
 +    <sect2>
        <title>Configuring the Hostname Resolver</title>
  
        <para>If DNS does not work or you get this message:</para>
 
 --=-=-=
 
 
 -- 
 WBR, bsam
 
 --=-=-=--

From: Marc Fonvieille <blackend@FreeBSD.org>
To: Boris Samorodov <bsam@ipt.ru>
Cc: bug-followup@FreeBSD.org
Subject: Re: docs/138269: [patch] the Handbook: add a section about
 installing a random linux rpm-based application
Date: Sat, 29 Aug 2009 15:09:27 +0200

 On Sat, Aug 29, 2009 at 02:18:22PM +0400, Boris Samorodov wrote:
 > Wow, too many errors for a couple of sentences. I suspected something
 > like this, but not so many. Thanks for your help!
 > 
 > Agreed for all your comments. Here is the revised patch.
 
 > Index: chapter.sgml
 > ===================================================================
 > RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml,v
 > retrieving revision 1.138
 > diff -u -r1.138 chapter.sgml
 > --- chapter.sgml	27 Aug 2009 12:48:48 -0000	1.138
 > +++ chapter.sgml	29 Aug 2009 10:15:59 -0000
 > @@ -326,6 +326,24 @@
 >      </sect2>
 >  
 >      <sect2>
 > +      <title>Installing a Random Linux RPM Based Application</title>
 > +
 > +      <para>FreeBSD has its own package database and it is used to track
 > +	all ports (&linux ports as well).  So the &linux RPM database is not
 
                          ^ a missing ; after            ^ same here
 			 an entity
 
 > +	used (not supported).</para>
 > +
 > +      <para>However if you need to install a random &linux RPM-based
 > +	application it can be achieved by:</para>
 > +
 > +      <screen>&prompt.root; <userinput>cd /compat/linux</userinput>
 > +&prompt.root; <userinput>rpm2cpio -q &lt; /path/to/linux.archive.rpm | cpio -id</userinput></screen>
 > +
 > +      <para>Then brandelf installed ELF binaries (not libraries!).
 > +	You will not be able to do a clean uninstall, but it may help you
 > +	to do tests.<para/>
 
                      ^^^^ should be </para>
 
 > +    </sect2>
 > +
 > +    <sect2>
 >        <title>Configuring the Hostname Resolver</title>
 >  
 >        <para>If DNS does not work or you get this message:</para>
 
 > 
 
 Do the changes and a test build, if it doesn't fail you're free to
 commit it :)
 
 
 -- 
 Marc

From: Boris Samorodov <bsam@ipt.ru>
To: Marc Fonvieille <blackend@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: docs/138269: [patch] the Handbook: add a section about installing a random linux rpm-based application
Date: Mon, 31 Aug 2009 13:28:30 +0400

 --=-=-=
 
 Here is a revised patch (compiled OK and looks so far good to me):
 
 --=-=-=
 Content-Type: text/x-patch
 Content-Disposition: inline; filename=linuxemu.diff
 Content-Description: a patch for linuxemu chapter
 
 Index: chapter.sgml
 ===================================================================
 RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml,v
 retrieving revision 1.138
 diff -u -r1.138 chapter.sgml
 --- chapter.sgml	27 Aug 2009 12:48:48 -0000	1.138
 +++ chapter.sgml	31 Aug 2009 09:13:47 -0000
 @@ -326,6 +326,24 @@
      </sect2>
  
      <sect2>
 +      <title>Installing a Random Linux RPM Based Application</title>
 +
 +      <para>FreeBSD has its own package database and it is used to track
 +	all ports (&linux; ports as well).  So the &linux; RPM database is not
 +	used (not supported).</para>
 +
 +      <para>However if you need to install a random &linux; RPM-based
 +	application it can be achieved by:</para>
 +
 +      <screen>&prompt.root; <userinput>cd /compat/linux</userinput>
 +&prompt.root; <userinput>rpm2cpio -q &lt; /path/to/linux.archive.rpm | cpio -id</userinput></screen>
 +
 +      <para>Then brandelf installed ELF binaries (not libraries!).
 +	You will not be able to do a clean uninstall, but it may help you
 +	to do tests.</para>
 +    </sect2>
 +
 +    <sect2>
        <title>Configuring the Hostname Resolver</title>
  
        <para>If DNS does not work or you get this message:</para>
 
 --=-=-=
 
 
 -- 
 WBR, bsam
 
 --=-=-=--

From: Marc Fonvieille <blackend@FreeBSD.org>
To: Boris Samorodov <bsam@ipt.ru>
Cc: bug-followup@FreeBSD.org
Subject: Re: docs/138269: [patch] the Handbook: add a section about
 installing a random linux rpm-based application
Date: Mon, 31 Aug 2009 18:47:00 +0200

 On Mon, Aug 31, 2009 at 01:28:30PM +0400, Boris Samorodov wrote:
 > Here is a revised patch (compiled OK and looks so far good to me):
 [...]
 
 Looks Ok here.  You should commit it.
 
 -- 
 Marc
State-Changed-From-To: open->closed 
State-Changed-By: bsam 
State-Changed-When: Mon Aug 31 18:03:11 UTC 2009 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138269 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/138269: commit references a PR
Date: Mon, 31 Aug 2009 18:02:41 +0000 (UTC)

 bsam        2009-08-31 18:02:32 UTC
 
   FreeBSD doc repository (ports committer)
 
   Modified files:
     en_US.ISO8859-1/books/handbook/linuxemu chapter.sgml 
   Log:
   Add a section about installing a random Linux RPM-based application.
   
   PR:             docs/138269
   Submitted by:   bsam (me)
   Approved by:    blackend (thanks for help!)
   
   Revision  Changes    Path
   1.139     +18 -0     doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
