felix / gross

Greylisting of suspicious source (exported from code.google.com/p/gross)
Other
5 stars 0 forks source link

--disable-dnsbl broken on 0.9 #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure --disable-dnsbl
2. make

...
cc -DHAVE_CONFIG_H -I. -I.. -I../include -D_POSIX_PTHREAD_SEMANTICS  -I
/usr/local/ares/include -I/usr/local/include  -g -c gross.c
"gross.c", line 486: undefined symbol: dns_check_info_t
"gross.c", line 486: undefined symbol: dns_check_info
...

Original issue reported on code.google.com by eino.tuominen@gmail.com on 9 Apr 2008 at 5:18

GoogleCodeExporter commented 9 years ago
There's a missing #ifdef DNSBL in gross.c, will be fixed in 0.9.1

In the mean time, you can fix this by #ifdeffin line 486 in version 0.9 gross.c:

#ifdef DNSBL
        dns_check_info_t *dns_check_info;
#endif

Original comment by eino.tuominen@gmail.com on 9 Apr 2008 at 5:22

GoogleCodeExporter commented 9 years ago
This patch fixes the problem. Just run 

$ patch < /tmp/gross-disable-dsnbl.patch

in the gross top source directory.

Original comment by eino.tuominen@gmail.com on 9 Apr 2008 at 5:32

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in 0.9.1

Original comment by eino.tuominen@gmail.com on 10 Apr 2008 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by eino.tuominen@gmail.com on 10 Apr 2008 at 6:09