[Openswan Users] openswan-2 cvs build patch

Dax Kelson dax at gurulabs.com
Mon Apr 26 17:44:52 CEST 2004


The following patch is required on Red Hat Enterprise Linux v3, Fedora
Core v1, and Debian Unstable (Sarge).

The comments in the Makefile.inc say that a BIND 9.3 snapshot is
required (hence the /usr/local/lib), but it seems to work fine with the
installed 9.2 (note, I'm not using OE). What's the problem with
depending on openssl?


diff -ur openswan-2-org/Makefile.inc openswan-2/Makefile.inc
--- openswan-2-org/Makefile.inc 2004-04-23 06:44:49.000000000 -0600
+++ openswan-2/Makefile.inc     2004-04-26 16:37:25.000000000 -0600
@@ -241,7 +241,7 @@
 # installed one in RH 7.2, won't work - you wind up depending upon
 # openssl.
  
-BIND9STATICLIBDIR?=/usr/local/lib
+BIND9STATICLIBDIR?=/usr/lib
  
 # if you install elsewere, you may need to point the include files to it.
 #BIND9STATICLIBDIR?=/sandel/lib
diff -ur openswan-2-org/programs/lwdnsq/Makefile openswan-2/programs/lwdnsq/Makefile
--- openswan-2-org/programs/lwdnsq/Makefile     2004-04-03 12:44:46.000000000 -0700
+++ openswan-2/programs/lwdnsq/Makefile 2004-04-26 16:39:12.000000000 -0600
@@ -29,7 +29,7 @@
 CFLAGS+=-I${BIND9INCDIR}
 endif
  
-CFLAGS+=-I${LWRESINCL}
+CFLAGS+=-I${LWRESINCL} -pthread
  
 #USERCOMPILE=-g




More information about the Users mailing list