version 1.13, 2002/10/10 11:26:50 |
version 1.14, 2002/11/24 17:08:44 |
|
|
<ul> |
<ul> |
<li><i>fetch</i> |
<li><i>fetch</i> |
<ul> |
<ul> |
<li>Needed to verify that distfile(s) are correctly downloaded. Try to test all of the <tt>MASTER_SITES</tt> specified to make sure they are all valid sources.</li> |
<li>Needed to verify that distfile(s) are correctly downloaded. Try |
|
to test all of the <tt>MASTER_SITES</tt> specified to make sure they |
|
are all valid sources.</li> |
</ul> |
</ul> |
|
|
<li><i>checksum</i> |
<li><i>checksum</i> |
<ul> |
<ul> |
<li>Verify that downloaded distfiles match the checksums recorded in the <tt>distinfo</tt> file.</li> |
<li>Verify that downloaded distfiles match the checksums recorded |
|
in the <tt>distinfo</tt> file.</li> |
</ul> |
</ul> |
|
|
<li><i>extract</i> |
<li><i>extract</i> |
<ul><li>Each of the distfiles should install any dependent programs (such as bzip2) beforehand.</li></ul> |
<ul><li>Each of the distfiles should install any dependent programs |
|
(such as bzip2) beforehand.</li></ul> |
|
|
<li><i>patch</i> |
<li><i>patch</i> |
<ul> |
<ul> |
<li>Patches should apply cleanly without any warnings. |
<li>Patches should apply cleanly without any warnings. |
<li>There shouldn't be any <tt>.orig</tt> files left behind in the |
<li>There shouldn't be any <tt>.orig</tt> files left behind in the |
<tt>patches/</tt> directory. |
<tt>patches/</tt> directory. |
<li>Another common mistake is to include RCS tags in a patch; this will break when the port is checked into the repository and the RCS tag expanded. |
<li>Another common mistake is to include RCS tags in a patch; this |
|
will break when the port is checked into the repository and the RCS |
|
tag expanded. |
</ul> |
</ul> |
|
|
<li><i>configure</i> |
<li><i>configure</i> |
|
|
<li>Warnings about <a href= |
<li>Warnings about <a href= |
"http://www.openbsd.org/cgi-bin/man.cgi?query=tmpnam&sektion=3&"> |
"http://www.openbsd.org/cgi-bin/man.cgi?query=tmpnam&sektion=3&"> |
tmpnam(3)</a> issues should be resolved by using |
tmpnam(3)</a> issues should be resolved by using |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mkstemp&sektion=3&"> mkstemp(3)</a>.</li> |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mkstemp&sektion=3&"> |
<li>Try to set the <tt>SEPARATE_BUILD</tt> variable to 'concurrent' and test if the build still works. |
mkstemp(3)</a>.</li> |
|
<li>Try to set the <tt>SEPARATE_BUILD</tt> variable to 'concurrent' |
|
and test if the build still works. |
<li>Make sure dependencies on GNU make are really necessary. |
<li>Make sure dependencies on GNU make are really necessary. |
</ul> |
</ul> |
|
|
|
<li><i>regress</i> |
|
<ul> |
|
<li>Check for errors (empty tests means okay). |
|
</ul> |
|
|
|
|
<li><i>fake</i> |
<li><i>fake</i> |
<ul> |
<ul> |
<li>This target installs the application into a fake working |
<li>This target installs the application into a fake working |
|
|
must be given. |
must be given. |
There are tools that can help in this task, like <a href= |
There are tools that can help in this task, like <a href= |
"http://www.openbsd.org/cgi-bin/cvsweb/ports/infrastructure/build/portslogger"> |
"http://www.openbsd.org/cgi-bin/cvsweb/ports/infrastructure/build/portslogger"> |
portslogger</a> which is like an "intelligent tee" that redirects output into |
portslogger</a> which is like an "intelligent tee" that redirects output |
a log file.</p> |
into a log file.</p> |
|
|
<p>Example :<br> |
<p>Example :<br> |
</p> |
</p> |