Bug 198535 - [PATCH] security/isakmpd: Replace deprecated DES_ methods and fix LibreSSL build
Summary: [PATCH] security/isakmpd: Replace deprecated DES_ methods and fix LibreSSL build
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: Mark Felder
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-03-12 09:33 UTC by Bernard Spil
Modified: 2015-12-18 17:55 UTC (History)
1 user (show)

See Also:


Attachments
svn diff for security/isakmpd (3.99 KB, patch)
2015-03-12 09:33 UTC, Bernard Spil
no flags Details | Diff
Poudriere build log of security/isakmpd (56.95 KB, text/plain)
2015-03-12 09:36 UTC, Bernard Spil
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer 2015-03-12 09:33:48 UTC
Created attachment 154234 [details]
svn diff for security/isakmpd

security/isakmpd uses deprecated des_ and new DES_ methods and types that were marked deprecated by OpenSSL 0.9.7 and will be removed in OpenSSL 1.1.0 . This patch replaces the des_ methods and types with their new DES_ counterparts

Have not upstreamed as OpenBSD does not currently have this des_old.h macros in LibreSSL which replaced OpenSSL in OpenBSD 5.6
Comment 1 Bernard Spil freebsd_committer 2015-03-12 09:36:47 UTC
Created attachment 154235 [details]
Poudriere build log of security/isakmpd
Comment 2 Mark Felder freebsd_committer 2015-03-31 14:50:43 UTC
Do I understand it correctly that the upstream for this port *is* OpenBSD?
Comment 3 Bernard Spil freebsd_committer 2015-03-31 18:41:09 UTC
Looks very much like OpenBSD is the upstream for this
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin/isakmpd/

Looks like we're behind from upstream code
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sbin/isakmpd/crypto.c?rev=1.32&content-type=text/plain
Comment 4 commit-hook freebsd_committer 2015-12-18 17:54:15 UTC
A commit references this bug:

Author: feld
Date: Fri Dec 18 17:53:41 UTC 2015
New revision: 403981
URL: https://svnweb.freebsd.org/changeset/ports/403981

Log:
  security/isakmpd: Fix building with libressl

  PR:		198535

Changes:
  head/security/isakmpd/files/patch-crypto.c
  head/security/isakmpd/files/patch-crypto.h