Apparently some includes are not quite correct. Compilation breaks when building sshcrypto.c like this... ./sshcrypto.c:25: error: field `key' has incomplete type ./sshcrypto.c:30: error: syntax error before "des_key_schedule" ./sshcrypto.c: In function `blowfish_encrypt': ./sshcrypto.c:131: error: `BF_ENCRYPT' undeclared (first use in this function) ./sshcrypto.c:131: error: (Each undeclared identifier is reported only once ./sshcrypto.c:131: error: for each function it appears in.) ./sshcrypto.c: In function `blowfish_decrypt': ./sshcrypto.c:143: error: `BF_DECRYPT' undeclared (first use in this function) ./sshcrypto.c: In function `des3_init': ./sshcrypto.c:156: error: structure has no member named `k1' ./sshcrypto.c:157: error: structure has no member named `k2' ./sshcrypto.c:160: error: structure has no member named `k3' ./sshcrypto.c:162: error: structure has no member named `k3' ./sshcrypto.c:164: error: structure has no member named `iv1' ./sshcrypto.c:165: error: structure has no member named `iv2' ./sshcrypto.c:166: error: structure has no member named `iv3' ./sshcrypto.c: In function `des3_encrypt': ./sshcrypto.c:176: error: structure has no member named `iv1' ./sshcrypto.c:176: error: structure has no member named `iv2' ./sshcrypto.c:178: error: structure has no member named `k1' ./sshcrypto.c:178: error: structure has no member named `iv1' ./sshcrypto.c:178: error: `DES_ENCRYPT' undeclared (first use in this function) ./sshcrypto.c:179: error: structure has no member named `k2' ./sshcrypto.c:179: error: structure has no member named `iv2' ./sshcrypto.c:179: error: `DES_DECRYPT' undeclared (first use in this function) ./sshcrypto.c:180: error: structure has no member named `k3' ./sshcrypto.c:180: error: structure has no member named `iv3' ./sshcrypto.c: In function `des3_decrypt': ./sshcrypto.c:189: error: structure has no member named `iv1' ./sshcrypto.c:189: error: structure has no member named `iv2' ./sshcrypto.c:191: error: structure has no member named `k3' ./sshcrypto.c:191: error: structure has no member named `iv3' ./sshcrypto.c:191: error: `DES_DECRYPT' undeclared (first use in this function) ./sshcrypto.c:192: error: structure has no member named `k2' ./sshcrypto.c:192: error: structure has no member named `iv2' ./sshcrypto.c:192: error: `DES_ENCRYPT' undeclared (first use in this function) ./sshcrypto.c:193: error: structure has no member named `k1' ./sshcrypto.c:193: error: structure has no member named `iv1' *** Error code 1 Stop in /usr/ports/security/dsniff/work/dsniff-2.3. Fix: At the moment unknown. How-To-Repeat: Take a 6.1-RC environment. cd /usr/ports/security/dsniff make
Right. Here is the fix required to correct the compilation problem. Add the following lines... #include <openssl/blowfish.h> #include <openssl/des.h> #include <openssl/des_old.h> after the line "#include <openssl/ssl.h>". Cheers, // jau .--- ..- -.- -.- .- .- .-.-.- ..- -.- -.- --- -. . -. / Jukka A. Ukkonen, Oxit Ltd, Finland /__ M.Sc. (sw-eng & cs) (Phone) +358-500-606-671 / Internet: Jukka.Ukkonen(a)Oxit.Fi (Home) +358-9-6215-280 / Internet: jau(a)iki.fi v .--- .- ..- ...-.- .. -.- .. .-.-.- ..-. .. + + + + My opinions are mine and mine alone, not my employers. + + + +
Responsible Changed From-To: freebsd-ports-bugs->kris Over to maintainer
Responsible Changed From-To: kris->freebsd-ports-bugs I am sorry that I have not had the time to maintain this port adequately, hopefully someone else can do better.
Responsible Changed From-To: freebsd-ports-bugs->alepulver Take PR.
State Changed From-To: open->suspended Wait for PR 103861.
Responsible Changed From-To: alepulver->freebsd-ports-bugs Leave PR.
State Changed From-To: suspended->closed Fixed when ports/103861 was closed.
alepulver 2007-02-09 04:27:53 UTC FreeBSD ports repository Added files: security/dsniff/files patch-sshcrypto.c Log: - Fix building when security/openssl is installed. PR: ports/95733 Submitted by: "Jukka A. Ukkonen" <jau@iki.fi> Revision Changes Path 1.1 +12 -0 ports/security/dsniff/files/patch-sshcrypto.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"