Created attachment 152365 [details]
svn diff of net/socat
Most of this has been taken from OpenBSD's port
- Remove EGD (FreeBSD does NOT need that)
- Make SSL compression conditional
- Add CPE string (output conforms to other versions in nvd.nist.gov db)
Auto-assigned to maintainer ehaupt@FreeBSD.org
Created attachment 152366 [details]
Build log of net/socat with patch
Includes portlint and cpe string output
I'd rather have this customization in form of a upstream supported configure option. Problem with that patch is that it will probably fail with the next official release.
I don't mind adding the CPE.
Upstream reported back that they'll include the patch.
thank you for that patch! Basically it is useful and I will integrate it
after some modifications.
Applying that patch required some editing; I had never befor seen the
form where all the orig files are suffixed .orig; accordingly my 'patch'
utility failed to understand this form. Which diff/patch utils do you
use? The patch format I know contains the diff of 2 directories.
$LOCALBASE seems to be (Free?)BSD specific and might not succeed on
other platforms without further measures.
Please consider adding this as a single patch-file to the port so it can be removed with the next released socat version. I've indicated my intention to help out the socat project where required.
Now handled with https://reviews.freebsd.org/D2691
depends on D2654
This is now being handled in the phabricator.
A commit references this bug:
Date: Mon May 2 21:09:32 UTC 2016
New revision: 414484
net/socat: Fix OpenSSL build issues
- While here fix CPE Vendor (NVD has dest-unreach)
- Fix build when OpenSSL from ports was built without SSLv3 support
- Fix build when OpenSSL is built without compression support
- Fix build for OpenSSL 1.1.0pre without EGD support
Reviewed by: koobs (mentor), feld (mentor), ehaupt (maintainer)
Approved by: feld (mentor), ehaupt (maintainer)
Differential Revision: D2691