Index: contrib/top/FREEBSD-upgrade =================================================================== --- contrib/top/FREEBSD-upgrade +++ contrib/top/FREEBSD-upgrade @@ -0,0 +1,55 @@ +$FreeBSD$ + +This file contains notes regading the upgrade of top(1). See the vendor import +instructions at: + + https://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html#svn-advanced-use-vendor-imports + +Top's upstream project pages are: + + http://www.unixtop.org/ + + https://sourceforge.net/projects/unixtop/ + + +The version of top(1) in base is: 3.5-beta12, from March 2000. +The current upstream release is: 3.8-beta1, from May 2008. +This upgrade is in progress by Randy Westlund . + + +########### 3.8-beta1 ########## + +IMPORTING: + +When 3.8-beta1 was imported into vendor/top, the distribution's /machine +directory that holds m_${OS_NAME}.c files was flattened, removing everything +except m_freebsd.{c,man}. + +In addition, the following four files were removed: + config.amd64.make + config.amd64.makeinstall + config.sparcv9.make + config.sparcv9.makeinstall + + +CHANGES: + +Upstream has made many changes (see the Changes file in the distribution), a +fair number of which are for FreeBSD. These likely came from pkgsrc. + +Upstream switched to GNU autoconf, replacing the csh configure script that we +didn't use. + +The OS-specific bits specified in contrib/top/machine.h no longer require +usr.bin/top/machine.c; there's now a m_freebsd.c module in the upstream +distribution that handles this. It will likely need modification, but these +can be upstreamed later. + + +########### 3.5-beta12 ########## + +contrib/top/machine.h specifies an interface that must be provided by the +target OS. That interface is implemented in usr.bin/top/machine.c + +The upstream configure script and makefile are ignored; usr.bin/top/Makefile +implements all the necessary steps.