version 1.65, 2007/05/15 20:17:18 |
version 1.66, 2007/06/04 19:23:30 |
|
|
The server makes extensive use of strlcpy/strlcat/snprintf. |
The server makes extensive use of strlcpy/strlcat/snprintf. |
</pre> |
</pre> |
|
|
<li> |
<br><br><li> |
|
Make sure your <code>/etc/mtree</code> directory is up-to-date. |
|
(The next step uses the mtree lists to remove existing directories from |
|
generated packing-lists). Remember that <code>(U)pdate</code> does not |
|
touch <code>/etc</code>... |
|
<br><br><li> |
Create pkg/PLIST. After the install is complete use the developer's command, |
Create pkg/PLIST. After the install is complete use the developer's command, |
<b>make plist</b> which makes the file PLIST in the <i>pkg</i> directory. |
<b>make plist</b> which makes the file PLIST in the <i>pkg</i> directory. |
This file is a candidate packing list. |
This file is a candidate packing list. |
|
|
support shared libraries. |
support shared libraries. |
</ul> |
</ul> |
|
|
|
<br><br><li> |
|
Verify shared library dependencies. Run <code>make port-lib-depends-check</code> |
|
and add every <code>LIB_DEPENDS</code> or <code>WANTLIB</code> annotation |
|
that is needed until it runs cleanly. |
|
You may want to read |
|
<a href="porting/update.html">the update guidelines</a> |
|
to understand why this is so important. |
|
<br><br><li> |
|
If you added to <code>LIB_DEPENDS</code>, Re-run <b>make plist</b>. It |
|
is possible some directories do not need to be in the PLIST, as they've |
|
been installed by a dependency. |
<br><br><li> |
<br><br><li> |
Test the packaging. |
Test the packaging. |
After the port installs correctly issue the command |
After the port installs correctly issue the command |