Created attachment 152947 [details]
Patch to net/omnitty/files/patch-main.c
net/omnitty has a hard-coded 32-byte buffer for entering a hostname "by hand". (Entering linger hostnames by reading a file avoids this limitation.)
The attached patch relaxes that to 64 bytes -- I was too lazy to fix it by allocating the storage dynamically -- and makes it a #defined constant (so one doesn't need to look for all other occurrences of the numeric string in question to try to determine if they might also be involved).
We already have a patch for the file in question (main.c), so the attached patch patches the existing patchfile.
I've tested it in a stable/10, environment (both i386 & amd64) -- we have some 33-character hostnames at work.
Thanks for your submission David,
Can you attach success build output using either:
- poudriere testport or poudriere bulk -t, OR
- make stage && make check-plist && make stage-qa && make package
Poudriere is prefferred.
I note this port also has no maintainer, please feel free to take maintainership by updating the patch changing MAINTAINER= as well.
Created attachment 153024 [details]
typescript, showing "svn diff" & successful build
Raw script(1) output -- so it's full of ^Ms (among other impediments to legibility).
A commit references this bug:
Date: Sun Mar 1 22:15:22 UTC 2015
New revision: 380230
net/omnitty: Allow greater than 32-character hostnames
Submitted by: David (catwhisker.org)