version 1.8, 1998/12/03 06:09:17 |
version 1.9, 1998/12/21 23:30:59 |
|
|
in /usr/local/lib/<name> and then copy to /etc or /etc/<name> only |
in /usr/local/lib/<name> and then copy to /etc or /etc/<name> only |
the files do not exist. |
the files do not exist. |
<p>The OpenBSD file locations are: |
<p>The OpenBSD file locations are: |
|
|
<pre> |
<pre> |
user executables: /usr/local/bin |
user executables: /usr/local/bin |
system admin executables: /usr/local/sbin |
system admin executables: /usr/local/sbin |
|
|
read-only architecture-independent: /usr/local/share/<name> |
read-only architecture-independent: /usr/local/share/<name> |
misc documentation: /usr/local/share/doc/<name> |
misc documentation: /usr/local/share/doc/<name> |
</pre> |
</pre> |
|
|
<p> |
<p> |
<li><code>make</code><br> |
<li><code>make</code><br> |
Begin a cycle of makes until the port is ready. Patch (see above) |
Begin a cycle of makes until the port is ready. Patch (see above) |
|
|
<li><code>sudo make install</code><br> |
<li><code>sudo make install</code><br> |
install the application. |
install the application. |
<p> |
<p> |
|
<li><strong>Check port for security holes again</strong>. This is |
|
especially important for network and setuid programs. See |
|
<a href="porting.html#security">our security recommendations</a> |
|
for that. Log interesting stuff and fixes in the |
|
<code>pkg/SECURITY</code> file. This file |
|
should list audited potential problems, along with relevant patches, |
|
so that another person can see at first glance what has been done. |
|
Example: |
|
<pre> |
|
|
|
$OpenBDS$ |
|
|
|
${WRKDIR}/receiver.c |
|
call to mktemp (wrapper function do_mktemp) does seem to be correct. |
|
|
|
The server makes extensive use of strlcpy/strlcat/snprintf. |
|
|
|
</pre> |
|
|
<li>Create pkg/PLIST<br> |
<li>Create pkg/PLIST<br> |
After the install is complete use the developers command: |
After the install is complete use the developers command: |
<p><code>make plist</code> |
<p><code>make plist</code> |