Bug 70831 - make perl5.8 port SU_CMD aware
Summary: make perl5.8 port SU_CMD aware
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Anton Berezin
Depends on:
Reported: 2004-08-22 20:40 UTC by Hiroo Ono
Modified: 2008-11-21 11:46 UTC (History)
0 users

See Also:

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

Note You need to log in before you can comment on or make changes to this bug.
Description Hiroo Ono 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).