The following packages will be installed: linksys-tftp Fetching README... 0%100%100%100%100%100%Done Fetching linksys-tftp-1.2.1-r1-Makefile.patch... 0%100%100%100%100%100%Done Fetching linksys-tftp-1.2.1-r1-clang.patch... 0%100%100%100%100%100%Done Fetching linksys-tftp-1.2.1-r1-fno-common.patch... 0%100%100%100%100%100%Done Fetching linksys-tftp-1.2.1-r1-header.patch... 0%100%100%100%100%100%Done Fetching linksys-tftp.SlackBuild... 0%100%100%100%100%100%Done Fetching linksys-tftp.info... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done linksys-tftp-1.2.1/ linksys-tftp-1.2.1/tftp.h linksys-tftp-1.2.1/Makefile linksys-tftp-1.2.1/main.c linksys-tftp-1.2.1/tftp.c linksys-tftp-1.2.1/tftpsubs.c linksys-tftp-1.2.1/README patching file Makefile patching file main.c Hunk #1 succeeded at 155 (offset -4 lines). Hunk #2 succeeded at 168 (offset -4 lines). Hunk #3 succeeded at 178 (offset -4 lines). Hunk #4 succeeded at 205 (offset -4 lines). Hunk #5 succeeded at 213 (offset -4 lines). Hunk #6 succeeded at 227 (offset -4 lines). Hunk #7 succeeded at 261 (offset -4 lines). Hunk #8 succeeded at 301 (offset -4 lines). Hunk #9 succeeded at 320 (offset -4 lines). Hunk #10 succeeded at 346 (offset -4 lines). Hunk #11 succeeded at 372 (offset -4 lines). Hunk #12 succeeded at 447 (offset -4 lines). Hunk #13 succeeded at 510 (offset -4 lines). Hunk #14 succeeded at 554 (offset -4 lines). Hunk #15 succeeded at 567 (offset -4 lines). patching file tftpsubs.c patching file tftp.c patching file main.c patching file tftp.c cc -fcommon -I. -Dsin=sin_x -c -o main.o main.c main.c: In function ‘main’: main.c:117:5: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] 117 | int main(argc, argv) | ^~~~ main.c:149:17: warning: implicit declaration of function ‘command’ [-Wimplicit-function-declaration] 149 | command(top); | ^~~~~~~ main.c: At top level: main.c:154:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 154 | setpeer(argc, argv) | ^~~~~~~ main.c: In function ‘setpeer’: main.c:171:39: warning: implicit declaration of function ‘inet_addr’ [-Wimplicit-function-declaration] 171 | sin.sin_addr.s_addr = inet_addr(argv[1]); | ^~~~~~~~~ main.c: At top level: main.c:204:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 204 | modecmd(argc, argv) | ^~~~~~~ main.c: In function ‘modecmd’: main.c:204:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c:219:25: warning: implicit declaration of function ‘setmode’ [-Wimplicit-function-declaration] 219 | setmode(p->m_mode); | ^~~~~~~ main.c: At top level: main.c:237:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 237 | setbinary(argc, argv) | ^~~~~~~~~ main.c: In function ‘setbinary’: main.c:237:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c: At top level: main.c:242:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 242 | setascii(argc, argv) | ^~~~~~~~ main.c: In function ‘setascii’: main.c:242:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c: At top level: main.c:247:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 247 | setmode(newmode) | ^~~~~~~ main.c:259:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 259 | put(argc, argv) | ^~~ main.c: In function ‘put’: main.c:259:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c:267:17: warning: implicit declaration of function ‘putusage’ [-Wimplicit-function-declaration] 267 | putusage(argv[0]); | ^~~~~~~~ main.c:285:30: warning: passing argument 2 of ‘sendfile’ makes integer from pointer without a cast [-Wint-conversion] 285 | sendfile(fd, cp, mode, linkpass); | ^~ | | | char * In file included from main.c:46: /usr/include/sys/sendfile.h:33:44: note: expected ‘int’ but argument is of type ‘char *’ 33 | extern ssize_t sendfile (int __out_fd, int __in_fd, off_t *__offset, | ~~~~^~~~~~~ main.c:285:34: warning: passing argument 3 of ‘sendfile’ from incompatible pointer type [-Wincompatible-pointer-types] 285 | sendfile(fd, cp, mode, linkpass); | ^~~~ | | | char * In file included from main.c:46: /usr/include/sys/sendfile.h:33:60: note: expected ‘off_t *’ {aka ‘long int *’} but argument is of type ‘char *’ 33 | extern ssize_t sendfile (int __out_fd, int __in_fd, off_t *__offset, | ~~~~~~~^~~~~~~~ main.c:285:40: warning: passing argument 4 of ‘sendfile’ makes integer from pointer without a cast [-Wint-conversion] 285 | sendfile(fd, cp, mode, linkpass); | ^~~~~~~~ | | | char * In file included from main.c:46: /usr/include/sys/sendfile.h:34:33: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘char *’ 34 | size_t __count) __THROW; | ~~~~~~~^~~~~~~ main.c: At top level: main.c:289:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 289 | putusage(s) | ^~~~~~~~ main.c:299:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 299 | get(argc, argv) | ^~~ main.c: In function ‘get’: main.c:299:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c:307:17: warning: implicit declaration of function ‘getusage’; did you mean ‘putusage’? [-Wimplicit-function-declaration] 307 | getusage(argv[0]); | ^~~~~~~~ | putusage main.c:325:17: warning: implicit declaration of function ‘recvfile’ [-Wimplicit-function-declaration] 325 | recvfile(fd, cp, mode, linkpass); | ^~~~~~~~ main.c: At top level: main.c:330:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 330 | getusage(s) | ^~~~~~~~ main.c:338:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 338 | setrexmt(argc, argv) | ^~~~~~~~ main.c: In function ‘setrexmt’: main.c:338:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c:347:17: warning: implicit declaration of function ‘makeargv’ [-Wimplicit-function-declaration] 347 | makeargv(); | ^~~~~~~~ main.c: At top level: main.c:364:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 364 | settimeout(argc, argv) | ^~~~~~~~~~ main.c: In function ‘settimeout’: main.c:364:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c: At top level: main.c:388:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 388 | status(argc, argv) | ^~~~~~ main.c: In function ‘status’: main.c:388:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c: At top level: main.c:411:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 411 | command(top) | ^~~~~~~ main.c:476:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 476 | makeargv() | ^~~~~~~~ main.c:499:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 499 | quit() | ^~~~ main.c:507:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 507 | help(argc, argv) | ^~~~ main.c:533:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 533 | settrace() | ^~~~~~~~ main.c:540:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 540 | setverbose() | ^~~~~~~~~~ main.c:546:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 546 | setblocksize(argc, argv) | ^~~~~~~~~~~~ main.c: In function ‘setblocksize’: main.c:546:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c: At top level: main.c:569:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 569 | banner() { | ^~~~~~ cc -fcommon -I. -Dsin=sin_x -c -o tftp.o tftp.c tftp.c:75:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 75 | parseoack(cp, sz) | ^~~~~~~~~ tftp.c:109:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 109 | sendfile(fd, name, mode, linkpass) | ^~~~~~~~ tftp.c: In function ‘sendfile’: tftp.c:125:9: warning: implicit declaration of function ‘startclock’; did you mean ‘strtok’? [-Wimplicit-function-declaration] 125 | startclock(); /* start stat's clock */ | ^~~~~~~~~~ | strtok tftp.c:134:32: warning: implicit declaration of function ‘makerequest’ [-Wimplicit-function-declaration] 134 | size = makerequest(WRQ, name, dp, mode, linkpass) - 4; | ^~~~~~~~~~~ tftp.c:137:32: warning: implicit declaration of function ‘readit’; did you mean ‘read’? [-Wimplicit-function-declaration] 137 | size = readit(file, &dp, convert); | ^~~~~~ | read tftp.c:139:33: warning: implicit declaration of function ‘nak’ [-Wimplicit-function-declaration] 139 | nak(errno + 100); | ^~~ tftp.c:149:25: warning: implicit declaration of function ‘tpacket’ [-Wimplicit-function-declaration] 149 | tpacket("sent", dp, size + 4); | ^~~~~~~ tftp.c:158:25: warning: implicit declaration of function ‘read_ahead’ [-Wimplicit-function-declaration] 158 | read_ahead(file, convert); | ^~~~~~~~~~ tftp.c:200:37: warning: implicit declaration of function ‘synchnet’ [-Wimplicit-function-declaration] 200 | j = synchnet(f); | ^~~~~~~~ tftp.c:226:9: warning: implicit declaration of function ‘stopclock’ [-Wimplicit-function-declaration] 226 | stopclock(); | ^~~~~~~~~ tftp.c:228:17: warning: implicit declaration of function ‘printstats’ [-Wimplicit-function-declaration] 228 | printstats("Sent", amount); | ^~~~~~~~~~ tftp.c: At top level: tftp.c:234:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 234 | recvfile(fd, name, mode, linkpass) | ^~~~~~~~ tftp.c: In function ‘recvfile’: tftp.c:284:25: warning: implicit declaration of function ‘write_behind’ [-Wimplicit-function-declaration] 284 | write_behind(file, convert); | ^~~~~~~~~~~~ tftp.c:347:24: warning: implicit declaration of function ‘writeit’; did you mean ‘write’? [-Wimplicit-function-declaration] 347 | size = writeit(file, &dp, n - 4, convert); | ^~~~~~~ | write tftp.c: At top level: tftp.c:365:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 365 | makerequest(request, name, tp, mode, linkpass) | ^~~~~~~~~~~ tftp.c:407:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 407 | nak(error) | ^~~ tftp.c:434:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 434 | topts(cp, sz) | ^~~~~ tftp.c:457:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 457 | tpacket(s, tp, n) | ^~~~~~~ tftp.c:508:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 508 | startclock() { | ^~~~~~~~~~ tftp.c:512:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 512 | stopclock() { | ^~~~~~~~~ tftp.c:516:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 516 | printstats(direction, amount) | ^~~~~~~~~~ cc -fcommon -I. -Dsin=sin_x -c -o tftpsubs.o tftpsubs.c tftpsubs.c:85:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 85 | readit(file, dpp, convert) | ^~~~~~ tftpsubs.c: In function ‘readit’: tftpsubs.c:97:17: warning: implicit declaration of function ‘read_ahead’ [-Wimplicit-function-declaration] 97 | read_ahead(file, convert); /* fill it */ | ^~~~~~~~~~ tftpsubs.c: At top level: tftpsubs.c:107:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 107 | read_ahead(file, convert) | ^~~~~~~~~~ tftpsubs.c: In function ‘read_ahead’: tftpsubs.c:128:29: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] 128 | i = read(fileno(file), dp->th_data + b->counter, | ^~~~ | fread tftpsubs.c: At top level: tftpsubs.c:163:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 163 | writeit(file, dpp, ct, convert) | ^~~~~~~ tftpsubs.c: In function ‘writeit’: tftpsubs.c:163:1: warning: type of ‘ct’ defaults to ‘int’ [-Wimplicit-int] tftpsubs.c:171:17: warning: implicit declaration of function ‘write_behind’ [-Wimplicit-function-declaration] 171 | write_behind(file, convert); /* flush it */ | ^~~~~~~~~~~~ tftpsubs.c: At top level: tftpsubs.c:183:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 183 | write_behind(file, convert) | ^~~~~~~~~~~~ tftpsubs.c: In function ‘write_behind’: tftpsubs.c:208:24: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] 208 | return write(fileno(file), buf, count); | ^~~~~ | fwrite cc -o linksys-tftp -fcommon -I. -Dsin=sin_x main.o tftp.o tftpsubs.o 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/linksys-tftp/linksys-tftp-1.2.1-x86_64-3salix15.0.txz ./ install/ install/slack-desc usr/ usr/bin/ usr/bin/linksys-tftp usr/doc/ usr/doc/linksys-tftp-1.2.1/ usr/doc/linksys-tftp-1.2.1/README usr/doc/linksys-tftp-1.2.1/README.slackware usr/doc/linksys-tftp-1.2.1/linksys-tftp.SlackBuild Slackware package /usr/src/slapt-src-x86_64/network/linksys-tftp/linksys-tftp-1.2.1-x86_64-3salix15.0.txz created. Installing package linksys-tftp-1.2.1-x86_64-3salix15.0... | linksys-tftp (tftp client for Linksys routers requiring a password) | | This is a BSD tftp client for Linksys routers that need a password | for tftp firmware installation such as the BEFW11, WRT54G and WRT54GL | | | | | | | | |