From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 6 07:50:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D75551065670 for ; Tue, 6 Apr 2010 07:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 995158FC12 for ; Tue, 6 Apr 2010 07:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o367o2kY031105 for ; Tue, 6 Apr 2010 07:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o367o2B2031104; Tue, 6 Apr 2010 07:50:02 GMT (envelope-from gnats) Resent-Date: Tue, 6 Apr 2010 07:50:02 GMT Resent-Message-Id: <201004060750.o367o2B2031104@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Yashin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADF1C1065676 for ; Tue, 6 Apr 2010 07:49:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9CE578FC15 for ; Tue, 6 Apr 2010 07:49:07 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o367n7nN077785 for ; Tue, 6 Apr 2010 07:49:07 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o367n7ZU077784; Tue, 6 Apr 2010 07:49:07 GMT (envelope-from nobody) Message-Id: <201004060749.o367n7ZU077784@www.freebsd.org> Date: Tue, 6 Apr 2010 07:49:07 GMT From: Dmitry Yashin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/145421: Update port: net-p2p/uhub from 0.3.0 to 0.3.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2010 07:50:02 -0000 >Number: 145421 >Category: ports >Synopsis: Update port: net-p2p/uhub from 0.3.0 to 0.3.1 >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: Tue Apr 06 07:50:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dmitry Yashin >Release: 7.0-RELEASE-p11 >Organization: >Environment: FreeBSD python 7.0-RELEASE-p11 FreeBSD 7.0-RELEASE-p11 #0: Sun Mar 22 07:08:52 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: 0.3.1: - Fixed bug where !getip did not work. - Added flood control configuration options. - Added configuration options to disallow old/obsolete ADC clients. - Fixed crash bugs, an freezes. - SSL/TLS fix for tls_require configuration option. - Fixed disconnect messages, so that clients can interpret them. - Fixed bugs where share limits could be circumvented. - Added support for listening to multiple ports. - kqueue backend for Mac OS X, and BSD systems. Remove file(s): - files/patch-select.c >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN --exclude=CVS /usr/ports/net-p2p/uhub.orig/Makefile /usr/ports/net-p2p/uhub/Makefile --- /usr/ports/net-p2p/uhub.orig/Makefile 2010-04-06 11:07:35.000000000 +0400 +++ /usr/ports/net-p2p/uhub/Makefile 2010-04-06 11:12:08.000000000 +0400 @@ -6,7 +6,7 @@ # PORTNAME= uhub -PORTVERSION= 0.3.0 +PORTVERSION= 0.3.1 CATEGORIES= net-p2p MASTER_SITES= http://www.extatic.org/downloads/uhub/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src diff -ruN --exclude=CVS /usr/ports/net-p2p/uhub.orig/distinfo /usr/ports/net-p2p/uhub/distinfo --- /usr/ports/net-p2p/uhub.orig/distinfo 2010-04-06 11:07:35.000000000 +0400 +++ /usr/ports/net-p2p/uhub/distinfo 2010-04-06 11:13:04.000000000 +0400 @@ -1,3 +1,3 @@ -MD5 (uhub-0.3.0-src.tar.gz) = d112694a9323bb47a8f62606633a8cf2 -SHA256 (uhub-0.3.0-src.tar.gz) = 24db78bf2f6c0da144197c49a1b37b88cec9f6d991f735d6544686c9f536fef1 -SIZE (uhub-0.3.0-src.tar.gz) = 134379 +MD5 (uhub-0.3.1-src.tar.gz) = 7e2810dceede442ba5c108bec50de4e5 +SHA256 (uhub-0.3.1-src.tar.gz) = 637b605c029738434438b5fe00a09a10a7bf3debddbe53b9dd12825644e68da0 +SIZE (uhub-0.3.1-src.tar.gz) = 147350 diff -ruN --exclude=CVS /usr/ports/net-p2p/uhub.orig/files/patch-GNUmakefile /usr/ports/net-p2p/uhub/files/patch-GNUmakefile --- /usr/ports/net-p2p/uhub.orig/files/patch-GNUmakefile 2010-04-06 11:07:35.000000000 +0400 +++ /usr/ports/net-p2p/uhub/files/patch-GNUmakefile 2010-04-06 11:22:51.000000000 +0400 @@ -1,16 +1,16 @@ ---- GNUmakefile.orig 2010-01-25 01:38:25.000000000 +0300 -+++ GNUmakefile 2010-02-01 12:12:34.000000000 +0300 -@@ -3,7 +3,7 @@ - ## Copyright (C) 2007-2010, Jan Vidar Krey - # +--- GNUmakefile 2010-04-05 18:53:17.000000000 +0400 ++++ GNUmakefile.orig 2010-04-06 11:19:35.000000000 +0400 +@@ -5,7 +5,7 @@ + + -include Makefile.private -CC = gcc +CC ?= gcc LD := $(CC) MV := mv RANLIB := ranlib -@@ -36,11 +36,12 @@ - GIT_REVISION ?= NO +@@ -44,10 +44,10 @@ + BIN_EXT ?= .exe else DESTDIR ?= / -UHUB_CONF_DIR ?= $(DESTDIR)/etc/uhub @@ -22,11 +22,9 @@ +CFLAGS += -I$(LOCALBASE)/include +LDFLAGS += -L$(LOCALBASE)/lib BIN_EXT ?= -+GIT_REVISION ?= NO endif - ifeq ($(SILENT),YES) -@@ -225,7 +226,7 @@ +@@ -249,7 +249,7 @@ @if [ ! -d $(UHUB_CONF_DIR) ]; then echo Creating $(UHUB_CONF_DIR); mkdir -p $(UHUB_CONF_DIR); fi @if [ ! -f $(UHUB_CONF_DIR)/uhub.conf ]; then cp doc/uhub.conf $(UHUB_CONF_DIR); fi @if [ ! -f $(UHUB_CONF_DIR)/users.conf ]; then cp doc/users.conf $(UHUB_CONF_DIR); fi diff -ruN --exclude=CVS /usr/ports/net-p2p/uhub.orig/files/patch-select.c /usr/ports/net-p2p/uhub/files/patch-select.c --- /usr/ports/net-p2p/uhub.orig/files/patch-select.c 2010-04-06 11:07:35.000000000 +0400 +++ /usr/ports/net-p2p/uhub/files/patch-select.c 1970-01-01 03:00:00.000000000 +0300 @@ -1,13 +0,0 @@ ---- src/network/select.c.orig 2010-01-25 01:38:25.000000000 +0300 -+++ src/network/select.c 2010-02-01 12:57:36.000000000 +0300 -@@ -101,8 +101,8 @@ - FD_ZERO(&g_backend->wfds); - - size_t secs = timeout_queue_get_next_timeout(&g_backend->timeout_queue, g_backend->now); -- tval.tv_secs = secs; -- tval.tv_usecs = 0; -+ tval.tv_sec = secs; -+ tval.tv_usec = 0; - - for (n = 0, found = 0; found < g_backend->num && n < g_backend->max; n++) - { >Release-Note: >Audit-Trail: >Unformatted: