build started at Wed Oct 14 11:38:31 MSK 2015 port directory: /usr/ports/net/3proxy building for: FreeBSD FreeBSD:10:amd64-default 10.2-RELEASE-p5 FreeBSD 10.2-RELEASE-p5 amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/net/3proxy/Makefile 396274 2015-09-07 14:07:50Z pi $ Poudriere version: 3.1.8 Host OSVERSION: 1002000 Jail OSVERSION: 1002000 ---Begin Environment--- PKGREPOSITORY=/tmp/pkgs PACKAGES=/tmp/pkgs OSVERSION=1002000 UNAME_v=FreeBSD 10.2-RELEASE-p5 UNAME_r=10.2-RELEASE-p5 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM=screen NO_WARNING_PKG_INSTALL_EOL=yes MASTERMNT=/storage/poudriere/data/.m/FreeBSD:10:amd64-default/ref FORCE_PACKAGE=yes PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk OLDPWD=/storage/poudriere/ports/default/net PWD=/ MASTERNAME=FreeBSD:10:amd64-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.1.8 SCRIPTPATH=/usr/local/share/poudriere/testport.sh TRYBROKEN=yes LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for 3proxy-0.7.1.3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/3proxy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/3proxy/work HOME=/wrkdirs/usr/ports/net/3proxy/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/3proxy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/3proxy/work HOME=/wrkdirs/usr/ports/net/3proxy/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=10.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/3proxy" EXAMPLESDIR="share/examples/3proxy" DATADIR="share/3proxy" WWWDIR="www/3proxy" ETCDIR="etc/3proxy" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/3proxy DOCSDIR=/usr/local/share/doc/3proxy EXAMPLESDIR=/usr/local/share/examples/3proxy WWWDIR=/usr/local/www/3proxy ETCDIR=/usr/local/etc/3proxy --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### OPTIONS_UNSET=X11 HAL DEBUG EGL WANT_OPENLDAP_SASL="YES" #SQUID_CONFIGURE_ARGS="--enable-useragent-log" ---End make.conf--- =================================================== ===> License APACHE20 BSD2CLAUSE GPLv2 GPLv3 LGPL21 LGPL3 accepted by the user ===> Found saved configuration for 3proxy-0.6.1_1 =========================================================================== =================================================== ===> 3proxy-0.7.1.3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.6.1.txz [FreeBSD:10:amd64-default] Installing pkg-1.6.1... [FreeBSD:10:amd64-default] Extracting pkg-1.6.1: .......... done Message from pkg-1.6.1: If you are upgrading from the old package format, first run: # pkg2ng ===> 3proxy-0.7.1.3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of 3proxy-0.7.1.3 =========================================================================== =================================================== =========================================================================== =================================================== ===> License APACHE20 BSD2CLAUSE GPLv2 GPLv3 LGPL21 LGPL3 accepted by the user ===> Found saved configuration for 3proxy-0.6.1_1 ===> 3proxy-0.7.1.3 depends on file: /usr/local/sbin/pkg - found => z3APA3A-3proxy-3proxy-0.7.1.3_GH0.tar.gz doesn't seem to exist in /portdistfiles/. => Attempting to fetch https://codeload.github.com/z3APA3A/3proxy/tar.gz/3proxy-0.7.1.3?dummy=/z3APA3A-3proxy-3proxy-0.7.1.3_GH0.tar.gz z3APA3A-3proxy-3proxy-0.7.1.3_GH0.tar.gz 0 B 0 Bps ===> Fetching all distfiles required by 3proxy-0.7.1.3 for building =========================================================================== =================================================== ===> License APACHE20 BSD2CLAUSE GPLv2 GPLv3 LGPL21 LGPL3 accepted by the user ===> Found saved configuration for 3proxy-0.6.1_1 ===> 3proxy-0.7.1.3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by 3proxy-0.7.1.3 for building => SHA256 Checksum OK for z3APA3A-3proxy-3proxy-0.7.1.3_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License APACHE20 BSD2CLAUSE GPLv2 GPLv3 LGPL21 LGPL3 accepted by the user ===> Found saved configuration for 3proxy-0.6.1_1 ===> 3proxy-0.7.1.3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by 3proxy-0.7.1.3 for building ===> Extracting for 3proxy-0.7.1.3 => SHA256 Checksum OK for z3APA3A-3proxy-3proxy-0.7.1.3_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for 3proxy-0.7.1.3 ===> Applying FreeBSD patches for 3proxy-0.7.1.3 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== ====>> Recording filesystem state for prebuild... done =================================================== ===> Configuring for 3proxy-0.7.1.3 =========================================================================== =================================================== ===> Building for 3proxy-0.7.1.3 --- all --- cat Makefile.unix > src/Makefile.var --- pre --- --- mycryptmain.o --- --- pop3p.o --- --- smtpp.o --- --- ftppr.o --- --- tcppm.o --- --- icqpr.o --- --- msnpr.o --- --- pre --- cd .. && cat copying 3proxy 0.7 Public License Agreement (c) 2000-2014 by 3APA3A (3APA3A@security.nnov.ru) (c) 2000-2014 by SecurityVulns.com (http://3proxy.ru/) (c) 2000-2014 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 --- mycryptmain.o --- cc -omycryptmain.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN mycrypt.c --- pop3p.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP pop3p.c --- smtpp.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP smtpp.c --- pre --- 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. Instead 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 $ --- ftppr.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP ftppr.c --- udppm.o --- --- tcppm.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP tcppm.c --- icqpr.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP icqpr.c --- msnpr.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP msnpr.c --- udppm.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP udppm.c --- smtpp.o --- In file included from smtpp.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] --- msnpr.o --- In file included from msnpr.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- smtpp.o --- #warning "this file includes which is deprecated" ^ --- pop3p.o --- In file included from pop3p.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- ftppr.o --- In file included from ftppr.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- tcppm.o --- In file included from tcppm.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- icqpr.o --- In file included from icqpr.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- udppm.o --- In file included from udppm.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- smtpp.o --- smtpp.c:41:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] res = atoi(buf); ^~~ /usr/include/stdlib.h:86:23: note: passing argument to parameter here int atoi(const char *); ^ --- msnpr.o --- msnpr.c:46:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] sp1 = data + 3; ^ ~~~~~~~~ msnpr.c:62:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] cookie->userid = mystrdup(param->username); ^~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ --- smtpp.o --- smtpp.c:66:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- msnpr.o --- msnpr.c:62:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cookie->userid = mystrdup(param->username); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ --- smtpp.o --- if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^~~ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ smtpp.c:66:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- udppm.o --- udppm.c:38:17: warning: unused variable 'udpmappings' [-Wunused-variable] --- smtpp.o --- if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^~~ /usr/include/strings.h:61:30: note: passing argument to parameter here --- udppm.o --- struct udpmap *udpmappings = NULL; ^ --- smtpp.o --- int strncasecmp(const char *, const char *, size_t) __pure; ^ --- udppm.o --- udppm.c:39:16: warning: unused variable 'fds' [-Wunused-variable] --- msnpr.o --- msnpr.c:69:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(tmpbuf, data); ^~~~ /usr/include/string.h:82:56: note: passing argument to parameter here --- udppm.o --- struct pollfd fds[256]; ^ --- msnpr.o --- char *strcpy(char * __restrict, const char * __restrict); ^ --- smtpp.o --- smtpp.c:48:6: warning: unused variable 'res' [-Wunused-variable] int res, i, bufsize = 320; ^ smtpp.c:74:6: warning: unused variable 'res' [-Wunused-variable] int res, i, bufsize = 4096; ^ --- msnpr.o --- msnpr.c:126:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!(sp1 = strchr(buf, ' ')) || !(sp2 = strchr(sp1 + 1, ' ')) || !(sp3 = strchr(sp2 + 1, ' ')) || ((int)(sp3-sp2)) < 6) RETURN(1202); ^~~ /usr/include/string.h:76:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ --- ftppr.o --- ftppr.c:152:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(buf, "200 OK\r\n"); ^~~ /usr/include/stdio.h:267:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ --- msnpr.o --- msnpr.c:138:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] verstr = mystrdup(buf); ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ --- smtpp.o --- smtpp.c:123:22: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] command = mystrdup(buf); ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ --- msnpr.o --- msnpr.c:145:71: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- smtpp.o --- smtpp.c:130:27: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- msnpr.o --- if(buf[0] != 'C' || buf[1] != 'V' || buf[2] != 'R' || !(sp1=strrchr(buf,' ')) || (len = (int)strlen(sp1+1)) < 3) RETURN(1206); ^~~ --- smtpp.o --- socksend(param->clisock, "334 VXNlcm5hbWU6\r\n", 18,conf.timeouts[STRING_S]); ^~~~~~~~~~~~~~~~~~~~~~ --- msnpr.o --- /usr/include/string.h:110:27: note: passing argument to parameter here char *strrchr(const char *, int) __pure; ^ msnpr.c:154:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^~~~~~~~~~~~~~~ /usr/include/string.h:80:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ msnpr.c:154:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^~~~~~~~~~~~~~ /usr/include/string.h:80:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ --- pop3p.o --- In file included from pop3p.c:72: ./proxymain.c:439:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ In file included from pop3p.c:72: ./proxymain.c:439:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- smtpp.o --- ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:137:20: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] parseconnusername(username, param, 0, 25); ^~~~~~~~ ./proxy.h:235:29: note: passing argument to parameter 'username' here int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); ^ smtpp.c:138:27: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->clisock, "334 UGFzc3dvcmQ6\r\n", 18,conf.timeouts[STRING_S]); ^~~~~~~~~~~~~~~~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here --- tcppm.o --- In file included from tcppm.c:40: ./proxymain.c:439:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ In file included from tcppm.c:40: ./proxymain.c:439:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- icqpr.o --- icqpr.c:132:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; ^~~~~~~~~~~~~~~ /usr/include/string.h:80:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ icqpr.c:136:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ic->id = mystrdup(param->username); ^~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ --- udppm.o --- In file included from udppm.c:117: ./proxymain.c:439:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ In file included from udppm.c:117: ./proxymain.c:439:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- msnpr.o --- msnpr.c:175:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(socksend(param->remsock, verstr, len, conf.timeouts[STRING_S])!= len) {RETURN (1207);} ^~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ msnpr.c:180:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] verstr = mystrdup(buf); ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ msnpr.c:186:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- smtpp.o --- int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:146:32: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->extpassword = mystrdup(username); ^~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ smtpp.c:146:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->extpassword = mystrdup(username); ^ ~~~~~~~~~~~~~~~~~~ smtpp.c:154:28: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->clisock, "334\r\n", 5,conf.timeouts[STRING_S]); --- icqpr.o --- icqpr.c:206:55: warning: passing 'char [21]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!state->leftinstate)param->srv->logfunc(param, "Warning: need resync"); ^~~~~~~~~~~~~~~~~~~~~~ icqpr.c:209:33: warning: passing 'char [12]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->srv->logfunc(param, "Out of Sync"); ^~~~~~~~~~~~~ icqpr.c:218:32: warning: passing 'char [23]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->srv->logfunc(param, "Warning: Wrong channel"); --- msnpr.o --- strcpy(buf, verstr); ^~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ msnpr.c:189:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = (int)strlen(buf); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ --- smtpp.o --- ^~~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:162:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] parseconnusername(username+1, param, 0, 25); ^~~~~~~~~~ ./proxy.h:235:29: note: passing argument to parameter 'username' here int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); ^ smtpp.c:163:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] res = (int)strlen(username+1) + 2; ^~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here --- icqpr.o --- ^~~~~~~~~~~~~~~~~~~~~~~~ icqpr.c:241:33: warning: passing 'char [64]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->srv->logfunc(param, smallbuf); ^~~~~~~~ icqpr.c:246:64: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] sprintf(smallbuf, "Warning: %hu flaps are lost on resync", state->gotseq - state->srvseq ); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d icqpr.c:247:32: warning: passing 'char [64]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- smtpp.o --- size_t strlen(const char *) __pure; ^ smtpp.c:166:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->extpassword = mystrdup(username + res); ^~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ smtpp.c:166:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->extpassword = mystrdup(username + res); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ smtpp.c:192:14: warning: passing 'unsigned char [320]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- icqpr.o --- param->srv->logfunc(param, smallbuf); ^~~~~~~~ icqpr.c:343:39: warning: passing 'char [0]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = sockgetlinebuf(param, direction, flap->data, len, EOF, conf.timeouts[STRING_S]); ^~~~~~~~~~ ./proxy.h:160:81: note: passing argument to parameter 'buf' here int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ --- smtpp.o --- i = sprintf(buf, "EHLO [%lu.%lu.%lu.%lu]\r\n", ((ul&0xFF000000)>>24), ((ul&0x00FF0000)>>16), ((ul&0x0000FF00)>>8), ((ul&0x000000FF))); ^~~ /usr/include/stdio.h:267:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ smtpp.c:208:28: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->clisock, "235 auth required\r\n", 19,conf.timeouts[STRING_S]); ^~~~~~~~~~~~~~~~~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:211:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, "AUTH LOGIN\r\n", 12, conf.timeouts[STRING_S]); ^~~~~~~~~~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:216:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] en64(param->extusername, buf, (int)strlen(param->extusername)); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:217:45: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:218:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:223:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] en64(param->extpassword, buf, (int)strlen(param->extpassword)); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:224:45: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:225:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:230:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, "AUTH PLAIN\r\n", 12, conf.timeouts[STRING_S]); ^~~~~~~~~~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:236:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = (int)strlen(param->extusername) + 1; ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:239:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] res = (int)strlen(param->extpassword); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:243:19: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = (int)strlen(buf); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:245:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:270:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(res != 2) socksend(param->remsock, command, i, conf.timeouts[STRING_S]); ^~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ --- msnpr.o --- In file included from msnpr.c:233: ./proxymain.c:439:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ In file included from msnpr.c:233: ./proxymain.c:439:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- icqpr.o --- icqpr.c:422:52: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!param->username && ic->id) param->username = mystrdup(ic->id); ^ ~~~~~~~~~~~~~~~~ --- ftppr.o --- In file included from ftppr.c:326: ./proxymain.c:439:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ In file included from ftppr.c:326: ./proxymain.c:439:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- smtpp.o --- In file included from smtpp.c:316: ./proxymain.c:439:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ In file included from smtpp.c:316: ./proxymain.c:439:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- icqpr.o --- icqpr.c:377:5: warning: variable 'buf' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] --- smtpp.o --- if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); --- icqpr.o --- if(socksend(param->clisock, tmpsend, 10, conf.timeouts[STRING_S])!=10) {RETURN (1101);} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- smtpp.o --- ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- icqpr.o --- icqpr.c:520:5: note: uninitialized use occurs here if(buf) myfree(buf); ^~~ icqpr.c:377:2: note: remove the 'if' if its condition is always false if(socksend(param->clisock, tmpsend, 10, conf.timeouts[STRING_S])!=10) {RETURN (1101);} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icqpr.c:354:20: note: initialize the variable 'buf' to silence this warning unsigned char *buf; ^ = NULL --- socks.o --- --- icqpr.o --- In file included from icqpr.c:532: ./proxymain.c:439:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ --- socks.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP socks.c --- icqpr.o --- In file included from icqpr.c:532: ./proxymain.c:439:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~~~~~~~~~~ icqpr.c:17:13: warning: unused function 'hexdump' [-Wunused-function] static void hexdump(unsigned char *data, int len){ ^ --- socks.o --- In file included from socks.c:10: --- tcppm.o --- 3 warnings generated. --- socks.o --- In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ In file included from socks.c:420: ./proxymain.c:439:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ In file included from socks.c:420: ./proxymain.c:439:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); --- proxy.o --- --- socks.o --- ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- proxy.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP -DANONYMOUS proxy.c --- udppm.o --- 5 warnings generated. --- pop3p.o --- 3 warnings generated. --- allplugins --- --- 3proxy.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL 3proxy.c --- allplugins --- --- StringsPlugin.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL StringsPlugin.c --- proxy.o --- In file included from proxy.c:11: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- 3proxy.o --- In file included from 3proxy.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] --- msnpr.o --- 16 warnings generated. --- 3proxy.o --- #warning "this file includes which is deprecated" ^ --- mainfunc.o --- --- proxy.o --- proxy.c:333:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] su = mystrdup(sb); ^~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ proxy.c:333:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] su = mystrdup(sb); ^ ~~~~~~~~~~~~ proxy.c:495:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(sb, "%lu",&contentlength); ^~ /usr/include/stdio.h:268:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ --- smtpp.o --- 34 warnings generated. --- proxy.o --- proxy.c:515:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] reqsize = (int)strlen(req); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ --- mainfunc.o --- cc -omainfunc.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DMODULEMAINFUNC=mainfunc proxymain.c --- proxy.o --- proxy.c:903:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(sb, "%lu", &contentlength); ^~ /usr/include/stdio.h:268:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ proxy.c:919:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strncasecmp(sb, "chunked", 7)){ ^~ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ --- srvproxy.o --- --- proxy.o --- proxy.c:1003:46: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) == 2) { ^~~~~~~~ ./proxy.h:160:81: note: passing argument to parameter 'buf' here int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ proxy.c:1004:34: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1013:33: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1017:43: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) != 2) RETURN(534); --- srvproxy.o --- cc -osrvproxy.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL proxy.c --- proxy.o --- ^~~~~~~~ ./proxy.h:160:81: note: passing argument to parameter 'buf' here int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ proxy.c:1018:34: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1059:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] logurl(param, buf, (char *)req, ftp); ^~~ proxy.c:138:55: note: passing argument to parameter 'buf' here static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ ^ proxy.c:1102:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] logurl(param, buf, (char *)req, ftp); ^~~ proxy.c:138:55: note: passing argument to parameter 'buf' here static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ ^ --- 3proxy.o --- 3proxy.c:1149:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(argv[0],"nolog")) acl->nolog = 1; ^~~~~~~ /usr/include/string.h:80:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ --- proxy.o --- In file included from proxy.c:1119: ./proxymain.c:439:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ In file included from proxy.c:1119: ./proxymain.c:439:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- mainfunc.o --- In file included from proxymain.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- allplugins --- --- StringsPlugin.so --- cc -o../../StringsPlugin.so -Wall -lpthread -shared StringsPlugin.o --- srvproxy.o --- In file included from proxy.c:11: --- ftppr.o --- 4 warnings generated. --- 3proxy.o --- 3proxy.c:2009:14: warning: incompatible pointer types passing 'char *[3]' to parameter of type 'unsigned char **' [-Wincompatible-pointer-types] h_auth(2, args); ^~~~ 3proxy.c:901:45: note: passing argument to parameter 'argv' here static int h_auth(int argc, unsigned char **argv){ ^ --- mainfunc.o --- proxymain.c:439:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ proxymain.c:439:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- srvproxy.o --- In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- srvpop3p.o --- cc -osrvpop3p.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pop3p.c --- srvproxy.o --- proxy.c:333:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- icqpr.o --- 15 warnings generated. --- srvproxy.o --- su = mystrdup(sb); ^~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ proxy.c:333:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] su = mystrdup(sb); ^ ~~~~~~~~~~~~ proxy.c:495:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(sb, "%lu",&contentlength); ^~ /usr/include/stdio.h:268:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ proxy.c:515:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] reqsize = (int)strlen(req); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ proxy.c:534:51: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, 0, ¶m->cliinbuf); ^~~~~~~~~~~~~~~~~~ ./proxy.h:254:88: note: passing argument to parameter 'bufsize_p' here FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ proxy.c:534:74: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, 0, ¶m->cliinbuf); ^~~~~~~~~~~~~~~~ ./proxy.h:254:117: note: passing argument to parameter 'length_p' here FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ --- srvsmtpp.o --- cc -osrvsmtpp.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL smtpp.c --- allplugins --- --- TrafficPlugin.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL TrafficPlugin.c --- srvproxy.o --- proxy.c:903:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sscanf(sb, "%lu", &contentlength); ^~ /usr/include/stdio.h:268:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ proxy.c:919:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strncasecmp(sb, "chunked", 7)){ ^~ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ proxy.c:969:51: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, 0, ¶m->srvinbuf); ^~~~~~~~~~~~~~~~~~ ./proxy.h:255:88: note: passing argument to parameter 'bufsize_p' here FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ proxy.c:969:74: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, 0, ¶m->srvinbuf); ^~~~~~~~~~~~~~~~ ./proxy.h:255:117: note: passing argument to parameter 'length_p' here FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ proxy.c:1003:46: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) == 2) { ^~~~~~~~ ./proxy.h:160:81: note: passing argument to parameter 'buf' here int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ proxy.c:1004:34: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1013:33: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1017:43: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) != 2) RETURN(534); ^~~~~~~~ ./proxy.h:160:81: note: passing argument to parameter 'buf' here int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ proxy.c:1018:34: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ ^~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ proxy.c:1059:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] logurl(param, buf, (char *)req, ftp); ^~~ proxy.c:138:55: note: passing argument to parameter 'buf' here static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ ^ proxy.c:1102:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] logurl(param, buf, (char *)req, ftp); ^~~ proxy.c:138:55: note: passing argument to parameter 'buf' here static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ ^ --- srvpop3p.o --- In file included from pop3p.c:10: --- socks.o --- 3 warnings generated. --- srvpop3p.o --- In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- srvsmtpp.o --- In file included from smtpp.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- srvftppr.o --- cc -osrvftppr.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ftppr.c --- srvsmtpp.o --- smtpp.c:41:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- srvpop3p.o --- 1 warning generated. --- srvsmtpp.o --- res = atoi(buf); ^~~ /usr/include/stdlib.h:86:23: note: passing argument to parameter here int atoi(const char *); ^ smtpp.c:55:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^~~ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ smtpp.c:55:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^~~ --- srvsocks.o --- --- srvftppr.o --- In file included from ftppr.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- srvsmtpp.o --- /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ smtpp.c:55:82: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^~~ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ smtpp.c:55:118: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^~~ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ smtpp.c:66:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^~~ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ smtpp.c:66:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- srvsocks.o --- cc -osrvsocks.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL socks.c --- srvsmtpp.o --- if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ ^~~ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ smtpp.c:123:22: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] command = mystrdup(buf); ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ smtpp.c:130:27: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->clisock, "334 VXNlcm5hbWU6\r\n", 18,conf.timeouts[STRING_S]); ^~~~~~~~~~~~~~~~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:137:20: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] parseconnusername(username, param, 0, 25); ^~~~~~~~ ./proxy.h:235:29: note: passing argument to parameter 'username' here int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); ^ smtpp.c:138:27: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->clisock, "334 UGFzc3dvcmQ6\r\n", 18,conf.timeouts[STRING_S]); ^~~~~~~~~~~~~~~~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:146:32: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->extpassword = mystrdup(username); ^~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ smtpp.c:146:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->extpassword = mystrdup(username); ^ ~~~~~~~~~~~~~~~~~~ smtpp.c:154:28: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->clisock, "334\r\n", 5,conf.timeouts[STRING_S]); ^~~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:162:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] parseconnusername(username+1, param, 0, 25); ^~~~~~~~~~ ./proxy.h:235:29: note: passing argument to parameter 'username' here int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); ^ smtpp.c:163:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] res = (int)strlen(username+1) + 2; ^~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:166:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->extpassword = mystrdup(username + res); ^~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ smtpp.c:166:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->extpassword = mystrdup(username + res); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ smtpp.c:173:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] reqbufsize = reqsize = (int)strlen(param->hostname) + 1; ^~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:192:14: warning: passing 'unsigned char [320]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = sprintf(buf, "EHLO [%lu.%lu.%lu.%lu]\r\n", ((ul&0xFF000000)>>24), ((ul&0x00FF0000)>>16), ((ul&0x0000FF00)>>8), ((ul&0x000000FF))); ^~~ /usr/include/stdio.h:267:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ smtpp.c:208:28: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->clisock, "235 auth required\r\n", 19,conf.timeouts[STRING_S]); ^~~~~~~~~~~~~~~~~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:211:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, "AUTH LOGIN\r\n", 12, conf.timeouts[STRING_S]); ^~~~~~~~~~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:216:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] en64(param->extusername, buf, (int)strlen(param->extusername)); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:217:45: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:218:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:223:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] en64(param->extpassword, buf, (int)strlen(param->extpassword)); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:224:45: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:225:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:230:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, "AUTH PLAIN\r\n", 12, conf.timeouts[STRING_S]); ^~~~~~~~~~~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:236:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = (int)strlen(param->extusername) + 1; ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:239:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] res = (int)strlen(param->extpassword); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:243:19: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = (int)strlen(buf); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ smtpp.c:245:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); ^~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ smtpp.c:260:36: warning: incompatible pointer types passing 'char **' to parameter of type 'unsigned char **' [-Wincompatible-pointer-types] res = handlehdrfilterscli(param, &command, &res, 0, &res); ^~~~~~~~ ./proxy.h:251:79: note: passing argument to parameter 'buf_p' here FILTER_ACTION handlehdrfilterscli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ smtpp.c:270:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(res != 2) socksend(param->remsock, command, i, conf.timeouts[STRING_S]); ^~~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ --- srvftppr.o --- ftppr.c:80:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- srvsmtpp.o --- 36 warnings generated. --- srvftppr.o --- reqsize = (int)strlen(buf) + 1; ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ftppr.c:98:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] reqsize = (int)strlen(buf) + 1; ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ftppr.c:152:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(buf, "200 OK\r\n"); ^~~ /usr/include/stdio.h:267:31: note: passing argument to parameter here --- srvsocks.o --- In file included from socks.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- allplugins --- --- TrafficPlugin.so --- cc -o../../TrafficPlugin.so -Wall -lpthread -shared TrafficPlugin.o --- pcre_compile.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_compile.c --- srvftppr.o --- int sprintf(char * __restrict, const char * __restrict, ...); ^ ftppr.c:158:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] reqsize = (int)strlen(buf) + 1; ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ftppr.c:186:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] reqsize = (int)strlen(buf) + 1; ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ --- allplugins --- --- pcre_config.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_config.c --- mainfunc.o --- 3 warnings generated. --- allplugins --- --- pcre_dfa_exec.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_dfa_exec.c --- srvtcppm.o --- cc -osrvtcppm.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL tcppm.c --- srvsocks.o --- 1 warning generated. --- allplugins --- --- pcre_exec.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_exec.c --- srvftppr.o --- 6 warnings generated. --- srvtcppm.o --- In file included from tcppm.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- allplugins --- --- pcre_fullinfo.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_fullinfo.c --- srvtcppm.o --- 1 warning generated. --- allplugins --- --- pcre_get.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_get.c --- 3proxy.o --- 3 warnings generated. --- srvicqpr.o --- --- allplugins --- --- pcre_globals.o --- --- srvicqpr.o --- cc -osrvicqpr.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL icqpr.c --- allplugins --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_globals.c --- srvicqpr.o --- In file included from icqpr.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- allplugins --- --- pcre_info.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_info.c --- pcre_maketables.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_maketables.c --- srvicqpr.o --- icqpr.c:132:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; ^~~~~~~~~~~~~~~ /usr/include/string.h:80:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ icqpr.c:136:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ic->id = mystrdup(param->username); ^~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ icqpr.c:206:55: warning: passing 'char [21]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!state->leftinstate)param->srv->logfunc(param, "Warning: need resync"); ^~~~~~~~~~~~~~~~~~~~~~ icqpr.c:209:33: warning: passing 'char [12]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->srv->logfunc(param, "Out of Sync"); ^~~~~~~~~~~~~ icqpr.c:218:32: warning: passing 'char [23]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->srv->logfunc(param, "Warning: Wrong channel"); --- allplugins --- --- pcre_newline.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_newline.c --- srvicqpr.o --- ^~~~~~~~~~~~~~~~~~~~~~~~ icqpr.c:241:33: warning: passing 'char [64]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->srv->logfunc(param, smallbuf); ^~~~~~~~ icqpr.c:246:64: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] sprintf(smallbuf, "Warning: %hu flaps are lost on resync", state->gotseq - state->srvseq ); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d icqpr.c:247:32: warning: passing 'char [64]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->srv->logfunc(param, smallbuf); ^~~~~~~~ icqpr.c:343:39: warning: passing 'char [0]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = sockgetlinebuf(param, direction, flap->data, len, EOF, conf.timeouts[STRING_S]); ^~~~~~~~~~ ./proxy.h:160:81: note: passing argument to parameter 'buf' here int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); ^ icqpr.c:422:52: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!param->username && ic->id) param->username = mystrdup(ic->id); ^ ~~~~~~~~~~~~~~~~ icqpr.c:377:5: warning: variable 'buf' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(socksend(param->clisock, tmpsend, 10, conf.timeouts[STRING_S])!=10) {RETURN (1101);} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icqpr.c:520:5: note: uninitialized use occurs here if(buf) myfree(buf); ^~~ icqpr.c:377:2: note: remove the 'if' if its condition is always false if(socksend(param->clisock, tmpsend, 10, conf.timeouts[STRING_S])!=10) {RETURN (1101);} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icqpr.c:354:20: note: initialize the variable 'buf' to silence this warning unsigned char *buf; ^ = NULL icqpr.c:17:13: warning: unused function 'hexdump' [-Wunused-function] static void hexdump(unsigned char *data, int len){ ^ --- srvmsnpr.o --- cc -osrvmsnpr.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL msnpr.c --- srvudppm.o --- --- proxy.o --- 16 warnings generated. --- srvmsnpr.o --- In file included from msnpr.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ msnpr.c:46:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] sp1 = data + 3; ^ ~~~~~~~~ msnpr.c:62:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] cookie->userid = mystrdup(param->username); ^~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ msnpr.c:62:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- srvudppm.o --- cc -osrvudppm.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL udppm.c --- srvmsnpr.o --- cookie->userid = mystrdup(param->username); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ msnpr.c:69:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(tmpbuf, data); ^~~~ /usr/include/string.h:82:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ msnpr.c:126:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!(sp1 = strchr(buf, ' ')) || !(sp2 = strchr(sp1 + 1, ' ')) || !(sp3 = strchr(sp2 + 1, ' ')) || ((int)(sp3-sp2)) < 6) RETURN(1202); ^~~ /usr/include/string.h:76:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ msnpr.c:138:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] verstr = mystrdup(buf); ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ msnpr.c:145:71: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(buf[0] != 'C' || buf[1] != 'V' || buf[2] != 'R' || !(sp1=strrchr(buf,' ')) || (len = (int)strlen(sp1+1)) < 3) RETURN(1206); ^~~ /usr/include/string.h:110:27: note: passing argument to parameter here char *strrchr(const char *, int) __pure; ^ msnpr.c:154:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^~~~~~~~~~~~~~~ /usr/include/string.h:80:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ msnpr.c:154:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(param->username, cookie->userid)){ ^~~~~~~~~~~~~~ /usr/include/string.h:80:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ msnpr.c:175:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(socksend(param->remsock, verstr, len, conf.timeouts[STRING_S])!= len) {RETURN (1207);} ^~~~~~ ./proxy.h:150:43: note: passing argument to parameter 'buf' here int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); ^ msnpr.c:180:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] verstr = mystrdup(buf); ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ msnpr.c:186:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(buf, verstr); ^~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ msnpr.c:189:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = (int)strlen(buf); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ --- allplugins --- --- pcre_ord2utf8.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_ord2utf8.c --- srvicqpr.o --- 13 warnings generated. --- sockmap.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL sockmap.c --- srvmsnpr.o --- 14 warnings generated. --- srvudppm.o --- In file included from udppm.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- allplugins --- --- pcre_refcount.o --- --- sockmap.o --- In file included from sockmap.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- allplugins --- --- pcre_study.o --- --- pcre_refcount.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_refcount.c --- pcre_study.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_study.c --- srvudppm.o --- udppm.c:38:17: warning: unused variable 'udpmappings' [-Wunused-variable] struct udpmap *udpmappings = NULL; ^ udppm.c:39:16: warning: unused variable 'fds' [-Wunused-variable] struct pollfd fds[256]; ^ 3 warnings generated. --- sockmap.o --- sockmap.c:53:52: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->clioffset, ¶m->cliinbuf); ^~~~~~~~~~~~~~~~~~ ./proxy.h:254:88: note: passing argument to parameter 'bufsize_p' here FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:53:90: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->clioffset, ¶m->cliinbuf); ^~~~~~~~~~~~~~~~ ./proxy.h:254:117: note: passing argument to parameter 'length_p' here FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:60:52: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvoffset, ¶m->srvinbuf); ^~~~~~~~~~~~~~~~~~ ./proxy.h:255:88: note: passing argument to parameter 'bufsize_p' here FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:60:90: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvoffset, ¶m->srvinbuf); ^~~~~~~~~~~~~~~~ ./proxy.h:255:117: note: passing argument to parameter 'length_p' here FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:191:54: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->cliinbuf - res, ¶m->cliinbuf); ^~~~~~~~~~~~~~~~~~ ./proxy.h:254:88: note: passing argument to parameter 'bufsize_p' here FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:191:97: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->cliinbuf - res, ¶m->cliinbuf); ^~~~~~~~~~~~~~~~ ./proxy.h:254:117: note: passing argument to parameter 'length_p' here FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:224:54: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvinbuf - res, ¶m->srvinbuf); ^~~~~~~~~~~~~~~~~~ ./proxy.h:255:88: note: passing argument to parameter 'bufsize_p' here FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ sockmap.c:224:97: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvinbuf - res, ¶m->srvinbuf); ^~~~~~~~~~~~~~~~ ./proxy.h:255:117: note: passing argument to parameter 'length_p' here FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); ^ --- allplugins --- --- pcre_tables.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_tables.c --- srvproxy.o --- 18 warnings generated. --- sockgetchar.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL sockgetchar.c --- allplugins --- --- pcre_try_flipped.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_try_flipped.c --- myalloc.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL myalloc.c --- sockgetchar.o --- In file included from sockgetchar.c:8: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- allplugins --- --- pcre_ucp_searchfuncs.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_ucp_searchfuncs.c --- sockmap.o --- 9 warnings generated. --- allplugins --- --- pcre_valid_utf8.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_valid_utf8.c --- myalloc.o --- In file included from myalloc.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- common.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL common.c --- myalloc.o --- 1 warning generated. --- allplugins --- --- pcre_version.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_version.c --- auth.o --- cc -oauth.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL auth.c --- sockgetchar.o --- 1 warning generated. --- common.o --- In file included from common.c:12: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- allplugins --- --- pcre_xclass.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_xclass.c --- datatypes.o --- cc -odatatypes.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL datatypes.c --- common.o --- common.c:145:2: warning: incompatible pointer types initializing 'size_t (*)(int, const void *, size_t, int)' with an expression of type 'ssize_t (int, const void *, size_t, int)' [-Wincompatible-pointer-types] send, ^~~~ common.c:146:2: warning: incompatible pointer types initializing 'size_t (*)(int, const void *, size_t, int, const struct sockaddr *, socklen_t)' with an expression of type 'ssize_t (int, const void *, size_t, int, const struct sockaddr *, socklen_t)' [-Wincompatible-pointer-types] sendto, ^~~~~~ common.c:147:2: warning: incompatible pointer types initializing 'size_t (*)(int, void *, size_t, int)' with an expression of type 'ssize_t (int, void *, size_t, int)' [-Wincompatible-pointer-types] recv, ^~~~ --- auth.o --- In file included from auth.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- common.o --- common.c:148:2: warning: incompatible pointer types initializing 'size_t (*)(int, void *, size_t, int, struct sockaddr *, socklen_t *)' with an expression of type 'ssize_t (int, void *, size_t, int, struct sockaddr *restrict, socklen_t *restrict)' [-Wincompatible-pointer-types] recvfrom, ^~~~~~~~ common.c:209:14: warning: comparison of distinct pointer types ('char *' and 'unsigned char *') [-Wcompare-distinct-pointer-types] if(hostname != param->hostname){ ~~~~~~~~ ^ ~~~~~~~~~~~~~~~ --- md4.o --- cc -omd4.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/md4.c --- common.o --- common.c:427:24: warning: comparison of unsigned enum expression >= 0 is always true [-Wtautological-compare] if(param->service >=0 && param->service < 15) { ~~~~~~~~~~~~~~ ^ ~ --- allplugins --- --- pcre_dftables.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_dftables.c --- pcre_plugin.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_plugin.c --- auth.o --- auth.c:398:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(param->hostname, hstentry->name)) match = 1; ^~~~~~~~~~~~~~~ /usr/include/string.h:118:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ auth.c:398:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(param->hostname, hstentry->name)) match = 1; ^~~~~~~~~~~~~~ /usr/include/string.h:118:40: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ --- datatypes.o --- In file included from datatypes.c:9: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- auth.o --- auth.c:402:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(param->hostname, hstentry->name) == (char *)param->hostname) match = 1; ^~~~~~~~~~~~~~~ /usr/include/string.h:118:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ auth.c:402:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(param->hostname, hstentry->name) == (char *)param->hostname) match = 1; ^~~~~~~~~~~~~~ /usr/include/string.h:118:40: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ auth.c:406:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; ^~~~~~~~~~~~~~~ /usr/include/string.h:118:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ auth.c:406:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; ^~~~~~~~~~~~~~ /usr/include/string.h:118:40: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ auth.c:406:91: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; ^~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ auth.c:410:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(param->hostname, hstentry->name)) match = 1; ^~~~~~~~~~~~~~~ /usr/include/string.h:80:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ auth.c:410:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(param->hostname, hstentry->name)) match = 1; ^~~~~~~~~~~~~~ /usr/include/string.h:80:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ auth.c:692:94: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(((!(conf.authcachetype&2)) || (param->username && ac->username && !strcmp(ac->username, param->username))) && ^~~~~~~~~~~~~~~ /usr/include/string.h:80:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ auth.c:694:92: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] (!(conf.authcachetype&4) || (ac->password && param->password && !strcmp(ac->password, param->password)))) { ^~~~~~~~~~~~~~~ /usr/include/string.h:80:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ auth.c:698:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->username = mystrdup(ac->username); ^ ~~~~~~~~~~~~~~~~~~~~~~ auth.c:726:59: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((!(conf.authcachetype&2) || !strcmp(ac->username, param->username)) && ^~~~~~~~~~~~~~~ /usr/include/string.h:80:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ auth.c:728:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] (!(conf.authcachetype&4) || (ac->password && !strcmp(ac->password, param->password)))) { ^~~~~~~~~~~~~~~ /usr/include/string.h:80:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ auth.c:730:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strcmp(ac->username, param->username)){ ^~~~~~~~~~~~~~~ /usr/include/string.h:80:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ auth.c:732:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ac->username = mystrdup(param->username); ^~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ auth.c:737:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ac->password = mystrdup(param->password); ^~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ auth.c:748:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ac->username = mystrdup(param->username); ^~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ auth.c:751:77: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((conf.authcachetype&4) && param->password) ac->password = mystrdup(param->password); ^~~~~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ auth.c:805:47: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(param->sinc.sin_addr.s_addr != udpresolve(buf, NULL, param, 1)) return 6; ^~~ ./proxy.h:238:42: note: passing argument to parameter 'name' here unsigned long udpresolve(unsigned char * name, unsigned *retttl, struct clientparam* param, int makeauth); ^ auth.c:1141:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->username = mystrdup (buf + k + 13); ^~~~~~~~~~~~ /usr/include/string.h:85:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ auth.c:1141:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] param->username = mystrdup (buf + k + 13); ^ ~~~~~~~~~~~~~~~~~~~~~~~ --- md5.o --- --- allplugins --- pcre_plugin.c:148:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] count = pcre_exec(pcrefd->re, NULL, *buf_p, *length_p, offset, 0, ovector, 48); ^~~~~~ ./pcre.h:279:73: note: passing argument to parameter here PCRE_EXP_DECL int pcre_exec(const pcre *, const pcre_extra *, PCRE_SPTR, ^ pcre_plugin.c:199:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] *buf_p = newbuf; ^ ~~~~~~ pcre_plugin.c:233:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(argv[2], "allow")) action = PASS; ^~~~~~~ --- md5.o --- cc -omd5.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/md5.c --- allplugins --- /usr/include/string.h:80:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ pcre_plugin.c:234:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if(!strcmp(argv[2], "deny")) action = REJECT; ^~~~~~~ /usr/include/string.h:80:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ pcre_plugin.c:235:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if(!strcmp(argv[2], "remove")) action = REMOVE; ^~~~~~~ /usr/include/string.h:80:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ pcre_plugin.c:236:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if(!strcmp(argv[2], "dunno")) action = CONTINUE; ^~~~~~~ /usr/include/string.h:80:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ pcre_plugin.c:238:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(argv[0], "pcre_rewrite")) { ^~~~~~~ /usr/include/string.h:80:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ pcre_plugin.c:241:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] replace = pl->mystrdup(argv[4]); ^~~~~~~ pcre_plugin.c:299:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(argv[1], "request"))newf->filter_request = pcre_filter_buffer; ^~~~~~~ /usr/include/string.h:118:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ pcre_plugin.c:300:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(argv[1], "cliheader"))newf->filter_header_cli = pcre_filter_buffer; ^~~~~~~ /usr/include/string.h:118:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ pcre_plugin.c:301:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(argv[1], "clidata"))newf->filter_data_cli = pcre_filter_buffer; ^~~~~~~ /usr/include/string.h:118:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ pcre_plugin.c:302:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(argv[1], "srvheader"))newf->filter_header_srv = pcre_filter_buffer; ^~~~~~~ /usr/include/string.h:118:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ pcre_plugin.c:303:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strstr(argv[1], "srvdata"))newf->filter_data_srv = pcre_filter_buffer; ^~~~~~~ /usr/include/string.h:118:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ pcre_plugin.c:337:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(pcreopts[i].name, argv[j])) ^~~~~~~ /usr/include/string.h:80:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ 14 warnings generated. --- pcreposix.o --- cc -fpic -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcreposix.c --- mycrypt.o --- --- common.o --- 7 warnings generated. --- datatypes.o --- 1 warning generated. --- base64.o --- --- mycrypt.o --- cc -omycrypt.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL mycrypt.c --- ftp.o --- --- base64.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL base64.c --- ftp.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ftp.c In file included from ftp.c:9: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- smbdes.o --- --- ntlm.o --- --- smbdes.o --- cc -osmbdes.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/smbdes.c --- ntlm.o --- cc -ontlm.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ntlm.c --- stringtable.o --- cc -ostringtable.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL stringtable.c --- srvwebadmin.o --- --- ntlm.o --- In file included from ntlm.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- srvdnspr.o --- --- srvwebadmin.o --- cc -osrvwebadmin.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL webadmin.c --- srvdnspr.o --- cc -osrvdnspr.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL dnspr.c --- auth.o --- 23 warnings generated. --- plugins.o --- cc -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL plugins.c --- srvwebadmin.o --- In file included from webadmin.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- ntlm.o --- 1 warning generated. --- srvdnspr.o --- In file included from dnspr.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- dighosts.o --- cc -odighosts.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL dighosts.c --- plugins.o --- In file included from plugins.c:10: --- ftp.o --- 1 warning generated. --- plugins.o --- In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- countersutil.o --- cc -ocountersutil.o -Wall -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL countersutil.c --- dighosts.o --- In file included from dighosts.c:9: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- plugins.o --- 1 warning generated. --- pop3p --- cc -opop3p -Wall -lpthread sockmap.o pop3p.o sockgetchar.o myalloc.o common.o --- countersutil.o --- In file included from countersutil.c:10: In file included from ./proxy.h:25: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ --- socks --- --- srvdnspr.o --- 1 warning generated. --- socks --- cc -osocks -Wall -lpthread sockmap.o socks.o sockgetchar.o myalloc.o common.o --- tcppm --- cc -otcppm -Wall -lpthread sockmap.o sockgetchar.o tcppm.o myalloc.o common.o --- icqpr --- cc -oicqpr -Wall -lpthread sockmap.o sockgetchar.o icqpr.o myalloc.o common.o --- countersutil.o --- 1 warning generated. --- dighosts.o --- 1 warning generated. --- msnpr --- --- udppm --- --- msnpr --- cc -omsnpr -Wall -lpthread sockmap.o sockgetchar.o msnpr.o myalloc.o common.o --- udppm --- cc -oudppm -Wall -lpthread sockmap.o sockgetchar.o udppm.o myalloc.o common.o --- smtpp --- --- mycrypt --- --- proxy --- --- smtpp --- cc -osmtpp -Wall -lpthread sockmap.o smtpp.o sockgetchar.o base64.o myalloc.o common.o --- mycrypt --- cc -omycrypt -Wall -lpthread md4.o md5.o base64.o mycryptmain.o --- proxy --- cc -oproxy -Wall -lpthread sockmap.o proxy.o sockgetchar.o myalloc.o common.o base64.o ftp.o --- ftppr --- cc -oftppr -Wall -lpthread sockmap.o ftppr.o sockgetchar.o myalloc.o common.o ftp.o --- countersutil --- --- dighosts --- --- countersutil --- cc -ocountersutil -Wall -lpthread countersutil.o --- dighosts --- cc -odighosts -Wall -lpthread dighosts.o myalloc.o common.o --- srvwebadmin.o --- 1 warning generated. --- 3proxy --- cc -o3proxy -Wall -lpthread 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 --- allplugins --- --- PCREPlugin.so --- cc -o../../PCREPlugin.so -Wall -lpthread -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 /bin/mv /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.7.1.3/src/proxy /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.7.1.3/src/httppr /bin/mv /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.7.1.3/man/proxy.8 /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.7.1.3/man/httppr.8 =========================================================================== ====>> Checking for filesystem violations... done =================================================== =========================================================================== ====>> Recording filesystem state for prestage... done =================================================== ===> Staging for 3proxy-0.7.1.3 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/lib/3proxy/ /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/share/doc/3proxy/ cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.7.1.3/src/ && install -s -m 555 3proxy countersutil dighosts ftppr icqpr msnpr mycrypt pop3p httppr smtpp socks tcppm udppm /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/bin/ cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.7.1.3/cfg/ && install -m 0644 3proxy.cfg.sample /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/etc/ cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.7.1.3/src/ && install -s -m 444 PCREPlugin.so StringsPlugin.so TrafficPlugin.so /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/lib/3proxy/ cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.7.1.3/man/ && install -m 444 3proxy.cfg.3 /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/man/man3/ cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.7.1.3/man/ && install -m 444 3proxy.8 ftppr.8 pop3p.8 httppr.8 socks.8 tcppm.8 udppm.8 /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/man/man8/ cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.7.1.3/ && install -m 0644 README /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/share/doc/3proxy/ ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) ===> Installing ldconfig configuration file =========================================================================== ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ====>> Checking for staging violations... done =================================================== ===> Building package for 3proxy-0.7.1.3 =========================================================================== =================================================== =========================================================================== ====>> Recording filesystem state for preinst... done =================================================== ===> Installing for 3proxy-0.7.1.3 ===> Checking if 3proxy already installed ===> Registering installation for 3proxy-0.7.1.3 [FreeBSD:10:amd64-default] Installing 3proxy-0.7.1.3... ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/bin/smtpp /usr/local/bin/3proxy /usr/local/bin/msnpr /usr/local/bin/tcppm /usr/local/bin/dighosts /usr/local/bin/ftppr /usr/local/bin/udppm /usr/local/bin/httppr /usr/local/bin/pop3p /usr/local/bin/socks /usr/local/bin/icqpr This port has installed the following startup scripts which may cause these network services to be started at boot time. /usr/local/etc/rc.d/3proxy If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://3proxy.ru/ =========================================================================== ====>> Checking shared library dependencies 0x0000000000000001 (NEEDED) Shared library: [libc.so.7] 0x0000000000000001 (NEEDED) Shared library: [libthr.so.3] =================================================== ===> Deinstalling for 3proxy ===> Deinstalling 3proxy-0.7.1.3 Updating database digests format: .. done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: 3proxy-0.7.1.3 The operation will free 816 KiB. [FreeBSD:10:amd64-default] [1/1] Deinstalling 3proxy-0.7.1.3... [FreeBSD:10:amd64-default] [1/1] Deleting files for 3proxy-0.7.1.3: .......... done =========================================================================== ====>> Checking for extra files and directories [00:00:57] ====>> Installing from package [FreeBSD:10:amd64-default] Installing 3proxy-0.7.1.3... [FreeBSD:10:amd64-default] Extracting 3proxy-0.7.1.3: .......... done [00:00:57] ====>> Cleaning up ===> Cleaning for 3proxy-0.7.1.3 [00:00:57] ====>> Deinstalling package Updating database digests format: . done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: 3proxy-0.7.1.3 The operation will free 816 KiB. [FreeBSD:10:amd64-default] [1/1] Deinstalling 3proxy-0.7.1.3... [FreeBSD:10:amd64-default] [1/1] Deleting files for 3proxy-0.7.1.3: .......... done build of net/3proxy ended at Wed Oct 14 11:38:44 MSK 2015 build time: 00:00:13