A new version, fixes bug #197602. It's also a good chance to fix #107484 and #102179.
Created attachment 135007 [details, diff] files/stunnel-4.21-libwrap.patch Patch needed to compile correctly with USE="tcpd".
Created attachment 135008 [details] stunnel-4.21.ebuild New ebuild, with high clean up and misc fixes. Needs testing.
*** Bug 197602 has been marked as a duplicate of this bug. ***
Thanks for contributing the ebuild. I have also started to write one for 4.21. So let's see what are the differences. 1. The rc file has to be adapted to start /usr/bin/stunnel 2. Probably there should be symlinks from /usr/sbin to /usr/bin: # Binaries were moved to /usr/bin with 4.21, create symlinks # for backwards compatibility dosym ../bin/stunnel /usr/sbin/stunnel dosym ../bin/stunnel3 /usr/sbin/stunnel3 3. newins "${FILESDIR}"/stunnel.conf stunnel.conf could be replaced by doins "${FILESDIR}/stunnel.conf 4. "docert" should be moved to pkg_postinst, otherwise the cert will be included in the binpkg
Version 4.21 committed to CVS.
Apparently the patch is still not upstream. I've mailed Marzena Trojnara about this.
Message from upstream: ------------------------------------------------ --enable-libwrap didn't work indeed. Thank you very much for reporting it. I'll include a fix in the next release of stunnel. Mike ------------------------------------------------ :)