=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/checklist.html,v retrieving revision 1.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- www/Attic/checklist.html 2004/11/23 08:05:24 1.60 +++ www/Attic/checklist.html 2005/06/10 10:37:35 1.61 @@ -353,24 +353,9 @@ make plist which makes the file PLIST in the pkg directory. This file is a candidate packing list.

-Beware! The files are found by timestamp. This means it does NOT: -

-

Peruse `PLIST' and verify that everything was installed and that it was installed in the proper locations. Anything not installed can be added to a port Makefile `post-install' rule. -

Ports that install shared libraries will have another file called PFRAG.shared.

-
  • -Keep repeating uninstall and reinstall until perfect. -Perfect is when everything installs and uninstalls -in its proper location. `pkg_delete <pkg_name>' is -used to uninstall. `sudo make reinstall' is used to reinstall. See the -`pkg_create' man page for other commands that may be added -to PLIST to ensure all is cleaned up. After an uninstall the command: -
    -$ find /usr/local -newer w-${PKGNAME}${FLAVOR_EXT}/fake-${MACHINE_ARCH}[-${FLAVOR}]/.install_started -print
    -
    -should only list standard directory names. -

  • Test the packaging. After the port installs correctly issue the command make package to create a package. To test the -package first do a pkg_delete and then do a -pkg_add The results after an add should EXACTLY -match the results after a `make install'. - +package first do a pkg_add and then do a +pkg_delete

  • +Verify dependencies. Peruse your logs to verify the port did detect what is +mentioned in DEPENDS, and nothing more. Check names for hidden dependencies +(stuff that exists elsewhere in the ports tree and might be detected if the +user installs some other ports first). +

  • +Verify shared library dependencies. Run make lib-depends-check +and add every LIB_DEPENDS or WANTLIB annotation +that is needed until it runs cleanly (run make clean=package +to remove the old package after updating the port's Makefile). +

  • +Check for regression tests, and whether they run cleanly. Set +NO_REGRESS=Yes if a port has no test infrastructure. +Please note: do not set NO_REGRESS if a port has an empty +regression infrastructure. +

  • Mail ports@openbsd.org with a short note asking for comments and testing. Attach the port to this email and send it out. @@ -504,6 +490,6 @@ Porting www@openbsd.org -
    $OpenBSD: checklist.html,v 1.60 2004/11/23 08:05:24 miod Exp $ +
    $OpenBSD: checklist.html,v 1.61 2005/06/10 10:37:35 espie Exp $