need to build bind w/ crypto support.

Jeremy C. Reed reed at reedmedia.net
Fri Dec 19 11:58:10 PST 2008


On Mon, 13 Oct 2008, Jeremy C. Reed wrote:

> Date: Mon, 13 Oct 2008 13:56:58 -0500 (CDT)
> From: Jeremy C. Reed <reed at reedmedia.net>
> To: kernel at crater.dragonflybsd.org
> Subject: Re: need to build bind w/ crypto support.
> 
> Please test this or provide your comments:
> 
> Index: lib/libbind/Makefile
> ===================================================================
> RCS file: /cvs/src/lib/libbind/Makefile,v
> retrieving revision 1.10
> diff -u -r1.10 Makefile
> --- lib/libbind/Makefile	15 Feb 2007 20:28:49 -0000	1.10
> +++ lib/libbind/Makefile	13 Oct 2008 17:40:03 -0000
> @@ -50,6 +50,9 @@
>  .PATH:	${BIND_DIR}/lib/bind/dst
>  CFLAGS+=-DHMAC_MD5 -DUSE_MD5
>  SRCS+=	dst_api.c hmac_link.c md5_dgst.c support.c
> +CFLAGS+=-DOPENSSL
> +DPADD+= ${LIBCRYPTO}
> +LDADD+= -lcrypto
>  
>  .PATH:	${BIND_DIR}/lib/bind/isc
>  SRCS+=	assertions.c base64.c bitncmp.c ctl_clnt.c \


Anyone have comments on this?

This is in my src that I moved away when I checked out new src using git.


> Index: usr.sbin/named/Makefile.inc
> ===================================================================
> RCS file: /cvs/src/usr.sbin/named/Makefile.inc,v
> retrieving revision 1.11
> diff -u -r1.11 Makefile.inc
> --- usr.sbin/named/Makefile.inc	11 Jul 2008 22:42:30 -0000	1.11
> +++ usr.sbin/named/Makefile.inc	13 Oct 2008 17:32:22 -0000
> @@ -84,5 +84,9 @@
>  
>  .endif
>  
> +CFLAGS+=-DOPENSSL
> +DPADD+= ${LIBCRYPTO}
> +LDADD+= -lcrypto
> +
>  .include	"Makefile.maninc"
>  .endif
> 
> 
> I need to do more testing and maybe the usr.sbin/named/Makefile.inc patch 
> is not needed. The libbind was needed in my tests. This makes it so 
> dnssec-keygen works.
> 
>   Jeremy C. Reed
> 
>  p.s. Please update webpage for mailing lists descriptions to mention this 
> list is more than just kernel. That is why I am replying without 
> In-Reply-To.
> 
> 

  Jeremy C. Reed





More information about the Kernel mailing list