From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 22 14:40:03 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 072ED8DB for ; Tue, 22 Jan 2013 14:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id DD92BA0A for ; Tue, 22 Jan 2013 14:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0MEe2cS080635 for ; Tue, 22 Jan 2013 14:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0MEe2RE080634; Tue, 22 Jan 2013 14:40:02 GMT (envelope-from gnats) Resent-Date: Tue, 22 Jan 2013 14:40:02 GMT Resent-Message-Id: <201301221440.r0MEe2RE080634@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, Javier Martín Rueda Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 022778C7 for ; Tue, 22 Jan 2013 14:39:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id E4CD1A02 for ; Tue, 22 Jan 2013 14:39:19 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0MEdIJV001144 for ; Tue, 22 Jan 2013 14:39:18 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0MEdIOg001143; Tue, 22 Jan 2013 14:39:18 GMT (envelope-from nobody) Message-Id: <201301221439.r0MEdIOg001143@red.freebsd.org> Date: Tue, 22 Jan 2013 14:39:18 GMT From: Javier Martín Rueda To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175510: Update of net/spread4 port to version 4.2.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 14:40:03 -0000 >Number: 175510 >Category: ports >Synopsis: Update of net/spread4 port to version 4.2.0 >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 Jan 22 14:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Javier Martín Rueda >Release: FreeBSD 9.0-RELEASE-p3 amd64 >Organization: Universidad Politécnica de Madrid >Environment: >Description: This is an update of the net/spread4 port to version 4.2.0. New changes with respect to original source code: * Remove the use of -ldl in a couple of Makefiles, as this library does not exist in FreeBSD, and its functions are included in libc. * Include in daemon.c as it uses UINT16_MAX, which in Linux must be defined in some of the other header files, but not in FreeBSD. The rest of the patches are the obvious things (download size and sha256, update in the pkg-plist with new shared library versions...) NOTE: in order to download Spread from http://www.spread.org/download/spread-src-4.2.0.tar.gz, you are asked to fill a form. In the current port, the source code is downloaded from LOCAL/wen, and somebody should upload spread-4.2.0.tar.gz there to make it available. >How-To-Repeat: Not applicable. >Fix: See attached patch file. Patch attached with submission follows: diff -ruN spread4.orig/Makefile spread4/Makefile --- spread4.orig/Makefile 2012-07-20 22:32:20.000000000 +0200 +++ spread4/Makefile 2013-01-22 11:48:52.000000000 +0100 @@ -6,7 +6,7 @@ # PORTNAME= spread4 -PORTVERSION= 4.1.0 +PORTVERSION= 4.2.0 PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= LOCAL/wen diff -ruN spread4.orig/distinfo spread4/distinfo --- spread4.orig/distinfo 2011-03-20 13:53:01.000000000 +0100 +++ spread4/distinfo 2013-01-22 11:40:11.000000000 +0100 @@ -1,2 +1,2 @@ -SHA256 (spread-src-4.1.0.tar.gz) = 764d84ecf06877802c805efc1e84bbb362f14c791829e88d62fcba9951a68cdd -SIZE (spread-src-4.1.0.tar.gz) = 641060 +SHA256 (spread-src-4.2.0.tar.gz) = 0f234c211eadc26002e31343bdd1e343f4956f5665edd4db92751ef1d595bb5c +SIZE (spread-src-4.1.0.tar.gz) = 736189 diff -ruN spread4.orig/files/patch-daemon__Makefile.in spread4/files/patch-daemon__Makefile.in --- spread4.orig/files/patch-daemon__Makefile.in 1970-01-01 01:00:00.000000000 +0100 +++ spread4/files/patch-daemon__Makefile.in 2013-01-22 12:12:34.000000000 +0100 @@ -0,0 +1,11 @@ +--- daemon/Makefile.in.orig 2012-03-21 00:26:01.000000000 +0100 ++++ daemon/Makefile.in 2013-01-22 12:02:35.000000000 +0100 +@@ -30,7 +30,7 @@ + LIBSPREADUTIL_DIR=../libspread-util + LIBSPREADUTIL_PATHS=-I$(LIBSPREADUTIL_DIR)/include -I$(top_srcdir)/libspread-util/include + LIBSPREADUTIL_LDFLAGS=-rdynamic +-LIBSPREADUTIL_LIBS=-ldl ++LIBSPREADUTIL_LIBS= + + CC=@CC@ + LD=@LD@ diff -ruN spread4.orig/files/patch-daemon__monitor.c spread4/files/patch-daemon__monitor.c --- spread4.orig/files/patch-daemon__monitor.c 1970-01-01 01:00:00.000000000 +0100 +++ spread4/files/patch-daemon__monitor.c 2013-01-22 12:21:53.000000000 +0100 @@ -0,0 +1,10 @@ +--- daemon/monitor.c.orig 2012-03-21 04:17:52.000000000 +0100 ++++ daemon/monitor.c 2013-01-22 12:21:25.000000000 +0100 +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + + #include "arch.h" + #include "mutex.h" diff -ruN spread4.orig/files/patch-examples__Makefile.in spread4/files/patch-examples__Makefile.in --- spread4.orig/files/patch-examples__Makefile.in 1970-01-01 01:00:00.000000000 +0100 +++ spread4/files/patch-examples__Makefile.in 2013-01-22 12:12:52.000000000 +0100 @@ -0,0 +1,11 @@ +--- examples/Makefile.in.orig 2012-03-21 00:26:01.000000000 +0100 ++++ examples/Makefile.in 2013-01-22 12:02:41.000000000 +0100 +@@ -30,7 +30,7 @@ + LIBSPREADUTIL_DIR=../libspread-util + LIBSPREADUTIL_PATHS=-I$(LIBSPREADUTIL_DIR)/include -I$(top_srcdir)/libspread-util/include + LIBSPREADUTIL_LDFLAGS=-rdynamic +-LIBSPREADUTIL_LIBS=-ldl ++LIBSPREADUTIL_LIBS= + + CC=@CC@ + LD=@LD@ diff -ruN spread4.orig/pkg-plist spread4/pkg-plist --- spread4.orig/pkg-plist 2012-07-20 22:32:20.000000000 +0200 +++ spread4/pkg-plist 2013-01-22 12:31:17.000000000 +0100 @@ -17,14 +17,14 @@ lib/libspread-core.a lib/libtspread-core.a lib/libspread.so -lib/libspread.so.2 -lib/libspread.so.2.0.1 +lib/libspread.so.3 +lib/libspread.so.3.0.0 lib/libspread-core.so -lib/libspread-core.so.2 -lib/libspread-core.so.2.0.1 +lib/libspread-core.so.3 +lib/libspread-core.so.3.0.0 lib/libtspread-core.so -lib/libtspread-core.so.2 -lib/libtspread-core.so.2.0.1 +lib/libtspread-core.so.3 +lib/libtspread-core.so.3.0.0 sbin/spread %%PORTDOCS%%%%DOCSDIR%%/DynamicConfiguration.txt %%PORTDOCS%%%%DOCSDIR%%/Flush_or_SpreadAPI.txt >Release-Note: >Audit-Trail: >Unformatted: