Bug 39686 - [PATCH] www/mod_frontpage: Detect DocumentRoot owner correctly
Summary: [PATCH] www/mod_frontpage: Detect DocumentRoot owner correctly
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: Martin Blapp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-23 07:40 UTC by Chris Knight
Modified: 2002-09-09 20:36 UTC (History)
0 users

See Also:


Attachments
file.diff (1.12 KB, patch)
2002-06-23 07:40 UTC, Chris Knight
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Knight 2002-06-23 07:40:03 UTC
Makefile.PL doesn't correctly detect the owner of the DocumentRoot directory
as cut doesn't include the uid of the directory.

How-To-Repeat: 
cd /usr/ports/www/mod_frontpage
make configure

The output shows no value for uid
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-06-23 09:48:29 UTC
Responsible Changed
From-To: freebsd-ports->mbr

over to maintainer
Comment 2 Martin Blapp freebsd_committer freebsd_triage 2002-09-09 20:34:52 UTC
State Changed
From-To: open->closed

I just comitted a fix for this. 

The fix suggested in the PR was bogus, we cannot use cut 
to get UID/GID, this does not work as expected. Instead 
do all inline in perl and also use a realpath function 
from zenin@bawdycaste.org.