=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for ap13-auth-ntlm-0.5
Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86.
gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/pkg/include/httpd -I/usr/pkg/include -I/usr/include  -c mod_ntlm.c
In file included from mod_ntlm.c:31:
./ntlmssp.inc.c:137:17: warning: passing 'unsigned char [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (strncmp(msg->protocol, "NTLMSSP", 8))
                ^~~~~~~~~~~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
In file included from mod_ntlm.c:31:
./ntlmssp.inc.c:246:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (ntlm_extract_string(r, hostname, (char *) msg, msglen,
                                         ^~~~~~~~~~~~
./ntlmssp.inc.c:164:36: note: passing argument to parameter 'src' here
                    unsigned char *src, unsigned srclen,
                                   ^
./ntlmssp.inc.c:257:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (ntlm_extract_string(r, domainname, (char *) msg,
                                           ^~~~~~~~~~~~
./ntlmssp.inc.c:164:36: note: passing argument to parameter 'src' here
                    unsigned char *src, unsigned srclen,
                                   ^
./ntlmssp.inc.c:268:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (ntlm_extract_mem(r, lm, (char *) msg, msglen, msg->lm_off,
                                ^~~~~~~~~~~~
./ntlmssp.inc.c:144:33: note: passing argument to parameter 'src' here
                 unsigned char *src, unsigned srclen,
                                ^
./ntlmssp.inc.c:279:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (ntlm_extract_mem(r, nt, (char *) msg, msglen, msg->nt_off,
                                ^~~~~~~~~~~~
./ntlmssp.inc.c:144:33: note: passing argument to parameter 'src' here
                 unsigned char *src, unsigned srclen,
                                ^
./ntlmssp.inc.c:282:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_mem(r, nt, (char *) msg, msglen, msg->lm_off,
                                        ^~~~~~~~~~~~
./ntlmssp.inc.c:144:33: note: passing argument to parameter 'src' here
                 unsigned char *src, unsigned srclen,
                                ^
./ntlmssp.inc.c:296:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_unicode(r, username, (char *) msg, msglen,
                                                  ^~~~~~~~~~~~
./ntlmssp.inc.c:209:37: note: passing argument to parameter 'src' here
                     unsigned char *src, unsigned srclen,
                                    ^
./ntlmssp.inc.c:301:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_string(r, username, (char *) msg, msglen,
                                                 ^~~~~~~~~~~~
./ntlmssp.inc.c:164:36: note: passing argument to parameter 'src' here
                    unsigned char *src, unsigned srclen,
                                   ^
./ntlmssp.inc.c:322:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_unicode(r, hostname, (char *) msg, msglen,
                                                  ^~~~~~~~~~~~
./ntlmssp.inc.c:209:37: note: passing argument to parameter 'src' here
                     unsigned char *src, unsigned srclen,
                                    ^
./ntlmssp.inc.c:328:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_string(r, hostname, (char *) msg, msglen,
                                                 ^~~~~~~~~~~~
./ntlmssp.inc.c:164:36: note: passing argument to parameter 'src' here
                    unsigned char *src, unsigned srclen,
                                   ^
./ntlmssp.inc.c:343:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_unicode(r, domainname, (char *) msg, msglen,
                                                    ^~~~~~~~~~~~
./ntlmssp.inc.c:209:37: note: passing argument to parameter 'src' here
                     unsigned char *src, unsigned srclen,
                                    ^
./ntlmssp.inc.c:348:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_string(r, domainname, (char *) msg, msglen,
                                                   ^~~~~~~~~~~~
./ntlmssp.inc.c:164:36: note: passing argument to parameter 'src' here
                    unsigned char *src, unsigned srclen,
                                   ^
./ntlmssp.inc.c:382:12: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcpy(msg->protocol, "NTLMSSP");
           ^~~~~~~~~~~~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
In file included from mod_ntlm.c:31:
./ntlmssp.inc.c:396:12: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcpy(msg->protocol, "NTLMSSP");
           ^~~~~~~~~~~~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
In file included from mod_ntlm.c:31:
./ntlmssp.inc.c:402:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            ntlm_put_in_unicode((char *)msg->dom,domainname, 
                                ^~~~~~~~~~~~~~~~
./ntlmssp.inc.c:189:36: note: passing argument to parameter 'dst' here
ntlm_put_in_unicode(unsigned char *dst,
                                   ^
./ntlmssp.inc.c:402:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            ntlm_put_in_unicode((char *)msg->dom,domainname, 
                                                 ^~~~~~~~~~
./ntlmssp.inc.c:190:37: note: passing argument to parameter 'src' here
                     unsigned char *src, unsigned srclen, unsigned max)
                                    ^
./ntlmssp.inc.c:413:14: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            strncpy(msg->dom,domainname,len); 
                    ^~~~~~~~
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
mod_ntlm.c:59:41: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    ap_log_rerror(APLOG_MARK, level, r, s);
                                        ^
mod_ntlm.c:76:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        ap_log_error(APLOG_MARK, level, pServer, s);
                                                 ^
mod_ntlm.c:197:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    len = ap_base64encode(encoded, string, len);
                                   ^~~~~~
/scratch/www/ap-auth-ntlm/work/.buildlink/include/httpd/ap.h:143:63: note: passing argument to parameter 'plain_src' here
API_EXPORT(int) ap_base64encode(char * coded_dst, const char *plain_src,int len_plain_src);
                                                              ^
mod_ntlm.c:383:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    line = ap_pstrdup(r->pool, NTLM_AUTH_NAME);
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mod_ntlm.c:387:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  line);
                  ^~~~
/scratch/www/ap-auth-ntlm/work/.buildlink/include/httpd/ap_alloc.h:196:71: note: passing argument to parameter 'val' here
API_EXPORT(void) ap_table_setn(table *, const char *name, const char *val);
                                                                      ^
mod_ntlm.c:389:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        line = ap_pstrcat(r->pool,
             ^ ~~~~~~~~~~~~~~~~~~~
mod_ntlm.c:394:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      line);
                      ^~~~
/scratch/www/ap-auth-ntlm/work/.buildlink/include/httpd/ap_alloc.h:201:71: note: passing argument to parameter 'val' here
API_EXPORT(void) ap_table_addn(table *, const char *name, const char *val);
                                                                      ^
mod_ntlm.c:474:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            ntlm_encode_msg2(ntlm_connection->nonce, &msg);
                             ^~~~~~~~~~~~~~~~~~~~~~
./ntlmssp.inc.c:379:33: note: passing argument to parameter 'nonce' here
ntlm_encode_msg2(unsigned char *nonce, struct ntlm_msg2 *msg)
                                ^
mod_ntlm.c:475:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            challenge = uuencode_binary(r->pool, (unsigned char *) &msg, sizeof(msg));
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mod_ntlm.c:478:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            l=ntlm_encode_msg2_win9x(ntlm_connection->nonce, &msg_win9x,
                                     ^~~~~~~~~~~~~~~~~~~~~~
./ntlmssp.inc.c:391:39: note: passing argument to parameter 'nonce' here
ntlm_encode_msg2_win9x(unsigned char *nonce, struct ntlm_msg2_win9x *msg,char *domainname,unsigned ntlmssp_flags)
                                      ^
mod_ntlm.c:480:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            challenge = uuencode_binary(r->pool, (unsigned char *)&msg_win9x,l);
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mod_ntlm.c:506:45: warning: passing 'unsigned char [33]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((!strcmp(ntlm_connection->user, ntlmssp->user))
                                            ^~~~~~~~~~~~~
/usr/include/string.h:56:39: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                                          ^
mod_ntlm.c:507:50: warning: passing 'unsigned char [33]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            && (!strcmp(ntlm_connection->domain, ntlmssp->domain))
                                                 ^~~~~~~~~~~~~~~
/usr/include/string.h:56:39: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                                          ^
mod_ntlm.c:525:61: warning: passing 'unsigned char [33]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    ntlm_connection->user = ap_pstrdup(r->connection->pool, ntlmssp->user);
                                                            ^~~~~~~~~~~~~
/scratch/www/ap-auth-ntlm/work/.buildlink/include/httpd/ap_alloc.h:129:58: note: passing argument to parameter 's' here
API_EXPORT(char *) ap_pstrdup(struct pool *, const char *s);
                                                         ^
mod_ntlm.c:527:43: warning: passing 'unsigned char [33]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        ? ap_pstrdup(r->connection->pool, ntlmssp->domain)
                                          ^~~~~~~~~~~~~~~
/scratch/www/ap-auth-ntlm/work/.buildlink/include/httpd/ap_alloc.h:129:58: note: passing argument to parameter 's' here
API_EXPORT(char *) ap_pstrdup(struct pool *, const char *s);
                                                         ^
mod_ntlm.c:686:16: warning: passing 'unsigned char [33]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ((strcmp(ntlmssp->host,"")==0) && (strcmp(ntlmssp->domain,"")==0))
                     ^~~~~~~~~~~~~
/usr/include/string.h:56:25: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                            ^
mod_ntlm.c:686:49: warning: passing 'unsigned char [33]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ((strcmp(ntlmssp->host,"")==0) && (strcmp(ntlmssp->domain,"")==0))
                                                      ^~~~~~~~~~~~~~~
/usr/include/string.h:56:25: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                            ^
34 warnings generated.
gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNETBSD  -DEAPI -DEAPI_MM -O2 -I/usr/include -I/usr/pkg/include -fPIC -DPIC -DSHARED_MODULE -I/usr/pkg/include/httpd -I/usr/pkg/include -I/usr/include  -c ntlmssp.inc.c
ntlmssp.inc.c:137:17: warning: passing 'unsigned char [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (strncmp(msg->protocol, "NTLMSSP", 8))
                ^~~~~~~~~~~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
ntlmssp.inc.c:246:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (ntlm_extract_string(r, hostname, (char *) msg, msglen,
                                         ^~~~~~~~~~~~
ntlmssp.inc.c:164:36: note: passing argument to parameter 'src' here
                    unsigned char *src, unsigned srclen,
                                   ^
ntlmssp.inc.c:257:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (ntlm_extract_string(r, domainname, (char *) msg,
                                           ^~~~~~~~~~~~
ntlmssp.inc.c:164:36: note: passing argument to parameter 'src' here
                    unsigned char *src, unsigned srclen,
                                   ^
ntlmssp.inc.c:268:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (ntlm_extract_mem(r, lm, (char *) msg, msglen, msg->lm_off,
                                ^~~~~~~~~~~~
ntlmssp.inc.c:144:33: note: passing argument to parameter 'src' here
                 unsigned char *src, unsigned srclen,
                                ^
ntlmssp.inc.c:279:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (ntlm_extract_mem(r, nt, (char *) msg, msglen, msg->nt_off,
                                ^~~~~~~~~~~~
ntlmssp.inc.c:144:33: note: passing argument to parameter 'src' here
                 unsigned char *src, unsigned srclen,
                                ^
ntlmssp.inc.c:282:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_mem(r, nt, (char *) msg, msglen, msg->lm_off,
                                        ^~~~~~~~~~~~
ntlmssp.inc.c:144:33: note: passing argument to parameter 'src' here
                 unsigned char *src, unsigned srclen,
                                ^
ntlmssp.inc.c:296:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_unicode(r, username, (char *) msg, msglen,
                                                  ^~~~~~~~~~~~
ntlmssp.inc.c:209:37: note: passing argument to parameter 'src' here
                     unsigned char *src, unsigned srclen,
                                    ^
ntlmssp.inc.c:301:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_string(r, username, (char *) msg, msglen,
                                                 ^~~~~~~~~~~~
ntlmssp.inc.c:164:36: note: passing argument to parameter 'src' here
                    unsigned char *src, unsigned srclen,
                                   ^
ntlmssp.inc.c:322:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_unicode(r, hostname, (char *) msg, msglen,
                                                  ^~~~~~~~~~~~
ntlmssp.inc.c:209:37: note: passing argument to parameter 'src' here
                     unsigned char *src, unsigned srclen,
                                    ^
ntlmssp.inc.c:328:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_string(r, hostname, (char *) msg, msglen,
                                                 ^~~~~~~~~~~~
ntlmssp.inc.c:164:36: note: passing argument to parameter 'src' here
                    unsigned char *src, unsigned srclen,
                                   ^
ntlmssp.inc.c:343:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_unicode(r, domainname, (char *) msg, msglen,
                                                    ^~~~~~~~~~~~
ntlmssp.inc.c:209:37: note: passing argument to parameter 'src' here
                     unsigned char *src, unsigned srclen,
                                    ^
ntlmssp.inc.c:348:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (ntlm_extract_string(r, domainname, (char *) msg, msglen,
                                                   ^~~~~~~~~~~~
ntlmssp.inc.c:164:36: note: passing argument to parameter 'src' here
                    unsigned char *src, unsigned srclen,
                                   ^
ntlmssp.inc.c:382:12: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcpy(msg->protocol, "NTLMSSP");
           ^~~~~~~~~~~~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
ntlmssp.inc.c:396:12: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strcpy(msg->protocol, "NTLMSSP");
           ^~~~~~~~~~~~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
ntlmssp.inc.c:402:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            ntlm_put_in_unicode((char *)msg->dom,domainname, 
                                ^~~~~~~~~~~~~~~~
ntlmssp.inc.c:189:36: note: passing argument to parameter 'dst' here
ntlm_put_in_unicode(unsigned char *dst,
                                   ^
ntlmssp.inc.c:402:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            ntlm_put_in_unicode((char *)msg->dom,domainname, 
                                                 ^~~~~~~~~~
ntlmssp.inc.c:190:37: note: passing argument to parameter 'src' here
                     unsigned char *src, unsigned srclen, unsigned max)
                                    ^
ntlmssp.inc.c:413:14: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            strncpy(msg->dom,domainname,len); 
                    ^~~~~~~~
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
17 warnings generated.
ld -shared -o mod_ntlm.so ntlmssp.inc.o mod_ntlm.o -rpath,/usr/lib -rpath,/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib 
/usr/bin/ld: bad -rpath option
apxs:Break: Command failed with rc=1
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/www/ap-auth-ntlm
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/www/ap-auth-ntlm
