NetBSD Problem Report #49546

From www@NetBSD.org  Wed Jan  7 18:30:16 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 817C0A5B2E
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  7 Jan 2015 18:30:16 +0000 (UTC)
Message-Id: <20150107183015.0AA06A6567@mollari.NetBSD.org>
Date: Wed,  7 Jan 2015 18:30:15 +0000 (UTC)
From: krussell@google.com
Reply-To: krussell@google.com
To: gnats-bugs@NetBSD.org
Subject: comms/kermit pkgrev6 patch for SOCKS4 net/dante support
X-Send-Pr-Version: www-1.0

>Number:         49546
>Category:       pkg
>Synopsis:       comms/kermit pkgrev6 patch for SOCKS4 net/dante support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bsiegert
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 07 18:35:00 +0000 2015
>Closed-Date:    Sat Jan 17 15:31:03 +0000 2015
>Last-Modified:  Sat Jan 17 15:35:00 +0000 2015
>Originator:     Kirk Russell
>Release:        stable release: 2014Q4
>Organization:
>Environment:
>Description:
I had a requirement to link a kermit executable with SOCKS4 support, on MacOS.  I found it was easier to use net/dante, then the original net/socks4 lib.  I have enclosed a diff to comms/kermit/options.mk to share this change with others.

I also noticed the kermit is using a BSD license now.  I also added a diff to change comms/kermit/Makefile for the license change.
    http://www.columbia.edu/kermit/licensing.html
>How-To-Repeat:

>Fix:
Index: comms/kermit/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/comms/kermit/Makefile,v
retrieving revision 1.86
diff -u -r1.86 Makefile
--- comms/kermit/Makefile 5 Oct 2014 16:27:25 -0000 1.86
+++ comms/kermit/Makefile 4 Jan 2015 14:03:31 -0000
@@ -9,7 +9,10 @@
 MAINTAINER= pkgsrc-users@NetBSD.org
 HOMEPAGE= http://www.kermitproject.org/
 COMMENT= Network and serial communication, file transfer, and scripting utility
-LICENSE= kermit-license
+
+# UNIX C-Kermit 9.0 has been released with the Revised 3-Clause BSD License.
+# http://www.columbia.edu/kermit/licensing.html
+LICENSE= modified-bsd

 .include "../../mk/bsd.prefs.mk"

Index: comms/kermit/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/comms/kermit/options.mk,v
retrieving revision 1.4
diff -u -r1.4 options.mk
--- comms/kermit/options.mk 25 Aug 2011 14:54:06 -0000 1.4
+++ comms/kermit/options.mk 4 Jan 2015 14:03:31 -0000
@@ -22,9 +22,9 @@
 ### SOCKS firewall support.
 ###
 .if !empty(PKG_OPTIONS:Msocks4)
-KFLAGS+= -DSOCKS
-LIBS+= -L${BUILDLINK_PREFIX.socks4}/lib -lsocks4
-.include "../../net/socks4/buildlink3.mk"
+KFLAGS+= -DSOCKS -DCK_SOCKS
+LIBS+= -L${BUILDLINK_PREFIX.dante}/lib -lsocks
+.include "../../net/dante/buildlink3.mk"
 .elif !empty(PKG_OPTIONS:Msocks5)
 KFLAGS+= -DSOCKS -DCK_SOCKS5
 LIBS+= -L${BUILDLINK_PREFIX.socks5}/lib -lsocks5

>Release-Note:

>Audit-Trail:
From: kirk russell <kirk@ba23.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49546
Date: Fri, 9 Jan 2015 10:35:04 -0500

 - merged my diff into a github for easier viewing:
     https://github.com/kirussel/pkgsrc/compare/kermit?expand=1

 - tried this patch on these two systems:
     NetBSD  6.1.5 NetBSD 6.1.5 (GENERIC) vax
     Darwin macmini 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19
 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 17 Jan 2015 15:31:03 +0000
Responsible-Changed-Why:


State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 17 Jan 2015 15:31:03 +0000
State-Changed-Why:
Patch applied, thanks!


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49546 CVS commit: pkgsrc/comms/kermit
Date: Sat, 17 Jan 2015 15:30:03 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sat Jan 17 15:30:03 UTC 2015

 Modified Files:
 	pkgsrc/comms/kermit: Makefile options.mk

 Log Message:
 Switch license to modified-bsd. Move socks4 option over to use dante.
 Patch provided by Kirk Russell in PR pkg/49546.


 To generate a diff of this commit:
 cvs rdiff -u -r1.86 -r1.87 pkgsrc/comms/kermit/Makefile
 cvs rdiff -u -r1.4 -r1.5 pkgsrc/comms/kermit/options.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.