Bug 196827

Summary: security/py-cryptography: Update to 0.7.2, Fix LibreSSL
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Kubilay Kocak <koobs>
Status: Closed FIXED    
Severity: Affects Some People Keywords: needs-qa, patch
Priority: --- Flags: koobs: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch for security/py-cryptography none

Description Bernard Spil freebsd_committer freebsd_triage 2015-01-17 19:17:03 UTC
Created attachment 151775 [details]
Patch for security/py-cryptography

The patch
1. Upgrades the port from 0.5.4 to 0.7.2
2. Removes EGD (Perl Entropy Gathering Daemon) support. This hasn't been needed on FreeBSD since FreeBSD 4.2
3. Disable compression conditionally using OPENSSL_NO_COMP
4. Check features, not version for x509_vfy
This is in advance of upstream providing a LibreSSL compatible version as discussed on #cryptography-dev with reaperhulk (see https://github.com/pyca/cryptography/issues/928)
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-17 19:17:03 UTC
Auto-assigned to maintainer koobs@FreeBSD.org
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2015-01-18 08:39:50 UTC
Nice patch submission Bernard.

poudriere and portlint logs as attachments are always handy.

What testing / QA has this been through ?
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-01-18 09:38:25 UTC
A commit references this bug:

Author: koobs
Date: Sun Jan 18 09:38:18 UTC 2015
New revision: 377287
URL: https://svnweb.freebsd.org/changeset/ports/377287

Log:
  security/py-cryptography: Update to 0.7.2, Fix LibreSSL

  - Update to 0.7.2
  - Update BUILD_DEPENDS and TEST_DEPENDS
  - Patch upstream sources to fix LibreSSL:

    * Remove EGD (Perl Entropy Gathering Daemon) support. This hasn't
      been needed on FreeBSD since FreeBSD 4.2
    * Disable compression conditionally using OPENSSL_NO_COMP
    * Check features, not version for x509_vfy

  [1] https://github.com/pyca/cryptography/issues/928

  PR:		196827
  Submitted by:	Bernard Spil <spil.oss gmail com>

Changes:
  head/security/py-cryptography/Makefile
  head/security/py-cryptography/distinfo
  head/security/py-cryptography/files/
  head/security/py-cryptography/files/patch-src_cryptography_hazmat_bindings_openssl_engine.py
  head/security/py-cryptography/files/patch-src_cryptography_hazmat_bindings_openssl_rand.py
  head/security/py-cryptography/files/patch-src_cryptography_hazmat_bindings_openssl_ssl.py
  head/security/py-cryptography/files/patch-src_cryptography_hazmat_bindings_openssl_x509__vfy.py
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2015-01-18 09:40:07 UTC
Committed, thanks Bernard!