Page MenuHomeFreeBSD

Conditionalize libwrap support into inetd based on MK_TCP_WRAPPERS
ClosedPublic

Authored by ngie on Jan 6 2017, 4:46 AM.

Details

Summary

Conditionalize libwrap support into inetd based on MK_TCP_WRAPPERS

This will allow inetd to stand by itself without libwrap.

MFC after: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 6583
Build 6802: arc lint + arc unit

Event Timeline

ngie updated this revision to Diff 23643.Jan 6 2017, 4:46 AM
ngie retitled this revision from to Conditionalize libwrap support into inetd based on MK_TCP_WRAPPERS.
ngie updated this object.
ngie edited the test plan for this revision. (Show Details)
ngie added a reviewer: hrs.
ngie added a comment.Jan 6 2017, 4:58 AM

I didn't compile out -w/-W support. I was wondering if I should do that..

hrs edited edge metadata.Jan 10 2017, 8:49 PM

I think you need to add CFLAGS+=-DLIBWRAP in Makefile. The others look fine to me.

ngie added a comment.Jan 10 2017, 10:51 PM
In D9056#188565, @hrs wrote:

I think you need to add CFLAGS+=-DLIBWRAP in Makefile. The others look fine to me.

Derp... yes, I do.

ngie updated this revision to Diff 23919.Jan 12 2017, 7:29 AM
ngie edited edge metadata.

Add CFLAGS+=-DLIBWRAP to the Makefile to properly enable TCP wrappers support when requested

This revision was automatically updated to reflect the committed changes.