Bug 210120 - [UPDATE] databases/p5-Redis
Summary: [UPDATE] databases/p5-Redis
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: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-07 20:38 UTC by Alejandro Bednarik
Modified: 2016-06-08 17:17 UTC (History)
1 user (show)

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


Attachments
proposed patch (1.08 KB, patch)
2016-06-07 20:38 UTC, Alejandro Bednarik
no flags Details | Diff
Proposal patch with PORTEPOCH (1.10 KB, patch)
2016-06-08 15:29 UTC, Alejandro Bednarik
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Bednarik 2016-06-07 20:38:28 UTC
Created attachment 171177 [details]
proposed patch

Update to version 1.982

Patch attached
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2016-06-08 00:25:03 UTC
The problem: 1.9650 > 1.982
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2016-06-08 00:49:23 UTC
The solution: PORTEPOCH
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2016-06-08 12:26:17 UTC
Or change it to 1.9820 and fiddle with DISTNAME like it's often done for Perl ports.
Comment 4 Alejandro Bednarik 2016-06-08 15:27:18 UTC
Comment on attachment 171177 [details]
proposed patch

diff -ruN /usr/ports/databases/p5-Redis/Makefile  p5-Redis/Makefile
--- /usr/ports/databases/p5-Redis/Makefile	2016-04-01 14:00:51.000000000 +0000
+++ p5-Redis/Makefile	2016-06-08 15:25:19.562514000 +0000
@@ -1,9 +1,10 @@
-# Created by: Gea-Suan Lin <gslin@gslin.org>
-# $FreeBSD: head/databases/p5-Redis/Makefile 412346 2016-04-01 14:00:51Z mat $
+# Created by: Alejandro Bednarik <alejandro.bednarik@gmail.com>
+# $FreeBSD: head/databases/p5-Redis/Makefile 412346 2016-07-07 17:00:000 mat $

PORTNAME=	Redis
-PORTVERSION=	1.9650
+PORTVERSION=	1.982
PORTREVISION=	1
+PORTEPOCH=	1
CATEGORIES=	databases perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-
diff -ruN /usr/ports/databases/p5-Redis/distinfo  p5-Redis/distinfo
--- /usr/ports/databases/p5-Redis/distinfo	2013-11-29 17:22:36.000000000 +0000
+++ p5-Redis/distinfo	2016-06-07 20:23:40.681752000 +0000
@@ -1,2 +1,2 @@
-SHA256 (Redis-1.965.tar.gz) = aa44b897f3fc24de1ffdcb1ae1f84882247d2a70c1183f4bfb06b9281adebc59
-SIZE (Redis-1.965.tar.gz) = 36092
+SHA256 (Redis-1.982.tar.gz) = 9f1854a3bf5473435d212ce90fc34c164c4b6ab2d1a9fb106ee1b7a7c3d3e6c5
+SIZE (Redis-1.982.tar.gz) = 46549
Comment 5 Alejandro Bednarik 2016-06-08 15:29:28 UTC
Created attachment 171208 [details]
Proposal patch with PORTEPOCH

Added PORTEPOCH
Comment 6 Mathieu Arnold freebsd_committer freebsd_triage 2016-06-08 16:01:18 UTC
Like I said, we try to not use PORTEPOCH for Perl ports, we fiddle with the PORTVERSION and DISTNAME in order to avoid it.

This is because Perl modules versions work differently than ports versions.
Comment 7 Alejandro Bednarik 2016-06-08 16:10:25 UTC
Ok, will check how to do that. I the first time I do something like this. Sorry for any inconvenience.
Comment 8 Mathieu Arnold freebsd_committer freebsd_triage 2016-06-08 16:54:15 UTC
You don't have to do anything, the port already has the removal of the last 0 in, I'll deal with it.
Comment 9 Alejandro Bednarik 2016-06-08 17:04:21 UTC
Much appreciated your help, thanks.

Will follow this to install and test this new port once is in the ports tree.

Thanks.
Comment 10 commit-hook freebsd_committer freebsd_triage 2016-06-08 17:15:56 UTC
A commit references this bug:

Author: mat
Date: Wed Jun  8 17:15:07 UTC 2016
New revision: 416551
URL: https://svnweb.freebsd.org/changeset/ports/416551

Log:
  Update to 1.982.

  PR:		210120 (based on)
  Submitted by:	Alejandro Bednarik
  Sponsored by:	Absolight

Changes:
  head/databases/p5-Redis/Makefile
  head/databases/p5-Redis/distinfo
  head/databases/p5-Redis/pkg-plist