Bug 195329 - [PATCH] www/phpsysinfo: Update to 3.1.17
Summary: [PATCH] www/phpsysinfo: Update to 3.1.17
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-24 09:10 UTC by Ralf van der Enden
Modified: 2015-02-06 15:38 UTC (History)
2 users (show)

See Also:
tremere: maintainer-feedback+


Attachments
Patch to update www/phpsysinfo to 3.1.16 (28.45 KB, patch)
2014-11-24 09:10 UTC, Ralf van der Enden
no flags Details | Diff
www/phpsysinfo 3.1.16 buildlog (12.58 KB, text/plain)
2014-11-25 08:53 UTC, Ralf van der Enden
no flags Details
Patch to update www/phpsysinfo to 3.1.17 (28.95 KB, patch)
2014-12-10 12:22 UTC, Ralf van der Enden
no flags Details | Diff
www/phpsysinfo 3.2.0 buildlog (13.92 KB, text/plain)
2015-02-06 15:20 UTC, Ralf van der Enden
no flags Details
Patch to update www/phpsysinfo to 3.2.0 (31.76 KB, patch)
2015-02-06 15:20 UTC, Ralf van der Enden
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf van der Enden 2014-11-24 09:10:08 UTC
Created attachment 149765 [details]
Patch to update www/phpsysinfo to 3.1.16
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-24 09:10:08 UTC
Maintainer CC'd
Comment 2 Ralf van der Enden 2014-11-25 08:53:45 UTC
Created attachment 149818 [details]
www/phpsysinfo 3.1.16 buildlog
Comment 3 walt 2014-11-28 19:32:15 UTC
Looks good to me.
Comment 4 walt 2014-11-28 19:32:28 UTC
And thanks for submitting, Ralf! :)
Comment 5 Ralf van der Enden 2014-12-10 12:22:44 UTC
Created attachment 150429 [details]
Patch to update www/phpsysinfo to 3.1.17

Since this patch is obviously stuck in the void somewhere I might as well update to the latest one available
Comment 6 walt 2014-12-11 17:19:24 UTC
Do I need to perform any additional step to approve this?  I am OK to go ahead with Ralf's 3.1.17 update.

Thanks again Ralf!
Comment 7 John Marino freebsd_committer freebsd_triage 2015-01-22 10:48:43 UTC
patch is poudriere-tested and approved by maintainer.  Move to patch-ready status.
Comment 8 John Marino freebsd_committer freebsd_triage 2015-02-06 12:10:58 UTC
this line in install target is most likely wrong:

${CHMOD} -R ${BINMODE} ${STAGEDIR}${WWWDIR}


problem 1: chmod are supposed to be handle by @mode keyword in pkg-plist
problem 2: The directory is full of gifs, text files, png, css, xml.  There is no way those are supposed to be executable.

Presumably the intent is to limit chmod changes to .php files only, most of which are in WWWDIR/includes.

I think this is needs to be looked at.  I'm moving this out of patch-ready.  I'll handle it quickly once fixed.
Comment 9 Ralf van der Enden 2015-02-06 13:11:27 UTC
Actually the line following the one you mention sets everything that's a file back to ${NOBINMODE}:
${FIND} ${STAGEDIR}${WWWDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE}

So basically what the two lines combined do, is set files to 444 and directories to 555.

Moving all that to the pkg-plist is a lot more complicated than 2 simple lines, but I'll give it a go.
Comment 10 John Marino freebsd_committer freebsd_triage 2015-02-06 13:29:54 UTC
hmm, okay I didn't see the second line but are they really necessary?
maybe it works fine without the lines at all if these are standard modes?

It might be worth letting it build a package and extracting the package to see what it really looks like with no changes at all.
Comment 11 Ralf van der Enden 2015-02-06 15:20:22 UTC
Created attachment 152620 [details]
www/phpsysinfo 3.2.0 buildlog
Comment 12 Ralf van der Enden 2015-02-06 15:20:55 UTC
Created attachment 152621 [details]
Patch to update www/phpsysinfo to 3.2.0
Comment 13 Ralf van der Enden 2015-02-06 15:25:04 UTC
I've removed the 2 lines from the Makefile and added @mode, @owner and @group to the pkg-plist. It's now in line with several other ports in www, like gallery2 and hastymail2.

This also updates the port to the latest available version.

New buildlog is also attached.

To show that it's working look at http://sysinfo.cainites.net
Comment 14 John Marino freebsd_committer freebsd_triage 2015-02-06 15:33:29 UTC
your log is missing stage-qa checks.  However, I ran the patch through poudriere myself and it passes fine.
Comment 15 commit-hook freebsd_committer freebsd_triage 2015-02-06 15:36:39 UTC
A commit references this bug:

Author: marino
Date: Fri Feb  6 15:36:05 UTC 2015
New revision: 378545
URL: https://svnweb.freebsd.org/changeset/ports/378545

Log:
  www/phpsysinfo: Upgrade version from 3.0.10 => 3.2.0

  PR:		195329
  Submitted by:	Ralf van der Enden
  Approved by:	maintainer (Walt - relnor.com)

Changes:
  head/www/phpsysinfo/Makefile
  head/www/phpsysinfo/distinfo
  head/www/phpsysinfo/pkg-plist
Comment 16 John Marino freebsd_committer freebsd_triage 2015-02-06 15:38:54 UTC
Done, thanks for your collective patience. :)