=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/porttest.html,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- www/Attic/porttest.html 2005/02/09 20:37:25 1.19 +++ www/Attic/porttest.html 2005/12/20 08:33:09 1.20 @@ -38,7 +38,8 @@

Introduction

-

The ports tree is an huge piece of work that +

The ports tree is a huge piece + of work that permits OpenBSD users to use third-party programs without wasting time patching, configuring and installing each one individually. This work is done by a group of volunteers who spend their time porting and testing @@ -58,7 +59,8 @@

The ports tree is developed against OpenBSD-current; there is no guarantee that - new ports will work correctly on the other branches. This also means + new ports or updates will work correctly on the other branches. + This means you should upgrade your system and ports tree to -current (instructions on how to do this can be found at the anoncvs and @@ -71,7 +73,7 @@

There are two types of submissions on the mailing-lists; new ports and updates. New ports are generally posted as tarball attachments - or urls. A good idea is to extract them into the + or URLs. A good idea is to extract them into the /usr/ports/mystuff/ directory and test from there. Updates are generally a diff against the -current ports tree, so it is best to copy the port to mystuff/ and apply the diff to prevent tree @@ -132,6 +134,10 @@

  • Try to set the SEPARATE_BUILD variable to 'concurrent' and test if the build still works.
  • Make sure dependencies on GNU make are really necessary. +
  • Check whether the port is using libtool. If it is, try + setting USE_LIBTOOL=Yes. This way, the ports + infrastructure will use the libtool version in the tree, instead + of libtool versions that come bundled with the software's source.
  • regress @@ -147,8 +153,12 @@ without affecting the base system.
  • The port should never install files outside of the fake directory (such as into /usr/local). + This kind of mistake can be easily caught by using + USE_SYSTRACE=Yes.
  • GNU libtool occasionally has trouble relinking libraries during the fake process on some architectures. +
  • Check whether all files get installed with correct ownerships + and permissions.
  • package @@ -157,6 +167,14 @@ pkg/PFRAG* are wrong.
  • +
  • lib-depends-check + +
  • install