Bug 211286 - textproc/apache-solr: Update to 5.5.2
Summary: textproc/apache-solr: Update to 5.5.2
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: Pawel Pekala
URL:
Keywords: easy, needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-07-22 06:28 UTC by ari
Modified: 2016-08-28 15:54 UTC (History)
2 users (show)

See Also:


Attachments
patch (56.09 KB, patch)
2016-07-23 00:21 UTC, ari
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ari 2016-07-22 06:28:03 UTC
Upgrade to current release in the 5.x series.


--- Makefile.orig	2015-08-18 00:20:40.000000000 +1000
+++ Makefile	2016-07-22 15:57:18.944091690 +1000
@@ -2,8 +2,7 @@
 # $FreeBSD: head/textproc/apache-solr/Makefile 394508 2015-08-17 14:20:40Z mat $

 PORTNAME=	apache-solr
-PORTVERSION=	5.2.1
-PORTREVISION=	1
+PORTVERSION=	5.5.2
 CATEGORIES=	textproc java
 MASTER_SITES=	APACHE/lucene/solr/${PORTVERSION}
 DISTNAME=	solr-${PORTVERSION}


--- distinfo.orig	2015-06-26 20:40:45.000000000 +1000
+++ distinfo	2016-07-22 16:00:24.211078673 +1000
@@ -1,2 +1,3 @@
-SHA256 (solr-5.2.1.tgz) = 3f54cec862da1376857f96f4a6f2044a5addcebc4df159b8797fd71f7ba8df86
-SIZE (solr-5.2.1.tgz) = 148849766
+TIMESTAMP = 1469167224
+SHA256 (solr-5.5.2.tgz) = e62bab565675e10d27f40d5bb090b4181b2f0c21870adf98d1ea873ead7758e1
+SIZE (solr-5.5.2.tgz) = 136813192
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2016-07-22 10:36:05 UTC
@Ari, can you include the proposed changers as an attachment please, and if possible, confirm the changes pass QA (via portlint and poudriere). For more information on how to test, see: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing.html
Comment 2 ari 2016-07-23 00:21:13 UTC
# portlint
WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX.
Use of uninitialized value $2 in string ne at /usr/local/bin/portlint line 431, <IN> line 1.
FATAL: /var/poudriere/ports/default/textproc/apache-solr/distinfo: [1]: line format error.
1 fatal error and 1 warning found.

* However the portname does contain a hyphen, so don't know why it doesn't like that.

* And distinfo is generated from makesum, so no idea why it doesn't like that.

* Poudriere builds the port fine.

* 'make makepatch' does absolutely nothing, so I just concatenated the diffs.
Comment 3 ari 2016-07-23 00:21:49 UTC
Created attachment 172849 [details]
patch
Comment 4 ari 2016-08-23 08:16:59 UTC
What is needed to progress this update?
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2016-08-23 08:35:04 UTC
Other than a confirmation it passes build/packaging QA tests (poudriere, see comment 1), I'd say just a committer who isn't uncomfortable with java ports/packages

I can add the maintainer-approval flag since the port is unmaintained which may help.
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2016-08-23 08:35:48 UTC
Comment on attachment 172849 [details]
patch

Port is unmaintained, implicit approval

High-profile port (software), easy update. Open to take.
Comment 7 commit-hook freebsd_committer freebsd_triage 2016-08-28 15:54:18 UTC
A commit references this bug:

Author: pawel
Date: Sun Aug 28 15:53:49 UTC 2016
New revision: 421024
URL: https://svnweb.freebsd.org/changeset/ports/421024

Log:
  Update to version 5.5.2

  PR:		211286 (based on)
  Submitted by:	ari@ish.com.au

Changes:
  head/textproc/apache-solr/Makefile
  head/textproc/apache-solr/distinfo
  head/textproc/apache-solr/pkg-plist