=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/checklist.html,v retrieving revision 1.44 retrieving revision 1.45 diff -u -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,7 +9,7 @@
/usr/ports/infrastructure/templates/Makefile.template
.
-
-patches, pkg
.
pkg/DESCR, pkg/PLIST
+Create the empty files pkg/DESCR, pkg/PLIST
.
For more complex ports, you have more options and tools available to you:
@@ -121,7 +119,7 @@
+ +
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
+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/
.
SEPARATE_BUILD
SEPARATE_BUILD
.
CONFIGURE_STYLE=gnu
can),
@@ -241,9 +240,9 @@
Peruse the output (if any) and tweak any options in the Makefile.
To repeat issue the command `make clean configure'.
-Note: make sure host dependent files go in /etc or
-/etc/<name>, but NEVER REPLACE OR MODIFY existing files
-in /etc. Best to have install place
+Note: make sure host-dependent files go in /etc or
+/etc/<name>, but NEVER REPLACE OR MODIFY
+existing files in /etc. Best to have install place them
in /usr/local/share/<name> and then copy to
/etc or /etc/<name> only if the files do not exist.
If the files exist, display a message that says such-and-such files need
@@ -280,14 +279,14 @@
Control SEPARATE_BUILD semantics.
You have to do this only if the port builds with
SEPARATE_BUILD defined.
-Ideally, the port should no longer modify any file in
+Ideally, the port should not modify any file in
${WRKSRC} after make patch.
You can check this by making sure you don't have any write access
to ${WRKSRC}. Then you can set
-SEPARATE_BUILD=concurrent: someone can use the same
+SEPARATE_BUILD=concurrent
-- someone can use the same
source tree to build on distinct arches simultaneously.
-Otherwise, set SEPARATE_BUILD=simple
: building on
-distinct arches simultaneously may meet with problems, as some
+Otherwise, set SEPARATE_BUILD=simple
-- building on
+distinct arches simultaneously may be met with problems, as some
source files may be regenerated at awkward moments.
+Install the application with make install.
If the port installs dynamic libraries, check their symbol tables
with nm
, as some mistaken software strips dynamic libraries,
which may lead to weird failures later. On the other hand, executable binaries
@@ -347,10 +344,9 @@
This file is a candidate packing list.
Beware! The files are found by timestamp. This means it does NOT: -
info/dir
file if .info files are added.
Also, be sure that the info/dir
is not part of the PLIST.
@@ -366,9 +362,8 @@
can be added to a port Makefile `post-install' rule.
-Ports that install shared libraries will have another file called PFRAG.shared. -
find /usr/local -newer w-${PKGNAME}${FLAVOR_EXT}/fake-${MACHINE_ARCH}[-${FLAVOR}]/.install_started -print
-
should only list standard directory names. +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.
make package
to create a package. To test the
package first do a pkg_delete
and then do a
@@ -404,11 +401,11 @@
Try to get others to test it on a variety of platforms for you.
sizeof(int) != sizeof(long)
+sizeof(int) != sizeof(long)
.
If you do not have CVS access, ask someone on ports@openbsd.org to commit it. @@ -434,9 +430,9 @@ files, and the normal edit->commit cycle for changes. You might use something like this:
-cd kaffe1 -make clean # you really really don't want to check in all of work! -cvs -d cvs.openbsd.org:/cvs import -m 'kaffe port' ports/lang/kaffe1 \ +$ cd kaffe1 +$ make clean # you really really don't want to check in all of work! +$ cvs -d cvs.openbsd.org:/cvs import -m 'kaffe port' ports/lang/kaffe1 \ YourName YourName_YYYY-MMM-DD
@@ -477,7 +474,7 @@