=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/checklist.html,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- www/Attic/checklist.html 1999/04/29 22:35:29 1.13 +++ www/Attic/checklist.html 1999/05/02 15:33:20 1.14 @@ -1,3 +1,4 @@ +
-
/usr/ports/Makefile.template
. This file can
be retrieved from any of the anoncvs servers or via the
- OpenBSD cvs/web source brouser system
+ OpenBSD cvs/web source browser system
http://www.openbsd.org/cgi-bin/cvsweb/.
make fetch
make extract
Note: Patches go in the directory `patches' and are names patch-xx where xx should be aa, ab, ..., az, ba, bb ... zz.
$OpenBSD$
make patch
If GNU_CONFIGURE is used you may want to run ./configure --help - to see what options are available. Anything thay you may want to + to see what options are available. Anything that you may want to override can be changed by adding the --option flags to the CONFIGURE_ARGS parameter in the Makefile
@@ -87,11 +91,14 @@
make configure
Note: make sure host dependent files go in /etc or /etc/ Note: make sure host dependent files go in The OpenBSD file locations are:
@@ -132,8 +139,9 @@
COMMENT is a SHORT one-line description of the port
- (max. 60 characters). Do NOT include the
- package name (or version number of the software) in the comment.
+ (max. 60 characters). Do NOT include the package name (or version number
+ of the software) in the comment. Do NOT start by an uppercase letter
+ unless semantically significant, do NOT end by a dot.
DESCR is a longer description of the port. One to a few paragraphs
concisely explaining what the port does is sufficient.
PLIST is kept empty at this point.
@@ -149,9 +157,9 @@
should list audited potential problems, along with relevant patches,
so that another person can see at first glance what has been done.
Example:
-
should only list standard directory names.
@@ -205,21 +213,21 @@
- The ports@openbsd mailing list is a good place to find porting-savy
people with different platforms!
-
You might use something like this:
- -d cvs.openbsd.org:/cvs says where cvs lives. This can be omitted if you
have a CVS_ROOT environment variable defined.
-m 'kaffe port' is your login message. Change it to whatever you like
@@ -248,7 +256,7 @@
is the 'vendor release tag'. This is as good as any.
As a real example, here is the output of checking in the Kaffe1 port,
which one of us did on September 8, 1998:
- Last but not least, add a one-line entry for the new port
in its parent directory's makefile, i.e., for ports/lang/kaffe1,
add it to ports/lang/Makefile.
@@ -286,7 +294,7 @@
make clean && make configure
'.
+ /etc
or
+ /etc/<name>
, but NEVER replace existing files
+ in /etc
. Best to have install place
+ in /usr/local/lib/<name>
and then copy to
+ /etc
or
+ /etc/<name>
only if the files do not exist.
@@ -99,15 +106,15 @@
system admin executables: /usr/local/sbin
program executables: /usr/local/libexec
libraries /usr/local/lib
- architecture dependent data /usr/local/lib/
mkdir pkg; touch pkg/{DESCR,COMMENT,PLIST}
Create dummy versions of the package files. Edit DESCR and COMMENT.
- $OpenBDS$
+
+ $OpenBSD$
${WRKDIR}/receiver.c
call to mktemp (wrapper function do_mktemp) does seem to be correct.
@@ -191,10 +199,10 @@
Perfect is when everything installs and uninstalls
- in its proper location. `pkg_delete 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 work/.install_started -print
pkg_add
The results after an add should EXACTLY
match the results after a `make install'.
Since the whole point of this process
is to make your ported version of the software available to
other OpenBSD users, you now need to disseminate it.
-
-
+
+
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
-
+
+
$ cd kaffe1
$ make clean >/dev/null
$ cvs import -m 'kaffe1.0(==JDK1.1) port' ports/lang/kaffe1 ian ian_1998-Sep-08
@@ -266,7 +274,7 @@
No conflicts created by this import
$
-
+
- www@openbsd.org
-
$OpenBSD: checklist.html,v 1.13 1999/04/29 22:35:29 wvdputte Exp $
+ www@openbsd.org
+
$OpenBSD: checklist.html,v 1.14 1999/05/02 15:33:20 rohee Exp $