From nobody@FreeBSD.org  Tue Feb  2 13:36:09 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BEC0B1065747
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Feb 2010 13:36:09 +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 AD2AD8FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Feb 2010 13:36:09 +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 o12Da9S6087806
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 2 Feb 2010 13:36:09 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o12Da9sS087805;
	Tue, 2 Feb 2010 13:36:09 GMT
	(envelope-from nobody)
Message-Id: <201002021336.o12Da9sS087805@www.freebsd.org>
Date: Tue, 2 Feb 2010 13:36:09 GMT
From: Dmitry Yashin <yashin.dm@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: net-p2p/opendchub from 0.7.16 to 0.8.1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         143480
>Category:       ports
>Synopsis:       Update port: net-p2p/opendchub from 0.7.16 to 0.8.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nemoliu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 02 13:43:41 UTC 2010
>Closed-Date:    Wed Feb 03 13:59:37 UTC 2010
>Last-Modified:  Wed Feb  3 14:00:04 UTC 2010
>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:
Update:
2009-08-04: Roshan Kumar Singh <singh.roshan08@gmail.com>
	    * src/commands.c, src/fileio.c, src/xs_function.c, src/main.c: Made changes for checking minimun upload slots.
	      Error messages for kicking users with shares less	than the minimum.

2009-08-07: Roshan Kumar Singh <singh.roshan08@gmail.com>
	    * depcomp: Added depcomp to fix problems in compilation.

2009-08-15: Roshan Kumar Singh <singh.roshan08@gmail.com>
	    * Makefile.in, configure, config.h.in, src/Makefile.in: Updated according to new autotools.
	    ** Release of new version 0.8.0 with added support for checking minimum slots and error messages for minimum shares. 

2009-12-29: Roshan Kumar Singh <singh.roshan08@gmail.com>
	    * src/perl_utils.c
	    ** Placed calls to PERL_SYS_INIT3() and PERL_SYS_TERM() in perl_init() upon Perl interpreter creation, as documented in perldoc perlembed.
	       Patch sent by Zak B. Elep <zakame@zakame.net>

2009-12-29: Roshan Kumar Singh <singh.roshan08@gmail.com>
	    * src/commands.c
	    ** Fix for buffer overflow in redirect_all()
	       Patch sent by Zak B. Elep <zakame@zakame.net>

Remove file(s):
- files/patch-buffer_overflow_fix

I'll take this port.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/net-p2p/opendchub.orig/Makefile /usr/ports/net-p2p/opendchub/Makefile
--- /usr/ports/net-p2p/opendchub.orig/Makefile	2010-02-02 15:05:04.000000000 +0300
+++ /usr/ports/net-p2p/opendchub/Makefile	2010-02-02 16:22:11.000000000 +0300
@@ -6,11 +6,11 @@
 #
 
 PORTNAME=	opendchub
-PORTVERSION=	0.7.16
+PORTVERSION=	0.8.1
 CATEGORIES=	net-p2p
 MASTER_SITES=	SF/${PORTNAME}/Open%20DC%20Hub/${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	yashin.dm@gmail.com
 COMMENT=	Unofficial Unix version of the Direct Connect Hub software
 
 USE_PERL5=	yes
@@ -25,6 +25,9 @@
 CPPFLAGS=	-I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
 
+pre-install:
+	@${CHMOD} a+rx ${WRKSRC}/install-sh
+
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/net-p2p/opendchub.orig/distinfo /usr/ports/net-p2p/opendchub/distinfo
--- /usr/ports/net-p2p/opendchub.orig/distinfo	2010-02-02 15:05:04.000000000 +0300
+++ /usr/ports/net-p2p/opendchub/distinfo	2010-02-02 15:10:24.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (opendchub-0.7.16.tar.gz) = 81231a770b5fe2cb9360d0c03f004ce7
-SHA256 (opendchub-0.7.16.tar.gz) = 009e0c87e37f2840d40f82edd46cbffed9f3c3ac057b0d0b6b9c254587fbb31b
-SIZE (opendchub-0.7.16.tar.gz) = 234982
+MD5 (opendchub-0.8.1.tar.gz) = 51f3610dddc380d515a34b446bad92ef
+SHA256 (opendchub-0.8.1.tar.gz) = b7c18dda4b63e817519241c6e36fd7b6eac10f0240ad5fbb3ba731b82de7b833
+SIZE (opendchub-0.8.1.tar.gz) = 186255
diff -ruN --exclude=CVS /usr/ports/net-p2p/opendchub.orig/files/patch-buffer_overflow_fix /usr/ports/net-p2p/opendchub/files/patch-buffer_overflow_fix
--- /usr/ports/net-p2p/opendchub.orig/files/patch-buffer_overflow_fix	2010-02-02 15:05:01.000000000 +0300
+++ /usr/ports/net-p2p/opendchub/files/patch-buffer_overflow_fix	1970-01-01 03:00:00.000000000 +0300
@@ -1,11 +0,0 @@
---- src/commands.c.orig	Sun Feb 13 17:16:37 2005
-+++ src/commands.c	Sun Feb 13 17:17:18 2005
-@@ -2842,7 +2842,7 @@
- {
-    char move_string[MAX_HOST_LEN+20];
-    
--   sprintf(move_string, "$ForceMove %s", buf);
-+   snprintf(move_string, MAX_HOST_LEN, "$ForceMove %s", buf);
-  
-    send_to_humans(move_string, REGULAR | REGISTERED | OP, user);
-    remove_all(UNKEYED | NON_LOGGED | REGULAR | REGISTERED | OP, 1, 1);


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->nemoliu  
Responsible-Changed-By: nemoliu 
Responsible-Changed-When: Tue Feb 2 17:56:22 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143480 
State-Changed-From-To: open->closed  
State-Changed-By: nemoliu 
State-Changed-When: Wed Feb 3 13:58:52 UTC 2010 
State-Changed-Why:  
Committed.Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143480 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/143480: commit references a PR
Date: Wed,  3 Feb 2010 13:50:59 +0000 (UTC)

 nemoliu     2010-02-03 13:50:50 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-p2p/opendchub    Makefile distinfo 
   Removed files:
     net-p2p/opendchub/files patch-buffer_overflow_fix 
   Log:
   - Update to 0.8.1
   - Change maintainer from ports@ to yashin.dm@gmail.com
   
   PR:     ports/143480
   Submitted by:   Dmitry Yashin <yashin.dm@gmail.com>
   
   Revision  Changes    Path
   1.26      +5 -2      ports/net-p2p/opendchub/Makefile
   1.12      +3 -3      ports/net-p2p/opendchub/distinfo
   1.2       +0 -11     ports/net-p2p/opendchub/files/patch-buffer_overflow_fix (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
