The user has reported that tor breaks when timingsafe_memcmp(3) is missing, because it has only been added in 12.0 and backported to 11.1
Details
Details
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 13590 Build 13814: arc lint + arc unit
Event Timeline
Comment Actions
This should probably also go to the quarterly ports tree?
security/tor/files/patch-orconfig.h.in | ||
---|---|---|
8 | how about using __FreeBSD_version and only undefine it for too old ones? |
Comment Actions
But manpage doesn't say this. It works on my 11.1, so I assumed that it has been backported, but this isn't documented.
Comment Actions
This is also a very minor matter, so it isn't worth it to put more efforts into enabling it on 11 even if possible, IMHO. :)
Comment Actions
Come on
with the patch multiple warnings generated, like:
./orconfig.h:521:5: warning: 'FreeBSD_version' is not defined, evaluates to 0 [-Wundef]
#if FreeBSD_version >= 1200000 // disabled: timingsafe_memcmp(3) has been added only in 12.0, and isn't yet available on older systems
^
3 warnings generated.
$ make -V PKGNAME
tor-0.3.1.9_1
$ uname -r
11.1-RELEASE-p1