]> git.sur5r.net Git - openldap/log
openldap
25 years agoCleanup socket() detection.
Kurt Zeilenga [Sun, 4 Apr 1999 20:36:35 +0000 (20:36 +0000)]
Cleanup socket() detection.
Move select() detection forward, error if not available.
Move select() args type check forward so it can be used in subsequent tests.

25 years agoDo closedir()
Hallvard Furuseth [Sun, 4 Apr 1999 05:06:49 +0000 (05:06 +0000)]
Do closedir()

25 years agoPlug a few memory leaks
Hallvard Furuseth [Sun, 4 Apr 1999 05:04:48 +0000 (05:04 +0000)]
Plug a few memory leaks

25 years agoRegenerate configure to include quillan's mods.
Kurt Zeilenga [Sun, 4 Apr 1999 04:49:39 +0000 (04:49 +0000)]
Regenerate configure to include quillan's mods.

25 years agoFixe problem where perl options were retrieved from perl_inc and not
John Quillan [Sun, 4 Apr 1999 04:21:48 +0000 (04:21 +0000)]
Fixe problem where perl options were retrieved from perl_inc and not
from ccopts.  This prevented the Perl backend from compiling.

25 years agoFix bug in compare.c where obj_ref to pb_obj_ref
John Quillan [Sun, 4 Apr 1999 04:16:14 +0000 (04:16 +0000)]
Fix bug in compare.c where obj_ref to pb_obj_ref

Added call to perl "config" method so the the
perl module can have its own configuration
options.

Fix bug in init.c where the address of the be_private
object was being retrieved when it was already
a pointer.

Added the dn parameter to the modify.c call to the
modify method.  Not sure why this wasn't there
in the beginning.

Expects and array from the search method instead of
a scalar in search.c so that it can return search
results and a return code.

Added the demo file SampleLDAP.pm

25 years agoAdd select args type & vfork tests for experimentation purposes.
Kurt Zeilenga [Sun, 4 Apr 1999 00:59:32 +0000 (00:59 +0000)]
Add select args type & vfork tests for experimentation purposes.

25 years agoRemove superfluous \ at end of lines outside macros; DEC cc doesn't like them.
Hallvard Furuseth [Sat, 3 Apr 1999 09:20:41 +0000 (09:20 +0000)]
Remove superfluous \ at end of lines outside macros; DEC cc doesn't like them.

25 years agocomment out OSF/1 yielding select force. Likely incorrect.
Kurt Zeilenga [Sat, 3 Apr 1999 08:19:37 +0000 (08:19 +0000)]
comment out OSF/1 yielding select force.  Likely incorrect.

25 years agoReorder the pthreads tests and hope for the best. IRIX users beware.
Kurt Zeilenga [Sat, 3 Apr 1999 07:32:17 +0000 (07:32 +0000)]
Reorder the pthreads tests and hope for the best.  IRIX users beware.

25 years agos/final/draft4/ in comment about (depreciated) draft4 libraries test order.
Kurt Zeilenga [Sat, 3 Apr 1999 05:58:16 +0000 (05:58 +0000)]
s/final/draft4/ in comment about (depreciated) draft4 libraries test order.

25 years agoFix cut and paste mistakes in pthread detections cases: -mt, -thread, -threads.
Kurt Zeilenga [Sat, 3 Apr 1999 05:55:08 +0000 (05:55 +0000)]
Fix cut and paste mistakes in pthread detections cases: -mt, -thread, -threads.

25 years agoAdd missing \n's in Debug statements
Hallvard Furuseth [Sat, 3 Apr 1999 03:39:16 +0000 (03:39 +0000)]
Add missing \n's in Debug statements

25 years agoAdd missing \n's in Debug statements
Hallvard Furuseth [Sat, 3 Apr 1999 03:28:17 +0000 (03:28 +0000)]
Add missing \n's in Debug statements

25 years agoAdd -U and -G options to set user and group id.
Hallvard Furuseth [Sat, 3 Apr 1999 03:19:07 +0000 (03:19 +0000)]
Add -U and -G options to set user and group id.
Move socket setup to set_socket(), called before the uid/gid change.

25 years agocache: implement try_again loop if cache entry is not ready.
Kurt Zeilenga [Fri, 2 Apr 1999 19:09:59 +0000 (19:09 +0000)]
cache: implement try_again loop if cache entry is not ready.
id2entry: when an error occurs attempting to insert fetched
entry into cache, check to see if entry was added by another
thread.  If so, return the entry added by the other thread.
The concurrency tests now run without the dreaded "no such object"
error messages!

25 years agoAdd checks for recv and recvfrom.
Kurt Zeilenga [Fri, 2 Apr 1999 18:58:48 +0000 (18:58 +0000)]
Add checks for recv and recvfrom.

25 years agoupdate project settings
Gary Williams [Fri, 2 Apr 1999 15:36:29 +0000 (15:36 +0000)]
update project settings

25 years agoadd release configurations
Gary Williams [Fri, 2 Apr 1999 15:35:25 +0000 (15:35 +0000)]
add release configurations

25 years agoput single and multi-threaded output in different directories
Gary Williams [Fri, 2 Apr 1999 15:33:41 +0000 (15:33 +0000)]
put single and multi-threaded output in different directories

25 years agoFactor `}' out of #if/...}/#else...}/#endif, so Emacs can match `{' against `}'
Hallvard Furuseth [Fri, 2 Apr 1999 09:11:26 +0000 (09:11 +0000)]
Factor `}' out of #if/...}/#else...}/#endif, so Emacs can match `{' against `}'

25 years agoFix the fix to the wait4child fix - forgot an #else
Hallvard Furuseth [Fri, 2 Apr 1999 08:30:02 +0000 (08:30 +0000)]
Fix the fix to the wait4child fix - forgot an #else

25 years agoDefine env.variable SLAPD_DEBUG to override the default debug level
Hallvard Furuseth [Fri, 2 Apr 1999 05:55:58 +0000 (05:55 +0000)]
Define env.variable SLAPD_DEBUG to override the default debug level

25 years agoTrying again:
Hallvard Furuseth [Fri, 2 Apr 1999 04:12:18 +0000 (04:12 +0000)]
Trying again:
Fix wait4child change: Prefer wait3 over wait. Use SIGNAL instead of signal.

25 years agoUNDO LAST COMMIT.
Hallvard Furuseth [Fri, 2 Apr 1999 03:45:33 +0000 (03:45 +0000)]
UNDO LAST COMMIT.

25 years agoFix wait4child change: Prefer wait3 over wait. Use SIGNAL instead of signal.
Hallvard Furuseth [Fri, 2 Apr 1999 03:23:20 +0000 (03:23 +0000)]
Fix wait4child change: Prefer wait3 over wait.  Use SIGNAL instead of signal.

25 years agoUpdate getopt() string and usage()
Hallvard Furuseth [Thu, 1 Apr 1999 22:31:24 +0000 (22:31 +0000)]
Update getopt() string and usage()

25 years agoEnclose `DB_ENV li_db_env' declaration in #ifdef HAVE_BERKELEY_DB2
Hallvard Furuseth [Thu, 1 Apr 1999 22:18:09 +0000 (22:18 +0000)]
Enclose `DB_ENV li_db_env' declaration in #ifdef HAVE_BERKELEY_DB2

25 years agocreate single-thread configurations
Gary Williams [Thu, 1 Apr 1999 21:46:48 +0000 (21:46 +0000)]
create single-thread configurations

25 years agoadd client tools
Gary Williams [Thu, 1 Apr 1999 21:46:01 +0000 (21:46 +0000)]
add client tools

25 years agoUpdates for NT4 (MSVC5++).
Kurt Zeilenga [Thu, 1 Apr 1999 20:26:09 +0000 (20:26 +0000)]
Updates for NT4 (MSVC5++).
Removed external include/library paths from projects.  External paths should
be set via Tools | Options | Directories.  This allows each developer the
freedom to install external libraries where they desire.
Used libdb.lib instead of libdbs.lib to avoid thread conflicts.
Added hs_regex.lib to library input.  We require some form of regex, this
library works (and is relatively easy for the user to install).
Removed a little lint which MCVC5 detected.
Need to sort out single-threaded vs multithreaded library generation.

25 years agoenable debug output for NT
Gary Williams [Thu, 1 Apr 1999 16:39:36 +0000 (16:39 +0000)]
enable debug output for NT

25 years agoNT port
Gary Williams [Thu, 1 Apr 1999 16:38:11 +0000 (16:38 +0000)]
NT port

25 years agoNT port
Gary Williams [Thu, 1 Apr 1999 16:32:11 +0000 (16:32 +0000)]
NT port

25 years agoNT port
Gary Williams [Thu, 1 Apr 1999 16:06:08 +0000 (16:06 +0000)]
NT port

25 years agoNT port
Gary Williams [Thu, 1 Apr 1999 16:00:24 +0000 (16:00 +0000)]
NT port

25 years agoupdate project settings
Gary Williams [Thu, 1 Apr 1999 15:57:57 +0000 (15:57 +0000)]
update project settings

25 years agoNT port
Gary Williams [Thu, 1 Apr 1999 15:51:11 +0000 (15:51 +0000)]
NT port

25 years agoNT port
Gary Williams [Thu, 1 Apr 1999 14:50:34 +0000 (14:50 +0000)]
NT port

25 years agoSome minor clean-up; checking bdb2 for sync with ldbm.
Kurt Spanier [Thu, 1 Apr 1999 09:58:36 +0000 (09:58 +0000)]
Some minor clean-up; checking bdb2 for sync with ldbm.

25 years agoAdded full v2 and v3 support for MODRDN/MODDN.
Juan Gomez [Wed, 31 Mar 1999 02:53:27 +0000 (02:53 +0000)]
Added full v2 and v3 support for MODRDN/MODDN.

25 years agoBack with previous change, use ac/time.h include instead.
Juan Gomez [Wed, 31 Mar 1999 01:28:42 +0000 (01:28 +0000)]
Back with previous change, use ac/time.h include instead.

25 years agoDo include of sys/time.h to define struct timeval used in back-bdb2/add.c
Juan Gomez [Wed, 31 Mar 1999 01:15:51 +0000 (01:15 +0000)]
Do include of sys/time.h to define struct timeval used in back-bdb2/add.c
and back-bdb2/compare.c.

25 years agoMake sure everything is up to date after MDBM changes.
Kurt Zeilenga [Tue, 30 Mar 1999 20:27:03 +0000 (20:27 +0000)]
Make sure everything is up to date after MDBM changes.

25 years agoAdded mdbm option for with-ldbm-api variable.
Juan Gomez [Tue, 30 Mar 1999 19:46:52 +0000 (19:46 +0000)]
Added mdbm option for with-ldbm-api variable.

25 years agoFix SLAPD_CONFIG_DN e_ndn bug.
Kurt Zeilenga [Tue, 30 Mar 1999 18:50:41 +0000 (18:50 +0000)]
Fix SLAPD_CONFIG_DN e_ndn bug.

25 years agoremove libtool comment
Kurt Zeilenga [Tue, 30 Mar 1999 05:10:20 +0000 (05:10 +0000)]
remove libtool comment

25 years agoRebuild configure due to MDBM addition.
Kurt Zeilenga [Tue, 30 Mar 1999 04:46:17 +0000 (04:46 +0000)]
Rebuild configure due to MDBM addition.

25 years agoMDBM support added.
Juan Gomez [Tue, 30 Mar 1999 04:39:41 +0000 (04:39 +0000)]
MDBM support added.

25 years agoMDBM Support added.
Juan Gomez [Tue, 30 Mar 1999 04:39:08 +0000 (04:39 +0000)]
MDBM Support added.

25 years agoMDBM detection feature.
Juan Gomez [Tue, 30 Mar 1999 04:25:52 +0000 (04:25 +0000)]
MDBM detection feature.

25 years agoAdd pthread_detach to -kthread test.
Kurt Zeilenga [Tue, 30 Mar 1999 04:07:16 +0000 (04:07 +0000)]
Add pthread_detach to -kthread test.

25 years agoIRIX (very strange) default libraries have working pthread_create() but
Kurt Zeilenga [Tue, 30 Mar 1999 00:07:37 +0000 (00:07 +0000)]
IRIX (very strange) default libraries have working pthread_create() but
no pthread_detach().  So, augment pthread_create() in default libraries
test to detach created thread.

25 years agoFix ldbmcat crash problem: first use the key before deleting it!
Kurt Spanier [Mon, 29 Mar 1999 16:01:59 +0000 (16:01 +0000)]
Fix ldbmcat crash problem: first use the key before deleting it!

25 years agoadd wait macros. add LDAP_SIGCHLD. and other misc NT cleanups.
Kurt Zeilenga [Mon, 29 Mar 1999 09:04:35 +0000 (09:04 +0000)]
add wait macros.  add LDAP_SIGCHLD.  and other misc NT cleanups.

25 years agoAdd ioctl_t for arg type (Unix requires 'int', Winsock requires 'u_long').
Kurt Zeilenga [Mon, 29 Mar 1999 05:28:29 +0000 (05:28 +0000)]
Add ioctl_t for arg type (Unix requires 'int', Winsock requires 'u_long').

25 years agoRework ac/socket.h for HAVE_WINSOCK:
Kurt Zeilenga [Mon, 29 Mar 1999 05:15:59 +0000 (05:15 +0000)]
Rework ac/socket.h for HAVE_WINSOCK:
  tcp_close -> closesocket
  ioctl -> ioctlsocket
Modify codes to use tcp_close() instead of close() for sockets.
Modify ioctl codes to be compatible with WINSOCK.

25 years agoMisc header cleanup
Kurt Zeilenga [Mon, 29 Mar 1999 02:07:18 +0000 (02:07 +0000)]
Misc header cleanup

25 years agowrap sys/param.h with HAVE_SYS_PARAM_H...
Kurt Zeilenga [Mon, 29 Mar 1999 01:55:49 +0000 (01:55 +0000)]
wrap sys/param.h with HAVE_SYS_PARAM_H...

25 years agoAdd wait4/3 detection.
Kurt Zeilenga [Mon, 29 Mar 1999 01:40:17 +0000 (01:40 +0000)]
Add wait4/3 detection.
Modify slapd_tester to use pid_t and wait macros.  May need to
implement additional macros in ac/wait.h (in addition to
WEXITSTATUS and WIFEXITED).

25 years agoAll implementations of lutil_lockf (aka ldap_lockf) block until
Kurt Zeilenga [Sun, 28 Mar 1999 22:43:43 +0000 (22:43 +0000)]
All implementations of lutil_lockf (aka ldap_lockf) block until
the lock is acquired.  Add comments to that effect.  Remove
unnecessary busy loops from slapd/lock.c and slurpd/lock.c.

25 years agoNT doesn't have waitpid()
Kurt Zeilenga [Sun, 28 Mar 1999 22:42:13 +0000 (22:42 +0000)]
NT doesn't have waitpid()

25 years agoUpdate lutil_lockf (aka: ldap_lockf) to hide implementation in
Kurt Zeilenga [Sun, 28 Mar 1999 21:39:02 +0000 (21:39 +0000)]
Update lutil_lockf (aka: ldap_lockf) to hide implementation in
library, not header.  Eliminate need for <ac/unistd.h> to sometimes
include <fcntl.h> and/or <sys/file.h>.  Change lock API to expect
fd not FILE*.  Allows wider use and eliminates requirement that
lutil_lockf.h depencency on stdio.h.
Implemented lockf, fcntl, and flock locking in lutil/lockf.c.
Additional implementations (including no-op) may be needed.
Update slapd/lock.c and slurpd/lock.c to use new API.

25 years agoRemove quick install guide from README, it's too quick. Update INSTALL.
Kurt Zeilenga [Sun, 28 Mar 1999 21:33:32 +0000 (21:33 +0000)]
Remove quick install guide from README, it's too quick.  Update INSTALL.

25 years agoIf we are using lutil_lock functions then define NEED_SIMPLE_LOCKING or
Ben Collins [Sun, 28 Mar 1999 18:07:44 +0000 (18:07 +0000)]
If we are using lutil_lock functions then define NEED_SIMPLE_LOCKING or
liblutil/lockf.c wont be compiled.

25 years agoAvoid integer truncation of v1->bv_len - v2->bv_len in value_cmp(,,SYNTAX_BIN,)
Hallvard Furuseth [Sun, 28 Mar 1999 01:40:54 +0000 (01:40 +0000)]
Avoid integer truncation of v1->bv_len - v2->bv_len in value_cmp(,,SYNTAX_BIN,)

25 years agoROTATE<LEFT/RIGHT> error messages to stderr, not stdout
Hallvard Furuseth [Sat, 27 Mar 1999 18:12:58 +0000 (18:12 +0000)]
ROTATE<LEFT/RIGHT> error messages to stderr, not stdout

25 years agoInitial port of web_ldap to OpenLDAP. Also fixed some doc bugs.
Hallvard Furuseth [Sat, 27 Mar 1999 18:05:33 +0000 (18:05 +0000)]
Initial port of web_ldap to OpenLDAP.  Also fixed some doc bugs.

25 years agofree() -> ldap_memfree() change
Hallvard Furuseth [Sat, 27 Mar 1999 16:51:05 +0000 (16:51 +0000)]
free() -> ldap_memfree() change

25 years agoFree() -> ldap_memfree() changes. Remove use of the return value of free().
Hallvard Furuseth [Sat, 27 Mar 1999 16:43:56 +0000 (16:43 +0000)]
Free() -> ldap_memfree() changes.  Remove use of the return value of free().

25 years agoAdd wait4child()
Hallvard Furuseth [Sat, 27 Mar 1999 16:21:44 +0000 (16:21 +0000)]
Add wait4child()

25 years agoRemove release version number from README in -devel.
Kurt Zeilenga [Fri, 26 Mar 1999 21:11:13 +0000 (21:11 +0000)]
Remove release version number from README in -devel.

25 years agoReplace -M with $CC_MKDEP_FLAGS in comment
Kurt Zeilenga [Fri, 26 Mar 1999 19:19:12 +0000 (19:19 +0000)]
Replace -M with $CC_MKDEP_FLAGS in comment

25 years agoUpdate locking codes.
Kurt Zeilenga [Fri, 26 Mar 1999 17:43:23 +0000 (17:43 +0000)]
Update locking codes.

25 years agoargh, somehow bdb2 version overwritten by ldbm version. Fixed.
Will Ballantyne [Fri, 26 Mar 1999 16:34:47 +0000 (16:34 +0000)]
argh, somehow bdb2 version overwritten by ldbm version.  Fixed.

25 years agoAdded extra checks to locking definitions
Ben Collins [Fri, 26 Mar 1999 15:10:06 +0000 (15:10 +0000)]
Added extra checks to locking definitions

25 years agocheck for NULL newDN prior to final deref check
Will Ballantyne [Fri, 26 Mar 1999 05:36:26 +0000 (05:36 +0000)]
check for NULL newDN prior to final deref check

25 years agoAdd LDAP_DEBUG promotion and include of ac/insert.h
Kurt Zeilenga [Fri, 26 Mar 1999 04:37:39 +0000 (04:37 +0000)]
Add LDAP_DEBUG promotion and include of ac/insert.h

25 years agoReenable counters.
Kurt Zeilenga [Fri, 26 Mar 1999 02:51:33 +0000 (02:51 +0000)]
Reenable counters.

25 years agoDon't call AC_CANONICAL_HOST from configure.in. We use feature tests.
Kurt Zeilenga [Fri, 26 Mar 1999 01:05:22 +0000 (01:05 +0000)]
Don't call AC_CANONICAL_HOST from configure.in.  We use feature tests.
(libtool, though, will drag it for it's use...)

25 years agoclose ldap.conf after reading it.
Kurt Zeilenga [Thu, 25 Mar 1999 22:19:42 +0000 (22:19 +0000)]
close ldap.conf after reading it.

25 years agoUse modified works test to check for pthread_create in default
Kurt Zeilenga [Thu, 25 Mar 1999 22:11:42 +0000 (22:11 +0000)]
Use modified works test to check for pthread_create in default
libraries.  Original work test is still used to valid detected
header/library are compatible.

25 years agoBackout previous change. It breaks specification of pthreads via
Kurt Zeilenga [Thu, 25 Mar 1999 19:51:54 +0000 (19:51 +0000)]
Backout previous change.  It breaks specification of pthreads via
the environment.  A more general solution is needed.

25 years agoAdded support for newSuperior.
Juan Gomez [Wed, 24 Mar 1999 21:45:15 +0000 (21:45 +0000)]
Added support for newSuperior.

25 years agoAdded a new function: build_new_dn(), which builds new dn for entries
Juan Gomez [Wed, 24 Mar 1999 20:26:43 +0000 (20:26 +0000)]
Added a new function: build_new_dn(), which builds new dn for entries
being renamed through modrdn/moddn. This in preparation to add support
for MODDN v3.

25 years agoFixed Pthread detection problem in IRIX.
Juan Gomez [Wed, 24 Mar 1999 04:09:55 +0000 (04:09 +0000)]
Fixed Pthread detection problem in IRIX.

25 years agoFixed Pthread detection problem in IRIX.
Juan Gomez [Wed, 24 Mar 1999 04:04:50 +0000 (04:04 +0000)]
Fixed Pthread detection problem in IRIX.

25 years agoFix unlock bug in connection_read/write. Fix connection_read() to
Kurt Zeilenga [Tue, 23 Mar 1999 01:57:48 +0000 (01:57 +0000)]
Fix unlock bug in connection_read/write.  Fix connection_read() to
ignore input when connection is closing.

25 years agoImproved "closing" handling. Remove fd from read set when state
Kurt Zeilenga [Tue, 23 Mar 1999 00:38:57 +0000 (00:38 +0000)]
Improved "closing" handling.  Remove fd from read set when state
changes to closing.  Need to add protection against read set races.

25 years agoFix c_mutex typo.
Kurt Zeilenga [Mon, 22 Mar 1999 19:46:44 +0000 (19:46 +0000)]
Fix c_mutex typo.

25 years agoAdd trace to connection_get() to aid debugging.
Kurt Zeilenga [Mon, 22 Mar 1999 19:39:54 +0000 (19:39 +0000)]
Add trace to connection_get() to aid debugging.

25 years agoslap_set_time() is no longer necessary.
Kurt Zeilenga [Mon, 22 Mar 1999 19:16:22 +0000 (19:16 +0000)]
slap_set_time() is no longer necessary.

25 years agoChanged the way paths are replaced in xrpcomp so that it is done in the
Julio Sánchez Fernández [Mon, 22 Mar 1999 14:17:57 +0000 (14:17 +0000)]
Changed the way paths are replaced in xrpcomp so that it is done in the
make step instead of make install
Removed pair of extra % from the path substitution

25 years agoRound 2 of connection management changes.
Kurt Zeilenga [Mon, 22 Mar 1999 07:38:27 +0000 (07:38 +0000)]
Round 2 of connection management changes.
Mainly updated back-bdb2, back-passwd, back-shell to use slap_get_time().

25 years agoPROTOTYPE: New connection management infrastructure designed to
Kurt Zeilenga [Mon, 22 Mar 1999 07:14:54 +0000 (07:14 +0000)]
PROTOTYPE: New connection management infrastructure designed to
remove race conditions on connection close.
BROKEN: various counters for dn=monitor.
Initial testing on FreeBSD (with and without pthreads) was successfull.
Have not yet tested preemptive threading environments.
Have not built against backends other than LDBM.

25 years agoAdd check for <assert.h> and put include in right file (acconfig.h)
Kurt Zeilenga [Sat, 20 Mar 1999 03:21:19 +0000 (03:21 +0000)]
Add check for <assert.h> and put include in right file (acconfig.h)

25 years agoProvide global assert solution. <ac/assert.h> (new) is now included
Kurt Zeilenga [Sat, 20 Mar 1999 03:13:24 +0000 (03:13 +0000)]
Provide global assert solution.  <ac/assert.h> (new) is now included
by portable.h with NDEBUG undefined.  This makes assert() is always
available and automatically disables itself when LDAP_DEBUG is undefined.
I've included a basic assert() for pre-STDC compilers.  It relies on
abort() which may not actually be available.  (well replace abort()
with whatever is appropriate if and when we're faced with a pre-STDC
compiler that doesn't have assert()).

25 years agoUse calloc properly... could result in too few bytes being allocated.
Kurt Zeilenga [Sat, 20 Mar 1999 01:25:11 +0000 (01:25 +0000)]
Use calloc properly... could result in too few bytes being allocated.
calloc(1, nelem*size) -> calloc(nelem, size)

25 years agoslapd.conf and friends were being modified during the install step
Julio Sánchez Fernández [Thu, 18 Mar 1999 20:36:42 +0000 (20:36 +0000)]
slapd.conf and friends were being modified during the install step

25 years agoAdd TMPROOT support for two phase building/installing.
Kurt Zeilenga [Thu, 18 Mar 1999 17:36:55 +0000 (17:36 +0000)]
Add TMPROOT support for two phase building/installing.
make all
make TMPROOT=/tmp/root install
will install everything under $(TMPROOT)$(prefix).  Useful for
building bundling packages/ports for various operating systems.