Bug 225067

Summary: mail/opensmtpd: remove SSL_PORT option
Product: Ports & Packages Reporter: Charlie Li <vishwin>
Component: Individual Port(s)Assignee: Dima Panov <fluffy>
Status: Closed FIXED    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (fluffy)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Charlie Li freebsd_committer freebsd_triage 2018-01-11 11:02:03 UTC
The make variable that this option passes, WITH_OPENSSL_PORT, had long been deprecated, but only now has poudriere, at least, failed the build during the check-sanity phase:

=======================<phase: check-sanity   >============================
/!\ ERRORS /!\

WITH_OPENSSL_PORT is unsupported, please use
DEFAULT_VERSIONS+=ssl=libressl-devel

in

your

make.conf

*** Error code 1

Stop.
make: stopped in /usr/ports/mail/opensmtpd

The obvious workaround is to unset SSL_PORT, which in turn does not pass WITH_OPENSSL_PORT, but it would help to prevent seeing this deprecated option at all for those not using base OpenSSL. This port successfully links with whichever SSL option is set in make.conf afterwards.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-01-11 13:17:00 UTC
A commit references this bug:

Author: fluffy
Date: Thu Jan 11 13:16:40 UTC 2018
New revision: 458728
URL: https://svnweb.freebsd.org/changeset/ports/458728

Log:
  - Drop OPENSSL_PORT redefine, it was used for OSVERSION<103000 [1];
    follow system-wide DEFAULT_VERSIONS+= ssl=<openssl variant>
  - Sort plist
  - @sample config

  PR:		225067 [1]
  Reported by:	Charlie Li [1]

Changes:
  head/mail/opensmtpd/Makefile
  head/mail/opensmtpd/pkg-plist
  head/mail/opensmtpd-devel/Makefile