Guest User

Untitled

a guest
Aug 1st, 2025
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.77 KB | None | 0 0
  1. ###### UCSPI-TCP6
  2. ( cat warn-auto.sh; \
  3. echo 'main="$1"; shift'; \
  4. echo exec "`head -1 ../conf-ld`" \
  5. '-o "$main" "$main".o ${1+"$@"} -ldnsresolv -lqlibs' \
  6. ) > load
  7. chmod 755 load
  8. ( cat warn-auto.sh; \
  9. echo exec "`head -1 ../conf-cc`" '-c ${1+"$@"}' \
  10. ) > compile
  11. chmod 755 compile
  12. rm -f choose
  13. cat warn-auto.sh choose.sh \
  14. | sed s}HOME}"`head -1 ../conf-home`"}g \
  15. > choose
  16. chmod 755 choose
  17. ./choose cl tryvfork fork.h1 fork.h2 > fork.h
  18. ./compile tcpserver.c remoteinfo.h
  19. tcpserver.c: In function ‘main’:
  20. tcpserver.c:415:30: warning: passing argument 2 of ‘getoptb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  21. 415 | while ((opt = getoptb(argc,argv,"146dDvqQhHrRUXx:y:t:u:g:l:b:B:c:I:pPoO")) != opteof) {
  22. | ^~~~
  23. In file included from tcpserver.c:22:
  24. /usr/local/include/getoptb.h:20:24: note: expected ‘char **’ but argument is of type ‘char * const*’
  25. 20 | extern int getoptb(int,char **,char *);
  26. | ^~~~~~~
  27. tcpserver.c:606:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  28. 606 | if (maxconip) ipchild_clear(remoteip); --numchildren;
  29. | ^~
  30. tcpserver.c:606:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  31. 606 | if (maxconip) ipchild_clear(remoteip); --numchildren;
  32. | ^~
  33. tcpserver.c:472:5: warning: ‘uint16_unpack_big’ accessing 16 bytes in a region of size 4 [-Wstringop-overflow=]
  34. 472 | uint16_unpack_big((char*)&se->s_port,&localport);
  35. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  36. tcpserver.c:472:5: note: referencing argument 1 of type ‘char[16]’
  37. In file included from tcpserver.c:5:
  38. /usr/local/include/uint_t.h:34:13: note: in a call to function ‘uint16_unpack_big’
  39. 34 | extern void uint16_unpack_big(char [16],uint16 *);
  40. | ^~~~~~~~~~~~~~~~~
  41. tcpserver.c:472:5: warning: ‘uint16_unpack_big’ accessing 16 bytes in a region of size 4 [-Wstringop-overflow=]
  42. 472 | uint16_unpack_big((char*)&se->s_port,&localport);
  43. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  44. tcpserver.c:472:5: note: referencing argument 1 of type ‘char[16]’
  45. /usr/local/include/uint_t.h:34:13: note: in a call to function ‘uint16_unpack_big’
  46. 34 | extern void uint16_unpack_big(char [16],uint16 *);
  47. | ^~~~~~~~~~~~~~~~~
  48. tcpserver.c:472:5: warning: ‘uint16_unpack_big’ accessing 16 bytes in a region of size 4 [-Wstringop-overflow=]
  49. 472 | uint16_unpack_big((char*)&se->s_port,&localport);
  50. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  51. tcpserver.c:472:5: note: referencing argument 1 of type ‘char[16]’
  52. /usr/local/include/uint_t.h:34:13: note: in a call to function ‘uint16_unpack_big’
  53. 34 | extern void uint16_unpack_big(char [16],uint16 *);
  54. | ^~~~~~~~~~~~~~~~~
  55. ./compile remoteinfo.c
  56. remoteinfo.c:97:35: warning: argument 2 of type ‘char[16]’ with mismatched bound [-Warray-parameter=]
  57. 97 | int remoteinfo(stralloc *out,char ipremote[16],uint16 portremote,char iplocal[16],uint16 portlocal,unsigned int timeout,uint32 netif)
  58. | ~~~~~^~~~~~~~~~~~
  59. In file included from remoteinfo.c:10:
  60. remoteinfo.h:7:34: note: previously declared as ‘char *’
  61. 7 | extern int remoteinfo(stralloc *,char *,uint16,char *,uint16,unsigned int,uint32);
  62. | ^~~~~~
  63. remoteinfo.c:97:71: warning: argument 4 of type ‘char[16]’ with mismatched bound [-Warray-parameter=]
  64. 97 | int remoteinfo(stralloc *out,char ipremote[16],uint16 portremote,char iplocal[16],uint16 portlocal,unsigned int timeout,uint32 netif)
  65. | ~~~~~^~~~~~~~~~~
  66. remoteinfo.h:7:48: note: previously declared as ‘char *’
  67. 7 | extern int remoteinfo(stralloc *,char *,uint16,char *,uint16,unsigned int,uint32);
  68. | ^~~~~~
  69. ./compile rules.c ip4_bit.c ip6_bit.c
  70. ( ( ./compile trylsock.c && \
  71. ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
  72. && echo -lsocket -lnsl || exit 0 ) > socket.lib
  73. rm -f trylsock.o trylsock
  74. ./load tcpserver rules.o remoteinfo.o ip4_bit.o ip6_bit.o \
  75. `cat socket.lib`
  76. ./compile tcprules.c
  77. ./load tcprules ip4_bit.o ip6_bit.o
  78. ./compile tcprulescheck.c
  79. ./load tcprulescheck rules.o ip4_bit.o ip6_bit.o
  80. ./compile argv0.c
  81. ./load argv0
  82. ./compile recordio.c
  83. ./load recordio
  84. ./compile tcpclient.c
  85. tcpclient.c: In function ‘main’:
  86. tcpclient.c:89:30: warning: passing argument 2 of ‘getoptb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  87. 89 | while ((opt = getoptb(argc,argv,"46dDvqQhHrRi:p:t:T:l:I:")) != opteof)
  88. | ^~~~
  89. In file included from tcpclient.c:7:
  90. /usr/local/include/getoptb.h:20:24: note: expected ‘char **’ but argument is of type ‘char * const*’
  91. 20 | extern int getoptb(int,char **,char *);
  92. | ^~~~~~~
  93. tcpclient.c:130:5: warning: ‘uint16_unpack_big’ accessing 16 bytes in a region of size 4 [-Wstringop-overflow=]
  94. 130 | uint16_unpack_big((char *)&se->s_port,&portremote);
  95. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  96. tcpclient.c:130:5: note: referencing argument 1 of type ‘char[16]’
  97. In file included from tcpclient.c:8:
  98. /usr/local/include/uint_t.h:34:13: note: in a call to function ‘uint16_unpack_big’
  99. 34 | extern void uint16_unpack_big(char [16],uint16 *);
  100. | ^~~~~~~~~~~~~~~~~
  101. tcpclient.c:130:5: warning: ‘uint16_unpack_big’ accessing 16 bytes in a region of size 4 [-Wstringop-overflow=]
  102. 130 | uint16_unpack_big((char *)&se->s_port,&portremote);
  103. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  104. tcpclient.c:130:5: note: referencing argument 1 of type ‘char[16]’
  105. /usr/local/include/uint_t.h:34:13: note: in a call to function ‘uint16_unpack_big’
  106. 34 | extern void uint16_unpack_big(char [16],uint16 *);
  107. | ^~~~~~~~~~~~~~~~~
  108. tcpclient.c:130:5: warning: ‘uint16_unpack_big’ accessing 16 bytes in a region of size 4 [-Wstringop-overflow=]
  109. 130 | uint16_unpack_big((char *)&se->s_port,&portremote);
  110. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  111. tcpclient.c:130:5: note: referencing argument 1 of type ‘char[16]’
  112. /usr/local/include/uint_t.h:34:13: note: in a call to function ‘uint16_unpack_big’
  113. 34 | extern void uint16_unpack_big(char [16],uint16 *);
  114. | ^~~~~~~~~~~~~~~~~
  115. ./load tcpclient remoteinfo.o `cat socket.lib`
  116. rm -f who@
  117. cat warn-auto.sh [email protected] \
  118. | sed s}HOME}"`head -1 ../conf-home`"}g \
  119. > who@
  120. chmod 755 who@
  121. rm -f date@
  122. cat warn-auto.sh [email protected] \
  123. | sed s}HOME}"`head -1 ../conf-home`"}g \
  124. > date@
  125. chmod 755 date@
  126. rm -f finger@
  127. cat warn-auto.sh [email protected] \
  128. | sed s}HOME}"`head -1 ../conf-home`"}g \
  129. > finger@
  130. chmod 755 finger@
  131. rm -f http@
  132. cat warn-auto.sh [email protected] \
  133. | sed s}HOME}"`head -1 ../conf-home`"}g \
  134. > http@
  135. chmod 755 http@
  136. rm -f tcpcat
  137. cat warn-auto.sh tcpcat.sh \
  138. | sed s}HOME}"`head -1 ../conf-home`"}g \
  139. > tcpcat
  140. chmod 755 tcpcat
  141. rm -f mconnect
  142. cat warn-auto.sh mconnect.sh \
  143. | sed s}HOME}"`head -1 ../conf-home`"}g \
  144. > mconnect
  145. chmod 755 mconnect
  146. ./compile mconnect-io.c
  147. ./load mconnect-io
  148. ./compile addcr.c
  149. ./load addcr
  150. ./compile delcr.c
  151. ./load delcr
  152. ./compile fixcrio.c
  153. ./load fixcrio
  154. ./compile rblsmtpd.c
  155. rblsmtpd.c: In function ‘main’:
  156. rblsmtpd.c:294:30: warning: passing argument 2 of ‘getoptb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  157. 294 | while ((opt = getoptb(argc,argv,"bBcCit:r:a:w:W")) != opteof)
  158. | ^~~~
  159. In file included from rblsmtpd.c:10:
  160. /usr/local/include/getoptb.h:20:24: note: expected ‘char **’ but argument is of type ‘char * const*’
  161. 20 | extern int getoptb(int,char **,char *);
  162. | ^~~~~~~
  163. rblsmtpd.c: At top level:
  164. rblsmtpd.c:101:17: warning: ‘cn’ defined but not used [-Wunused-variable]
  165. 101 | static stralloc cn; /* defined if lookup return CNAME */
  166. | ^~
  167. ./compile commands.c
  168. ./load rblsmtpd commands.o `cat socket.lib`
  169. ( cat warn-auto.sh; \
  170. echo CC=\'`head -1 ../conf-cc`\'; \
  171. echo LD=\'`head -1 ../conf-ld`\'; \
  172. cat find-systype.sh; \
  173. ) | sh > systype
  174. ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h
  175. ./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h
  176. ./compile chkshsgr.c
  177. ./load chkshsgr
  178. ./chkshsgr || ( cat warn-shsgr; exit 1 )
  179. ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h
  180. rm -f sysdeps
  181. cat systype compile load >> sysdeps
  182. grep sysdep hassgact.h >> sysdeps
  183. grep sysdep hassgprm.h >> sysdeps
  184. grep sysdep hasshsgr.h >> sysdeps
  185. package/upgrade: symlink ucspi-tcp6 -> ucspi-tcp6-1.13.04
  186. package/upgrade: linking command addcr into /usr/local/bin
  187. package/upgrade: linking command argv0 into /usr/local/bin
  188. package/upgrade: linking command delcr into /usr/local/bin
  189. package/upgrade: linking command fixcrio into /usr/local/bin
  190. package/upgrade: linking command mconnect into /usr/local/bin
  191. package/upgrade: linking command mconnect-io into /usr/local/bin
  192. package/upgrade: linking command rblsmtpd into /usr/local/bin
  193. package/upgrade: linking command recordio into /usr/local/bin
  194. package/upgrade: linking command tcpcat into /usr/local/bin
  195. package/upgrade: linking command tcpclient into /usr/local/bin
  196. package/upgrade: linking command tcprules into /usr/local/bin
  197. package/upgrade: linking command tcprulescheck into /usr/local/bin
  198. package/upgrade: linking command tcpserver into /usr/local/bin
  199. package/upgrade: linking command date@ into /usr/local/bin
  200. package/upgrade: linking command finger@ into /usr/local/bin
  201. package/upgrade: linking command http@ into /usr/local/bin
  202. package/upgrade: linking command who@ into /usr/local/bin
  203. package/man: Setting manual man-dir: /usr/share/man.
  204. nroff -man addcr.1 > addcr.0
  205. nroff -man argv0.1 > argv0.0
  206. nroff -man delcr.1 > delcr.0
  207. nroff -man fixcrio.1 > fixcrio.0
  208. nroff -man mconnect.1 > mconnect.0
  209. nroff -man rblsmtpd.1 > rblsmtpd.0
  210. troff: rblsmtpd.1:207: warning [p 2, 8.7i]: can't break line
  211. nroff -man recordio.1 > recordio.0
  212. nroff -man tcpcat.1 > tcpcat.0
  213. nroff -man tcpclient.1 > tcpclient.0
  214. nroff -man tcprules.1 > tcprules.0
  215. nroff -man tcprulescheck.1 > tcprulescheck.0
  216. nroff -man tcpserver.1 > tcpserver.0
  217. nroff -man tcp-environ.5 > tcp-environ.0
  218. package/man: Installing ucspi-tcp6 compressed man-files in /usr/share/man.
  219. package/man: Installing ucspi-tcp6 nroff'ed man-files in /usr/share/man/catX.
  220.  
Advertisement
Add Comment
Please, Sign In to add comment