/[gentoo]/xml/htdocs/doc/en/bugzilla-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/bugzilla-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml,v 1.10 2007/04/01 10:35:45 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml,v 1.11 2008/01/31 14:31:41 jkt Exp $ -->
4 4
5<guide link="/doc/en/bugzilla-howto.xml"> 5<guide link="/doc/en/bugzilla-howto.xml">
6<title>Gentoo Bug Reporting Guide</title> 6<title>Gentoo Bug Reporting Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
18 18
19<!-- The content of this document is licensed under the CC-BY-SA license --> 19<!-- The content of this document is licensed under the CC-BY-SA license -->
20<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 20<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
21<license/> 21<license/>
22 22
23<version>1.9</version> 23<version>1.10</version>
24<date>2007-04-01</date> 24<date>2008-01-31</date>
25 25
26<chapter> 26<chapter>
27<title>Introduction</title> 27<title>Introduction</title>
28<section> 28<section>
29<title>Preface</title> 29<title>Preface</title>
1341 1341
1342<p> 1342<p>
1343Now we'll want to create the appropriate directories to put our test ebuild 1343Now we'll want to create the appropriate directories to put our test ebuild
1344files in. In this case, we're supposed to put them in sys-apps/foobar2. You'll 1344files in. In this case, we're supposed to put them in sys-apps/foobar2. You'll
1345notice that the second comment asks for a files directory for the patch. The 1345notice that the second comment asks for a files directory for the patch. The
1346files directory holds the digests (md5sums of files for a particular version of 1346files directory holds the Manifest files (md5sums of files for a particular version of
1347a package) and any other required files that aren't included with the standard 1347a package) and any other required files that aren't included with the standard
1348source archive (patches, init.d scripts, etc). This is a subdir in the package 1348source archive (patches, init.d scripts, etc). This is a subdir in the package
1349directory called files. Go ahead and create these directories: 1349directory called files. Go ahead and create these directories:
1350</p> 1350</p>
1351 1351
1371<title>Testing The ebuild</title> 1371<title>Testing The ebuild</title>
1372<body> 1372<body>
1373 1373
1374<p> 1374<p>
1375The process to create an ebuild that can be used by emerge is fairly simple. You 1375The process to create an ebuild that can be used by emerge is fairly simple. You
1376must create a Manifest and a digest file for the ebuild. This can be done with 1376must create a Manifest file for the ebuild. This can be done with
1377the ebuild command. Run it as shown. 1377the ebuild command. Run it as shown.
1378</p> 1378</p>
1379 1379
1380<pre caption="Creating the Manifest and digest files"> 1380<pre caption="Creating the Manifest file">
1381# <i>ebuild foobar2-1.0.ebuild digest</i> 1381# <i>ebuild foobar2-1.0.ebuild manifest</i>
1382&gt;&gt;&gt; Generating digest file... 1382&gt;&gt;&gt; Creating Manifest for /usr/local/portage/sys-apps/foobar2
1383&lt;&lt;&lt; foobar2-1.0.tar.bz2
1384&gt;&gt;&gt; Generating manifest file...
1385&lt;&lt;&lt; foobar2-1.0.ebuild
1386&lt;&lt;&lt; files/digest-foobar2-1.0
1387&lt;&lt;&lt; files/foobar2-1.0-Makefile.patch
1388&gt;&gt;&gt; Computed message digests.
1389</pre> 1383</pre>
1390 1384
1391<p> 1385<p>
1392Now let's test to see if it works as it should. 1386Now let's test to see if it works as it should.
1393</p> 1387</p>

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20