Summary: | security/ipsec-tools: IPSec-Tools do not compile | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Thomas Schweikle <tps> | ||||
Component: | Individual Port(s) | Assignee: | Pav Lucistnik <pav> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Thomas Schweikle
2006-05-18 01:50:15 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-ports-bugs correct category. It is not FreeBSD port bug but rather ipsec-tools bug. I already submitted it to them - http://sourceforge.net/tracker/index.php?func=detail&aid=1491819&group_i d=74601&atid=541482 If you just need a workaround, then $ cd /usr/ports/security/ipsec-tools/ $ cat > files/patch-configure --- configure.orig Fri May 19 15:58:36 2006 +++ configure Fri May 19 15:59:34 2006 @@ -24212,6 +24212,7 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ + #include <sys/types.h> #include <openssl/sha.h> int before running make. (If you already run make, rm -rf work and rerun) Sorry for rich-text message. Sometimes outlook is a monster. Re-sending in plaintext It is not FreeBSD port bug but rather ipsec-tools bug. I already submitted it to them - http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1491819&grou= p_i d=3D74601&atid=3D541482 If you just need a workaround, then $ cd /usr/ports/security/ipsec-tools/ $ cat > files/patch-configure --- configure.orig Fri May 19 15:58:36 2006 +++ configure Fri May 19 15:59:34 2006 @@ -24212,6 +24212,7 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ =20 + #include <sys/types.h> #include <openssl/sha.h>=20 int before running make. (If you already run make, rm -rf work and rerun) Note that patch contains TABs! Be careful when copying and pasting. Ok, looks like my "workaround" was for 0.6.5_1 while people having problems with 0.6.5_2 Below is the patch for 0.6.5_2. Since that version already have a patch for configure, I'm providing a patch for that patch :=) It has to be applied before running make. --- files/patch-configure.orig Fri May 26 19:34:07 2006 +++ files/patch-configure Fri May 26 19:47:30 2006 @@ -1,5 +1,15 @@ --- configure.orig Wed Apr 26 15:28:47 2006 +++ configure Wed Apr 26 15:28:56 2006 +@@ -24212,6 +24212,9 @@ + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif + #include <openssl/sha.h> + + int @@ -25122,6 +25122,74 @@ fi =============================================================== Patch is to be applied in /usr/ports/security/ipsec-tools Dear maintainer of FreeBSD port security/ipsec-tools, please take a look at http://www.freebsd.org/cgi/query-pr.cgi?q=97442 What do you think about the included patch? -- Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> Fufie> snow should be on the tv and in the mountains, not here State Changed From-To: open->feedback Asked maintainer for opinion Responsible Changed From-To: freebsd-ports-bugs->pav Take On Fri, Jun 16, 2006 at 06:01:17PM +0200, Pav Lucistnik wrote: > Dear maintainer of FreeBSD port security/ipsec-tools, please take a look > at > > http://www.freebsd.org/cgi/query-pr.cgi?q=97442 > > What do you think about the included patch? Hi. I can't reproduce the problem, it may be related to OpenSSL's installed version, or "something else". But according to some other reports on ipsec-tools's ML, it looks like the patch will fix the problem for people who have it, and I just checked it won't break things for people who don't have it. So you can safely add the patch (I tested the patch-configure's patch), and we will report it for future versions of ipsec-tools. Yvan. -- NETASQ http://www.netasq.com State Changed From-To: feedback->closed SHould be fixed now. No, it is not fixed. Checked out the latest version, compiled, then again: > screen@hazel /usr/ports/security/ipsec-tools # make install > ===> Building for ipsec-tools-0.6.6 > make all-recursive > Making all in src > Making all in libipsec > Making all in setkey > Making all in racoon ... > cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libipsec -I/usr/include -I./../../src/racoon/missing -D_GNU_SOURCE -DSYSCONFDIR=\"/usr/local/etc/racoon\" -DADMINPORTDIR=\"/var/db/racoon\" -O2 -fno-strict-aliasing -pipe -march=pentium2 -I/usr/local/include -Wall -Werror -Wno-unused -DEAYDEBUG -o crypto_openssl_test.o -c ./crypto_openssl.c > In file included from ./crypto_openssl.c:68: > /usr/include/openssl/rc5.h:67:2: #error RC5 is disabled. > *** Error code 1 > > Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.6.6/src/racoon. > *** Error code 1 > > Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.6.6/src. > *** Error code 1 > > Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.6.6. > *** Error code 1 > > Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.6.6. > *** Error code 1 > > Stop in /usr/ports/security/ipsec-tools. For me it looks a lot like something disables RC5 in openssl making various other things fail depending on RC5 routines not included this way. Since "make config" doesn't help and "/etc/make.conf" does not hold anything related to RC5 and openssl --- how to enable RC5 to make openssl not breaking various other packages?! -- Thomas |