Bug 70831 - make perl5.8 port SU_CMD aware
make perl5.8 port SU_CMD aware
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Anton Berezin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-22 20:40 UTC by hiroo+freebsd
Modified: 2008-11-21 11:46 UTC (History)
0 users

See Also:


Attachments
perl5.8-Makefile.diff (1.92 KB, patch)
2004-08-22 20:40 UTC, hiroo+freebsd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hiroo+freebsd 2004-08-22 20:40:27 UTC
	The pre-install and post-install target of lang/perl5.8 port
	do not check the case that user id is not 0. To enable portupgrade
	work running with user privilege, use SU_CMD in such cases.

Fix: The patch to Makefile is attached.
	Note that I have a machine that place WRKDIR on a NFS partition
	for some reason, I'd like to run portupgrade with non-root user
	privilege and make use of SU_CMD.
How-To-Repeat: 	run make install without root privilege in lang/perl5.8
Comment 1 Tilman Keskinoz freebsd_committer 2004-08-22 20:55:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tobez

Over to Maintainer
Comment 2 skv freebsd_committer 2008-11-21 11:44:45 UTC
State Changed
From-To: open->closed

Ports system _is_ SU_CMD aware. 

Installation of lang/perl5.8 works from non-root 
account with defined SU_CMD (ex. in your environment).