Bug 225067 - mail/opensmtpd: remove SSL_PORT option
Summary: mail/opensmtpd: remove SSL_PORT option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-11 11:02 UTC by Charlie Li
Modified: 2018-01-11 13:43 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (fluffy)


Attachments

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