Bug 196843 - [maintainer update] www/glpi 0.85.1
Summary: [maintainer update] www/glpi 0.85.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: patch-ready
Depends on:
Blocks:
 
Reported: 2015-01-18 18:31 UTC by Mathias Monnerville
Modified: 2015-02-06 14:12 UTC (History)
2 users (show)

See Also:


Attachments
Patch from 0.84.4 to 0.85.1 (102.90 KB, patch)
2015-01-18 18:31 UTC, Mathias Monnerville
no flags Details | Diff
Full portlint -v output (9.24 KB, text/plain)
2015-01-20 19:32 UTC, Mathias Monnerville
no flags Details
poudriere build log (18.03 KB, text/plain)
2015-01-20 20:39 UTC, Mathias Monnerville
no flags Details
Full patch using COPYTREE_SHARE (103.01 KB, patch)
2015-01-21 16:20 UTC, Mathias Monnerville
no flags Details | Diff
Full patch (103.01 KB, patch)
2015-01-21 18:31 UTC, Mathias Monnerville
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Monnerville 2015-01-18 18:31:15 UTC
Created attachment 151801 [details]
Patch from 0.84.4 to 0.85.1

New release 0.85.1 available. See announcement at
	
http://www.glpi-project.org/spip.php?page=annonce&id_breve=333&lang=en
Comment 1 John Marino freebsd_committer freebsd_triage 2015-01-20 19:14:07 UTC
this line is no correct:
"@${CP} -R ${WRKSRC}/* ${STAGEDIR}${WWWDIR}"

That should probably be ${COPYTREE_SHARE}.

Also, I'd like to see the output of portlint (which would have squawked on $CP) and the output of poudriere bulk -t as this is a new version:

(https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing-poudriere.html)
Comment 2 Mathias Monnerville 2015-01-20 19:32:44 UTC
Created attachment 151919 [details]
Full portlint -v output
Comment 3 Mathias Monnerville 2015-01-20 19:33:29 UTC
portlint reports no error (see attachment).

I'm giving it a try with poudriere.
Comment 4 Mathias Monnerville 2015-01-20 20:39:20 UTC
Created attachment 151924 [details]
poudriere build log

Here is the output of poudriere bulk -t.
Comment 5 John Marino freebsd_committer freebsd_triage 2015-01-21 10:17:26 UTC
Ok, thanks.

It's strange that portlint did not complain about ${CP}, it should have.

Anyway, that needs to change for two reasons:

1) You masked the command with "@" in front, you can't mask installation commands
2) This really needs to be changed to COPYTREE_SHARE.  If that causes any permissions or ownership issues, you need to fix that in pkg-plist with @mode or @owner or @group keywords.

Can you rework that?
After you resubmit, it will be sufficient to say it again passes poudriere without having to upload a new log.
Comment 6 Mathias Monnerville 2015-01-21 16:20:40 UTC
Created attachment 151974 [details]
Full patch using COPYTREE_SHARE

Here it is, this time using COPYTREE_SHARE.

Thanks for sharing this, I was not aware of this variable.
Comment 7 Mathias Monnerville 2015-01-21 16:22:33 UTC
BTW, it passes poudriere bulk -t. No error reported.
Comment 8 John Marino freebsd_committer freebsd_triage 2015-01-21 17:21:26 UTC
Great!
I only see one issue.

Please change "cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}"
to "(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})"

Compound commands require the parenthesis in order to properly support multijob building.

In this case, it's probably not really needed but lets set a good example or CYA in case I'm wrong about that.  It definitely is not wrong to add the parentheses. :)

When you update the new version, I'll promote the PR.
Comment 9 Mathias Monnerville 2015-01-21 18:31:25 UTC
Created attachment 151983 [details]
Full patch

Well, I think I finally made it!
Comment 10 John Marino freebsd_committer freebsd_triage 2015-01-21 18:41:14 UTC
Well, you made it pass the initial review.
I'm promoting the PR to "patch-ready" status for somebody to take it in the final review and they'll commit it if it passes or only needs minor tweak. :)

Good job!
Comment 11 Mathias Monnerville 2015-01-21 18:53:07 UTC
Wow, seems like FreeBSD's PR review process has been greatly enhanced recently! Don't know if it's related to the move to Bugzilla, but I like it.

It gives maintainers more responsabilities.

Thanks for you feedback.
Comment 12 commit-hook freebsd_committer freebsd_triage 2015-02-06 14:11:28 UTC
A commit references this bug:

Author: marino
Date: Fri Feb  6 14:10:33 UTC 2015
New revision: 378541
URL: https://svnweb.freebsd.org/changeset/ports/378541

Log:
  www/glpi: Upgrade version 0.84.4 => 0.85.1

  PR:		196843
  Submitted by:	maintainer (Mathias Monnerville)

Changes:
  head/www/glpi/Makefile
  head/www/glpi/distinfo
  head/www/glpi/files/pkg-message.in
  head/www/glpi/pkg-plist
Comment 13 John Marino freebsd_committer freebsd_triage 2015-02-06 14:12:23 UTC
Thanks, it was fine. :)