------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/openssl-1.0.2s,1.tgz Message from openssl-1.0.2s,1: Edit /usr/local/openssl/openssl.cnf to fit your needs. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- x/!\ pipsecd-19991014_5: Makefile warnings, please consider fixing /!\ Please set LICENSE for this port SUCCEEDED 00:00:10 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- x/!\ pipsecd-19991014_5: Makefile warnings, please consider fixing /!\ Please set LICENSE for this port ===> Fetching all distfiles required by pipsecd-19991014_5 for building SUCCEEDED 00:00:10 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- x/!\ pipsecd-19991014_5: Makefile warnings, please consider fixing /!\ Please set LICENSE for this port ===> Fetching all distfiles required by pipsecd-19991014_5 for building => SHA256 Checksum OK for pipsec-19991014.tar.gz. SUCCEEDED 00:00:10 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- x/!\ pipsecd-19991014_5: Makefile warnings, please consider fixing /!\ Please set LICENSE for this port ===> Fetching all distfiles required by pipsecd-19991014_5 for building ===> Extracting for pipsecd-19991014_5 => SHA256 Checksum OK for pipsec-19991014.tar.gz. Extracted Memory Use: 0.09M SUCCEEDED 00:00:11 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- x===> Patching for pipsecd-19991014_5 ===> Applying ports patches for pipsecd-19991014_5 ===> Applying dragonfly patches for pipsecd-19991014_5 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- x===> Configuring for pipsecd-19991014_5 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- x===> Building for pipsecd-19991014_5 --- pipsecd --- cc -Wall -I/usr/local/include/openssl -I/usr/local/include -I/usr/local/include -g -pipe -O2 -fno-strict-aliasing -o pipsecd tunip.c -L/usr/local/lib -lcrypto -DFILE_PREFIX=\"/usr/local\" tunip.c:374:5: warning: initialization of 'void (*)(hash_CTX *)' {aka 'void (*)(union *)'} from incompatible pointer type 'int (*)(MD5_CTX *)' {aka 'int (*)(struct MD5state_st *)'} [-Wincompatible-pointer-types] MD5_Init, MD5_Update, MD5_Final ^~~~~~~~ tunip.c:374:5: note: (near initialization for 'hash_md5.hash_Init') tunip.c:374:15: warning: initialization of 'void (*)(hash_CTX *, const unsigned char *, unsigned int)' {aka 'void (*)(union *, const unsigned char *, unsigned int)'} from incompatible pointer type 'int (*)(MD5_CTX *, const void *, size_t)' {aka 'int (*)(struct MD5state_st *, const void *, long unsigned int)'} [-Wincompatible-pointer-types] MD5_Init, MD5_Update, MD5_Final ^~~~~~~~~~ tunip.c:374:15: note: (near initialization for 'hash_md5.hash_Update') tunip.c:374:27: warning: initialization of 'void (*)(unsigned char *, hash_CTX *)' {aka 'void (*)(unsigned char *, union *)'} from incompatible pointer type 'int (*)(unsigned char *, MD5_CTX *)' {aka 'int (*)(unsigned char *, struct MD5state_st *)'} [-Wincompatible-pointer-types] MD5_Init, MD5_Update, MD5_Final ^~~~~~~~~ tunip.c:374:27: note: (near initialization for 'hash_md5.hash_Final') tunip.c:379:5: warning: initialization of 'void (*)(hash_CTX *)' {aka 'void (*)(union *)'} from incompatible pointer type 'int (*)(SHA_CTX *)' {aka 'int (*)(struct SHAstate_st *)'} [-Wincompatible-pointer-types] SHA1_Init, SHA1_Update, SHA1_Final ^~~~~~~~~ tunip.c:379:5: note: (near initialization for 'hash_sha1.hash_Init') tunip.c:379:16: warning: initialization of 'void (*)(hash_CTX *, const unsigned char *, unsigned int)' {aka 'void (*)(union *, const unsigned char *, unsigned int)'} from incompatible pointer type 'int (*)(SHA_CTX *, const void *, size_t)' {aka 'int (*)(struct SHAstate_st *, const void *, long unsigned int)'} [-Wincompatible-pointer-types] SHA1_Init, SHA1_Update, SHA1_Final ^~~~~~~~~~~ tunip.c:379:16: note: (near initialization for 'hash_sha1.hash_Update') tunip.c:379:29: warning: initialization of 'void (*)(unsigned char *, hash_CTX *)' {aka 'void (*)(unsigned char *, union *)'} from incompatible pointer type 'int (*)(unsigned char *, SHA_CTX *)' {aka 'int (*)(unsigned char *, struct SHAstate_st *)'} [-Wincompatible-pointer-types] SHA1_Init, SHA1_Update, SHA1_Final ^~~~~~~~~~ tunip.c:379:29: note: (near initialization for 'hash_sha1.hash_Final') tunip.c:384:5: warning: initialization of 'void (*)(hash_CTX *)' {aka 'void (*)(union *)'} from incompatible pointer type 'int (*)(RIPEMD160_CTX *)' {aka 'int (*)(struct RIPEMD160state_st *)'} [-Wincompatible-pointer-types] RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final ^~~~~~~~~~~~~~ tunip.c:384:5: note: (near initialization for 'hash_ripemd160.hash_Init') tunip.c:384:21: warning: initialization of 'void (*)(hash_CTX *, const unsigned char *, unsigned int)' {aka 'void (*)(union *, const unsigned char *, unsigned int)'} from incompatible pointer type 'int (*)(RIPEMD160_CTX *, const void *, size_t)' {aka 'int (*)(struct RIPEMD160state_st *, const void *, long unsigned int)'} [-Wincompatible-pointer-types] RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final ^~~~~~~~~~~~~~~~ tunip.c:384:21: note: (near initialization for 'hash_ripemd160.hash_Update') tunip.c:384:39: warning: initialization of 'void (*)(unsigned char *, hash_CTX *)' {aka 'void (*)(unsigned char *, union *)'} from incompatible pointer type 'int (*)(unsigned char *, RIPEMD160_CTX *)' {aka 'int (*)(unsigned char *, struct RIPEMD160state_st *)'} [-Wincompatible-pointer-types] RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final ^~~~~~~~~~~~~~~ tunip.c:384:39: note: (near initialization for 'hash_ripemd160.hash_Final') tunip.c: In function 'find_encap': tunip.c:494:33: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(encap_meth[i].name, name) == 0) ~~~~~~~~~~~~~^~~~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:494:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(encap_meth[i].name, name) == 0) ^~~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c: In function 'find_crypt': tunip.c:506:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(cp->name, name) == 0) ^~~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c: In function 'find_hash': tunip.c:518:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(hp->name, name) == 0) ^~~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c: In function 'encap_udp_recv': tunip.c:535:37: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&encap->from, &encap->fromlen); ^~~~~~~~~~~~~~~ In file included from tunip.c:32: /usr/include/sys/socket.h:497:9: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' ssize_t recvfrom(int, void * __restrict, size_t, int, ^~~~~~~~ tunip.c: In function 'encap_rawip_recv': tunip.c:566:37: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&encap->from, &encap->fromlen); ^~~~~~~~~~~~~~~ In file included from tunip.c:32: /usr/include/sys/socket.h:497:9: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' ssize_t recvfrom(int, void * __restrict, size_t, int, ^~~~~~~~ tunip.c: In function 'encap_icmp_recv': tunip.c:616:40: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&encap->from, &encap->fromlen); ^~~~~~~~~~~~~~~ In file included from tunip.c:32: /usr/include/sys/socket.h:497:9: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' ssize_t recvfrom(int, void * __restrict, size_t, int, ^~~~~~~~ tunip.c: In function 'tun_send_ip': tunip.c:714:15: warning: unused variable 'i' [-Wunused-variable] int sent, i; ^ tunip.c: In function 'encap_udp_new': tunip.c:763:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] encap->name = "udp"; ^ tunip.c: In function 'encap_ah_new': tunip.c:794:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] encap->name = "ipah"; ^ tunip.c: In function 'encap_esp_new': tunip.c:825:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] encap->name = "ipesp"; ^ tunip.c: In function 'encap_icmp_new': tunip.c:856:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] encap->name = "icmp"; ^ tunip.c: In function 'find_local_addr': tunip.c:901:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)source, &addrlen) == -1) { ^~~~~~~~ In file included from tunip.c:32: /usr/include/sys/socket.h:493:5: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ tunip.c: In function 'parse_secret': tunip.c:948:47: warning: format '%c' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] syslog(LOG_ERR, "illegal hex character '%c'", c); ~^ ~ %hhn tunip.c:960:47: warning: format '%c' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] syslog(LOG_ERR, "illegal hex character '%c'", c); ~^ ~ %hhn tunip.c: In function 'config_read': tunip.c:989:18: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(line, sizeof line, cf) != NULL) { ^~~~ In file included from tunip.c:37: /usr/include/stdio.h:197:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *fgets(char * __restrict, int, FILE * __restrict); ^~~~~ tunip.c:992:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] line[strlen(line)-1] = '\0'; ^~~~ In file included from tunip.c:51: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ tunip.c:996:18: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^~~ In file included from tunip.c:51: /usr/include/string.h:130:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^~~~~~ tunip.c:996:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ tunip.c:1000:19: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg2 = strsep(&lp, " \t"); while (arg2 && *arg2 == '\0'); ^~~ In file included from tunip.c:51: /usr/include/string.h:130:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^~~~~~ tunip.c:1000:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] do arg2 = strsep(&lp, " \t"); while (arg2 && *arg2 == '\0'); ^ tunip.c:1006:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(arg, "sa") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1040:19: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^~~ In file included from tunip.c:51: /usr/include/string.h:130:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^~~~~~ tunip.c:1040:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ tunip.c:1043:17: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^~~ In file included from tunip.c:51: /usr/include/string.h:82:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^~~~~~ tunip.c:1043:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^ tunip.c:1048:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] arg2 = ""; ^ tunip.c:1049:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(arg, "enc") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1056:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "noiv") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1058:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "dest") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1059:26: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] he = gethostbyname(arg2); ^~~~ In file included from tunip.c:49: /usr/include/netdb.h:248:17: note: expected 'const char *' but argument is of type 'unsigned char *' struct hostent *gethostbyname(const char *); ^~~~~~~~~~~~~ tunip.c:1087:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "ekey") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1093:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "akey") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1099:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "spi") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1100:22: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] sa->spi = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c:1101:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "auth") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1137:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "if") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1143:16: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] fd = open(arg2, O_RDWR); ^~~~ In file included from tunip.c:36: /usr/include/fcntl.h:328:5: note: expected 'const char *' but argument is of type 'unsigned char *' int open(const char *, int, ...); ^~~~ tunip.c:1145:10: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] perror(arg); ^~~ In file included from tunip.c:37: /usr/include/stdio.h:215:7: note: expected 'const char *' but argument is of type 'unsigned char *' void perror(const char *); ^~~~~~ tunip.c:1160:19: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^~~ In file included from tunip.c:51: /usr/include/string.h:130:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^~~~~~ tunip.c:1160:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ tunip.c:1163:17: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^~~ In file included from tunip.c:51: /usr/include/string.h:82:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^~~~~~ tunip.c:1163:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^ tunip.c:1168:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] arg2 = ""; ^ tunip.c:1169:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(arg, "local_spi") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1170:32: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] unsigned long spi = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c:1177:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "remote_spi") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1178:32: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] unsigned long spi = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c:1207:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "keepalive_recv") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1208:28: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] keepalive_recv = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c:1209:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "keepalive_send") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1210:28: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] keepalive_send = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c:1211:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "checkifaddr") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1212:26: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] check_ifaddr = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c: In function 'hmac_compute': tunip.c:1291:32: warning: pointer targets in passing argument 2 of 'hm->hash_Update' differ in signedness [-Wpointer-sign] hm->hash_Update(&hash_ctx, (char *)k_ipad, 64); ^~~~~~~~~~~~~~ tunip.c:1291:32: note: expected 'const unsigned char *' but argument is of type 'char *' tunip.c:1297:32: warning: pointer targets in passing argument 2 of 'hm->hash_Update' differ in signedness [-Wpointer-sign] hm->hash_Update(&hash_ctx, (char *)k_opad, 64); ^~~~~~~~~~~~~~ tunip.c:1297:32: note: expected 'const unsigned char *' but argument is of type 'char *' tunip.c: In function 'hmac_udp_compute': tunip.c:1358:32: warning: pointer targets in passing argument 2 of 'hm->hash_Update' differ in signedness [-Wpointer-sign] hm->hash_Update(&hash_ctx, ":::", 3); ^~~~~ tunip.c:1358:32: note: expected 'const unsigned char *' but argument is of type 'char *' tunip.c: In function 'my_des_cbc_encrypt': tunip.c:2027:42: warning: passing argument 5 of 'DES_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] DES_cbc_encrypt(t, t, len, &ek->des, iv, DES_ENCRYPT); ^~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:141:34: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' DES_cblock *ivec, int enc); ~~~~~~~~~~~~^~~~ tunip.c: In function 'my_des_cbc_decrypt': tunip.c:2039:44: warning: passing argument 5 of 'DES_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] DES_cbc_encrypt(ct, ct, len, &dk->des, iv, DES_DECRYPT); ^~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:141:34: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' DES_cblock *ivec, int enc); ~~~~~~~~~~~~^~~~ tunip.c: In function 'my_des_setkey': tunip.c:2050:21: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] return DES_set_key(b, &k->des); ^ In file included from tunip.c:62: /usr/local/include/openssl/des.h:230:35: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ~~~~~~~~~~~~~~~~~~^~~ tunip.c: In function 'my_des3_cbc_encrypt': tunip.c:2059:5: warning: passing argument 7 of 'DES_ede3_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] iv, DES_ENCRYPT); ^~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:184:62: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' DES_key_schedule *ks3, DES_cblock *ivec, int enc); ~~~~~~~~~~~~^~~~ tunip.c: In function 'my_des3_cbc_decrypt': tunip.c:2067:5: warning: passing argument 7 of 'DES_ede3_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] iv, DES_DECRYPT); ^~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:184:62: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' DES_key_schedule *ks3, DES_cblock *ivec, int enc); ~~~~~~~~~~~~^~~~ tunip.c: In function 'my_des3_setkey': tunip.c:2075:21: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] if (DES_set_key(b, &k->des3.k1) != 0) ^ In file included from tunip.c:62: /usr/local/include/openssl/des.h:230:35: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ~~~~~~~~~~~~~~~~~~^~~ tunip.c:2077:22: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] if (DES_set_key(b+8, &k->des3.k2) != 0) ~^~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:230:35: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ~~~~~~~~~~~~~~~~~~^~~ tunip.c:2079:22: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] if (DES_set_key(b+16, &k->des3.k3) != 0) ~^~~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:230:35: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ~~~~~~~~~~~~~~~~~~^~~ tunip.c: In function 'main': tunip.c:2127:22: warning: passing argument 2 of 'tun_new' makes integer from pointer without a cast [-Wint-conversion] tun_new(&tm_tun, NULL, 0); ^~~~ tunip.c:703:16: note: expected 'unsigned int' but argument is of type 'void *' unsigned link_header_size, unsigned char *link_header) ~~~~~~~~~^~~~~~~~~~~~~~~~ tunip.c:2321:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] syslog(LOG_DEBUG, "received update probe from peer %d", ~^ %ld peer - peers); ~~~~~~~~~~~~ SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- x SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- x===> Staging for pipsecd-19991014_5 ===> Generating temporary packing list install -s -m 555 /construction/net/pipsecd/pipsec-19991014/pipsecd /construction/net/pipsecd/stage/usr/local/sbin install -m 0644 /construction/net/pipsecd/pipsec-19991014/pipsecd.sh /construction/net/pipsecd/stage/usr/local/etc/rc.d /bin/mkdir -p /construction/net/pipsecd/stage/usr/local/etc/ipsec install -m 0644 /construction/net/pipsecd/pipsec-19991014/pipsecd.conf.sample /construction/net/pipsecd/stage/usr/local/etc/ipsec /bin/mkdir -p /construction/net/pipsecd/stage/usr/local/share/doc/pipsecd install -m 0644 /construction/net/pipsecd/pipsec-19991014/README /construction/net/pipsecd/stage/usr/local/share/doc/pipsecd install -m 0644 /construction/net/pipsecd/pipsec-19991014/COPYRIGHT /construction/net/pipsecd/stage/usr/local/share/doc/pipsecd install -m 0644 /construction/net/pipsecd/pipsec-19991014/README.port /construction/net/pipsecd/stage/usr/local/share/doc/pipsecd ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- x====> 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) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- x===> Building package for pipsecd-19991014_5 file sizes/checksums [6]: 0% file sizes/checksums [6]: 100% packing files [6]: 0% packing files [6]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:44