Bug 198346

Summary: [PATCH] security/chntpw: Replace deprecated des_ methods and fix LibreSSL build
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Thomas Zander <riggs>
Status: Closed FIXED    
Severity: Affects Some People CC: buganini, riggs
Priority: --- Keywords: patch
Version: LatestFlags: riggs: maintainer-feedback+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff for security/chntpw
none
Poudriere build log of security/chntpw none

Description Bernard Spil freebsd_committer freebsd_triage 2015-03-06 10:38:49 UTC
security/chntpw uses deprecated 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.

Notified upstream via email (and spotted that there's a new version released 2014-02)
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2015-03-06 10:39:14 UTC
Created attachment 153888 [details]
svn diff for security/chntpw
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2015-03-06 10:39:58 UTC
Created attachment 153889 [details]
Poudriere build log of security/chntpw
Comment 3 buganini 2015-03-12 07:00:45 UTC
Approved, thanks
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-04-04 12:19:54 UTC
A commit references this bug:

Author: riggs
Date: Sat Apr  4 12:19:16 UTC 2015
New revision: 383204
URL: https://svnweb.freebsd.org/changeset/ports/383204

Log:
  - Replace deprecated des_* methods with DES_* counterparts
  - Fix build with LibreSSL

  PR:		198346
  Submitted by:	spil.oss@gmail.com
  Approved by:	buganini@gmail.com (maintainer)
  MFH:		2015Q2

Changes:
  head/security/chntpw/Makefile
  head/security/chntpw/files/
  head/security/chntpw/files/patch-chntpw.c