Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 19:15:27 GMT
From:      Oleg Moskalenko <mom040267@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186384: [patch] [maintainer update] net/turnserver port upgrade from 3.2.1.4 to 3.2.2.5
Message-ID:  <201402021915.s12JFRiP086515@oldred.freebsd.org>
Resent-Message-ID: <201402021920.s12JK1xa090311@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186384
>Category:       ports
>Synopsis:       [patch] [maintainer update] net/turnserver port upgrade from 3.2.1.4 to 3.2.2.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 02 19:20:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Moskalenko
>Release:        HEAD
>Organization:
private port maintainer and upstream developer
>Environment:
FreeBSD lestek 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 03:45:16 UTC 2012     root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC  amd64
>Description:
This is an important port security upgrade, from the current FreeBSD/HEAD version (3.2.1.4) to the latest upstream version (3.2.2.5). A few important security issues were found by the upstream project users, and I am propagating the fixed version to the FreeBSD port. I am attaching the patch. I tested it at redports.org.


>How-To-Repeat:
Check the upstream site for the latest version: http://code.google.com/p/rfc5766-turn-server/

>Fix:
Apply the attached patch to the [ports]/head/net/turnserver

Patch attached with submission follows:

diff -ruN turnserver.orig/Makefile turnserver/Makefile
--- turnserver.orig/Makefile	2014-02-02 11:05:04.314062426 -0800
+++ turnserver/Makefile	2014-02-02 11:07:32.134076422 -0800
@@ -1,9 +1,12 @@
 # $FreeBSD: head/net/turnserver/Makefile 339463 2014-01-12 00:58:18Z tabthorpe $
 
 PORTNAME=	turnserver
-PORTVERSION=	3.2.1.4
+PORTVERSION=	3.2.2.5
 CATEGORIES=	net
-MASTER_SITES=	http://rfc5766-turn-server.googlecode.com/files/
+MASTER_SITES=	http://turnserver.open-sys.org/downloads/v${PORTVERSION}/ \
+		http://turnserver.open-sys.org/downloads/extradocs/ \
+		http://www.olegmoskalenko.com/turnserver/v${PORTVERSION}/ \
+		http://www.olegmoskalenko.com/turnserver/extradocs/
 PKGNAMEPREFIX=
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} turn.extra.docs-2.0.0.1.tar.gz
 
@@ -39,7 +42,7 @@
 .include <bsd.port.options.mk>
 
 PORTDOCS=	html TURNServerRESTAPI.pdf TurnNetworks.pdf
-PORTREADMEDOCS=	README.turnserver README.turnadmin README.turnutils INSTALL
+PORTREADMEDOCS=	LICENSE README.turnserver README.turnadmin README.turnutils INSTALL
 
 _BIN_UTILS=	peer stunclient uclient
 
@@ -52,7 +55,8 @@
 loadbalance/master_relay.sh loadbalance/slave_relay_1.sh loadbalance/slave_relay_2.sh \
 loadbalance/udp_c2c.sh loadbalance/tcp_c2c_tcp_relay.sh \
 longtermsecure/secure_dtls_client.sh longtermsecure/secure_relay.sh \
-longtermsecure/secure_dtls_client_cert.sh longtermsecure/secure_relay_cert.sh \
+longtermsecure/secure_tls_client_cert.sh longtermsecure/secure_dtls_client_cert.sh \
+longtermsecure/secure_relay_cert.sh \
 longtermsecure/secure_tcp_client_c2c_tcp_relay.sh longtermsecure/secure_tcp_client.sh \
 longtermsecure/secure_tls_client_c2c_tcp_relay.sh longtermsecure/secure_tls_client.sh \
 longtermsecure/secure_udp_c2c.sh longtermsecure/secure_udp_client.sh \
diff -ruN turnserver.orig/distinfo turnserver/distinfo
--- turnserver.orig/distinfo	2014-02-02 11:05:04.324079342 -0800
+++ turnserver/distinfo	2014-02-02 11:07:32.144064004 -0800
@@ -1,4 +1,4 @@
-SHA256 (turnserver-3.2.1.4.tar.gz) = bf5ca37c83a0c854e2eef3be790b731c13b196ec7e443f1da0252634f6401bb2
-SIZE (turnserver-3.2.1.4.tar.gz) = 287073
+SHA256 (turnserver-3.2.2.5.tar.gz) = f615e1454e7d9fb4c7feb4e6c15d88c6809f3265501bfe771d493b44c954850e
+SIZE (turnserver-3.2.2.5.tar.gz) = 291987
 SHA256 (turn.extra.docs-2.0.0.1.tar.gz) = 3a86600fd0a30ce7aeb547e80402ce68ea9959f7dd58697e5b47fda6e33ab9ce
 SIZE (turn.extra.docs-2.0.0.1.tar.gz) = 485379
diff -ruN turnserver.orig/pkg-plist turnserver/pkg-plist
--- turnserver.orig/pkg-plist	2014-02-02 11:05:04.304021765 -0800
+++ turnserver/pkg-plist	2014-02-02 11:07:32.154048793 -0800
@@ -33,6 +33,7 @@
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/loadbalance/tcp_c2c_tcp_relay.sh
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/longtermsecure/secure_dtls_client.sh
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/longtermsecure/secure_dtls_client_cert.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/longtermsecure/secure_tls_client_cert.sh
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/longtermsecure/secure_relay.sh
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/longtermsecure/secure_relay_cert.sh
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh


>Release-Note:
>Audit-Trail:
>Unformatted:



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