Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ports/47542: [PATCH] Keynote2 support configuration option for ports/isakmpd



>Number:         47542
>Category:       ports
>Synopsis:       [PATCH] Keynote2 support configuration option for ports/isakmpd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 27 02:30:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Pekka Nikander <pekka.nikander@xxxxxx>
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD teldanex 4.7-STABLE FreeBSD 4.7-STABLE #4: Thu Jan 2 12:40:27 EET 2003 pnr@teldanex:/usr/src/sys/compile/TELDANEX i386
>Description:
	Adds a configuration option to ports/isakmpd that allows it
	to be more easily compiled with keynote (ports/keynote) support
	compiled in.
>How-To-Repeat:
>Fix:

diff -r -u isakmpd/Makefile isakmpd/Makefile
--- isakmpd/Makefile	Fri Jan  3 09:21:30 2003
+++ isakmpd/Makefile	Mon Jan 27 11:32:07 2003
@@ -16,6 +16,9 @@
 
 MAINTAINER=	ports@xxxxxxxxxxx
 
+.if defined(WITH_KEYNOTE)
+BUILD_DEPENDS=	${LOCALBASE}/lib/libkeynote.a:${PORTSDIR}/security/keynote
+.endif
 LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4
 
 # this is not compatible with cross build - there's no other way
@@ -27,6 +30,9 @@
 USE_REINPLACE=	yes
 WRKSRC=		${WRKDIR}/isakmpd
 MAKE_ENV+=	BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
+.if defined(WITH_KEYNOTE)
+MAKE_ENV+=      USE_KEYNOTE=1
+.endif
 
 MAN5=		isakmpd.conf.5 isakmpd.policy.5
 MAN8=		isakmpd.8
--- files/patch-sysdep-Makefile	Mon Jan 27 11:35:14 2003
+++ files/patch-sysdep-Makefile	Mon Jan 27 11:34:20 2003
@@ -0,0 +1,13 @@
+--- sysdep/freebsd/Makefile.sysdep	Thu Aug 29 09:39:36 2002
++++ sysdep/freebsd/Makefile.sysdep	Mon Jan 27 11:29:04 2003
+@@ -36,6 +36,10 @@
+ # Override default features
+ FEATURES=	tripledes des blowfish cast x509 ec aggressive debug
+ 
++.if defined(USE_KEYNOTE)
++FEATURES+=	policy
++.endif
++
+ .if defined(TOPDIR)
+ LIBSYSDEPDIR=	${TOPDIR}/sysdep/common/libsysdep
+ .else


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

To Unsubscribe: send mail to majordomo@xxxxxxxxxxx
with "unsubscribe freebsd-ports-bugs" in the body of the message