Bug 198535

Summary: [PATCH] security/isakmpd: Replace deprecated DES_ methods and fix LibreSSL build
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Mark Felder <feld>
Status: Closed FIXED    
Severity: Affects Some People CC: feld
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff for security/isakmpd
none
Poudriere build log of security/isakmpd none

Description Bernard Spil freebsd_committer freebsd_triage 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 freebsd_triage 2015-03-12 09:36:47 UTC
Created attachment 154235 [details]
Poudriere build log of security/isakmpd
Comment 2 Mark Felder freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 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