The following packages will be installed: ucspi-tcp Fetching README... 0%100%100%100%100%100%Done Fetching patches/ucspi-tcp-0.88.a_record.patch... 0%100%100%100%100%100%Done Fetching patches/ucspi-tcp-0.88.errno.patch... 0%100%100%100%100%100%Done Fetching patches/ucspi-tcp-0.88.nobase.patch... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Fetching ucspi-tcp.SlackBuild... 0%100%100%100%100%100%Done Fetching ucspi-tcp.info... 0%100%100%100%100%100%Done ucspi-tcp-0.88 ucspi-tcp-0.88/README ucspi-tcp-0.88/TODO ucspi-tcp-0.88/CHANGES ucspi-tcp-0.88/VERSION ucspi-tcp-0.88/FILES ucspi-tcp-0.88/SYSDEPS ucspi-tcp-0.88/TARGETS ucspi-tcp-0.88/Makefile ucspi-tcp-0.88/conf-cc ucspi-tcp-0.88/conf-ld ucspi-tcp-0.88/conf-home ucspi-tcp-0.88/tcpserver.c ucspi-tcp-0.88/tcprules.c ucspi-tcp-0.88/tcprulescheck.c ucspi-tcp-0.88/recordio.c ucspi-tcp-0.88/argv0.c ucspi-tcp-0.88/tcpclient.c ucspi-tcp-0.88/date@.sh ucspi-tcp-0.88/finger@.sh ucspi-tcp-0.88/http@.sh ucspi-tcp-0.88/who@.sh ucspi-tcp-0.88/tcpcat.sh ucspi-tcp-0.88/mconnect.sh ucspi-tcp-0.88/mconnect-io.c ucspi-tcp-0.88/addcr.c ucspi-tcp-0.88/delcr.c ucspi-tcp-0.88/fixcrio.c ucspi-tcp-0.88/rblsmtpd.c ucspi-tcp-0.88/remoteinfo.h ucspi-tcp-0.88/remoteinfo.c ucspi-tcp-0.88/timeoutconn.h ucspi-tcp-0.88/timeoutconn.c ucspi-tcp-0.88/rules.h ucspi-tcp-0.88/rules.c ucspi-tcp-0.88/rts.sh ucspi-tcp-0.88/rts.tests ucspi-tcp-0.88/rts.exp ucspi-tcp-0.88/alloc.c ucspi-tcp-0.88/alloc.h ucspi-tcp-0.88/alloc_re.c ucspi-tcp-0.88/auto-str.c ucspi-tcp-0.88/auto_home.h ucspi-tcp-0.88/buffer.c ucspi-tcp-0.88/buffer.h ucspi-tcp-0.88/buffer_0.c ucspi-tcp-0.88/buffer_1.c ucspi-tcp-0.88/buffer_2.c ucspi-tcp-0.88/buffer_copy.c ucspi-tcp-0.88/buffer_get.c ucspi-tcp-0.88/buffer_put.c ucspi-tcp-0.88/byte.h ucspi-tcp-0.88/byte_chr.c ucspi-tcp-0.88/byte_copy.c ucspi-tcp-0.88/byte_cr.c ucspi-tcp-0.88/byte_diff.c ucspi-tcp-0.88/byte_rchr.c ucspi-tcp-0.88/byte_zero.c ucspi-tcp-0.88/case.h ucspi-tcp-0.88/case_diffb.c ucspi-tcp-0.88/case_diffs.c ucspi-tcp-0.88/cdb.c ucspi-tcp-0.88/cdb.h ucspi-tcp-0.88/cdb_hash.c ucspi-tcp-0.88/cdb_make.c ucspi-tcp-0.88/cdb_make.h ucspi-tcp-0.88/chkshsgr.c ucspi-tcp-0.88/choose.sh ucspi-tcp-0.88/commands.c ucspi-tcp-0.88/commands.h ucspi-tcp-0.88/dns.h ucspi-tcp-0.88/dns_dfd.c ucspi-tcp-0.88/dns_domain.c ucspi-tcp-0.88/dns_dtda.c ucspi-tcp-0.88/dns_ip.c ucspi-tcp-0.88/dns_ipq.c ucspi-tcp-0.88/dns_name.c ucspi-tcp-0.88/dns_nd.c ucspi-tcp-0.88/dns_packet.c ucspi-tcp-0.88/dns_random.c ucspi-tcp-0.88/dns_rcip.c ucspi-tcp-0.88/dns_rcrw.c ucspi-tcp-0.88/dns_resolve.c ucspi-tcp-0.88/dns_sortip.c ucspi-tcp-0.88/dns_transmit.c ucspi-tcp-0.88/dns_txt.c ucspi-tcp-0.88/env.c ucspi-tcp-0.88/env.h ucspi-tcp-0.88/error.c ucspi-tcp-0.88/error.h ucspi-tcp-0.88/error_str.c ucspi-tcp-0.88/exit.h ucspi-tcp-0.88/fd.h ucspi-tcp-0.88/fd_copy.c ucspi-tcp-0.88/fd_move.c ucspi-tcp-0.88/find-systype.sh ucspi-tcp-0.88/fmt.h ucspi-tcp-0.88/fmt_ulong.c ucspi-tcp-0.88/fork.h1 ucspi-tcp-0.88/fork.h2 ucspi-tcp-0.88/gen_alloc.h ucspi-tcp-0.88/gen_allocdefs.h ucspi-tcp-0.88/getln.c ucspi-tcp-0.88/getln.h ucspi-tcp-0.88/getln2.c ucspi-tcp-0.88/hassgact.h1 ucspi-tcp-0.88/hassgact.h2 ucspi-tcp-0.88/hassgprm.h1 ucspi-tcp-0.88/hassgprm.h2 ucspi-tcp-0.88/hasshsgr.h1 ucspi-tcp-0.88/hasshsgr.h2 ucspi-tcp-0.88/haswaitp.h1 ucspi-tcp-0.88/haswaitp.h2 ucspi-tcp-0.88/hier.c ucspi-tcp-0.88/install.c ucspi-tcp-0.88/instcheck.c ucspi-tcp-0.88/iopause.c ucspi-tcp-0.88/iopause.h1 ucspi-tcp-0.88/iopause.h2 ucspi-tcp-0.88/ip4.h ucspi-tcp-0.88/ip4_fmt.c ucspi-tcp-0.88/ip4_scan.c ucspi-tcp-0.88/ndelay.h ucspi-tcp-0.88/ndelay_off.c ucspi-tcp-0.88/ndelay_on.c ucspi-tcp-0.88/open.h ucspi-tcp-0.88/open_read.c ucspi-tcp-0.88/open_trunc.c ucspi-tcp-0.88/open_write.c ucspi-tcp-0.88/openreadclose.c ucspi-tcp-0.88/openreadclose.h ucspi-tcp-0.88/pathexec.h ucspi-tcp-0.88/pathexec_env.c ucspi-tcp-0.88/pathexec_run.c ucspi-tcp-0.88/prot.c ucspi-tcp-0.88/prot.h ucspi-tcp-0.88/readclose.c ucspi-tcp-0.88/readclose.h ucspi-tcp-0.88/readwrite.h ucspi-tcp-0.88/scan.h ucspi-tcp-0.88/scan_ulong.c ucspi-tcp-0.88/seek.h ucspi-tcp-0.88/seek_set.c ucspi-tcp-0.88/select.h1 ucspi-tcp-0.88/select.h2 ucspi-tcp-0.88/sgetopt.c ucspi-tcp-0.88/sgetopt.h ucspi-tcp-0.88/sig.c ucspi-tcp-0.88/sig.h ucspi-tcp-0.88/sig_block.c ucspi-tcp-0.88/sig_catch.c ucspi-tcp-0.88/sig_pause.c ucspi-tcp-0.88/socket.h ucspi-tcp-0.88/socket_accept.c ucspi-tcp-0.88/socket_bind.c ucspi-tcp-0.88/socket_conn.c ucspi-tcp-0.88/socket_delay.c ucspi-tcp-0.88/socket_listen.c ucspi-tcp-0.88/socket_local.c ucspi-tcp-0.88/socket_opts.c ucspi-tcp-0.88/socket_remote.c ucspi-tcp-0.88/socket_tcp.c ucspi-tcp-0.88/socket_udp.c ucspi-tcp-0.88/str.h ucspi-tcp-0.88/str_chr.c ucspi-tcp-0.88/str_diff.c ucspi-tcp-0.88/str_len.c ucspi-tcp-0.88/str_start.c ucspi-tcp-0.88/stralloc.h ucspi-tcp-0.88/stralloc_cat.c ucspi-tcp-0.88/stralloc_catb.c ucspi-tcp-0.88/stralloc_cats.c ucspi-tcp-0.88/stralloc_copy.c ucspi-tcp-0.88/stralloc_eady.c ucspi-tcp-0.88/stralloc_opyb.c ucspi-tcp-0.88/stralloc_opys.c ucspi-tcp-0.88/stralloc_pend.c ucspi-tcp-0.88/strerr.h ucspi-tcp-0.88/strerr_die.c ucspi-tcp-0.88/strerr_sys.c ucspi-tcp-0.88/subgetopt.c ucspi-tcp-0.88/subgetopt.h ucspi-tcp-0.88/tai.h ucspi-tcp-0.88/tai_pack.c ucspi-tcp-0.88/taia.h ucspi-tcp-0.88/taia_add.c ucspi-tcp-0.88/taia_approx.c ucspi-tcp-0.88/taia_frac.c ucspi-tcp-0.88/taia_less.c ucspi-tcp-0.88/taia_now.c ucspi-tcp-0.88/taia_pack.c ucspi-tcp-0.88/taia_sub.c ucspi-tcp-0.88/taia_uint.c ucspi-tcp-0.88/trycpp.c ucspi-tcp-0.88/trylsock.c ucspi-tcp-0.88/trypoll.c ucspi-tcp-0.88/trysgact.c ucspi-tcp-0.88/trysgprm.c ucspi-tcp-0.88/tryshsgr.c ucspi-tcp-0.88/trysysel.c ucspi-tcp-0.88/tryulong32.c ucspi-tcp-0.88/tryulong64.c ucspi-tcp-0.88/tryvfork.c ucspi-tcp-0.88/trywaitp.c ucspi-tcp-0.88/uint16.h ucspi-tcp-0.88/uint16_pack.c ucspi-tcp-0.88/uint16_unpack.c ucspi-tcp-0.88/uint32.h1 ucspi-tcp-0.88/uint32.h2 ucspi-tcp-0.88/uint32_pack.c ucspi-tcp-0.88/uint32_unpack.c ucspi-tcp-0.88/uint64.h1 ucspi-tcp-0.88/uint64.h2 ucspi-tcp-0.88/wait.h ucspi-tcp-0.88/wait_nohang.c ucspi-tcp-0.88/wait_pid.c ucspi-tcp-0.88/warn-auto.sh ucspi-tcp-0.88/warn-shsgr ucspi-tcp-0.88/x86cpuid.c patching file error.h patching file rblsmtpd.c patching file rblsmtpd.c ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo exec "`head -1 conf-ld`" \ '-o "$main" "$main".o ${1+"$@"}' \ ) > load chmod 755 load ( cat warn-auto.sh; \ echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' \ ) > compile chmod 755 compile cat warn-auto.sh choose.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > choose chmod 755 choose ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h ./compile tcpserver.c tcpserver.c: In function ‘doit’: tcpserver.c:143:29: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration] 143 | strnum[fmt_ulong(strnum,getpid())] = 0; | ^~~~~~ tcpserver.c:148:5: warning: implicit declaration of function ‘socket_ipoptionskill’ [-Wimplicit-function-declaration] 148 | socket_ipoptionskill(t); | ^~~~~~~~~~~~~~~~~~~~ tcpserver.c:150:5: warning: implicit declaration of function ‘socket_tcpnodelay’ [-Wimplicit-function-declaration] 150 | socket_tcpnodelay(t); | ^~~~~~~~~~~~~~~~~ tcpserver.c:210:7: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 210 | close(fdrules); | ^~~~~ tcpserver.c: At top level: tcpserver.c:292:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 292 | main(int argc,char **argv) | ^~~~ tcpserver.c: In function ‘main’: tcpserver.c:408:12: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration] 408 | switch(fork()) { | ^~~~ ( ( ./compile tryulong32.c && ./load tryulong32 && \ ./tryulong32 ) >/dev/null 2>&1 \ && cat uint32.h2 || cat uint32.h1 ) > uint32.h rm -f tryulong32.o tryulong32 ./compile rules.c ./compile remoteinfo.c remoteinfo.c: In function ‘mywrite’: remoteinfo.c:27:10: warning: implicit declaration of function ‘write’; did you mean ‘mywrite’? [-Wimplicit-function-declaration] 27 | return write(fd,buf,len); | ^~~~~ | mywrite remoteinfo.c: In function ‘myread’: remoteinfo.c:45:10: warning: implicit declaration of function ‘read’; did you mean ‘myread’? [-Wimplicit-function-declaration] 45 | return read(fd,buf,len); | ^~~~ | myread remoteinfo.c: In function ‘remoteinfo’: remoteinfo.c:96:3: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 96 | close(s); | ^~~~~ ./compile timeoutconn.c ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\'; \ cat find-systype.sh; \ ) | sh > systype ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo 'rm -f "$main"'; \ echo 'ar cr "$main" ${1+"$@"}'; \ case "`cat systype`" in \ sunos-5.*) ;; \ unix_sv*) ;; \ irix64-*) ;; \ irix-*) ;; \ dgux-*) ;; \ hp-ux-*) ;; \ sco*) ;; \ *) echo 'ranlib "$main"' ;; \ esac \ ) > makelib chmod 755 makelib ./compile cdb.c ./compile cdb_hash.c ./compile cdb_make.c ./makelib cdb.a cdb.o cdb_hash.o cdb_make.o ./compile dns_dfd.c ./compile dns_domain.c ./compile dns_dtda.c ./compile dns_ip.c ./compile dns_ipq.c ./compile dns_name.c ./compile dns_nd.c ./compile dns_packet.c ./compile dns_random.c dns_random.c: In function ‘dns_random_init’: dns_random.c:46:11: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration] 46 | in[8] = getpid(); | ^~~~~~ dns_random.c:47:11: warning: implicit declaration of function ‘getppid’ [-Wimplicit-function-declaration] 47 | in[9] = getppid(); | ^~~~~~~ ./compile dns_rcip.c ./compile dns_rcrw.c dns_rcrw.c: In function ‘init’: dns_rcrw.c:92:7: warning: implicit declaration of function ‘gethostname’ [-Wimplicit-function-declaration] 92 | if (gethostname(host,sizeof host) == -1) return -1; | ^~~~~~~~~~~ ./compile dns_resolve.c ./compile dns_sortip.c ./compile dns_transmit.c dns_transmit.c: In function ‘socketfree’: dns_transmit.c:70:3: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 70 | close(d->s1 - 1); | ^~~~~ dns_transmit.c: In function ‘thisudp’: dns_transmit.c:113:15: warning: implicit declaration of function ‘send’ [-Wimplicit-function-declaration] 113 | if (send(d->s1 - 1,d->query + 2,d->querylen - 2,0) == d->querylen - 2) { | ^~~~ dns_transmit.c: In function ‘dns_transmit_get’: dns_transmit.c:261:9: warning: implicit declaration of function ‘recv’ [-Wimplicit-function-declaration] 261 | r = recv(fd,udpbuf,sizeof udpbuf,0); | ^~~~ ./compile dns_txt.c ./makelib dns.a dns_dfd.o dns_domain.o dns_dtda.o dns_ip.o \ dns_ipq.o dns_name.o dns_nd.o dns_packet.o dns_random.o \ dns_rcip.o dns_rcrw.o dns_resolve.o dns_sortip.o \ dns_transmit.o dns_txt.o ./choose c trysysel select.h1 select.h2 > select.h ./compile iopause.c ./compile tai_pack.c ./compile taia_add.c ./compile taia_approx.c ./compile taia_frac.c ./compile taia_less.c ./compile taia_now.c ./compile taia_pack.c ./compile taia_sub.c ./compile taia_uint.c ./makelib time.a iopause.o tai_pack.o taia_add.o \ taia_approx.o taia_frac.o taia_less.o taia_now.o \ taia_pack.o taia_sub.o taia_uint.o ./compile alloc.c alloc.c:3:14: warning: conflicting types for built-in function ‘malloc’; expected ‘void *(long unsigned int)’ [-Wbuiltin-declaration-mismatch] 3 | extern char *malloc(); | ^~~~~~ alloc.c:3:1: note: ‘malloc’ is declared in header ‘’ 2 | #include "error.h" +++ |+#include 3 | extern char *malloc(); ./compile alloc_re.c ./compile buffer.c ./compile buffer_0.c ./compile buffer_1.c ./compile buffer_2.c ./compile buffer_copy.c ./compile buffer_get.c ./compile buffer_put.c ./compile env.c ./compile error.c ./compile error_str.c ./compile fd_copy.c fd_copy.c: In function ‘fd_copy’: fd_copy.c:8:3: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 8 | close(to); | ^~~~~ ./compile fd_move.c fd_move.c: In function ‘fd_move’: fd_move.c:7:3: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 7 | close(from); | ^~~~~ ./compile getln.c ./compile getln2.c ./compile ndelay_off.c ./compile ndelay_on.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./compile openreadclose.c ./compile pathexec_env.c ./compile pathexec_run.c pathexec_run.c: In function ‘pathexec_run’: pathexec_run.c:16:5: warning: implicit declaration of function ‘execve’ [-Wimplicit-function-declaration] 16 | execve(file,argv,envp); | ^~~~~~ ./compile chkshsgr.c chkshsgr.c:3:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 3 | main() | ^~~~ chkshsgr.c: In function ‘main’: chkshsgr.c:8:7: warning: implicit declaration of function ‘getgroups’ [-Wimplicit-function-declaration] 8 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^~~~~~~~~ chkshsgr.c:8:32: warning: implicit declaration of function ‘setgroups’ [-Wimplicit-function-declaration] 8 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^~~~~~~~~ ./load chkshsgr ./chkshsgr || ( cat warn-shsgr; exit 1 ) ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h ./compile prot.c prot.c: In function ‘prot_gid’: prot.c:11:7: warning: implicit declaration of function ‘setgroups’ [-Wimplicit-function-declaration] 11 | if (setgroups(1,&gid) == -1) return -1; | ^~~~~~~~~ prot.c:13:10: warning: implicit declaration of function ‘setgid’ [-Wimplicit-function-declaration] 13 | return setgid(gid); /* _should_ be redundant, but on some systems it isn't */ | ^~~~~~ prot.c: In function ‘prot_uid’: prot.c:18:10: warning: implicit declaration of function ‘setuid’ [-Wimplicit-function-declaration] 18 | return setuid(uid); | ^~~~~~ ./compile readclose.c readclose.c: In function ‘readclose_append’: readclose.c:9:44: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 9 | if (!stralloc_readyplus(sa,bufsize)) { close(fd); return -1; } | ^~~~~ ./compile seek_set.c seek_set.c: In function ‘seek_set’: seek_set.c:7:7: warning: implicit declaration of function ‘lseek’ [-Wimplicit-function-declaration] 7 | { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } | ^~~~~ ./compile sgetopt.c ./compile sig.c ./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h ./compile sig_block.c ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h ./compile sig_catch.c ./compile sig_pause.c ./compile socket_accept.c ./compile socket_bind.c ./compile socket_conn.c ./compile socket_delay.c ./compile socket_listen.c ./compile socket_local.c ./compile socket_opts.c ./compile socket_remote.c ./compile socket_tcp.c socket_tcp.c: In function ‘socket_tcp’: socket_tcp.c:14:29: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 14 | if (ndelay_on(s) == -1) { close(s); return -1; } | ^~~~~ ./compile socket_udp.c socket_udp.c: In function ‘socket_udp’: socket_udp.c:14:29: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 14 | if (ndelay_on(s) == -1) { close(s); return -1; } | ^~~~~ ./compile stralloc_cat.c ./compile stralloc_catb.c ./compile stralloc_cats.c ./compile stralloc_copy.c ./compile stralloc_eady.c ./compile stralloc_opyb.c ./compile stralloc_opys.c ./compile stralloc_pend.c ./compile strerr_die.c ./compile strerr_sys.c ./compile subgetopt.c ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h ./compile wait_nohang.c ./compile wait_pid.c ./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o \ buffer_1.o buffer_2.o buffer_copy.o buffer_get.o \ buffer_put.o env.o error.o error_str.o fd_copy.o fd_move.o \ getln.o getln2.o ndelay_off.o ndelay_on.o open_read.o \ open_trunc.o open_write.o openreadclose.o pathexec_env.o \ pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o \ sig.o sig_block.o sig_catch.o sig_pause.o socket_accept.o \ socket_bind.o socket_conn.o socket_delay.o socket_listen.o \ socket_local.o socket_opts.o socket_remote.o socket_tcp.o \ socket_udp.o stralloc_cat.o stralloc_catb.o stralloc_cats.o \ stralloc_copy.o stralloc_eady.o stralloc_opyb.o \ stralloc_opys.o stralloc_pend.o strerr_die.o strerr_sys.o \ subgetopt.o wait_nohang.o wait_pid.o ./compile byte_chr.c ./compile byte_copy.c ./compile byte_cr.c ./compile byte_diff.c ./compile byte_rchr.c ./compile byte_zero.c ./compile case_diffb.c ./compile case_diffs.c ./compile fmt_ulong.c ./compile ip4_fmt.c ./compile ip4_scan.c ./compile scan_ulong.c ./compile str_chr.c ./compile str_diff.c ./compile str_len.c ./compile str_start.c ./compile uint16_pack.c ./compile uint16_unpack.c ./compile uint32_pack.c ./compile uint32_unpack.c ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o \ byte_diff.o byte_rchr.o byte_zero.o case_diffb.o \ case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \ str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o \ uint16_unpack.o uint32_pack.o uint32_unpack.o ( ( ./compile trylsock.c && \ ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \ && echo -lsocket -lnsl || exit 0 ) > socket.lib rm -f trylsock.o trylsock ./load tcpserver rules.o remoteinfo.o timeoutconn.o cdb.a \ dns.a time.a unix.a byte.a `cat socket.lib` ./compile tcprules.c tcprules.c: In function ‘getnum’: tcprules.c:50:15: warning: implicit declaration of function ‘scan_ulong’ [-Wimplicit-function-declaration] 50 | if (sanum.s[scan_ulong(sanum.s,u)]) die_bad(); | ^~~~~~~~~~ tcprules.c: At top level: tcprules.c:90:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 90 | main(int argc,char **argv) | ^~~~ tcprules.c: In function ‘main’: tcprules.c:104:8: warning: implicit declaration of function ‘open_trunc’ [-Wimplicit-function-declaration] 104 | fd = open_trunc(fntemp); | ^~~~~~~~~~ tcprules.c:169:7: warning: implicit declaration of function ‘fsync’ [-Wimplicit-function-declaration] 169 | if (fsync(fd) == -1) die_write(); | ^~~~~ tcprules.c:170:7: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 170 | if (close(fd) == -1) die_write(); /* NFS stupidity */ | ^~~~~ tcprules.c:171:7: warning: implicit declaration of function ‘rename’ [-Wimplicit-function-declaration] 171 | if (rename(fntemp,fn)) | ^~~~~~ ./load tcprules cdb.a unix.a byte.a ./compile tcprulescheck.c tcprulescheck.c: In function ‘found’: tcprulescheck.c:19:9: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration] 19 | _exit(0); | ^~~~~ tcprulescheck.c:19:9: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] tcprulescheck.c:31:3: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] 31 | _exit(0); | ^~~~~ tcprulescheck.c: At top level: tcprulescheck.c:34:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 34 | main(int argc,char **argv) | ^~~~ tcprulescheck.c: In function ‘main’: tcprulescheck.c:51:8: warning: implicit declaration of function ‘open_read’ [-Wimplicit-function-declaration] 51 | fd = open_read(fnrules); | ^~~~~~~~~ tcprulescheck.c:56:3: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] 56 | _exit(0); | ^~~~~ ./load tcprulescheck rules.o cdb.a unix.a byte.a ./compile argv0.c argv0.c:4:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 4 | main(int argc,char **argv,char **envp) | ^~~~ ./load argv0 unix.a byte.a ./compile recordio.c recordio.c: In function ‘doit’: recordio.c:103:9: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 103 | close(fdleft); | ^~~~~ recordio.c: At top level: recordio.c:144:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 144 | main(int argc,char **argv,char **envp) | ^~~~ recordio.c: In function ‘main’: recordio.c:149:21: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration] 149 | pid[fmt_ulong(pid,getpid())] = 0; | ^~~~~~ recordio.c:154:7: warning: implicit declaration of function ‘pipe’ [-Wimplicit-function-declaration] 154 | if (pipe(piin) == -1) | ^~~~ recordio.c:159:10: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration] 159 | switch(fork()) { | ^~~~ recordio.c:171:7: warning: implicit declaration of function ‘fd_move’ [-Wimplicit-function-declaration] 171 | if (fd_move(0,piin[0]) == -1) | ^~~~~~~ ./load recordio time.a unix.a byte.a ./compile tcpclient.c tcpclient.c:68:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 68 | main(int argc,char **argv) | ^~~~ tcpclient.c: In function ‘main’: tcpclient.c:79:3: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 79 | close(6); | ^~~~~ tcpclient.c:170:5: warning: implicit declaration of function ‘socket_tcpnodelay’ [-Wimplicit-function-declaration] 170 | socket_tcpnodelay(s); /* if it fails, bummer */ | ^~~~~~~~~~~~~~~~~ ./load tcpclient remoteinfo.o timeoutconn.o dns.a time.a \ unix.a byte.a `cat socket.lib` cat warn-auto.sh who@.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > who@ chmod 755 who@ cat warn-auto.sh date@.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > date@ chmod 755 date@ cat warn-auto.sh finger@.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > finger@ chmod 755 finger@ cat warn-auto.sh http@.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > http@ chmod 755 http@ cat warn-auto.sh tcpcat.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > tcpcat chmod 755 tcpcat cat warn-auto.sh mconnect.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > mconnect chmod 755 mconnect ./choose cl tryvfork fork.h1 fork.h2 > fork.h ./compile mconnect-io.c mconnect-io.c:21:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 21 | main() | ^~~~ mconnect-io.c: In function ‘main’: mconnect-io.c:49:3: warning: implicit declaration of function ‘kill’ [-Wimplicit-function-declaration] 49 | kill(pid,sig_term); | ^~~~ ./load mconnect-io unix.a byte.a ./compile addcr.c addcr.c:4:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 4 | main() | ^~~~ ./load addcr unix.a byte.a ./compile delcr.c delcr.c:4:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 4 | main() | ^~~~ ./load delcr unix.a byte.a ./compile fixcrio.c fixcrio.c: In function ‘doit’: fixcrio.c:78:9: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 78 | close(fdleft); | ^~~~~ fixcrio.c: At top level: fixcrio.c:129:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 129 | main(int argc,char **argv,char **envp) | ^~~~ fixcrio.c: In function ‘main’: fixcrio.c:137:7: warning: implicit declaration of function ‘pipe’ [-Wimplicit-function-declaration] 137 | if (pipe(piin) == -1) | ^~~~ fixcrio.c:142:10: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration] 142 | switch(fork()) { | ^~~~ fixcrio.c:154:7: warning: implicit declaration of function ‘fd_move’ [-Wimplicit-function-declaration] 154 | if (fd_move(0,piin[0]) == -1) | ^~~~~~~ ./load fixcrio time.a unix.a byte.a ./compile rblsmtpd.c rblsmtpd.c: In function ‘rblsmtpd’: rblsmtpd.c:175:47: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration] 175 | buffer_put(buffer_2,strnum,fmt_ulong(strnum,getpid())); | ^~~~~~ rblsmtpd.c:187:5: warning: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration] 187 | alarm(timeout); | ^~~~~ rblsmtpd.c: At top level: rblsmtpd.c:194:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 194 | main(int argc,char **argv,char **envp) | ^~~~ ./compile commands.c ./load rblsmtpd commands.o dns.a time.a unix.a byte.a \ `cat socket.lib` cat warn-auto.sh rts.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > rts chmod 755 rts ./compile install.c install.c: In function ‘h’: install.c:20:7: warning: implicit declaration of function ‘mkdir’ [-Wimplicit-function-declaration] 20 | if (mkdir(home,0700) == -1) | ^~~~~ install.c:23:7: warning: implicit declaration of function ‘chown’ [-Wimplicit-function-declaration] 23 | if (chown(home,uid,gid) == -1) | ^~~~~ install.c:25:7: warning: implicit declaration of function ‘chmod’ [-Wimplicit-function-declaration] 25 | if (chmod(home,mode) == -1) | ^~~~~ install.c: In function ‘d’: install.c:36:7: warning: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration] 36 | if (chdir(home) == -1) | ^~~~~ install.c: In function ‘c’: install.c:63:7: warning: implicit declaration of function ‘fchdir’ [-Wimplicit-function-declaration] 63 | if (fchdir(fdsourcedir) == -1) | ^~~~~~ install.c:88:3: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 88 | close(fdin); | ^~~~~ install.c:91:7: warning: implicit declaration of function ‘fsync’ [-Wimplicit-function-declaration] 91 | if (fsync(fdout) == -1) | ^~~~~ install.c: At top level: install.c:140:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 140 | main() | ^~~~ install.c: In function ‘main’: install.c:146:3: warning: implicit declaration of function ‘umask’ [-Wimplicit-function-declaration] 146 | umask(077); | ^~~~~ ./compile hier.c hier.c: In function ‘hier’: hier.c:5:3: warning: implicit declaration of function ‘h’ [-Wimplicit-function-declaration] 5 | h(auto_home,-1,-1,02755); | ^ hier.c:6:3: warning: implicit declaration of function ‘d’ [-Wimplicit-function-declaration] 6 | d(auto_home,"bin",-1,-1,02755); | ^ hier.c:8:3: warning: implicit declaration of function ‘c’ [-Wimplicit-function-declaration] 8 | c(auto_home,"bin","tcpserver",-1,-1,0755); | ^ ./compile auto-str.c auto-str.c:8:6: warning: conflicting types for built-in function ‘puts’; expected ‘int(const char *)’ [-Wbuiltin-declaration-mismatch] 8 | void puts(char *s) | ^~~~ auto-str.c:4:1: note: ‘puts’ is declared in header ‘’ 3 | #include "exit.h" +++ |+#include 4 | auto-str.c:13:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 13 | main(int argc,char **argv) | ^~~~ ./load auto-str unix.a byte.a ./auto-str auto_home `head -1 conf-home` > auto_home.c ./compile auto_home.c ./load install hier.o auto_home.o unix.a byte.a ./compile instcheck.c instcheck.c: In function ‘d’: instcheck.c:59:7: warning: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration] 59 | if (chdir(home) == -1) | ^~~~~ instcheck.c: At top level: instcheck.c:104:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 104 | main() | ^~~~ ./load instcheck hier.o auto_home.o unix.a byte.a ./install ./instcheck 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/ucspi-tcp/ucspi-tcp-0.88-x86_64-1salix15.0.txz ./ install/ install/slack-desc usr/ usr/bin/ usr/bin/addcr usr/bin/argv0 usr/bin/date@ usr/bin/delcr usr/bin/finger@ usr/bin/fixcrio usr/bin/http@ usr/bin/mconnect usr/bin/mconnect-io usr/bin/rblsmtpd usr/bin/recordio usr/bin/tcpcat usr/bin/tcpclient usr/bin/tcprules usr/bin/tcprulescheck usr/bin/tcpserver usr/bin/who@ usr/doc/ usr/doc/ucspi-tcp-0.88/ usr/doc/ucspi-tcp-0.88/CHANGES usr/doc/ucspi-tcp-0.88/README usr/doc/ucspi-tcp-0.88/TODO usr/doc/ucspi-tcp-0.88/ucspi-tcp.SlackBuild Slackware package /usr/src/slapt-src-x86_64/network/ucspi-tcp/ucspi-tcp-0.88-x86_64-1salix15.0.txz created. Installing package ucspi-tcp-0.88-x86_64-1salix15.0... | ucspi-tcp (djb's TCP client-server command-line tools) | | ucspi-tcp includes several programs. tcpserver waits for incoming | connections and, for each connection, runs a program of your | choice, it provides useful environment variables, resource limits, | and access control features. tcpclient makes a TCP connection and | runs a program of your choice. It sets up the same environment | variables as tcpserver. | | Also included are recordio, a tool that monitors all the input | and output of a server, and several sample clients. | |