pkgsrc-Bugs archive

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

pkg/49546: comms/kermit pkgrev6 patch for SOCKS4 net/dante support



>Number:         49546
>Category:       pkg
>Synopsis:       comms/kermit pkgrev6 patch for SOCKS4 net/dante support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 07 18: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@localhost
 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



Home | Main Index | Thread Index | Old Index