Bug 193930

Summary: [NEW PORT] security/py-service_identity: Service identity verification for pyOpenSSL
Product: Ports & Packages Reporter: Axel.Rau
Component: Individual Port(s)Assignee: Marcus von Appen <mva>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: patch
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
shell archive of new port
none
shell archive of revised port
none
Revised shar file
none
Revised shell archive of new port
none
build logs from poudriere test port
none
portlint -AC output none

Description Axel.Rau 2014-09-25 18:02:20 UTC
Created attachment 147675 [details]
shell archive of new port

py-service_identity aspires to give you all the tools you need
for verifying whether a certificate is valid for the intended
purposes.

In the simplest case, this means host name verification.
However, service_identity implements RFC 6125 fully and
plans to add other relevant RFCs too.
Comment 1 Marcus von Appen freebsd_committer freebsd_triage 2014-09-26 20:20:07 UTC
I'm a bit hesitant about the initial category (devel/py-service_identity). Would not security/py-service_identity be better? In any case, CATEGORIES should also contain security.
Comment 2 Axel.Rau 2014-09-27 08:12:31 UTC
Created attachment 147713 [details]
shell archive of revised port
Comment 3 Axel.Rau 2014-09-27 08:13:24 UTC
I agree. Changed to:
CATEGORIES=		security python
New shar uploaded.
Comment 4 Axel.Rau 2014-09-27 09:22:40 UTC
Created attachment 147715 [details]
Revised shar file

Included missing RUN_DEPENDS devel/py-characteristic
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2014-09-28 02:39:56 UTC
Please include the following QA results to promote quick 
resolution:

 * Attach successful poudriere testport, or redports.org build logs
 * Attach portlint -AC output (after addressing any outstanding issues)

Also:

 * Match upstream for COMMENT: Service identity verification for pyOpenSSL
Comment 6 Axel.Rau 2014-09-28 16:12:15 UTC
Created attachment 147756 [details]
Revised shell archive of new port
Comment 7 Axel.Rau 2014-09-28 16:18:07 UTC
Created attachment 147757 [details]
build logs from poudriere test port
Comment 8 Axel.Rau 2014-09-28 16:19:06 UTC
Created attachment 147758 [details]
portlint -AC output
Comment 9 Axel.Rau 2014-09-28 16:23:41 UTC
I think, comment matches upstream here:
https://github.com/pyca/service_identity
Comment 10 Axel.Rau 2014-09-30 11:34:03 UTC
QA logs provided
Comment 11 commit-hook freebsd_committer freebsd_triage 2014-09-30 14:04:41 UTC
A commit references this bug:

Author: mva
Date: Tue Sep 30 14:04:35 UTC 2014
New revision: 369606
URL: https://svnweb.freebsd.org/changeset/ports/369606

Log:
  service_identity aspires to give you all the tools you need
  for verifying whether a certificate is valid for the intended
  purposes.

  In the simplest case, this means host name verification.
  However, service_identity implements RFC 6125 fully and
  plans to add other relevant RFCs too.

  WWW: https://github.com/pyca/service_identity

  PR:		193930
  Submitted by:	Axel Rau <axel.rau@chaos1.de>

Changes:
  head/security/Makefile
  head/security/py-service_identity/
  head/security/py-service_identity/Makefile
  head/security/py-service_identity/distinfo
  head/security/py-service_identity/pkg-descr
Comment 12 Marcus von Appen freebsd_committer freebsd_triage 2014-09-30 14:07:16 UTC
Committed in ports r369606. I made some minor adjustments prior to the commit:

In COMMENT, I renamed py-openssl (FreeBSD port) to pyOpenSSL (upstream)
Some indentations were off (probably wrong tab width setting), which were fixed.

Thanks!