Date: Thu, 7 Jun 2001 18:32:14 +0200 From: Laurent Wacrenier <lwa@teaser.fr> To: markp@FreeBSD.org Cc: lwa@victor.teaser.fr, freebsd-ports@FreeBSD.org Subject: Re: ports/20601: DESTDIR and /etc/shells Message-ID: <20010607183214.A72332@victor.teaser.fr> In-Reply-To: <200106071451.f57EpG068632@freefall.freebsd.org>; from markp@FreeBSD.org on Thu, Jun 07, 2001 at 07:51:16AM -0700 References: <200106071451.f57EpG068632@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
markp@FreeBSD.org wrote: > Synopsis: DESTDIR and /etc/shells > > State-Changed-From-To: open->closed > State-Changed-By: markp > State-Changed-When: Thu Jun 7 07:47:11 PDT 2001 > State-Changed-Why: > /etc/shells is special, changing ${PREFIX}/etc/shells is invalid. > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20601 I does not understand how special it is to allow wrong informations in its contents. I did not wrote about ${PREFIX} but ${DESTDIR} wich are different macros with different semantics. DESTDIR is, for example, a chroot jail or a NFS mounted system. Updating /etc/shell is an Bad Thing in all case when DESTDIR is defined and is not "/". According /usr/share/mk/bsd.README : The variable DESTDIR works as before. It's not set anywhere but will change the tree where the file gets installed. According /usr/src/etc/Makefile, /etc/shells is not special in the FreeBSD source tree : BIN1= ... shells ... distribution: ... ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc; ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010607183214.A72332>