Bug 111430 - [ PATCH ] security/isakmpd with OpenSSL 0.9.8b and newer
Summary: [ PATCH ] security/isakmpd with OpenSSL 0.9.8b and newer
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: 2007-04-09 23:50 UTC by Dan Lukes
Modified: 2008-04-13 14:10 UTC (History)
0 users

See Also:


Attachments
file.diff (2.70 KB, patch)
2007-04-09 23:50 UTC, Dan Lukes
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Lukes 2007-04-09 23:50:02 UTC
	From the Makefile:
.if ${OSVERSION} >= 700019
BROKEN=         is not buildable with OpenSSL 0.9.8b
.endif

By the way, the ${OSVERSION} >= 700019 is not sufficient test for OpenSSL 0.9.8b
 - we can have OpenSSL from PORTS also.

So:

Problem 1: not compilable on recent OS
Problem 2: not compilable against OpenSSL from ports (despite of version)

in advance

Problem 3: due missing #define, the isakmpd doesn't push upper protocol 
 specification and port number (for both src and dst addresses) into SPD/SADB
kernel database. "Any protocol"/"any src port"/"any dst port" submitted instead.

Fix: 1. The x509.c patch make the port compilable against new OpenSSL.
2. The Makefile.sysdep patch make port compilable against OpenSSL from ports
3. The pf_key_v2 patch unlock apropriate code for __FREEBSD__

The patches [1] & [3] are brand new
The [2] is replacement for current patch-Makefile.sysdep - the only change
   is use of ${OPENSSLINC} instead of hard-coded paths.


How-To-Repeat: 	N/A
Comment 1 Foxfair Hu freebsd_committer freebsd_triage 2007-04-15 06:03:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->foxfair

I'll work on this
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2008-03-02 06:42:14 UTC
Responsible Changed
From-To: foxfair->freebsd-ports-bugs

With bugmeister hat on, reassign from inactive committer.
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-04-13 14:09:44 UTC
rafan       2008-04-13 13:09:32 UTC

  FreeBSD ports repository

  Modified files:
    security/isakmpd     Makefile 
  Added files:
    security/isakmpd/files patch-pf_key_v2.c patch-x509.c 
  Log:
  - Fix build with newer openssl (>= 0.9.8b)
  - Fix build after FAST_IPSEC removal on 7.x and 8.x
  
  PR:             ports/111430
  Submitted by:   Dan Lukes <dan at obluda.cz>
  
  Revision  Changes    Path
  1.31      +6 -6      ports/security/isakmpd/Makefile
  1.1       +34 -0     ports/security/isakmpd/files/patch-pf_key_v2.c (new)
  1.1       +17 -0     ports/security/isakmpd/files/patch-x509.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"
Comment 4 Rong-En Fan freebsd_committer freebsd_triage 2008-04-13 14:09:46 UTC
State Changed
From-To: open->closed

Committed. Thanks!