Presently mail/opensmtpd port version is 5.9.2p1. New stable release 6.0.1 was announces in October 03, 2016 (https://www.opensmtpd.org/). Can somebody update port to the latest stable version?
(In reply to Arkadiy from comment #0) Just to be convinced: latest 6.0.x snapshots still not stable as they should be, runs only with certain functions disabled, like filter-api. So please be patient before real stable version will be released, keep calm and be happy with current port and worked filters and other plugins.
Created attachment 177526 [details] Update Patch to 6.0.2p1 Feel free to try that patch for 6.0.2p1
(In reply to Carlo Strub from comment #2) OpenSMTPd-6.0.2 still declared by author as not-ready-for-production, and filter-api is still missing, so update in portstree will be delayed until full-featured snapshot will be released. Please be patient, Gilles promised it will happens soon.
Issue metadata has not been updated to reflect its current state. - ashish is not current maintainer - proposed patch is for an update (update summary)
Comment on attachment 177526 [details] Update Patch to 6.0.2p1 'Reset' maintainer timeout timer. (it has been a year)
Folks, please be patient. 6.0.2 broke all filters due to new, unstable API. We all waiting 6.1 release, which promised to be landed this winter, with new-new API subdaemons for plugins/filters
Anyone tried https://www.opensmtpd.org/announces/release-6.0.3.txt ? Not sure if the filter issues are gone...
(In reply to Carlo Strub from comment #7) 6.0.3 still provide -devel API without filters, which should come along with 6.1 release
With the release of OpenBSD 6.4 we now also have OpenSMTPD 6.4. This might be the time to update this port?
(In reply to Rudolph from comment #9) The portable version of OpenSMTPD 6.4 has not been released yet. That should happen "in the next few days", as per this status update: https://twitter.com/OpenSMTPD/status/1054830259676344321
Folks, keep calm. 6.4 release will be public in next days, but we have a problem — no more openssl support, only libressl :(
After upgrade to FreeBSD 12.0 I have found that there is no opensmtpd package at all. Port 5.9.2p1 still exists, but can't be built. Is there ANY workaround or a way how to build/install whichever version, please? Otherwise this issue seems as a show stopper for people who would like to upgrade to 12.
(In reply to Martin Rehak from comment #12) According to bug #228937, comment #4 it's due to the OpenSSL 1.1 incompatibility and has been marked BROKEN. I build opensmtpd myself and use libressl, so I just commented out the #ifs and BROKEN= parts of the Makefile.
OpenSMTPD 6.4.1 released https://opensmtpd.org/announces/release-6.4.1.txt
Just wanted to point out that, in addition to moving to libressl, the opensmtpd 5.9.2p1 archives are no longer available for download. So, even with this fixed, you still can't install opensmtpd from ports on a fresh install. Should that be a separate issue? FWIW, I was able to download opensmtpd-6.4.1p2, configure it with libressl, and compile and install it outside of the ports tree. But I'm not sure how to update the port files.
Created attachment 203209 [details] OpenSMTPD 6.4.1p2 patch I have added a patch from the current svn revision to 6.4.1p2 with libressl built in. It seems to work for me with initial testing but other eyes welcome.
(In reply to Felix Hanley from comment #16) I've already tested the same idea. Unfortunately, it will always fail if libevent was compiled with system openssl. A latest buildable with ssl'ed libevent version is still 6.0.3 :(
I just upgraded to 12.0-RELEASE last week and since I was using opensmtpd am now missing my mailserver due to the problem mentioned in this bug. I see nothing in UPDATING that indicates this package would be unavailable in 12.0. Is there a centralized resource that someone could easily check before upgrading to know whether a situation like this exists? Or do I have to check every port I use against something like FreshPorts and if I find a port marked broken cross-reference the date that happened with the release date of an FreeBSD version upgrade and then check that a package is entirely missing in that repo? I would not have upgraded had I known I was going to missing this package. :-/
Did you try to build it on 12 with SSL_DEFAULT=libressl[-devel] in your make.conf?
(In reply to Dima Panov from comment #17) I have well working opensmtpd 6.4.2 compiled against libressl and libevent. What particular issue are you facing? Could I help?
This issue needs the following to progress: - A single patch updating the port to 6.4.2p1 (latest version at this time of writing) - QA'd (with poudriere) against all DEFAULT_VERSIONS ssl values
Folks, again - please be patient. 6.4.2 is not ready to be built agains any ssl version but libressl only. You can't build all with openssl than install libressl and build opensmtpd with libre — this will fail your setup at all when you try to build any ssl-related stuff. Building with static libressl faced another BIG issue — our ssl framework is totally broken and messed up by design. Pure DLL hell in all-round with libssl.so/libcrypto.so. Try it! (https://people.freebsd.org/~fluffy/opensmtpd642.tar.xz) Our linker will check ssl function names via base libcrypro.so/libssl.so even while static stuff from libressl was proposed, so static build will fine at 12.x but fails at 11.x because openssll1x api. Currently we have some future deals: 1) stash any ssl/crypto in base to private (but it still faced with open/libre mixups from ports). 2) after first step, do some magic with includes/libs rename to allow open and libre coexist as it was designed by libressl team BTW, 6.6 release will be released soon and it will be fully compatible with openssl11, so 12.x builds will be fine in any state.
*** Bug 241404 has been marked as a duplicate of this bug. ***
Created attachment 208496 [details] OpenSMTPD 6.4.2p1 patch (with LibreSSL requirement) This is an alternate OpenSMTPD 6.4.2p1 patch that requires the use of LibreSSL.
opensmtpd 6.6 portable with its openssl support is pretty close to be released so may want to check that instead? https://github.com/OpenSMTPD/OpenSMTPD/tree/branch-6.6.0p1
(In reply to Douglas Carmichael from comment #24) Sorry, pal, ur patch is wrong. You can't directly rely to libressl, this step will broke any ssl-related stuff which exist on same box. Our ssl framework is totally broken. 6.6 portable release is almost here, but it will drop support for fbsd11.x with base ssl (only with open11 or libre by default)
opensmtpd 6.6.0 was just released, and supports OpenSSL 1.1 https://opensmtpd.org/announces/release-6.6.0.txt
A commit references this bug: Author: fluffy Date: Sat Oct 26 16:24:54 UTC 2019 New revision: 515714 URL: https://svnweb.freebsd.org/changeset/ports/515714 Log: - Update OpenSMTPd to 6.6.0 portable release This release builds with LibreSSL > 3.0.2 or OpenSSL > 1.1.0. FreeBSD 11.x users should update to 12.x/13.x or switch system-wide default ssl library to openssl111/libressl - Update -extras to 6.4.0 release Filters still missing, corresponded ports temporary markes as IGNORED PR: 213442,228937 MFH: 2019Q4 Changes: head/mail/opensmtpd/Makefile head/mail/opensmtpd/distinfo head/mail/opensmtpd/files/patch-mk_smtpd_Makefile.in head/mail/opensmtpd/files/patch-smtpd-rfc2822.c head/mail/opensmtpd/files/patch-smtpd-smtp_session.c head/mail/opensmtpd/files/patch-src_mda.c head/mail/opensmtpd/files/pkg-message.in head/mail/opensmtpd/pkg-plist head/mail/opensmtpd-extras/Makefile head/mail/opensmtpd-extras/distinfo head/mail/opensmtpd-extras-filter-clamav/Makefile head/mail/opensmtpd-extras-filter-dkim/Makefile head/mail/opensmtpd-extras-filter-dnsbl/Makefile head/mail/opensmtpd-extras-filter-lua/Makefile head/mail/opensmtpd-extras-filter-monkey/Makefile head/mail/opensmtpd-extras-filter-pause/Makefile head/mail/opensmtpd-extras-filter-perl/Makefile head/mail/opensmtpd-extras-filter-python/Makefile head/mail/opensmtpd-extras-filter-regex/Makefile head/mail/opensmtpd-extras-filter-spamassassin/Makefile head/mail/opensmtpd-extras-queue-python/Makefile head/mail/opensmtpd-extras-queue-ram/Makefile head/mail/opensmtpd-extras-scheduler-python/Makefile head/mail/opensmtpd-extras-scheduler-ram/Makefile head/mail/opensmtpd-extras-table-ldap/Makefile head/mail/opensmtpd-extras-table-mysql/Makefile head/mail/opensmtpd-extras-table-passwd/Makefile head/mail/opensmtpd-extras-table-postgresql/Makefile head/mail/opensmtpd-extras-table-python/Makefile head/mail/opensmtpd-extras-table-redis/Makefile head/mail/opensmtpd-extras-table-socketmap/Makefile head/mail/opensmtpd-extras-table-sqlite/Makefile head/mail/opensmtpd-extras-tool-stats/Makefile