=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/checklist.html,v retrieving revision 1.44 retrieving revision 1.45 diff -c -r1.44 -r1.45 *** www/Attic/checklist.html 2002/07/06 09:32:07 1.44 --- www/Attic/checklist.html 2002/11/19 22:02:19 1.45 *************** *** 9,15 **** OpenBSD Porting Checklist ! [OpenBSD] --- 9,15 ---- OpenBSD Porting Checklist ! [OpenBSD] *************** *** 18,25 **** This document describes how to make or upgrade a port. It is a useful reminder of things to do. This is neither totally accurate nor perfect. ! Direct comments and questions to ! ports@openbsd.org .
    --- 18,25 ---- This document describes how to make or upgrade a port. It is a useful reminder of things to do. This is neither totally accurate nor perfect. ! Direct comments and questions to ! ports@openbsd.org.
      *************** *** 41,47 **** It also means trying to keep them up-to-date, and to answer questions about them. !
    1. Check out a copy of the ports tree from cvs. You can find instructions on how to do this at --- 41,47 ---- It also means trying to keep them up-to-date, and to answer questions about them. !

    2. Check out a copy of the ports tree from cvs. You can find instructions on how to do this at *************** *** 51,67 **** Pick a place to put your port and create the basic infrastructure there. Use the template Makefile at /usr/ports/infrastructure/templates/Makefile.template. - -
      NEED_VERSION is obsolete and should not be used in new ports. As you are a port developer, you are supposed to update your ports tree, including bsd.port.mk. -
      -
      • Create the directories patches, pkg.
      • ! Create these empty files pkg/DESCR, pkg/PLIST

    3. --- 51,63 ---- Pick a place to put your port and create the basic infrastructure there. Use the template Makefile at /usr/ports/infrastructure/templates/Makefile.template. NEED_VERSION is obsolete and should not be used in new ports. As you are a port developer, you are supposed to update your ports tree, including bsd.port.mk.
      • Create the directories patches, pkg.
      • ! Create the empty files pkg/DESCR, pkg/PLIST.

    4. *************** *** 70,80 **** Fill in EXTRACT_SUFX if it's anything besides .tar.gz. Other examples are .tar.Z, or .tgz.
    5. ! Fill in DISTNAME which is the name of the file minus the extract suffix. E.g. if you have foo-1.0.tar.gz, DISTNAME is foo-1.0.
    6. Fill in MASTER_SITES which is a URL to the directory where the distfile ! is kept. E.g. ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/ . Don't forget ! the trailing slash. Try to have at least three distinct sites as well. Place the most easily accessible first as they are traversed in order.
    7. Keep in mind that fetch references the file as --- 66,78 ---- Fill in EXTRACT_SUFX if it's anything besides .tar.gz. Other examples are .tar.Z, or .tgz.
    8. ! Fill in DISTNAME which is the name of the file minus the extract suffix. ! E.g., if you have foo-1.0.tar.gz, DISTNAME is foo-1.0.
    9. Fill in MASTER_SITES which is a URL to the directory where the distfile ! is kept. E.g., ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/. ! Don't forget the trailing slash. ! Try to have at least three distinct sites as well. Place the most easily accessible first as they are traversed in order.
    10. Keep in mind that fetch references the file as *************** *** 82,88 **** set DISTNAME to point to the file directly.
    11. You can check to see if you have filled these values in correctly by typing ! make fetch-all

      For more complex ports, you have more options and tools available to you: --- 80,86 ---- set DISTNAME to point to the file directly.

    12. You can check to see if you have filled these values in correctly by typing ! make fetch-all.

      For more complex ports, you have more options and tools available to you: *************** *** 121,127 ****

    13. Create a checksum in distinfo by typing make makesum. ! Then verify the checksum is correct by typing make checksum
      • In some rare cases, files checksums can't be verified reliably. By all means, porters should try to find sites that are reliable. Communicating with the software author and the archive site maintainer at this stage is highly desirable. In the worst case, non-checksummable files can be --- 119,125 ----
      • Create a checksum in distinfo by typing make makesum. ! Then verify the checksum is correct by typing make checksum.
        • In some rare cases, files checksums can't be verified reliably. By all means, porters should try to find sites that are reliable. Communicating with the software author and the archive site maintainer at this stage is highly desirable. In the worst case, non-checksummable files can be *************** *** 159,168 **** PERMIT_DISTFILES_CDROM tells us if we can mirror the distfiles on the cdrom.
        • PERMIT_DISTFILES_FTP tells us if we can mirror the distfiles on the ftp sites. !

        Set these values to Yes if it is permitted or to a comment string stating why it is not. Pay attention to any special conditions you may need to fulfill ! later on. E.g. some ports require to install a copy of the license. We recommend you place the license in /usr/local/share/DISTNAME/.

      • --- 157,167 ---- PERMIT_DISTFILES_CDROM tells us if we can mirror the distfiles on the cdrom.
      • PERMIT_DISTFILES_FTP tells us if we can mirror the distfiles on the ftp sites. !
      !

      Set these values to Yes if it is permitted or to a comment string stating why it is not. Pay attention to any special conditions you may need to fulfill ! later on. E.g., some ports require to install a copy of the license. We recommend you place the license in /usr/local/share/DISTNAME/.

    14. *************** *** 227,233 ****
    15. ! Try setting SEPARATE_BUILD
      • If the port can build with object files outside its source tree, this is cleaner (many programs using CONFIGURE_STYLE=gnu can), --- 226,232 ----

    16. ! Try setting SEPARATE_BUILD.