Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 10:26:44 -0300 (BRT)
From:      "Daniel C. Sobral" <dcs@tcoip.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43892: Enable use of keynote with security/isakmpd
Message-ID:  <200210101326.g9ADQie7015874@dcs.intra.tcoip.com.br>

next in thread | raw e-mail | index | archive | help

>Number:         43892
>Category:       ports
>Synopsis:       Enable use of keynote with security/isakmpd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 10 06:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Daniel C. Sobral
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD dcs 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Aug 13 10:40:45 BRT 2002 root@dcs:/usr/obj/usr/src/sys/DCS i386


	Not relevant.

>Description:

	The software isakmpd, built by security/isakmpd, can optionally
use the library keynote to implement complex policies when establishing
security associations. Unfortunately, a patch to isakmpd Makefile is
required in FreeBSD, and the port does not, at the present, include the
necessary dependency.

>How-To-Repeat:

	cd /usr/ports/security/isakmpd; make -DUSE_KEYNOTE

>Fix:

	Apply the following patch (it corrects Makefile and files/patch-ab,
the later, in turn, correcting isakmpd's Makefile). This is contigent on
PR number 43839.


--- Makefile.orig	Thu Oct 10 08:35:22 2002
+++ Makefile	Thu Oct 10 10:19:33 2002
@@ -28,6 +28,11 @@
 BROKEN=		"requires IPsec support"
 .endif
 
+# If keynote is in use, bring the dependency
+.if defined(USE_KEYNOTE)
+BUILD_DEPENDS+=	keynote:${PORTSDIR}/security/keynote
+.endif
+
 USE_OPENSSL=	yes
 WRKSRC=		${WRKDIR}/isakmpd
 MAKE_ENV+=	BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
--- files/patch-ab.orig	Thu Oct 10 10:18:23 2002
+++ files/patch-ab	Thu Oct 10 08:35:02 2002
@@ -9,3 +9,13 @@
  
  # The mkdir below is for installation on OpenBSD pre 2.7
  install:
+--- Makefile.orig	Wed Oct  9 17:15:53 2002
++++ Makefile	Wed Oct  9 17:16:26 2002
+@@ -164,6 +164,7 @@
+ USE_LIBDES=	yes
+ LDADD+=		-lkeynote -lm
+ DPADD+=		${LIBKEYNOTE} ${LIBM}
++POLICY=         policy.c
+ CFLAGS+=	-DUSE_KEYNOTE
+ .endif
+ 

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210101326.g9ADQie7015874>