Bug 215753

Summary: security/p5-Crypt-PKCS10: update to 1.800201
Product: Ports & Packages Reporter: Sergei Vyshenski <svysh.fbsd>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People CC: svysh.fbsd
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for updating the port
svysh.fbsd: maintainer-approval+
patch for updating the port
svysh.fbsd: maintainer-approval+
patch for updating the port svysh.fbsd: maintainer-approval+

Description Sergei Vyshenski 2017-01-04 04:05:02 UTC
Created attachment 178495 [details]
patch for updating the port

- Update 1.8002 --> 1.8.002.01
Changes: http://cpansearch.perl.org/src/TLHACKQUE/Crypt-PKCS10-1.800201/Changes

- Author sets his distribution versioning as 
(cf http://www.cpan.org/authors/id/T/TL/TLHACKQUE/ and Changes above):
1.4 1.6 1.7 1.701 1.8 1.8002 1.800201
Most probably he means:
1.4 1.6 1.7 1.7.01 1.8 1.8.002 1.8.002.01
and next version could be 1.9

I suggest to switch to the second notation and bump PORTEPOCH.
To convert from port ver 1.8.002.01 to dist ver 1.800201 I had to set:
DISTNAME=${PORTNAME}-${PORTVERSION:R:R}${PORTVERSION:R:E}${PORTVERSION:E}

- "portlint -AC" gives just non-relevant warnings.

- Tested (with and without buil-in perl tests) at 11.stable-amd64 
with poudriere-3.1.14, perl-5.24.1, and openssl from base.
To activate test from within poudriere, file  
Mk/Uses/perl5.mk was locally augmented with lines:

.if defined(RUN_PERL_TESTS)
BUILD_DEPENDS+= ${TEST_DEPENDS}
pre-install:    test
.endif

All tests say: PASS.
Comment 1 Sergei Vyshenski 2017-01-08 12:03:02 UTC
Created attachment 178619 [details]
patch for updating the port

Now with sorted BUILD_DEPENDS.
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2017-01-29 13:33:08 UTC
Please do use upstream version as is.
Comment 3 Sergei Vyshenski 2017-01-29 14:32:30 UTC
Ok, thanks. I will be able to submit a new patch not earlier than tomorrow.
Comment 4 Sergei Vyshenski 2017-01-30 21:33:57 UTC
Created attachment 179443 [details]
patch for updating the port

A new patch use upstream versioning intact.
Comment 5 Sergei Vyshenski 2017-01-31 19:53:10 UTC
This patch is tested OK with poudriere as before.
Comment 6 commit-hook freebsd_committer freebsd_triage 2017-02-09 17:02:14 UTC
A commit references this bug:

Author: amdmi3
Date: Thu Feb  9 17:01:53 UTC 2017
New revision: 433746
URL: https://svnweb.freebsd.org/changeset/ports/433746

Log:
  - Update to 1.800201

  PR:		215753
  Submitted by:	svysh.fbsd@gmail.com (maintainer)

Changes:
  head/security/p5-Crypt-PKCS10/Makefile
  head/security/p5-Crypt-PKCS10/distinfo