=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/checklist.html,v retrieving revision 1.13 retrieving revision 1.14 diff -c -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
http://www.openbsd.org/cgi-bin/cvsweb/.
make fetch
/usr/ports/Makefile.template
. This file can
be retrieved from any of the anoncvs servers or via the
! 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.
make patch
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 override can be changed by adding the --option flags to the CONFIGURE_ARGS parameter in the Makefile
--- 78,84 ---- directory named scripts. This will be run before any configuration specified by GNU_CONFIGURE or HAS_CONFIGURE is run.
If GNU_CONFIGURE is used you may want to run ./configure --help ! 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,97 ****
make configure
Note: make sure host dependent files go in /etc or /etc/ The OpenBSD file locations are:
Note: make sure host dependent files go in The OpenBSD file locations are:
--- 106,120 ----
system admin executables: /usr/local/sbin
program executables: /usr/local/libexec
libraries /usr/local/lib
! architecture dependent data /usr/local/lib/<name>
installed include files: /usr/local/include or
! /usr/local/include/<name>
! single-machine data: /etc or /etc/<name>
local state: /var/run
GNU info files: /usr/local/info
man pages: /usr/local/man/...
! read-only architecture-independent: /usr/local/share/<name>
! misc documentation: /usr/local/share/doc/<name>
***************
*** 132,139 ****
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.
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.
--- 139,147 ----
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. 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,157 ****
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.
--- 199,208 ----
should only list standard directory names.
***************
*** 205,225 ****
! The ports@openbsd mailing list is a good place to find porting-savy
people with different platforms!
!
! 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
--- 240,251 ----
files, and the normal edit->commit cycle for changes.
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,254 ****
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:
! 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.
--- 274,280 ----
No conflicts created by this import
$
! 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,292 ****
--- 91,104 ----
make configure
Peruse the output (if any) and tweak any options in the Makefile.
! To repeat issue the command
! `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,113 ****
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.
mkdir pkg; touch pkg/{DESCR,COMMENT,PLIST}
Create dummy versions of the package files. Edit DESCR and COMMENT.
! $OpenBDS$
${WRKDIR}/receiver.c
call to mktemp (wrapper function do_mktemp) does seem to be correct.
--- 157,165 ----
should list audited potential problems, along with relevant patches,
so that another person can see at first glance what has been done.
Example:
!
! $OpenBSD$
${WRKDIR}/receiver.c
call to mktemp (wrapper function do_mktemp) does seem to be correct.
***************
*** 191,200 ****
Perfect is when everything installs and uninstalls
! in its proper location. `pkg_delete find /usr/local -newer work/.install_started -print
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 work/.install_started -print
pkg_add
The results after an add should EXACTLY
match the results after a `make install'.
!
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 # 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
--- 256,262 ----
is the 'vendor release tag'. This is as good as any.
$ cd kaffe1
$ make clean >/dev/null
$ cvs import -m 'kaffe1.0(==JDK1.1) port' ports/lang/kaffe1 ian ian_1998-Sep-08
***************
*** 266,272 ****
No conflicts created by this import
$
!
! www@openbsd.org
!
$OpenBSD: checklist.html,v 1.13 1999/04/29 22:35:29 wvdputte Exp $
--- 294,300 ----
! www@openbsd.org
!
$OpenBSD: checklist.html,v 1.14 1999/05/02 15:33:20 rohee Exp $