The following packages will be installed: dnstracer Fetching README... 0%100%100%100%100%100%Done Fetching dnstracer.SlackBuild... 0%100%100%100%100%100%Done Fetching dnstracer.info... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done dnstracer/CHANGES dnstracer/CONTACT dnstracer/FILES dnstracer/LICENSE dnstracer/MSVC.BAT dnstracer/Makefile dnstracer/README dnstracer/dnstracer-missing.h dnstracer/dnstracer.c dnstracer/dnstracer.pod dnstracer/getopt.c dnstracer/getopt.h /usr/bin/gcc -O2 -fPIC -Wall -o dnstracer -DVERSION="1.11" dnstracer.c dnstracer.c: In function ‘getname’: dnstracer.c:297:31: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 297 | offset = get16bit(p); | ^ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c: In function ‘extract_rr’: dnstracer.c:341:20: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 341 | RR->domainname = strdup(domainname); | ^ dnstracer.c:342:27: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 342 | RR->domainname_string = strdup(printablename(domainname, 1)); | ^ dnstracer.c:343:25: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 343 | RR->type = get16bit(thisrr); | ^~~~~~ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c:344:33: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 344 | RR->class = get16bit(thisrr + 2); | ~~~~~~~^~~ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c:345:31: warning: pointer targets in passing argument 1 of ‘get32bit’ differ in signedness [-Wpointer-sign] 345 | RR->ttl = get32bit(thisrr + 4); | ~~~~~~~^~~ | | | char * dnstracer.c:251:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 251 | get32bit(u_char *s) | ~~~~~~~~^ dnstracer.c:346:38: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 346 | RR->datalength = get16bit(thisrr + 8); | ~~~~~~~^~~ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c:351:21: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 351 | RR->data_string = strdup(get_resource(RR->type, session, p, 1)); | ^ dnstracer.c: In function ‘extract_data’: dnstracer.c:399:21: warning: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 399 | question->query = strdup(getname(session, &pquestion)); | ^ dnstracer.c:400:31: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 400 | question->type = get16bit(pquestion); | ^~~~~~~~~ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c:401:42: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 401 | question->class = get16bit(pquestion + 2); | ~~~~~~~~~~^~~ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c:367:17: warning: variable ‘pheader’ set but not used [-Wunused-but-set-variable] 367 | char * pheader; | ^~~~~~~ dnstracer.c: In function ‘get_resource’: dnstracer.c:589:25: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 589 | prio = get16bit(buffer); | ^~~~~~ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c:591:27: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 591 | weight = get16bit(buffer); | ^~~~~~ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c:593:25: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 593 | port = get16bit(buffer); | ^~~~~~ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c:604:23: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 604 | us = get16bit(buffer); | ^~~~~~ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c:621:23: warning: pointer targets in passing argument 1 of ‘get32bit’ differ in signedness [-Wpointer-sign] 621 | ul = get32bit(buffer); | ^~~~~~ | | | char * dnstracer.c:251:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 251 | get32bit(u_char *s) | ~~~~~~~~^ dnstracer.c: In function ‘dump_question’: dnstracer.c:634:66: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] 634 | printf("- Queryname: %s\n", printablename(question->query, 0)); | ~~~~~~~~^~~~~~~ | | | u_char * {aka unsigned char *} dnstracer.c:445:21: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 445 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c: In function ‘dump_rr’: dnstracer.c:691:60: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] 691 | printf("- Domainname: %s\n", printablename(rr->domainname, 0)); | ~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} dnstracer.c:445:21: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 445 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c:700:71: warning: pointer targets in passing argument 3 of ‘get_resource’ differ in signedness [-Wpointer-sign] 700 | get_resource(rr->type, session, rr->data, 0)); | ~~^~~~~~ | | | u_char * {aka unsigned char *} dnstracer.c:543:64: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 543 | get_resource(u_int16_t type, struct dnssession *session, char *buffer, int dots) | ~~~~~~^~~~~~ dnstracer.c: In function ‘send_data’: dnstracer.c:919:9: warning: pointer targets in assignment from ‘u_char *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 919 | pkt = create_packet(session, len); | ^ dnstracer.c: In function ‘receive_data’: dnstracer.c:958:18: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 958 | if (get16bit(buffer) != session->send_header->identification) { | ^~~~~~ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c:960:60: warning: pointer targets in passing argument 1 of ‘get16bit’ differ in signedness [-Wpointer-sign] 960 | session->send_header->identification, get16bit(buffer)); | ^~~~~~ | | | char * dnstracer.c:257:18: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 257 | get16bit(u_char *s) | ~~~~~~~~^ dnstracer.c: In function ‘create_question’: dnstracer.c:1007:42: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 1007 | strcpy(session->send_question->query + 1, name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ | | | u_char * {aka unsigned char *} In file included from dnstracer.c:55: /usr/include/string.h:125:39: note: expected ‘char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ dnstracer.c:1009:7: warning: pointer targets in assignment from ‘u_char *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 1009 | p = session->send_question->query + 1; | ^ dnstracer.c:1010:7: warning: pointer targets in assignment from ‘u_char *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 1010 | q = session->send_question->query; | ^ dnstracer.c: In function ‘add_arecord’: dnstracer.c:1060:47: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] 1060 | arecord->rr_name = strdup(printablename(rr->domainname, 1)); | ~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} dnstracer.c:445:21: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 445 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c:1065:37: warning: pointer targets in passing argument 1 of ‘strdup’ differ in signedness [-Wpointer-sign] 1065 | arecord->rr_data = strdup(rr->data_string); | ~~^~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from dnstracer.c:55: /usr/include/string.h:171:34: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 171 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ dnstracer.c: In function ‘create_session’: dnstracer.c:1323:42: warning: pointer targets in passing argument 2 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 1323 | session->authority->domainname_string) == 0) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/string.h:446, from dnstracer.c:55: /usr/include/strings.h:116:54: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dnstracer.c:1367:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1367 | if (strcmp(rrauth->domainname_string, ".") == 0) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from dnstracer.c:55: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dnstracer.c:1375:32: warning: pointer targets in passing argument 1 of ‘strnrcasecmp’ differ in signedness [-Wpointer-sign] 1375 | strnrcasecmp(rrauth->domainname_string, server_authfor, | ~~~~~~^~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} dnstracer.c:233:26: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 233 | strnrcasecmp(const char *big, const char *little, size_t len) | ~~~~~~~~~~~~^~~ dnstracer.c:1389:42: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] 1389 | if (strcmp(printablename(rradd->domainname, 1), | ~~~~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} dnstracer.c:445:21: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 445 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c:1390:23: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1390 | rrauth->data_string) == 0) | ~~~~~~^~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from dnstracer.c:55: /usr/include/string.h:140:50: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dnstracer.c:1401:47: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] 1401 | if (strcmp(printablename(rradd->domainname, 1), | ~~~~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} dnstracer.c:445:21: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 445 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c:1402:34: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1402 | rrauth->data_string) == 0) | ~~~~~~^~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from dnstracer.c:55: /usr/include/string.h:140:50: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dnstracer.c:1423:60: warning: pointer targets in passing argument 1 of ‘printablename’ differ in signedness [-Wpointer-sign] 1423 | strcpy(nextserver_name, printablename(rradd->domainname, 1)); | ~~~~~^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} dnstracer.c:445:21: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 445 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c:1424:44: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 1424 | strcpy(nextserver_ip, rradd->data_string); | ~~~~~^~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from dnstracer.c:55: /usr/include/string.h:125:70: note: expected ‘const char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ dnstracer.c:1427:52: warning: pointer targets in passing argument 5 of ‘create_session’ differ in signedness [-Wpointer-sign] 1427 | nextserver_name, rrauth->domainname_string, | ~~~~~~^~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} dnstracer.c:1195:11: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 1195 | char *server_authfor, int depth, char *prefix, int last) | ~~~~~~^~~~~~~~~~~~~~ dnstracer.c:1433:47: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 1433 | strcpy(nextserver_name, rrauth->data_string); | ~~~~~~^~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from dnstracer.c:55: /usr/include/string.h:125:70: note: expected ‘const char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ dnstracer.c:1463:41: warning: pointer targets in initialization of ‘u_char *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 1463 | u_char *s = addr_list[i]; | ^~~~~~~~~ dnstracer.c:1468:41: warning: pointer targets in initialization of ‘u_char *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 1468 | u_char *s = addr_list[i]; | ^~~~~~~~~ dnstracer.c:1480:52: warning: pointer targets in passing argument 5 of ‘create_session’ differ in signedness [-Wpointer-sign] 1480 | nextserver_name, rrauth->domainname_string, | ~~~~~~^~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} dnstracer.c:1195:11: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 1195 | char *server_authfor, int depth, char *prefix, int last) | ~~~~~~^~~~~~~~~~~~~~ dnstracer.c:1497:48: warning: pointer targets in passing argument 5 of ‘create_session’ differ in signedness [-Wpointer-sign] 1497 | nextserver_name, rrauth->domainname_string, | ~~~~~~^~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} dnstracer.c:1195:11: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 1195 | char *server_authfor, int depth, char *prefix, int last) | ~~~~~~^~~~~~~~~~~~~~ dnstracer.c: In function ‘main’: dnstracer.c:1713:25: warning: pointer targets in initialization of ‘u_char *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 1713 | u_char *s = h->h_addr_list[0]; | ^ dnstracer.c:1717:25: warning: pointer targets in initialization of ‘u_char *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 1717 | u_char *s = h->h_addr_list[0]; | ^ dnstracer.c: In function ‘display_arecords’: dnstracer.c:1085:27: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] 1085 | sprintf(s, "%%%ds", 40 - i); | ^~ dnstracer.c:1085:24: note: directive argument in the range [1, 2147483647] 1085 | sprintf(s, "%%%ds", 40 - i); | ^~~~~~~ dnstracer.c:1085:13: note: ‘sprintf’ output between 4 and 13 bytes into a destination of size 10 1085 | sprintf(s, "%%%ds", 40 - i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pod2man --release="June 10, 2008" --date="June 10, 2008" \ --center="Additional Software" --section=8 dnstracer.pod > dnstracer.8 Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src-x86_64/network/dnstracer/dnstracer-1.10-x86_64-1salix15.0.txz ./ install/ install/slack-desc usr/ usr/bin/ usr/bin/dnstracer usr/doc/ usr/doc/dnstracer-1.10/ usr/doc/dnstracer-1.10/CHANGES usr/doc/dnstracer-1.10/CONTACT usr/doc/dnstracer-1.10/FILES usr/doc/dnstracer-1.10/LICENSE usr/doc/dnstracer-1.10/MSVC.BAT usr/doc/dnstracer-1.10/README usr/doc/dnstracer-1.10/dnstracer.SlackBuild usr/man/ usr/man/man8/ usr/man/man8/dnstracer.8.gz Slackware package /usr/src/slapt-src-x86_64/network/dnstracer/dnstracer-1.10-x86_64-1salix15.0.txz created. Installing package dnstracer-1.10-x86_64-1salix15.0... | dnstracer (tool to trace dns queries) | | dnstracer determines where a given Domain Name System (DNS) | server gets its information from, it does this by following | the query chain back to the servers which know the data. | | dnstracer was wtitten by Edwin Groothuis | | | | | |