Date: Sun, 14 Jul 1996 09:57:22 -0600 From: Warner Losh <imp@village.org> To: Peter Childs <pjchilds@imforei.apana.org.au> Cc: freebsd-ports@freebsd.org Subject: Re: top 3.3 nit Message-ID: <199607141557.JAA09439@rover.village.org> In-Reply-To: Your message of Sun, 14 Jul 1996 16:48:15 %2B0930
next in thread | raw e-mail | index | archive | help
: If you have . in your path, and are running "make install" (so i : guess your root) then your asking for trouble. Odd. top is the only thing so far that I've had a problem with. I did a make world with the same path. So it is therefore a bug in the top port. : Its pretty much accepted that root shouldn't have . in its path. While true, it is irrelevant to the discussion at hand. I should be able to use sudo to install, or I should be able to install as me (with dot in my path) to some other dir that I do have privs for. However, this time I did a: sudo make install which inherits my env. Root's default env doesn't have this, but I don't even know my root password because I've used sudo so much. We don't like, in general, to run directly as root in the village due to security concerns. However, a simple patch will fix this. I hope I put the mv in the right place. The install script is a bad attempt at having a bsd compatible install, and should be moved out of harms way. Warner Index: Makefile =================================================================== RCS file: /home/imp/FreeBSD/CVS/ports/sysutils/top/Makefile,v retrieving revision 1.9 diff -c -r1.9 Makefile *** Makefile 1996/02/17 10:41:42 1.9 --- Makefile 1996/07/14 15:52:35 *************** *** 21,26 **** --- 21,27 ---- pre-configure: cp ${FILESDIR}/defaults ${WRKSRC}/.defaults cp ${FILESDIR}/m_freebsd2.* ${WRKSRC}/machine + mv ${WRKSRC}/install ${WORKSRC}/install.dist post-install: strip ${PREFIX}/bin/top
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607141557.JAA09439>