Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2017 19:35:44 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437575 - in head/net/sock: . files
Message-ID:  <201704021935.v32JZirh056522@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Apr  2 19:35:44 2017
New Revision: 437575
URL: https://svnweb.freebsd.org/changeset/ports/437575

Log:
  net/sock: update 0.3.2 -> 0.4.2
  
  - IPv6 is supported now
  - supports SCTP in addition to UDP and TCP
  - socket options can now be used
  
  PR:		217909, 218298
  Changes:	https://github.com/sjac999/sock_ipv6_sctp/blob/master/ChangeLog
  Submitted by:	Steve Jacobson <sjac@cs.stanford.edu> (maintainer)

Deleted:
  head/net/sock/files/
Modified:
  head/net/sock/Makefile
  head/net/sock/distinfo
  head/net/sock/pkg-descr

Modified: head/net/sock/Makefile
==============================================================================
--- head/net/sock/Makefile	Sun Apr  2 18:02:00 2017	(r437574)
+++ head/net/sock/Makefile	Sun Apr  2 19:35:44 2017	(r437575)
@@ -2,12 +2,19 @@
 # $FreeBSD$
 
 PORTNAME=	sock
-PORTVERSION=	0.3.2
+PORTVERSION=	0.4.2
 CATEGORIES=	net
-MASTER_SITES=	http://www.icir.org/christian/downloads/
+MASTER_SITES=	http://www-cs-students.stanford.edu/~sjac/sock/
 
 MAINTAINER=	sjac@cs.stanford.edu
-COMMENT=	W. Richard Stevens' sock program
+COMMENT=	W. Richard Stevens' sock program plus IPv6 and SCTP
+
+LICENSE=	WRSTEVENS
+LICENSE_NAME=	WRSTEVENS
+LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
+
+USES=		tar:tgz
 
 HAS_CONFIGURE=	yes
 

Modified: head/net/sock/distinfo
==============================================================================
--- head/net/sock/distinfo	Sun Apr  2 18:02:00 2017	(r437574)
+++ head/net/sock/distinfo	Sun Apr  2 19:35:44 2017	(r437575)
@@ -1,2 +1,3 @@
-SHA256 (sock-0.3.2.tar.gz) = 4ddc33767900e7cd0a4cc0f4d808638d7cfcb746c23e12274c8eba0622eee2eb
-SIZE (sock-0.3.2.tar.gz) = 113640
+TIMESTAMP = 1491161724
+SHA256 (sock-0.4.2.tgz) = 42974b5f8f81c534d1e5236628658f6567ac0539c577cbc46d54b5b11d3b582c
+SIZE (sock-0.4.2.tgz) = 119882

Modified: head/net/sock/pkg-descr
==============================================================================
--- head/net/sock/pkg-descr	Sun Apr  2 18:02:00 2017	(r437574)
+++ head/net/sock/pkg-descr	Sun Apr  2 19:35:44 2017	(r437575)
@@ -1,17 +1,21 @@
-This is a standalone version of W. Richard Stevens' "sock" program,
-based on the code available for the UNIX Network Programming book.
-
-Adapted and reworked code for W. Richard Stevens' "sock" utility
-by Christian Kreibich.
-
-From the author:  In TCP/IP Illustrated Vol. 1, Richard Stevens used
-a program called "sock" to demonstrate the many properties of TCP/IP.
-Unfortunately, the book only speaks about how to use the program but
-does not point to a site for downloading its sources. While sock is
-contained in the code package accompanying UNIX Network Programming,
-this code is also getting dated.
+In TCP/IP Illustrated Vol. 1, Richard Stevens used a program called
+"sock" to demonstrate the many properties of TCP/IP.  This is a
+standalone version, adapted and reworked by Christian Kreibich.
 
 The program can be used to generate TCP or UDP packets for testing
 various network features.  It runs as either client or server.
 
-WWW: http://www.icir.org/christian/sock.html
+This FreeBSD port is built on top of the original 0.3.2 tarball from
+2010, above, downloaded from the icir.org webpage.
+
+Version 0.4.2 of sock supports IPv6, SCTP and those socket options:
+- IPv6:
+  o hop limit
+  o multicast hop limit
+  o disable/enable header flow label
+  o header traffic class
+  o don't fragment
+- IPv4:
+  o don't fragment
+
+WWW: http://www-cs-students.stanford.edu/~sjac/sock_info.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704021935.v32JZirh056522>