Bug 203598 - sysutils/pcbsd-utils-qt5: fix install from non-root, fix shebangs
Summary: sysutils/pcbsd-utils-qt5: fix install from non-root, fix shebangs
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: Kris Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-07 02:06 UTC by Dmitry Marakasov
Modified: 2015-10-07 17:40 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (kmoore)


Attachments
Patch (1.58 KB, patch)
2015-10-07 02:06 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer 2015-10-07 02:06:16 UTC
Created attachment 161780 [details]
Patch

- Fix install from non-root. Ports are only allowed to set file owner/group via pkg-plist

Note that there's another chown attempt, however it seems to be non-fatal, though noisy:

...
Installing extra files to /wrkdirs/usr/ports/sysutils/pcbsd-utils-qt5/work/stage/usr/local
chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils-qt5/work/stage/usr/local/.: Operation not permitted
chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils-qt5/work/stage/usr/local/./bin: Operation not permitted
chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils-qt5/work/stage/usr/local/./bin/openwith: Operation not permitted
chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils-qt5/work/stage/usr/local/./bin/flashpluginctl: Operation not permitted
chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils-qt5/work/stage/usr/local/./bin/xlock: Operation not permitted
chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils-qt5/work/stage/usr/local/./bin/pcbsd-update-i18n: Operation not permitted
chown: /wrkdirs/usr/ports/sysutils/pcbsd-utils-qt5/work/stage/usr/local/./bin/xorg-startupcheck: Operation not permitted
...

Full log: https://people.freebsd.org/~amdmi3/pcbsd-utils-qt5.log

- Fix shebangs
Comment 1 commit-hook freebsd_committer 2015-10-07 17:12:04 UTC
A commit references this bug:

Author: kmoore
Date: Wed Oct  7 17:11:58 UTC 2015
New revision: 398773
URL: https://svnweb.freebsd.org/changeset/ports/398773

Log:
  - Update PC-BSD related ports to their respective 10.2 versions
  - Includes fixes to install pcbsd-utils-qt4 from non-root and
    shebang corrections

  PR: 203598

Changes:
  head/sysutils/life-preserver/Makefile
  head/sysutils/life-preserver/distinfo
  head/sysutils/pcbsd-appweb/Makefile
  head/sysutils/pcbsd-appweb/distinfo
  head/sysutils/pcbsd-appweb/pkg-plist
  head/sysutils/pcbsd-syscache/Makefile
  head/sysutils/pcbsd-syscache/distinfo
  head/sysutils/pcbsd-utils/Makefile
  head/sysutils/pcbsd-utils/distinfo
  head/sysutils/pcbsd-utils-qt5/Makefile
  head/sysutils/pcbsd-utils-qt5/distinfo
  head/sysutils/pcbsd-utils-qt5/pkg-plist
Comment 2 Kris Moore freebsd_committer 2015-10-07 17:12:45 UTC
Thanks! Gave me an excuse to update all the ports while here. I've included your fix, and got rid of all the chown noise.
Comment 3 Dmitry Marakasov freebsd_committer 2015-10-07 17:40:30 UTC
Thank you!