Bug 196827 - security/py-cryptography: Update to 0.7.2, Fix LibreSSL
Summary: security/py-cryptography: Update to 0.7.2, Fix LibreSSL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kubilay Kocak
URL:
Keywords: needs-qa, patch
Depends on:
Blocks:
 
Reported: 2015-01-17 19:17 UTC by Bernard Spil
Modified: 2015-01-18 09:40 UTC (History)
0 users

See Also:
koobs: maintainer-feedback+


Attachments
Patch for security/py-cryptography (7.31 KB, patch)
2015-01-17 19:17 UTC, Bernard Spil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!