Date: Tue, 2 Feb 2010 13:36:09 GMT From: Dmitry Yashin <yashin.dm@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/143480: Update port: net-p2p/opendchub from 0.7.16 to 0.8.1 Message-ID: <201002021336.o12Da9sS087805@www.freebsd.org> Resent-Message-ID: <201002021343.o12DhfAP019421@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 02 13:43:41 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: 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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002021336.o12Da9sS087805>