Bug 18356

Summary: /usr/ports/net/pipsecd build fails
Product: Ports & Packages Reporter: Kanji T Bates <bates>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Kanji T Bates 2000-05-03 01:30:00 UTC
        
        /usr/ports/net/pipsecd fails to build on many FBSD releases.  Of the
        above list, only the 3.4 and 4.0 virgin systems manage to build in
        spite of identical errors for tunip.c
        
        I do recall getting *different* errors on another system, but I don't 
        recall what the enviroment was or kept a copy of the output.

        ===>  Building for pipsecd-19991014
        cc -Wall -I/usr/local/include/openssl -I/usr/local/include 
         -I/usr/local/include -g -O -pipe   -o pipsecd tunip.c 
         -L/usr/local/lib  -lcrypto   -DFILE_PREFIX=\"/usr/local\"
        tunip.c:373: warning: initialization from incompatible pointer type
        tunip.c:373: warning: initialization from incompatible pointer type
        tunip.c:374: warning: initialization from incompatible pointer type
        tunip.c:378: warning: initialization from incompatible pointer type
        tunip.c:378: warning: initialization from incompatible pointer type
        tunip.c:379: warning: initialization from incompatible pointer type
        tunip.c:383: warning: initialization from incompatible pointer type
        tunip.c:383: warning: initialization from incompatible pointer type
        tunip.c:384: warning: initialization from incompatible pointer type
        tunip.c: In function `parse_secret':
        tunip.c:944: warning: int format, pointer arg (arg 3)
        tunip.c:956: warning: int format, pointer arg (arg 3)
        tunip.c: In function `config_read':
        tunip.c:992: warning: passing arg 1 of `strsep' from incompatible
          pointer type
        tunip.c:996: warning: passing arg 1 of `strsep' from incompatible 
          pointer type
        tunip.c:1036: warning: passing arg 1 of `strsep' from incompatible 
          pointer type
        tunip.c:1154: warning: passing arg 1 of `strsep' from incompatible 
          pointer type
        tunip.c: In function `my_des_cbc_encrypt':
        tunip.c:2023: warning: passing arg 5 of `des_cbc_encrypt' from 
          incompatible pointer type
        tunip.c: In function `my_des_cbc_decrypt':
        tunip.c:2035: warning: passing arg 5 of `des_cbc_encrypt' from 
          incompatible pointer type
        tunip.c: In function `my_des_setkey':
        tunip.c:2046: warning: passing arg 1 of `des_set_key' from
          incompatible pointer type
        tunip.c: In function `my_des3_cbc_encrypt':
        tunip.c:2055: warning: passing arg 7 of `des_ede3_cbc_encrypt'
          from incompatible pointer type
        tunip.c: In function `my_des3_cbc_decrypt':
        tunip.c:2063: warning: passing arg 7 of `des_ede3_cbc_encrypt'
          from incompatible pointer type
        tunip.c: In function `my_des3_setkey':
        tunip.c:2071: warning: passing arg 1 of `des_set_key' from
          incompatible pointer type
        tunip.c:2073: warning: passing arg 1 of `des_set_key' from
          incompatible pointer type
        tunip.c:2075: warning: passing arg 1 of `des_set_key' from
          incompatible pointer type
        /usr/local/lib/libcrypto.so: undefined reference to
          `ERR_load_RSAREF_strings'
        /usr/local/lib/libcrypto.so: undefined reference to
          `RSA_PKCS1_RSAref'
        *** Error code 1

        Stop.

How-To-Repeat:          
        cd /usr/ports/net/pipsecd && make
Comment 1 Ade Lovett freebsd_committer freebsd_triage 2000-09-17 18:44:28 UTC
State Changed
From-To: open->feedback

I verified the problem on 4.1-STABLE.  Perhaps you can work 
with the maintainer (patrick@mindstep.com) to fix this issue?
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2000-11-17 23:32:08 UTC
State Changed
From-To: feedback->closed

Timeout (2 months) in feedback.
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-11-02 12:17:50 UTC
Responsible Changed
From-To: freebsd-ports->wg

I'll take it.
Comment 4 William Grzybowski freebsd_committer freebsd_triage 2013-11-02 12:19:10 UTC
Responsible Changed
From-To: wg->freebsd-ports

Took by mistake