version 1.34, 2001/05/13 20:16:52 |
version 1.35, 2001/07/27 23:42:52 |
|
|
its address to <a href="mailto:ports@openbsd.org">ports@openbsd.org</a> |
its address to <a href="mailto:ports@openbsd.org">ports@openbsd.org</a> |
or send the port mime encoded to the same address. Pick whichever |
or send the port mime encoded to the same address. Pick whichever |
method works best for you. |
method works best for you. |
<p> |
|
<h3><font color="#0000e0">Available Porting Information</font></h3> |
<h3><font color="#0000e0">Index of Porting Documentation</font></h3> |
|
<ul> |
|
<li><a href="#Avail">Available Porting Information</a></li> |
|
<li><a href="#Policy">OpenBSD Porting Policy</a></li> |
|
<li><a href="#Security">Security Recommendations</a></li> |
|
<li><a href="#Generic">Generic Porting Hints</a></li> |
|
<li><a href="#Other">Other Helpful Hints</a></li> |
|
</ul> |
|
|
|
<h3><font color="#0000e0"><a name="Avail">Available Porting Information</a></font></h3> |
<ul> |
<ul> |
<li>The file <code>/usr/share/mk/bsd.port.mk</code>. This is the |
<li>The file <code>/usr/share/mk/bsd.port.mk</code>. This is the |
system ports makefile included at the end of each individual |
system ports makefile included at the end of each individual |
|
|
<li>The OpenBSD ports mailing list, |
<li>The OpenBSD ports mailing list, |
<a href="mailto:ports@openbsd.org">ports@OpenBSD.ORG</a>. |
<a href="mailto:ports@openbsd.org">ports@OpenBSD.ORG</a>. |
</ul> |
</ul> |
<h3><font color="#0000e0">OpenBSD Porting Policy</font></h3> |
<h3><font color="#0000e0"><a name="Policy">OpenBSD Porting Policy</a></font></h3> |
<ul> |
<ul> |
<li>OpenBSD does NOT use <code>/usr/local/etc/rc.d</code>.<br> |
<li>OpenBSD does NOT use <code>/usr/local/etc/rc.d</code>.<br> |
<code>/usr/local</code> is often shared between several machines |
<code>/usr/local</code> is often shared between several machines |
|
|
back to the application maintainer. |
back to the application maintainer. |
</ul> |
</ul> |
<a name=security></a> |
<a name=security></a> |
<h3><font color="#0000e0">Security recommendations</font></h3> |
<h3><font color="#0000e0"><a name="Security">Security Recommendations</a></font></h3> |
There are many security problems to worry about. If |
There are many security problems to worry about. If |
you are not absolutely sure of what you are doing please request |
you are not absolutely sure of what you are doing please request |
help from the <a href="mailto:ports@openbsd.org">ports</a> mailing |
help from the <a href="mailto:ports@openbsd.org">ports</a> mailing |
|
|
library writer point of view. Don't try to port libraries unless you |
library writer point of view. Don't try to port libraries unless you |
understand this issue thoroughly. |
understand this issue thoroughly. |
</ul> |
</ul> |
<h3><font color="#0000e0">Generic porting hints</font></h3> |
<h3><font color="#0000e0"><a name="Generic">Generic Porting Hints</a></font></h3> |
<ul> |
<ul> |
<li><code>__OpenBSD__</code> should be used sparingly, if at all. |
<li><code>__OpenBSD__</code> should be used sparingly, if at all. |
Constructs that look like |
Constructs that look like |
|
|
s = foo_gcvt(n, 15, b); |
s = foo_gcvt(n, 15, b); |
</pre> |
</pre> |
</ul> |
</ul> |
<h3><font color="#0000e0">Other Helpful Hints</font></h3> |
<h3><font color="#0000e0"><a name="Other">Other Helpful Hints</a></font></h3> |
<ul> |
<ul> |
<li>Recent versions of <code>bsd.port.mk</code> set the installers |
<li>Recent versions of <code>bsd.port.mk</code> set the installers |
path. Specifically, they set <code>/usr/bin</code> and |
path. Specifically, they set <code>/usr/bin</code> and |