tech-pkg archive

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

comms/kermit on Mac OSX



Apparently, there is a difference between how the kermit makefile handles options for NetBSD and for Mac OS X.  For NetBSD there are four make targets that allow setting kerberos and ssl options independently of each other.   In contrast, for Mac OS X there are only two targets that require either both or neither of kerberos and ssl.  The options.mk file assumes the former for all cases and allows the two to be set independently.  Setting only ssl, however, fails on Mac OS X.  In addition, at least on Yosemite (10.10.x), selecting both kerberos and ssl also fails.  (Certain kerberos functions are marked as deprecated.)  Thus, in my hands it seems that the only viable option is to select neither kerberos nor ssl.

Can anyone else verify this?

If this is correct, I feel that the following patch will prevent the interpretation of either option for Mac OS X.  Suggestions?

Cheers,
Brook

Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/comms/kermit/options.mk,v
retrieving revision 1.6
diff -u -r1.6 options.mk
--- options.mk	30 Sep 2015 08:25:37 -0000	1.6
+++ options.mk	29 Dec 2015 05:12:39 -0000
@@ -1,7 +1,10 @@
 # $NetBSD: options.mk,v 1.6 2015/09/30 08:25:37 tnn Exp $
 
 PKG_OPTIONS_VAR=		PKG_OPTIONS.kermit
-PKG_SUPPORTED_OPTIONS=		kermit-suid-uucp ssl kerberos
+PKG_SUPPORTED_OPTIONS=		kermit-suid-uucp
+.if ${OPSYS} != "Darwin"
+PKG_SUPPORTED_OPTIONS=		ssl kerberos
+.endif
 PKG_OPTIONS_OPTIONAL_GROUPS+=	socks
 PKG_OPTIONS_GROUP.socks=	socks4 dante
 



Home | Main Index | Thread Index | Old Index