Bug 220082

Summary: devel/opengrok: update to 1.0 and takeover maintainership
Product: Ports & Packages Reporter: Jov <amutu>
Component: Individual Port(s)Assignee: Richard Gallamore <ultima>
Status: Closed FIXED    
Severity: Affects Only Me CC: ultima
Priority: --- Flags: amutu: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
opengrok-1.0.diff
none
opengrok-1.0.diff
none
opengrok.diff none

Description Jov 2017-06-17 14:35:09 UTC
Created attachment 183573 [details]
opengrok-1.0.diff

QA:
poudriere testport passed on 11.0R-amd64
Comment 1 Richard Gallamore freebsd_committer freebsd_triage 2017-06-24 00:11:30 UTC
Thanks for taking over this port. Can you please move the LICENSE.txt to LICENSE_FILE=. and provide the portlint.
Comment 2 Jov 2017-06-24 06:22:30 UTC
Created attachment 183755 [details]
opengrok-1.0.diff

move LICENSE.txt to LICENSE_FILES=

portlint -AC
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
0 fatal errors and 1 warning found.
Comment 3 Jov 2017-06-24 06:23:07 UTC
(In reply to Richard Gallamore from comment #1)
Thanks, fixed!
Comment 4 Richard Gallamore freebsd_committer freebsd_triage 2017-06-25 02:20:52 UTC
 Just noticed one more thing that I should have mentioned before. The MASTER_SITES has changed to github. Instead of setting MASTER_SITES for github, please add USE_GITHUB, and GH_ACCOUNT and the other GITHUB_* entries required, usually just those two.
Comment 5 Jov 2017-06-25 05:57:31 UTC
(In reply to Richard Gallamore from comment #4)
Hi Richard, this is a java port and the distfile is compiled binary java libs, if I change to use USE_GITHUB etc, the download file will be the java source.  It is not nessisory to compile this port from source as the original 0.12.1.5 also did not do so.
Comment 6 Richard Gallamore freebsd_committer freebsd_triage 2017-06-25 16:37:34 UTC
Okay, didn't know it was pre-compiled.
Comment 7 Richard Gallamore freebsd_committer freebsd_triage 2017-06-25 23:54:09 UTC
All of the
.if ${PORT_OPTIONS:MOPT}
           WEBAPP_HOME?=	${LOCALBASE}/apache-tomcat-8.5
.endif
can be changed to OPT_VAR= WEBAPP_HOME?=	${LOCALBASE}/apache-tomcat-x.x
or similar. This will clean up the port a little bit, can you please adjust these entries?
Comment 8 Richard Gallamore freebsd_committer freebsd_triage 2017-06-26 17:39:00 UTC
I tested these changes I just commented on and was failing to build, so I am going to go ahead and commit as is.


If you can in the future, changing the port to compiling from source instead of using precompiled source is much preferred.

Thanks again for taking over all these ports!
Comment 9 Jov 2017-06-27 12:21:45 UTC
(In reply to Richard Gallamore from comment #8)
Build java ports from source is a good idea,if I have enough time,I will try.Thanks for committing my PR!
Comment 10 Richard Gallamore freebsd_committer freebsd_triage 2017-06-27 17:12:10 UTC
Created attachment 183853 [details]
opengrok.diff

This is the small change requested previously and passes QA. The set default (?) was the cause for the previous failures. Does this look good?
Comment 11 Jov 2017-06-28 01:38:42 UTC
Comment on attachment 183853 [details]
opengrok.diff

Look good to me,please go forward,thanks!
Comment 12 commit-hook freebsd_committer freebsd_triage 2017-06-28 01:43:51 UTC
A commit references this bug:

Author: ultima
Date: Wed Jun 28 01:43:44 UTC 2017
New revision: 444533
URL: https://svnweb.freebsd.org/changeset/ports/444533

Log:
  * Updated to 1.0
  * New maintainer Jov <amutu@amutu.com>
  * New options, TOMCAT 8 and 85, 8 is the new default

  Changelog: https://github.com/OpenGrok/OpenGrok/releases/tag/1.0

  PR:		220082
  Submitted by:	Jov <amutu@amutu.com> (maintainer)
  Reviewed by:	lifanov (mentor), matthew (mentor)
  Approved by:	lifanov (mentor), matthew (mentor)
  Differential Revision:	https://reviews.freebsd.org/D11355

Changes:
  head/devel/opengrok/Makefile
  head/devel/opengrok/distinfo
  head/devel/opengrok/pkg-plist
Comment 13 Richard Gallamore freebsd_committer freebsd_triage 2017-06-28 01:44:42 UTC
Committed, thanks!