ports/145421: Update port: net-p2p/uhub from 0.3.0 to 0.3.1

Dmitry Yashin yashin.dm at gmail.com
Tue Apr 6 07:50:02 UTC 2010


>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 at 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 <janvidar at extatic.org>
-  #
+--- 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:



More information about the freebsd-ports-bugs mailing list