[tcpdump-workers] Fix FreeBSD capsicum build on FreeBSD 10.1

2014-12-06 Thread Loganaden Velvindron
Hi guys, Support for FreeBSD capsicum doesn't work on FreeBSD 10.1, due to cap_rights_init which returns a struct, instead of an int. I think that we should follow OpenSSH and not test cap_rights_init. Would it also be possible to add this to the next 4.6.x release as a bugfix ? Kind regards,

Re: [tcpdump-workers] Fix FreeBSD capsicum build on FreeBSD 10.1

2014-12-06 Thread Guy Harris
On Dec 6, 2014, at 6:51 AM, Loganaden Velvindron wrote: > Support for FreeBSD capsicum doesn't work on FreeBSD 10.1, due to > cap_rights_init which returns a struct, instead of an int. Did its return value change in FreeBSD 10? (Presumably it didn't change between 10 and 10.1.) > I think th

Re: [tcpdump-workers] Fix FreeBSD capsicum build on FreeBSD 10.1

2014-12-06 Thread Loganaden Velvindron
On Sat, Dec 06, 2014 at 12:40:57PM -0800, Guy Harris wrote: > > On Dec 6, 2014, at 6:51 AM, Loganaden Velvindron wrote: > > > Support for FreeBSD capsicum doesn't work on FreeBSD 10.1, due to > > cap_rights_init which returns a struct, instead of an int. > > Did its return value change in Free

Re: [tcpdump-workers] Fix FreeBSD capsicum build on FreeBSD 10.1

2014-12-06 Thread Guy Harris
On Dec 6, 2014, at 9:19 PM, Loganaden Velvindron wrote: > Here's the config.log output: > > configure:4540: checking for cap_rights_init > configure:4540: cc -o conftest -g -O2 conftest.c >&5 > /tmp/conftest-942ee0.o: In function `main': > /root/tcpdump/tcpdump-4.6.2/conftest.c:66: undefined

Re: [tcpdump-workers] Fix FreeBSD capsicum build on FreeBSD 10.1

2014-12-06 Thread Loganaden Velvindron
On Sat, Dec 06, 2014 at 11:41:51PM -0800, Guy Harris wrote: > > On Dec 6, 2014, at 9:19 PM, Loganaden Velvindron wrote: > > > Here's the config.log output: > > > > configure:4540: checking for cap_rights_init > > configure:4540: cc -o conftest -g -O2 conftest.c >&5 > > /tmp/conftest-942ee0.o