Bug #159

ipsec-tools patch

Added by dragonfly almost 8 years ago. Updated about 1 month ago.

Status:RejectedStart date:
Priority:NormalDue date:
Assignee:tuxillo% Done:

0%

Category:Other
Target version:3.8.0

Description

The ipsec-tools port included in pkgsrc does not compile on DragonFly.
The included program racoon is useful for setting up IPsec between
PCs/Firewalls. The attached patch alows building under DragonFly.

I have tested the raccon daemon negotiating with WinXP. Is it worth
submitting this upstream and/or to pkgsrc?

Build ipsec-tools (http://ipsec-tools.sourceforge.net) and install into
/usr/pkg. Configuration files will be stored under /usr/pkg/etc/racoon.

tar xfvj ipsec-tools-0.6.5.tar.bz2
cd ipsec-tools-0.6.5
patch -p1 < ~/ipsec-tools-0.6.5.diff
./configure --prefix=/usr/pkg --sysconfdir=/usr/pkg/etc/racoon
make
make install

Regards

Gary

ipsec-tools-0.6.5.diff Magnifier (6.28 KB) dragonfly, 04/28/2006 01:27 PM

History

#1 Updated by joerg almost 8 years ago

On Fri, Apr 28, 2006 at 02:16:30PM +0100, Gary Allan wrote:
> diff -ru ipsec-tools-0.6.5.orig/configure ipsec-tools-0.6.5/configure
> --- ipsec-tools-0.6.5.orig/configure 2006-04-28 09:36:25.000000000 +0100
> +++ ipsec-tools-0.6.5/configure 2006-04-28 13:48:34.000000000 +0100
> @@ -24212,7 +24212,14 @@
> cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
>
> - #include <openssl/sha.h>
> +#include <openssl/opensslv.h>
> +
> +/* OpenSSL 0.9.8 headers require size_t to be defined */
> +#if defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x0090800fL)
> +#include <sys/types.h>
> +#endif
> +
> +#include <openssl/sha.h>

Just include sys/types.h first. It is part of SUS and expected to exist
anywhere. Makes the code easier to read.

Rest looks fine, please submit upstream as well. BTW, kick them to fix
the yacc usage to always create the correct header file...

Joerg

#2 Updated by corecode almost 8 years ago

not our business

#3 Updated by tuxillo over 2 years ago

  • Description updated (diff)
  • Status changed from Closed to In Progress
  • Assignee deleted (0)

Reopen & Grab

#4 Updated by tuxillo 6 months ago

  • Description updated (diff)
  • Assignee set to tuxillo

#5 Updated by tuxillo about 1 month ago

  • Category set to Other
  • Status changed from In Progress to Rejected
  • Target version set to 3.8.0

Hi,

This should be reported to https://github.com/DragonFlyBSD/DPorts

By the way, latest failure could be found in:
http://muscles.dragonflybsd.org/latest-failures/logs/errors/ipsec-tools-0.8.1_4.log

Cheers,
Antonio Huete

Also available in: Atom PDF