<86>Apr 16 10:48:33 userdel[2917810]: delete user 'rooter' <86>Apr 16 10:48:33 userdel[2917810]: removed group 'rooter' owned by 'rooter' <86>Apr 16 10:48:33 userdel[2917810]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 16 10:48:33 groupadd[2917815]: group added to /etc/group: name=rooter, GID=603 <86>Apr 16 10:48:33 groupadd[2917815]: group added to /etc/gshadow: name=rooter <86>Apr 16 10:48:33 groupadd[2917815]: new group: name=rooter, GID=603 <86>Apr 16 10:48:33 useradd[2917819]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Apr 16 10:48:33 userdel[2917826]: delete user 'builder' <86>Apr 16 10:48:33 userdel[2917826]: removed group 'builder' owned by 'builder' <86>Apr 16 10:48:33 userdel[2917826]: removed shadow group 'builder' owned by 'builder' <86>Apr 16 10:48:33 groupadd[2917831]: group added to /etc/group: name=builder, GID=604 <86>Apr 16 10:48:33 groupadd[2917831]: group added to /etc/gshadow: name=builder <86>Apr 16 10:48:33 groupadd[2917831]: new group: name=builder, GID=604 <86>Apr 16 10:48:33 useradd[2917835]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/3proxy-0.6.1-alt1.qa1.src.rpm: The use of such a license name is ambiguous: GPL <13>Apr 16 10:48:36 rpmi: libcap-devel-1:2.27.0.2.ac1e-alt1 sisyphus+233714.100.1.1 1562187925 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/3proxy-0.6.1-alt1.qa1.nosrc.rpm Installing 3proxy-0.6.1-alt1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.48248 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf 3proxy-0.6.1 + echo 'Source #0 (3proxy-0.6.1.tar):' Source #0 (3proxy-0.6.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/3proxy-0.6.1.tar + cd 3proxy-0.6.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (3proxy-0.6.1-alt-droproot.patch):' Patch #1 (3proxy-0.6.1-alt-droproot.patch): + /usr/bin/patch -p1 patching file Makefile.Linux patching file Makefile.unix patching file src/3proxy.c patching file src/proxy.h patching file src/proxymain.c + echo 'Patch #2 (3proxy-0.6.1-alt-changes.patch):' Patch #2 (3proxy-0.6.1-alt-changes.patch): + /usr/bin/patch -p1 patching file src/3proxy.c patching file src/stringtable.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.27114 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd 3proxy-0.6.1 + make -j8 -f Makefile.Linux make: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1' cat Makefile.Linux > src/Makefile.var make: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' cd .. && cat copying 3proxy 0.6 Public License Agreement (c) 2000-2009 by 3APA3A (3APA3A@security.nnov.ru) (c) 2000-2009 by SecurityVulns.com (http://3proxy.ru/) (c) 2000-2009 by Vladimir Dubrovin (vlad@sandy.ru) This software uses: RSA Data Security, Inc. MD4 Message-Digest Algorithm RSA Data Security, Inc. MD5 Message-Digest Algorithm THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This software is FREEWARE. Redistribution and use in source and binary forms, with or without modification, are permitted provided that following conditions are met (BSD style license): * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the SecurityVulns.COM nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. Insted of this license, you can also use and redistribute this software under terms of compatible license, including: 1. Apache License, Version 2.0 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 2. GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. You may obtain a copy of the License at http://www.gnu.org/licenses/gpl.txt 3. GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. You may obtain a copy of the License at http://www.gnu.org/licenses/lgpl.txt $Id: License,v 1.3 2007/04/05 11:59:47 vlad Exp $ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvsmtpp.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL smtpp.c smtpp.c: In function 'smtppchild': smtpp.c:44:22: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 44 | command = mystrdup(buf); | ^~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ smtpp.c:51:27: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 51 | socksend(param->clisock, "334 VXNlcm5hbWU6\r\n", 18,conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:58:20: warning: pointer targets in passing argument 1 of 'parseconnusername' differ in signedness [-Wpointer-sign] 58 | parseconnusername(username, param, 0, 25); | ^~~~~~~~ | | | unsigned char * In file included from smtpp.c:10: proxy.h:227:29: note: expected 'char *' but argument is of type 'unsigned char *' 227 | int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); | ~~~~~~^~~~~~~~ smtpp.c:59:27: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 59 | socksend(param->clisock, "334 UGFzc3dvcmQ6\r\n", 18,conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:67:32: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 67 | param->extpassword = mystrdup(username); | ^~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ smtpp.c:67:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 67 | param->extpassword = mystrdup(username); | ^ smtpp.c:75:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 75 | socksend(param->clisock, "334\r\n", 5,conf.timeouts[STRING_S]); | ^~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:83:28: warning: pointer targets in passing argument 1 of 'parseconnusername' differ in signedness [-Wpointer-sign] 83 | parseconnusername(username+1, param, 0, 25); | ~~~~~~~~^~ | | | unsigned char * In file included from smtpp.c:10: proxy.h:227:29: note: expected 'char *' but argument is of type 'unsigned char *' 227 | int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); | ~~~~~~^~~~~~~~ smtpp.c:84:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 84 | res = (int)strlen(username+1) + 2; | ~~~~~~~~^~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:87:42: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 87 | param->extpassword = mystrdup(username + res); | ~~~~~~~~~^~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ smtpp.c:87:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 87 | param->extpassword = mystrdup(username + res); | ^ smtpp.c:101:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 101 | i = sprintf(buf, "EHLO [%lu.%lu.%lu.%lu]\r\n", ((ul&0xFF000000)>>24), ((ul&0x00FF0000)>>16), ((ul&0x0000FF00)>>8), ((ul&0x000000FF))); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from proxy.h:19, from smtpp.c:10: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ smtpp.c:117:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 117 | socksend(param->clisock, "235 \r\n", 6,conf.timeouts[STRING_S]); | ^~~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:120:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 120 | socksend(param->remsock, "AUTH LOGIN\r\n", 12, conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:125:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 125 | en64(param->extusername, buf, (int)strlen(param->extusername)); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:126:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 126 | socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); | ^~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:127:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 127 | socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); | ^~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:132:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 132 | en64(param->extpassword, buf, (int)strlen(param->extpassword)); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:133:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 133 | socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); | ^~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:134:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 134 | socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); | ^~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:139:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 139 | socksend(param->remsock, "AUTH PLAIN\r\n", 12, conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:145:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 145 | i = (int)strlen(param->extusername) + 1; | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:148:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 148 | res = (int)strlen(param->extpassword); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:152:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 152 | i = (int)strlen(buf); | ^~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:154:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 154 | socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); | ^~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:160:27: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 160 | socksend(param->remsock, command, (int)strlen(command), conf.timeouts[STRING_S]); | ^~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvtcppm.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL tcppm.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvpop3p.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pop3p.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o mainfunc.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DMODULEMAINFUNC=mainfunc proxymain.c proxymain.c: In function 'mainfunc': proxymain.c:405:57: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from proxymain.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ proxymain.c:405:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ^ In file included from proxymain.c:10: proxy.h:94:21: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ proxymain.c:117:19: note: in expansion of macro 'daemonize' 117 | if(!conf.demon)daemonize(); | ^~~~~~~~~ proxymain.c: In function 'drop_root': proxymain.c:499:6: warning: 'gid' may be used uninitialized in this function [-Wmaybe-uninitialized] 499 | if(initgroups(username, gid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvmsnpr.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL msnpr.c msnpr.c: In function 'msn_srv': msnpr.c:46:6: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 46 | sp1 = data + 3; | ^ msnpr.c:62:33: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 62 | cookie->userid = mystrdup(param->username); | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ msnpr.c:62:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 62 | cookie->userid = mystrdup(param->username); | ^ msnpr.c:69:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 69 | strcpy(tmpbuf, data); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from proxy.h:19, from msnpr.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ msnpr.c: In function 'msnprchild': msnpr.c:125:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 125 | if(!(sp1 = strchr(buf, ' ')) || !(sp2 = strchr(sp1 + 1, ' ')) || !(sp3 = strchr(sp2 + 1, ' ')) || ((int)(sp3-sp2)) < 6) RETURN(1202); | ^~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | extern char *strchr (const char *__s, int __c) | ^~~~~~ msnpr.c:137:20: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 137 | verstr = mystrdup(buf); | ^~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ msnpr.c:144:71: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] 144 | if(buf[0] != 'C' || buf[1] != 'V' || buf[2] != 'R' || !(sp1=strrchr(buf,' ')) || (len = (int)strlen(sp1+1)) < 3) RETURN(1206); | ^~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' 252 | extern char *strrchr (const char *__s, int __c) | ^~~~~~~ msnpr.c:153:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 153 | if(!strcmp(param->username, cookie->userid)){ | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ msnpr.c:153:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 153 | if(!strcmp(param->username, cookie->userid)){ | ~~~~~~^~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ msnpr.c:174:30: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 174 | if(socksend(param->remsock, verstr, len, conf.timeouts[STRING_S])!= len) {RETURN (1207);} | ^~~~~~ | | | char * In file included from msnpr.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ msnpr.c:179:20: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 179 | verstr = mystrdup(buf); | ^~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ msnpr.c:185:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 185 | strcpy(buf, verstr); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from proxy.h:19, from msnpr.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ msnpr.c:188:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 188 | len = (int)strlen(buf); | ^~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ msnpr.c:105:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] 105 | int id; | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL sockgetchar.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvftppr.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ftppr.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvudppm.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL udppm.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL myalloc.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvsocks.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL socks.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL 3proxy.c 3proxy.c: In function 'h_nolog': 3proxy.c:1115:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1115 | if(!strcmp(argv[0],"nolog")) acl->nolog = 1; | ~~~~^~~ | | | unsigned char * In file included from proxy.h:21, from 3proxy.c:10: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 3proxy.c: In function 'main': 3proxy.c:1952:47: warning: pointer type mismatch in conditional expression 1952 | conf.conffile = opt_conffile ? opt_conffile : DEFAULTCONFIG; | ^ 3proxy.c: In function 'dumpcounters': 3proxy.c:475:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 475 | write(counterd, &cheader, sizeof(struct counter_header)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3proxy.c:485:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 485 | write(counterd, &crecord, sizeof(struct counter_record)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3proxy.c: In function 'cyclestep': 3proxy.c:583:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] 583 | system((char *)tmpbuf+1); | ^~~~~~~~~~~~~~~~~~~~~~~~ 3proxy.c: In function 'h_ace': 3proxy.c:1536:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 1536 | read(conf.counterd, &crecord, sizeof(struct counter_record)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from 3proxy.c:10: 3proxy.c: In function 'main': proxy.h:94:21: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ 3proxy.c:2036:5: note: in expansion of macro 'daemonize' 2036 | daemonize(); | ^~~~~~~~~ At top level: 3proxy.c:1646:12: warning: 'h_chroot' defined but not used [-Wunused-function] 1646 | static int h_chroot(int argc, unsigned char **argv){ | ^~~~~~~~ 3proxy.c:1634:12: warning: 'h_setgid' defined but not used [-Wunused-function] 1634 | static int h_setgid(int argc, unsigned char **argv){ | ^~~~~~~~ 3proxy.c:1624:12: warning: 'h_setuid' defined but not used [-Wunused-function] 1624 | static int h_setuid(int argc, unsigned char **argv){ | ^~~~~~~~ 3proxy.c:1021:12: warning: 'h_pidfile' defined but not used [-Wunused-function] 1021 | static int h_pidfile(int argc, unsigned char **argv){ | ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL sockmap.c sockmap.c: In function 'sockmap': sockmap.c:49:52: warning: pointer targets in passing argument 3 of 'handledatfltcli' differ in signedness [-Wpointer-sign] 49 | action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->clioffset, ¶m->cliinbuf); | ^~~~~~~~~~~~~~~~~~ | | | unsigned int * In file included from sockmap.c:10: proxy.h:243:88: note: expected 'int *' but argument is of type 'unsigned int *' 243 | FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~~ sockmap.c:49:90: warning: pointer targets in passing argument 5 of 'handledatfltcli' differ in signedness [-Wpointer-sign] 49 | action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->clioffset, ¶m->cliinbuf); | ^~~~~~~~~~~~~~~~ | | | unsigned int * In file included from sockmap.c:10: proxy.h:243:117: note: expected 'int *' but argument is of type 'unsigned int *' 243 | FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~ sockmap.c:56:52: warning: pointer targets in passing argument 3 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] 56 | action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvoffset, ¶m->srvinbuf); | ^~~~~~~~~~~~~~~~~~ | | | unsigned int * In file included from sockmap.c:10: proxy.h:244:88: note: expected 'int *' but argument is of type 'unsigned int *' 244 | FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~~ sockmap.c:56:90: warning: pointer targets in passing argument 5 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] 56 | action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvoffset, ¶m->srvinbuf); | ^~~~~~~~~~~~~~~~ | | | unsigned int * In file included from sockmap.c:10: proxy.h:244:117: note: expected 'int *' but argument is of type 'unsigned int *' 244 | FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~ sockmap.c:183:54: warning: pointer targets in passing argument 3 of 'handledatfltcli' differ in signedness [-Wpointer-sign] 183 | action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->cliinbuf - res, ¶m->cliinbuf); | ^~~~~~~~~~~~~~~~~~ | | | unsigned int * In file included from sockmap.c:10: proxy.h:243:88: note: expected 'int *' but argument is of type 'unsigned int *' 243 | FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~~ sockmap.c:183:97: warning: pointer targets in passing argument 5 of 'handledatfltcli' differ in signedness [-Wpointer-sign] 183 | action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->cliinbuf - res, ¶m->cliinbuf); | ^~~~~~~~~~~~~~~~ | | | unsigned int * In file included from sockmap.c:10: proxy.h:243:117: note: expected 'int *' but argument is of type 'unsigned int *' 243 | FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~ sockmap.c:215:54: warning: pointer targets in passing argument 3 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] 215 | action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvinbuf - res, ¶m->srvinbuf); | ^~~~~~~~~~~~~~~~~~ | | | unsigned int * In file included from sockmap.c:10: proxy.h:244:88: note: expected 'int *' but argument is of type 'unsigned int *' 244 | FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~~ sockmap.c:215:97: warning: pointer targets in passing argument 5 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] 215 | action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvinbuf - res, ¶m->srvinbuf); | ^~~~~~~~~~~~~~~~ | | | unsigned int * In file included from sockmap.c:10: proxy.h:244:117: note: expected 'int *' but argument is of type 'unsigned int *' 244 | FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o md4.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/md4.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvicqpr.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL icqpr.c icqpr.c: In function 'searchcookie': icqpr.c:132:58: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 132 | for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from icqpr.c:10: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ icqpr.c:136:26: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 136 | ic->id = mystrdup(param->username); | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from icqpr.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ icqpr.c: In function 'icq_srv': icqpr.c:206:55: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] 206 | if(!state->leftinstate)param->srv->logfunc(param, "Warning: need resync"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * icqpr.c:206:55: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:209:33: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] 209 | param->srv->logfunc(param, "Out of Sync"); | ^~~~~~~~~~~~~ | | | char * icqpr.c:209:33: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:218:32: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] 218 | param->srv->logfunc(param, "Warning: Wrong channel"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * icqpr.c:218:32: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:241:33: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] 241 | param->srv->logfunc(param, smallbuf); | ^~~~~~~~ | | | char * icqpr.c:241:33: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:247:32: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] 247 | param->srv->logfunc(param, smallbuf); | ^~~~~~~~ | | | char * icqpr.c:247:32: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c: In function 'readflap': icqpr.c:342:43: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] 342 | i = sockgetlinebuf(param, direction, flap->data, len, EOF, conf.timeouts[STRING_S]); | ~~~~^~~~~~ | | | char * In file included from icqpr.c:10: proxy.h:153:81: note: expected 'unsigned char *' but argument is of type 'char *' 153 | int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); | ~~~~~~~~~~~~~~~~^~~ icqpr.c: In function 'icqprchild': icqpr.c:421:52: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 421 | if(!param->username && ic->id) param->username = mystrdup(ic->id); | ^ At top level: icqpr.c:17:13: warning: 'hexdump' defined but not used [-Wunused-function] 17 | static void hexdump(unsigned char *data, int len){ | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o mycrypt.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL mycrypt.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL base64.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o datatypes.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL datatypes.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o ntlm.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ntlm.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o stringtable.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL stringtable.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o md5.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/md5.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o auth.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL auth.c auth.c: In function 'ACLmatches': auth.c:375:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 375 | for(ipentry = acentry->src; ipentry; ipentry = ipentry->next) | ^~~ auth.c:379:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 379 | if(!ipentry) return 0; | ^~ auth.c:395:21: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 395 | if(strstr(param->hostname, hstentry->name)) match = 1; | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ auth.c:395:41: warning: pointer targets in passing argument 2 of 'strstr' differ in signedness [-Wpointer-sign] 395 | if(strstr(param->hostname, hstentry->name)) match = 1; | ~~~~~~~~^~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ auth.c:399:21: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 399 | if(strstr(param->hostname, hstentry->name) == (char *)param->hostname) match = 1; | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ auth.c:399:41: warning: pointer targets in passing argument 2 of 'strstr' differ in signedness [-Wpointer-sign] 399 | if(strstr(param->hostname, hstentry->name) == (char *)param->hostname) match = 1; | ~~~~~~~~^~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ auth.c:403:21: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 403 | if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ auth.c:403:41: warning: pointer targets in passing argument 2 of 'strstr' differ in signedness [-Wpointer-sign] 403 | if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; | ~~~~~~~~^~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ auth.c:403:99: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 403 | if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; | ~~~~~~~~^~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ auth.c:407:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 407 | if(!strcmp(param->hostname, hstentry->name)) match = 1; | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth.c:407:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 407 | if(!strcmp(param->hostname, hstentry->name)) match = 1; | ~~~~~~~~^~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth.c:417:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 417 | for (portentry = acentry->ports; portentry; portentry = portentry->next) | ^~~ auth.c:422:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 422 | if(!portentry) return 0; | ^~ auth.c:429:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 429 | for(periodentry = acentry->periods; periodentry; periodentry = periodentry -> next) | ^~~ auth.c:433:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 433 | if(!periodentry) return 0; | ^~ auth.c: In function 'cacheauth': auth.c:688:99: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 688 | if(((!(conf.authcachetype&2)) || (param->username && ac->username && !strcmp(ac->username, param->username))) && | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth.c:690:97: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 690 | (!(conf.authcachetype&4) || (ac->password && param->password && !strcmp(ac->password, param->password)))) { | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth.c:694:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 694 | param->username = mystrdup(ac->username); | ^ auth.c: In function 'doauth': auth.c:721:64: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 721 | if((!(conf.authcachetype&2) || !strcmp(ac->username, param->username)) && | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth.c:723:81: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 723 | (!(conf.authcachetype&4) || (ac->password && !strcmp(ac->password, param->password)))) { | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth.c:725:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 725 | if(strcmp(ac->username, param->username)){ | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth.c:727:37: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 727 | ac->username = mystrdup(param->username); | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ auth.c:732:37: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 732 | ac->password = mystrdup(param->password); | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ auth.c:743:36: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 743 | ac->username = mystrdup(param->username); | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ auth.c:746:82: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 746 | if((conf.authcachetype&4) && param->password) ac->password = mystrdup(param->password); | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from auth.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL common.c common.c: In function 'getip': common.c:608:27: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] 608 | if(conf.demanddialprog) system(conf.demanddialprog); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ common.c:620:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] 620 | system(conf.demanddialprog); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o smbdes.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/smbdes.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL plugins.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o dighosts.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL dighosts.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ftp.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvproxy.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL proxy.c proxy.c: In function 'proxychild': proxy.c:320:17: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 320 | su = mystrdup(sb); | ^~ | | | unsigned char * In file included from proxy.h:21, from proxy.c:11: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ proxy.c:320:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 320 | su = mystrdup(sb); | ^ proxy.c:474:10: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 474 | sscanf(sb, "%lu",&contentlength); | ^~ | | | unsigned char * In file included from proxy.h:19, from proxy.c:11: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ proxy.c:492:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 492 | reqsize = (int)strlen(req); | ^~~ | | | unsigned char * In file included from proxy.h:21, from proxy.c:11: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ proxy.c:511:51: warning: pointer targets in passing argument 3 of 'handledatfltcli' differ in signedness [-Wpointer-sign] 511 | action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, 0, ¶m->cliinbuf); | ^~~~~~~~~~~~~~~~~~ | | | unsigned int * In file included from proxy.c:11: proxy.h:243:88: note: expected 'int *' but argument is of type 'unsigned int *' 243 | FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~~ proxy.c:511:74: warning: pointer targets in passing argument 5 of 'handledatfltcli' differ in signedness [-Wpointer-sign] 511 | action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, 0, ¶m->cliinbuf); | ^~~~~~~~~~~~~~~~ | | | unsigned int * In file included from proxy.c:11: proxy.h:243:117: note: expected 'int *' but argument is of type 'unsigned int *' 243 | FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~ proxy.c:624:8: warning: variable 'spaces' set but not used [-Wunused-but-set-variable] 624 | int spaces = 1; | ^~~~~~ proxy.c:795:42: warning: operation on 'res' may be undefined [-Wsequence-point] 795 | if(socksend(param->remsock, req , (res = (int)strlen((char *)req)), conf.timeouts[STRING_L]) != res) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ proxy.c:880:10: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 880 | sscanf(sb, "%lu", &contentlength); | ^~ | | | unsigned char * In file included from proxy.h:19, from proxy.c:11: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ proxy.c:893:19: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 893 | if(!strncasecmp(sb, "chunked", 7)){ | ^~ | | | unsigned char * In file included from /usr/include/string.h:431, from proxy.h:21, from proxy.c:11: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ proxy.c:940:51: warning: pointer targets in passing argument 3 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] 940 | action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, 0, ¶m->srvinbuf); | ^~~~~~~~~~~~~~~~~~ | | | unsigned int * In file included from proxy.c:11: proxy.h:244:88: note: expected 'int *' but argument is of type 'unsigned int *' 244 | FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~~ proxy.c:940:74: warning: pointer targets in passing argument 5 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] 940 | action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, 0, ¶m->srvinbuf); | ^~~~~~~~~~~~~~~~ | | | unsigned int * In file included from proxy.c:11: proxy.h:244:117: note: expected 'int *' but argument is of type 'unsigned int *' 244 | FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~ proxy.c:970:46: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] 970 | while ((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) == 2) { | ^~~~~~~~ | | | char * In file included from proxy.c:11: proxy.h:153:81: note: expected 'unsigned char *' but argument is of type 'char *' 153 | int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:972:34: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 972 | if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ | ^~~~~~~~ | | | char * In file included from proxy.c:11: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:981:33: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 981 | if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ | ^~~~~~~~ | | | char * In file included from proxy.c:11: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:985:43: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] 985 | if((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) != 2) RETURN(534); | ^~~~~~~~ | | | char * In file included from proxy.c:11: proxy.h:153:81: note: expected 'unsigned char *' but argument is of type 'char *' 153 | int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:986:34: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 986 | if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ | ^~~~~~~~ | | | char * In file included from proxy.c:11: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:1022:16: warning: pointer targets in passing argument 2 of 'logurl' differ in signedness [-Wpointer-sign] 1022 | logurl(param, buf, (char *)req, ftp); | ^~~ | | | unsigned char * proxy.c:133:55: note: expected 'char *' but argument is of type 'unsigned char *' 133 | static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ | ~~~~~~~^~~ proxy.c:1065:16: warning: pointer targets in passing argument 2 of 'logurl' differ in signedness [-Wpointer-sign] 1065 | logurl(param, buf, (char *)req, ftp); | ^~~ | | | unsigned char * proxy.c:133:55: note: expected 'char *' but argument is of type 'unsigned char *' 133 | static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ | ~~~~~~~^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP pop3p.c In file included from pop3p.c:72: proxymain.c: In function 'main': proxymain.c:49:2: warning: statement with no effect [-Wunused-value] 49 | " -d go to background (daemon)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pop3p.c:72: proxymain.c:405:57: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from pop3p.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ In file included from pop3p.c:72: proxymain.c:405:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ^ In file included from pop3p.c:10: proxy.h:94:21: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ proxymain.c:117:19: note: in expansion of macro 'daemonize' 117 | if(!conf.demon)daemonize(); | ^~~~~~~~~ In file included from pop3p.c:72: proxymain.c: In function 'drop_root': proxymain.c:499:6: warning: 'gid' may be used uninitialized in this function [-Wmaybe-uninitialized] 499 | if(initgroups(username, gid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o mycryptmain.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN mycrypt.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvdnspr.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL dnspr.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP tcppm.c In file included from tcppm.c:40: proxymain.c: In function 'main': proxymain.c:49:2: warning: statement with no effect [-Wunused-value] 49 | " -d go to background (daemon)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tcppm.c:40: proxymain.c:405:57: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from tcppm.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ In file included from tcppm.c:40: proxymain.c:405:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ^ In file included from tcppm.c:10: proxy.h:94:21: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ proxymain.c:117:19: note: in expansion of macro 'daemonize' 117 | if(!conf.demon)daemonize(); | ^~~~~~~~~ In file included from tcppm.c:40: proxymain.c: In function 'drop_root': proxymain.c:499:6: warning: 'gid' may be used uninitialized in this function [-Wmaybe-uninitialized] 499 | if(initgroups(username, gid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP smtpp.c smtpp.c: In function 'smtppchild': smtpp.c:44:22: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 44 | command = mystrdup(buf); | ^~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ smtpp.c:51:27: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 51 | socksend(param->clisock, "334 VXNlcm5hbWU6\r\n", 18,conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:58:20: warning: pointer targets in passing argument 1 of 'parseconnusername' differ in signedness [-Wpointer-sign] 58 | parseconnusername(username, param, 0, 25); | ^~~~~~~~ | | | unsigned char * In file included from smtpp.c:10: proxy.h:227:29: note: expected 'char *' but argument is of type 'unsigned char *' 227 | int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); | ~~~~~~^~~~~~~~ smtpp.c:59:27: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 59 | socksend(param->clisock, "334 UGFzc3dvcmQ6\r\n", 18,conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:67:32: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 67 | param->extpassword = mystrdup(username); | ^~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ smtpp.c:67:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 67 | param->extpassword = mystrdup(username); | ^ smtpp.c:75:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 75 | socksend(param->clisock, "334\r\n", 5,conf.timeouts[STRING_S]); | ^~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:83:28: warning: pointer targets in passing argument 1 of 'parseconnusername' differ in signedness [-Wpointer-sign] 83 | parseconnusername(username+1, param, 0, 25); | ~~~~~~~~^~ | | | unsigned char * In file included from smtpp.c:10: proxy.h:227:29: note: expected 'char *' but argument is of type 'unsigned char *' 227 | int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); | ~~~~~~^~~~~~~~ smtpp.c:84:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 84 | res = (int)strlen(username+1) + 2; | ~~~~~~~~^~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:87:42: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 87 | param->extpassword = mystrdup(username + res); | ~~~~~~~~~^~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ smtpp.c:87:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 87 | param->extpassword = mystrdup(username + res); | ^ smtpp.c:101:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 101 | i = sprintf(buf, "EHLO [%lu.%lu.%lu.%lu]\r\n", ((ul&0xFF000000)>>24), ((ul&0x00FF0000)>>16), ((ul&0x0000FF00)>>8), ((ul&0x000000FF))); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from proxy.h:19, from smtpp.c:10: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ smtpp.c:117:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 117 | socksend(param->clisock, "235 \r\n", 6,conf.timeouts[STRING_S]); | ^~~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:120:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 120 | socksend(param->remsock, "AUTH LOGIN\r\n", 12, conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:125:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 125 | en64(param->extusername, buf, (int)strlen(param->extusername)); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:126:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 126 | socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); | ^~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:127:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 127 | socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); | ^~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:132:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 132 | en64(param->extpassword, buf, (int)strlen(param->extpassword)); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:133:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 133 | socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); | ^~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:134:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 134 | socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); | ^~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:139:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 139 | socksend(param->remsock, "AUTH PLAIN\r\n", 12, conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:145:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 145 | i = (int)strlen(param->extusername) + 1; | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:148:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 148 | res = (int)strlen(param->extpassword); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:152:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 152 | i = (int)strlen(buf); | ^~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:154:28: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 154 | socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); | ^~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:160:27: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 160 | socksend(param->remsock, command, (int)strlen(command), conf.timeouts[STRING_S]); | ^~~~~~~ | | | char * In file included from smtpp.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ In file included from smtpp.c:187: proxymain.c: In function 'main': proxymain.c:49:2: warning: statement with no effect [-Wunused-value] 49 | " -d go to background (daemon)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from smtpp.c:187: proxymain.c:405:57: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ In file included from smtpp.c:187: proxymain.c:405:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ^ In file included from smtpp.c:10: proxy.h:94:21: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ proxymain.c:117:19: note: in expansion of macro 'daemonize' 117 | if(!conf.demon)daemonize(); | ^~~~~~~~~ In file included from smtpp.c:187: proxymain.c: In function 'drop_root': proxymain.c:499:6: warning: 'gid' may be used uninitialized in this function [-Wmaybe-uninitialized] 499 | if(initgroups(username, gid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP ftppr.c In file included from ftppr.c:267: proxymain.c: In function 'main': proxymain.c:49:2: warning: statement with no effect [-Wunused-value] 49 | " -d go to background (daemon)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ftppr.c:267: proxymain.c:405:57: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from ftppr.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ In file included from ftppr.c:267: proxymain.c:405:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ^ In file included from ftppr.c:10: proxy.h:94:21: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ proxymain.c:117:19: note: in expansion of macro 'daemonize' 117 | if(!conf.demon)daemonize(); | ^~~~~~~~~ In file included from ftppr.c:267: proxymain.c: In function 'drop_root': proxymain.c:499:6: warning: 'gid' may be used uninitialized in this function [-Wmaybe-uninitialized] 499 | if(initgroups(username, gid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o countersutil.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL countersutil.c countersutil.c: In function 'main': countersutil.c:125:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 125 | write(bin, &cheader, sizeof(cheader)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ countersutil.c:136:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 136 | write(bin, &crecord, sizeof(crecord)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o mycrypt -Wall -O2 -pthread md4.o md5.o base64.o mycryptmain.o make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o dighosts -Wall -O2 -pthread dighosts.o myalloc.o common.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o pop3p -Wall -O2 -pthread sockmap.o pop3p.o sockgetchar.o myalloc.o common.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o smtpp -Wall -O2 -pthread sockmap.o smtpp.o sockgetchar.o base64.o myalloc.o common.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o ftppr -Wall -O2 -pthread sockmap.o ftppr.o sockgetchar.o myalloc.o common.o ftp.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o tcppm -Wall -O2 -pthread sockmap.o sockgetchar.o tcppm.o myalloc.o common.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP socks.c In file included from socks.c:420: proxymain.c: In function 'main': proxymain.c:49:2: warning: statement with no effect [-Wunused-value] 49 | " -d go to background (daemon)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from socks.c:420: proxymain.c:405:57: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from socks.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ In file included from socks.c:420: proxymain.c:405:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ^ In file included from socks.c:10: proxy.h:94:21: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ proxymain.c:117:19: note: in expansion of macro 'daemonize' 117 | if(!conf.demon)daemonize(); | ^~~~~~~~~ In file included from socks.c:420: proxymain.c: In function 'drop_root': proxymain.c:499:6: warning: 'gid' may be used uninitialized in this function [-Wmaybe-uninitialized] 499 | if(initgroups(username, gid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o socks -Wall -O2 -pthread sockmap.o socks.o sockgetchar.o myalloc.o common.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o countersutil -Wall -O2 -pthread countersutil.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvwebadmin.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL webadmin.c webadmin.c: In function 'adminchild': webadmin.c:557:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 557 | ftruncate(fileno(writable), ftell(writable)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o 3proxy -Wall -O2 -pthread 3proxy.o mainfunc.o auth.o datatypes.o srvproxy.o srvpop3p.o srvsmtpp.o srvftppr.o srvsocks.o srvtcppm.o srvicqpr.o srvmsnpr.o srvudppm.o sockmap.o sockgetchar.o myalloc.o common.o mycrypt.o md5.o md4.o base64.o ftp.o smbdes.o ntlm.o stringtable.o srvwebadmin.o srvdnspr.o plugins.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP udppm.c In file included from udppm.c:103: proxymain.c: In function 'main': proxymain.c:49:2: warning: statement with no effect [-Wunused-value] 49 | " -d go to background (daemon)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from udppm.c:103: proxymain.c:405:57: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from udppm.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ In file included from udppm.c:103: proxymain.c:405:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ^ In file included from udppm.c:10: proxy.h:94:21: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ proxymain.c:117:19: note: in expansion of macro 'daemonize' 117 | if(!conf.demon)daemonize(); | ^~~~~~~~~ In file included from udppm.c:103: proxymain.c: In function 'drop_root': proxymain.c:499:6: warning: 'gid' may be used uninitialized in this function [-Wmaybe-uninitialized] 499 | if(initgroups(username, gid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP msnpr.c msnpr.c: In function 'msn_srv': msnpr.c:46:6: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 46 | sp1 = data + 3; | ^ msnpr.c:62:33: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 62 | cookie->userid = mystrdup(param->username); | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ msnpr.c:62:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 62 | cookie->userid = mystrdup(param->username); | ^ msnpr.c:69:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 69 | strcpy(tmpbuf, data); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from proxy.h:19, from msnpr.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ msnpr.c: In function 'msnprchild': msnpr.c:125:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 125 | if(!(sp1 = strchr(buf, ' ')) || !(sp2 = strchr(sp1 + 1, ' ')) || !(sp3 = strchr(sp2 + 1, ' ')) || ((int)(sp3-sp2)) < 6) RETURN(1202); | ^~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | extern char *strchr (const char *__s, int __c) | ^~~~~~ msnpr.c:137:20: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 137 | verstr = mystrdup(buf); | ^~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ msnpr.c:144:71: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] 144 | if(buf[0] != 'C' || buf[1] != 'V' || buf[2] != 'R' || !(sp1=strrchr(buf,' ')) || (len = (int)strlen(sp1+1)) < 3) RETURN(1206); | ^~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' 252 | extern char *strrchr (const char *__s, int __c) | ^~~~~~~ msnpr.c:153:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 153 | if(!strcmp(param->username, cookie->userid)){ | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ msnpr.c:153:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 153 | if(!strcmp(param->username, cookie->userid)){ | ~~~~~~^~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ msnpr.c:174:30: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 174 | if(socksend(param->remsock, verstr, len, conf.timeouts[STRING_S])!= len) {RETURN (1207);} | ^~~~~~ | | | char * In file included from msnpr.c:10: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ msnpr.c:179:20: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 179 | verstr = mystrdup(buf); | ^~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ msnpr.c:185:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 185 | strcpy(buf, verstr); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from proxy.h:19, from msnpr.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ msnpr.c:188:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 188 | len = (int)strlen(buf); | ^~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ msnpr.c:105:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] 105 | int id; | ^~ In file included from msnpr.c:232: proxymain.c: In function 'main': proxymain.c:49:2: warning: statement with no effect [-Wunused-value] 49 | " -d go to background (daemon)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from msnpr.c:232: proxymain.c:405:57: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from msnpr.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ In file included from msnpr.c:232: proxymain.c:405:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ^ In file included from msnpr.c:10: proxy.h:94:21: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ proxymain.c:117:19: note: in expansion of macro 'daemonize' 117 | if(!conf.demon)daemonize(); | ^~~~~~~~~ In file included from msnpr.c:232: proxymain.c: In function 'drop_root': proxymain.c:499:6: warning: 'gid' may be used uninitialized in this function [-Wmaybe-uninitialized] 499 | if(initgroups(username, gid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o msnpr -Wall -O2 -pthread sockmap.o sockgetchar.o msnpr.o myalloc.o common.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o udppm -Wall -O2 -pthread sockmap.o sockgetchar.o udppm.o myalloc.o common.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP icqpr.c icqpr.c: In function 'searchcookie': icqpr.c:132:58: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 132 | for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from icqpr.c:10: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ icqpr.c:136:26: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 136 | ic->id = mystrdup(param->username); | ~~~~~^~~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from icqpr.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ icqpr.c: In function 'icq_srv': icqpr.c:206:55: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] 206 | if(!state->leftinstate)param->srv->logfunc(param, "Warning: need resync"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * icqpr.c:206:55: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:209:33: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] 209 | param->srv->logfunc(param, "Out of Sync"); | ^~~~~~~~~~~~~ | | | char * icqpr.c:209:33: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:218:32: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] 218 | param->srv->logfunc(param, "Warning: Wrong channel"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * icqpr.c:218:32: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:241:33: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] 241 | param->srv->logfunc(param, smallbuf); | ^~~~~~~~ | | | char * icqpr.c:241:33: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c:247:32: warning: pointer targets in passing argument 2 of 'param->srv->logfunc' differ in signedness [-Wpointer-sign] 247 | param->srv->logfunc(param, smallbuf); | ^~~~~~~~ | | | char * icqpr.c:247:32: note: expected 'const unsigned char *' but argument is of type 'char *' icqpr.c: In function 'readflap': icqpr.c:342:43: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] 342 | i = sockgetlinebuf(param, direction, flap->data, len, EOF, conf.timeouts[STRING_S]); | ~~~~^~~~~~ | | | char * In file included from icqpr.c:10: proxy.h:153:81: note: expected 'unsigned char *' but argument is of type 'char *' 153 | int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); | ~~~~~~~~~~~~~~~~^~~ icqpr.c: In function 'icqprchild': icqpr.c:421:52: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 421 | if(!param->username && ic->id) param->username = mystrdup(ic->id); | ^ In file included from icqpr.c:531: proxymain.c: In function 'main': proxymain.c:49:2: warning: statement with no effect [-Wunused-value] 49 | " -d go to background (daemon)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from icqpr.c:531: proxymain.c:405:57: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from icqpr.c:10: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ In file included from icqpr.c:531: proxymain.c:405:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ^ In file included from icqpr.c:10: proxy.h:94:21: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ proxymain.c:117:19: note: in expansion of macro 'daemonize' 117 | if(!conf.demon)daemonize(); | ^~~~~~~~~ At top level: icqpr.c:17:13: warning: 'hexdump' defined but not used [-Wunused-function] 17 | static void hexdump(unsigned char *data, int len){ | ^~~~~~~ In file included from icqpr.c:531: proxymain.c: In function 'drop_root': proxymain.c:499:6: warning: 'gid' may be used uninitialized in this function [-Wmaybe-uninitialized] 499 | if(initgroups(username, gid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o icqpr -Wall -O2 -pthread sockmap.o sockgetchar.o icqpr.o myalloc.o common.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP -DANONYMOUS proxy.c proxy.c: In function 'proxychild': proxy.c:320:17: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 320 | su = mystrdup(sb); | ^~ | | | unsigned char * In file included from proxy.h:21, from proxy.c:11: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ proxy.c:320:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 320 | su = mystrdup(sb); | ^ proxy.c:474:10: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 474 | sscanf(sb, "%lu",&contentlength); | ^~ | | | unsigned char * In file included from proxy.h:19, from proxy.c:11: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ proxy.c:492:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 492 | reqsize = (int)strlen(req); | ^~~ | | | unsigned char * In file included from proxy.h:21, from proxy.c:11: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ proxy.c:624:8: warning: variable 'spaces' set but not used [-Wunused-but-set-variable] 624 | int spaces = 1; | ^~~~~~ proxy.c:795:42: warning: operation on 'res' may be undefined [-Wsequence-point] 795 | if(socksend(param->remsock, req , (res = (int)strlen((char *)req)), conf.timeouts[STRING_L]) != res) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ proxy.c:880:10: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 880 | sscanf(sb, "%lu", &contentlength); | ^~ | | | unsigned char * In file included from proxy.h:19, from proxy.c:11: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ proxy.c:893:19: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 893 | if(!strncasecmp(sb, "chunked", 7)){ | ^~ | | | unsigned char * In file included from /usr/include/string.h:431, from proxy.h:21, from proxy.c:11: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ proxy.c:970:46: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] 970 | while ((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) == 2) { | ^~~~~~~~ | | | char * In file included from proxy.c:11: proxy.h:153:81: note: expected 'unsigned char *' but argument is of type 'char *' 153 | int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:972:34: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 972 | if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ | ^~~~~~~~ | | | char * In file included from proxy.c:11: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:981:33: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 981 | if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ | ^~~~~~~~ | | | char * In file included from proxy.c:11: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:985:43: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] 985 | if((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) != 2) RETURN(534); | ^~~~~~~~ | | | char * In file included from proxy.c:11: proxy.h:153:81: note: expected 'unsigned char *' but argument is of type 'char *' 153 | int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:986:34: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 986 | if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ | ^~~~~~~~ | | | char * In file included from proxy.c:11: proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:1022:16: warning: pointer targets in passing argument 2 of 'logurl' differ in signedness [-Wpointer-sign] 1022 | logurl(param, buf, (char *)req, ftp); | ^~~ | | | unsigned char * proxy.c:133:55: note: expected 'char *' but argument is of type 'unsigned char *' 133 | static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ | ~~~~~~~^~~ proxy.c:1065:16: warning: pointer targets in passing argument 2 of 'logurl' differ in signedness [-Wpointer-sign] 1065 | logurl(param, buf, (char *)req, ftp); | ^~~ | | | unsigned char * proxy.c:133:55: note: expected 'char *' but argument is of type 'unsigned char *' 133 | static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ | ~~~~~~~^~~ proxy.c:224:15: warning: variable 'reqbufsize' set but not used [-Wunused-but-set-variable] 224 | int reqsize, reqbufsize; | ^~~~~~~~~~ proxy.c:222:6: warning: variable 'anonymous' set but not used [-Wunused-but-set-variable] 222 | int anonymous; | ^~~~~~~~~ In file included from proxy.c:1082: proxymain.c: In function 'main': proxymain.c:49:2: warning: statement with no effect [-Wunused-value] 49 | " -d go to background (daemon)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from proxy.c:1082: proxymain.c:405:57: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from proxy.c:11: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' 166 | extern char *strdup (const char *__s) | ^~~~~~ In file included from proxy.c:1082: proxymain.c:405:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ^ In file included from proxy.c:11: proxy.h:94:21: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ proxymain.c:117:19: note: in expansion of macro 'daemonize' 117 | if(!conf.demon)daemonize(); | ^~~~~~~~~ In file included from proxy.c:1082: proxymain.c: In function 'drop_root': proxymain.c:499:6: warning: 'gid' may be used uninitialized in this function [-Wmaybe-uninitialized] 499 | if(initgroups(username, gid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o proxy -Wall -O2 -pthread sockmap.o proxy.o sockgetchar.o myalloc.o common.o base64.o ftp.o -ldl -lcap make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/StringsPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL StringsPlugin.c StringsPlugin.c: In function 'load_string': StringsPlugin.c:66:15: warning: value computed is not used [-Wunused-value] 66 | *rstr++; | ^~~~~~~ StringsPlugin.c:35:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 35 | fgets(tmpbuf1, 1023,f); | ^~~~~~~~~~~~~~~~~~~~~~ StringsPlugin.c:54:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 54 | fgets(tmpbuf1, 1023,f); | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/StringsPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/StringsPlugin' gcc -o ../../StringsPlugin.ld.so -Wall -O2 -pthread -shared StringsPlugin.o make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/StringsPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/TrafficPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL TrafficPlugin.c TrafficPlugin.c: In function 'mylogfunc': TrafficPlugin.c:194:31: warning: comparison between 'TRAFCORRECT_TYPE' {aka 'enum '} and 'enum ' [-Wenum-compare] 194 | ( ((starttrafcorrect->type == UDP) & | ^~ TrafficPlugin.c:199:33: warning: comparison between 'TRAFCORRECT_TYPE' {aka 'enum '} and 'enum ' [-Wenum-compare] 199 | )|(starttrafcorrect->type == TCP))) /* TCP support */ | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/TrafficPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/TrafficPlugin' gcc -o ../../TrafficPlugin.ld.so -Wall -O2 -pthread -shared TrafficPlugin.o make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/TrafficPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_config.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_fullinfo.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_globals.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_info.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_ord2utf8.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_get.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_refcount.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_newline.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_try_flipped.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_study.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_tables.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_valid_utf8.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_ucp_searchfuncs.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_maketables.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_version.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_xclass.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_dftables.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcreposix.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_plugin.c pcre_plugin.c: In function 'pcre_filter_buffer': pcre_plugin.c:148:39: warning: pointer targets in passing argument 3 of 'pcre_exec' differ in signedness [-Wpointer-sign] 148 | count = pcre_exec(pcrefd->re, NULL, *buf_p, *length_p, offset, 0, ovector, 48); | ^~~~~~ | | | unsigned char * In file included from pcre_plugin.c:11: pcre.h:207:19: note: expected 'const char *' but argument is of type 'unsigned char *' 207 | #define PCRE_SPTR const char * | ^~~~~~~~~~~~ pcre.h:279:64: note: in expansion of macro 'PCRE_SPTR' 279 | PCRE_EXP_DECL int pcre_exec(const pcre *, const pcre_extra *, PCRE_SPTR, | ^~~~~~~~~ pcre_plugin.c:199:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 199 | *buf_p = newbuf; | ^ pcre_plugin.c: In function 'h_pcre': pcre_plugin.c:233:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 233 | if(!strcmp(argv[2], "allow")) action = PASS; | ~~~~^~~ | | | unsigned char * In file included from pcre_plugin.c:10: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ pcre_plugin.c:234:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 234 | else if(!strcmp(argv[2], "deny")) action = REJECT; | ~~~~^~~ | | | unsigned char * In file included from pcre_plugin.c:10: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ pcre_plugin.c:235:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 235 | else if(!strcmp(argv[2], "remove")) action = REMOVE; | ~~~~^~~ | | | unsigned char * In file included from pcre_plugin.c:10: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ pcre_plugin.c:236:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 236 | else if(!strcmp(argv[2], "dunno")) action = CONTINUE; | ~~~~^~~ | | | unsigned char * In file included from pcre_plugin.c:10: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ pcre_plugin.c:238:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 238 | if(!strcmp(argv[0], "pcre_rewrite")) { | ~~~~^~~ | | | unsigned char * In file included from pcre_plugin.c:10: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ pcre_plugin.c:240:30: warning: pointer targets in passing argument 1 of 'pl->mystrdup' differ in signedness [-Wpointer-sign] 240 | replace = pl->mystrdup(argv[4]); | ~~~~^~~ | | | unsigned char * pcre_plugin.c:240:30: note: expected 'const char *' but argument is of type 'unsigned char *' pcre_plugin.c:273:16: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 273 | if(strstr(argv[1], "request"))newf->filter_request = pcre_filter_buffer; | ~~~~^~~ | | | unsigned char * In file included from pcre_plugin.c:10: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ pcre_plugin.c:274:16: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 274 | if(strstr(argv[1], "cliheader"))newf->filter_header_cli = pcre_filter_buffer; | ~~~~^~~ | | | unsigned char * In file included from pcre_plugin.c:10: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ pcre_plugin.c:275:16: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 275 | if(strstr(argv[1], "clidata"))newf->filter_data_cli = pcre_filter_buffer; | ~~~~^~~ | | | unsigned char * In file included from pcre_plugin.c:10: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ pcre_plugin.c:276:16: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 276 | if(strstr(argv[1], "srvheader"))newf->filter_header_srv = pcre_filter_buffer; | ~~~~^~~ | | | unsigned char * In file included from pcre_plugin.c:10: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ pcre_plugin.c:277:16: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 277 | if(strstr(argv[1], "srvdata"))newf->filter_data_srv = pcre_filter_buffer; | ~~~~^~~ | | | unsigned char * In file included from pcre_plugin.c:10: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ pcre_plugin.c: In function 'h_pcre_options': pcre_plugin.c:310:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 310 | if(!strcmp(pcreopts[i].name, argv[j])) | ~~~~^~~ | | | unsigned char * In file included from pcre_plugin.c:10: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_dfa_exec.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_exec.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -fpic -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_compile.c make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[2]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' gcc -o ../../PCREPlugin.ld.so -Wall -O2 -pthread -shared pcre_compile.o pcre_config.o pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o pcre_globals.o pcre_info.o pcre_maketables.o pcre_newline.o pcre_ord2utf8.o pcre_refcount.o pcre_study.o pcre_tables.o pcre_try_flipped.o pcre_ucp_searchfuncs.o pcre_valid_utf8.o pcre_version.o pcre_xclass.o pcre_dftables.o pcre_plugin.o pcreposix.o make[2]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src/plugins/PCREPlugin' make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' + cp /usr/src/RPM/SOURCES/README-ALT.UTF8 /usr/src/RPM/SOURCES/README-ALT.CP1251 ./ + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.52305 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/3proxy-buildroot + : + /bin/rm -rf -- /usr/src/tmp/3proxy-buildroot + cd 3proxy-0.6.1 + mkdir -p /usr/src/tmp/3proxy-buildroot/etc + mkdir -p /usr/src/tmp/3proxy-buildroot/etc + mkdir -p /usr/src/tmp/3proxy-buildroot/usr/share/man/man3 + mkdir -p /usr/src/tmp/3proxy-buildroot/usr/share/man/man8 + mkdir -p /usr/src/tmp/3proxy-buildroot/etc/rc.d/init.d + mkdir -p /usr/src/tmp/3proxy-buildroot/var/log/3proxy + mkdir -p /usr/src/tmp/3proxy-buildroot/var/run/3proxy + install -m755 -D src/3proxy /usr/src/tmp/3proxy-buildroot/usr/bin/3proxy + install -m755 -D src/dighosts /usr/src/tmp/3proxy-buildroot/usr/bin/dighosts + install -m755 -D src/ftppr /usr/src/tmp/3proxy-buildroot/usr/bin/ftppr + install -m755 -D src/mycrypt /usr/src/tmp/3proxy-buildroot/usr/bin/mycrypt + install -m755 -D src/pop3p /usr/src/tmp/3proxy-buildroot/usr/bin/pop3p + install -m755 -D src/proxy /usr/src/tmp/3proxy-buildroot/usr/bin/proxy + install -m755 -D src/socks /usr/src/tmp/3proxy-buildroot/usr/bin/socks + install -m755 -D src/tcppm /usr/src/tmp/3proxy-buildroot/usr/bin/tcppm + install -m755 -D src/udppm /usr/src/tmp/3proxy-buildroot/usr/bin/udppm + install -pD -m755 /usr/src/RPM/SOURCES/3proxy.init /usr/src/tmp/3proxy-buildroot/etc/rc.d/init.d/3proxy + install -pD -m644 /usr/src/RPM/SOURCES/3proxy.sysconfig /usr/src/tmp/3proxy-buildroot/etc/sysconfig/3proxy + install -m644 /usr/src/RPM/SOURCES/3proxy.conf /usr/src/tmp/3proxy-buildroot/etc/3proxy.conf + install -pD -m644 man/3proxy.cfg.3 /usr/src/tmp/3proxy-buildroot/usr/share/man/man3 + install -pD -m644 man/3proxy.8 man/ftppr.8 man/icqpr.8 man/pop3p.8 man/proxy.8 man/smtpp.8 man/socks.8 man/tcppm.8 man/udppm.8 /usr/src/tmp/3proxy-buildroot/usr/share/man/man8 + install -pD -m644 authors /usr/src/tmp/3proxy-buildroot/usr/share/3proxy-0.6.1/AUTHORS + install -pD -m644 copying /usr/src/tmp/3proxy-buildroot/usr/share/3proxy-0.6.1/COPYING + install -pD -m644 news /usr/src/tmp/3proxy-buildroot/usr/share/3proxy-0.6.1/NEWS + install -pD -m644 Readme /usr/src/tmp/3proxy-buildroot/usr/share/3proxy-0.6.1/README + install -pD -m644 Changelog /usr/src/tmp/3proxy-buildroot/usr/share/3proxy-0.6.1/Changelog + install -pD -m644 README-ALT.CP1251 README-ALT.UTF8 /usr/src/tmp/3proxy-buildroot/usr/share/3proxy-0.6.1/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/3proxy-buildroot (auto) Verifying and fixing files in /usr/src/tmp/3proxy-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/3proxy-buildroot/ (default) Compressing files in /usr/src/tmp/3proxy-buildroot (auto) Verifying ELF objects in /usr/src/tmp/3proxy-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/udppm: uses non-LFS functions: fcntl fopen verify-elf: WARNING: ./usr/bin/tcppm: uses non-LFS functions: fcntl fopen verify-elf: WARNING: ./usr/bin/socks: uses non-LFS functions: fcntl fopen verify-elf: WARNING: ./usr/bin/proxy: uses non-LFS functions: fcntl fopen verify-elf: WARNING: ./usr/bin/pop3p: uses non-LFS functions: fcntl fopen verify-elf: WARNING: ./usr/bin/ftppr: uses non-LFS functions: fcntl fopen verify-elf: WARNING: ./usr/bin/dighosts: uses non-LFS functions: fcntl fopen verify-elf: WARNING: ./usr/bin/3proxy: uses non-LFS functions: __xstat fcntl fopen freopen ftruncate lseek open Hardlinking identical .pyc and .pyo files Processing files: 3proxy-0.6.1-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BxeY4I find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3rFO4I find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) shebang.req.files: executable script /usr/src/tmp/3proxy-buildroot/etc/3proxy.conf is not executable Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zToyUI Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lLXxrH Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.c3XgDK Requires: /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.2), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libcap.so.2 >= set:ig7NHQ1NQ3, libcap.so.2(LIBCAP_1.10), libdl.so.2(GLIBC_2.0), libdl.so.2(GLIBC_2.1), libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): /bin/sh, /usr/sbin/groupadd, /usr/sbin/useradd Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KOSbEL Creating 3proxy-debuginfo package Processing files: 3proxy-debuginfo-0.6.1-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5G1xHL find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wMCyLK find-requires: running scripts (debuginfo) Requires: 3proxy = 0.6.1-alt1.qa1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcap.so.2), debug(libdl.so.2), debug(libpthread.so.0) Wrote: /usr/src/RPM/RPMS/i586/3proxy-0.6.1-alt1.qa1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/3proxy-debuginfo-0.6.1-alt1.qa1.i586.rpm 36.91user 6.00system 0:30.26elapsed 141%CPU (0avgtext+0avgdata 45596maxresident)k 0inputs+0outputs (0major+1008129minor)pagefaults 0swaps /.out/3proxy-0.6.1-alt1.qa1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/3proxy-debuginfo-0.6.1-alt1.qa1.i586.rpm: The use of such a license name is ambiguous: GPL 42.78user 11.32system 0:41.02elapsed 131%CPU (0avgtext+0avgdata 108892maxresident)k 104inputs+0outputs (0major+1288472minor)pagefaults 0swaps --- 3proxy-0.6.1-alt1.qa1.i586.rpm.repo 2013-04-15 18:30:20.000000000 +0000 +++ 3proxy-0.6.1-alt1.qa1.i586.rpm.hasher 2020-04-16 10:49:10.204537242 +0000 @@ -20,12 +20,12 @@ /usr/share/3proxy-0.6.1/README-ALT.UTF8 100644 -/usr/share/man/man3/3proxy.cfg.3.bz2 100644 -/usr/share/man/man8/3proxy.8.gz 100644 -/usr/share/man/man8/ftppr.8.gz 100644 -/usr/share/man/man8/icqpr.8.gz 100644 -/usr/share/man/man8/pop3p.8.gz 100644 -/usr/share/man/man8/proxy.8.gz 100644 -/usr/share/man/man8/smtpp.8.gz 100644 -/usr/share/man/man8/socks.8.gz 100644 -/usr/share/man/man8/tcppm.8.gz 100644 -/usr/share/man/man8/udppm.8.gz 100644 +/usr/share/man/man3/3proxy.cfg.3.xz 100644 +/usr/share/man/man8/3proxy.8.xz 100644 +/usr/share/man/man8/ftppr.8.xz 100644 +/usr/share/man/man8/icqpr.8.xz 100644 +/usr/share/man/man8/pop3p.8.xz 100644 +/usr/share/man/man8/proxy.8.xz 100644 +/usr/share/man/man8/smtpp.8.xz 100644 +/usr/share/man/man8/socks.8.xz 100644 +/usr/share/man/man8/tcppm.8.xz 100644 +/usr/share/man/man8/udppm.8.xz 100644 /var/log/3proxy 40775 @@ -34,4 +34,2 @@ Requires: /bin/sh -Requires: /bin/sh -Requires: /bin/sh Requires: /etc/rc.d/init.d @@ -47,2 +45,3 @@ Requires: libc.so.6(GLIBC_2.15) +Requires: libc.so.6(GLIBC_2.28) Requires: libc.so.6(GLIBC_2.3)