7ad30f58dd
The sockstat is using password database operations to obtain the username. Such operations are disallowed in capability mode. For such operations Casper is required. Reported by: olivier@ Tested by: olivier@
19 lines
237 B
Makefile
19 lines
237 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= sockstat
|
|
|
|
LIBADD= jail
|
|
|
|
.if ${MK_CASPER} != "no"
|
|
LIBADD+= casper
|
|
LIBADD+= cap_net
|
|
LIBADD+= cap_netdb
|
|
LIBADD+= cap_pwd
|
|
LIBADD+= cap_sysctl
|
|
CFLAGS+= -DWITH_CASPER
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|