Bug 95733 - security/dsniff ports kit does not compile
Summary: security/dsniff ports kit does not compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-14 09:30 UTC by jau
Modified: 2007-02-09 04:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jau 2006-04-14 09:30:15 UTC
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
Comment 1 jau 2006-04-14 09:43:33 UTC
	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. + + + +
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2006-04-14 12:57:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kris

Over to maintainer
Comment 3 Kris Kennaway freebsd_committer freebsd_triage 2006-08-31 20:45:07 UTC
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.
Comment 4 Alejandro Pulver freebsd_committer freebsd_triage 2006-09-26 01:26:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alepulver

Take PR.
Comment 5 Alejandro Pulver freebsd_committer freebsd_triage 2006-10-01 04:55:04 UTC
State Changed
From-To: open->suspended

Wait for PR 103861.
Comment 6 Alejandro Pulver freebsd_committer freebsd_triage 2006-12-25 16:35:31 UTC
Responsible Changed
From-To: alepulver->freebsd-ports-bugs

Leave PR.
Comment 7 Alejandro Pulver freebsd_committer freebsd_triage 2007-02-05 17:18:18 UTC
State Changed
From-To: suspended->closed

Fixed when ports/103861 was closed.
Comment 8 dfilter service freebsd_committer freebsd_triage 2007-02-09 04:27:59 UTC
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"