From 42e603705d9a64ad4ff2bae1f2871e54650f43e5 Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Fri, 4 Aug 2006 12:36:30 +0000 Subject: Add a note for the latest patchset which adds DESTDIR support. Submitted by: gabor Sponsored by: Google Summer of Code 2006 --- CHANGES | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index 84547153fbbb..d3afc7625d6a 100644 --- a/CHANGES +++ b/CHANGES @@ -10,7 +10,40 @@ in the release notes. All ports committers are allowed to commit to this file. -20070717: +20060804: +AUTHOR: gabor@FreeBSD.org +The following functional changes were made to bsd.*.mk and to +Tools/scripts/security-check.awk: + + * Add DESTDIR support to let one install ports into a jail from outside. + A package is installed under ${DESTDIR}${PREFIX} now and registered under + ${DESTDIR}/var/db/pkg. + + * TARGETDIR variable has been added for referencing ${DSTDIR}${PREFIX}. + + * LOCALBASE, LINUXBASE and X11BASE variables point to the final destination + now, LOCALBASE_REL, LINUXBASE_REL and X11BASE_REL can be used for the + old behavior. The behavior has not been changed in PLIST_SUB. + Note, that the three variables are still overrideable with a hack, so this + change doesn't affect POLA, but necessary for DESTDIR support. + + * OSVERSION is now determined from the userland, not from the kernel. + Cross-compiling between releases is still not supported, but this + behavior is more correct for jails with different kernel version as well. + + * Add some sanity check for PREFIX and DESTDIR. This can be skipped by + defining IGNORE_PATH_CHECKS, but very discouraged. + + * Deinstalling from DESTDIR, determining if a port is already installed in + DESTDIR, etc. are implemented by chrooting those specific commands. + + * Text changes to reflect that we are installing to DESTDIR, removing from + DESTDIR, etc. + +Note, that this change implements only the infrastructure support. Ports should +also be implemented to respect DESTDIR. + +20060717: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: @@ -22,7 +55,7 @@ The following functional changes were made to bsd.port.mk: * Again fix USE_LDCONFIG logic to make it work with non-default PREFIX to fix bug introduced in previous revision. -20070705: +20060705: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: -- cgit v1.2.3