Subject: pkg/18091: add skey support to openssh on Darwin
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 08/28/2002 12:42:48
>Number:         18091
>Category:       pkg
>Synopsis:       add skey support to openssh on Darwin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 27 19:42:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     grant beattie
>Release:        Darwin 5.5, -current pkgsrc
>Organization:
>Environment:
System: Darwin max 5.5 Darwin Kernel Version 5.5: Thu May 30 14:51:26 PDT 2002; root:xnu/xnu-201.42.3.obj~1/RELEASE_PPC  Power Macintosh powerpc
Architecture: powerpc
Machine: Power Macintosh
>Description:
patch to add skey support to openssh on Darwin.
>How-To-Repeat:
cd /usr/pkgsrc/security/openssh; make

observe that no skey support is included.
>Fix:

Index: skey/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/skey/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- skey/Makefile	2002/07/26 09:10:06	1.1.1.1
+++ skey/Makefile	2002/08/28 02:41:02
@@ -12,7 +12,7 @@
 
 BUILD_DEPENDS+=		perl>=${PERL5_REQD}:../../lang/perl5
 
-ONLY_FOR_PLATFORM=	SunOS-*-*	# in NetBSD base system
+ONLY_FOR_PLATFORM=	SunOS-*-* Darwin-*-*	# in NetBSD base system
 
 USE_GMAKE=		YES
 GNU_CONFIGURE=		YES
Index: openssh/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/openssh/Makefile,v
retrieving revision 1.87
diff -u -r1.87 Makefile
--- openssh/Makefile	2002/08/23 07:27:54	1.87
+++ openssh/Makefile	2002/08/28 02:41:02
@@ -67,7 +67,7 @@
 #CONFIGURE_ARGS+=	--with-skey=/usr
 #.endif
 
-.if ${OPSYS} == "SunOS"
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin"
 DEPENDS+=		skey>=1.1.5:../../security/skey
 CONFIGURE_ARGS+=	--with-skey=${LOCALBASE}
 .endif
>Release-Note:
>Audit-Trail:
>Unformatted: