Bug 193102 - misc/cpuid: fix 'make stage' for regular user
Summary: misc/cpuid: fix 'make stage' for regular user
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-28 19:28 UTC by John Hein
Modified: 2014-08-31 00:55 UTC (History)
1 user (show)

See Also:


Attachments
allow 'make stage' as regular user (328 bytes, text/plain)
2014-08-28 19:28 UTC, John Hein
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Hein 2014-08-28 19:28:22 UTC
Created attachment 146469 [details]
allow 'make stage' as regular user

cpuid-3.3_7 - doing 'make stage' as a regular user fails when trying to install bin/cpuid:

install -s -o root -g wheel -m 555   cpuid /usr/ports/misc/cpuid/work/stage/usr/local/bin/cpuid
install: /usr/ports/misc/cpuid/work/stage/usr/local/bin/cpuid: chown/chgrp: Operation not permitted

A fix is attached.
Comment 1 Carlo Strub freebsd_committer freebsd_triage 2014-08-29 19:45:31 UTC
Can you please provide redports.org or poudriere logs confirming your patches are working fine.
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-08-30 10:32:49 UTC
A commit references this bug:

Author: antoine
Date: Sat Aug 30 10:32:28 UTC 2014
New revision: 366605
URL: http://svnweb.freebsd.org/changeset/ports/366605

Log:
  Allow staging as a regular user and simplify

  PR:		ports/193102

Changes:
  head/misc/cpuid/Makefile
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2014-08-30 10:33:15 UTC
should be fixed
Comment 4 John Hein 2014-08-31 00:55:08 UTC
That works nicely.  Thanks, Antoine.