ports/118810: [update] ftp/puf - update to 1.0.0

Philippe Audeoud jadawin at tuxaco.net
Tue Dec 18 08:50:01 UTC 2007


>Number:         118810
>Category:       ports
>Synopsis:       [update] ftp/puf - update to 1.0.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 18 08:50:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Philippe Audeoud
>Release:        FreeBSD 7.0-BETA1 i386
>Organization:
>Environment:
System: FreeBSD athines 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Wed Oct 31 19:32:18 CET 2007 root at glenrothes:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	- update PORTVERSION
	- use SF macro
	- removing useless patch
>How-To-Repeat:
	
>Fix:

	

--- patch-puf.1 begins here ---
diff -ruN ftp/puf.orig/Makefile ftp/puf/Makefile
--- ftp/puf.orig/Makefile	2007-12-18 08:34:48.000000000 +0000
+++ ftp/puf/Makefile	2007-12-18 08:41:09.000000000 +0000
@@ -7,15 +7,15 @@
 #
 
 PORTNAME=	puf
-PORTVERSION=	0.93.3
+PORTVERSION=	1.0.0
 CATEGORIES=	ftp www
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	SF
 
 MAINTAINER=	jharris at widomaker.com
 COMMENT=	A parallel HTTP downloader similar to wget
 
 GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
 
 MAN1=		puf.1
 PLIST_FILES=	bin/puf
diff -ruN ftp/puf.orig/distinfo ftp/puf/distinfo
--- ftp/puf.orig/distinfo	2007-12-18 08:34:48.000000000 +0000
+++ ftp/puf/distinfo	2007-12-18 08:35:43.000000000 +0000
@@ -1,3 +1,3 @@
-MD5 (puf-0.93.3.tar.gz) = 74134692a986a8df8b5bbb1ad4a13e0a
-SHA256 (puf-0.93.3.tar.gz) = 9273e9c6fdee827ab504bb7e598df5ea367d5c8b7f7621d871af35740b078fd8
-SIZE (puf-0.93.3.tar.gz) = 139544
+MD5 (puf-1.0.0.tar.gz) = 78f870f2a0c611ace8c5e9ced7b08a83
+SHA256 (puf-1.0.0.tar.gz) = 3f1602057dc47debeb54effc2db9eadcffae266834389bdbf5ab14fc611eeaf0
+SIZE (puf-1.0.0.tar.gz) = 153540
diff -ruN ftp/puf.orig/files/patch-src-fetch.c ftp/puf/files/patch-src-fetch.c
--- ftp/puf.orig/files/patch-src-fetch.c	2007-12-18 08:34:48.000000000 +0000
+++ ftp/puf/files/patch-src-fetch.c	1970-01-01 00:00:00.000000000 +0000
@@ -1,16 +0,0 @@
-Index: src/fetch.c
-===================================================================
-RCS file: /cvsroot/puf/puf/src/fetch.c,v
-retrieving revision 1.29
-retrieving revision 1.30
-diff -u -r1.29 -r1.30
---- src/fetch.c	1 Jul 2004 13:43:29 -0000	1.29
-+++ src/fetch.c	5 Jul 2004 07:41:29 -0000	1.30
-@@ -200,6 +200,7 @@
-     signal(SIGINT, sigint);
-     signal(SIGTERM, sigterm);
-     signal(SIGALRM, sigalrm);
-+    signal(SIGPIPE, SIG_IGN);
- 
-     alarm(max_time);
- 
diff -ruN ftp/puf.orig/files/patch-src-hostlist.c ftp/puf/files/patch-src-hostlist.c
--- ftp/puf.orig/files/patch-src-hostlist.c	2007-12-18 08:34:48.000000000 +0000
+++ ftp/puf/files/patch-src-hostlist.c	1970-01-01 00:00:00.000000000 +0000
@@ -1,26 +0,0 @@
-Index: src/hostlist.c
-===================================================================
-RCS file: /cvsroot/puf/puf/src/hostlist.c,v
-retrieving revision 1.15
-retrieving revision 1.16
-diff -u -r1.15 -r1.16
---- src/hostlist.c	22 Jun 2004 09:26:55 -0000	1.15
-+++ src/hostlist.c	5 Jul 2004 07:41:29 -0000	1.16
-@@ -103,7 +103,7 @@
- {
-     int l = strlen(proc->whost->host->name) + 1;
-     dbg(DNS, ("starting dns lookup, helper %d\n", proc->pid));
--    if (send(proc->fd, proc->whost->host->name, l, MSG_NOSIGNAL) != l) {
-+    if (send(proc->fd, proc->whost->host->name, l, 0) != l) {
- 	prx(ERR, "cannot talk to DNS helper!\n");
- 	return 0;
-     }
-@@ -121,7 +121,7 @@
-     u_char buf[1024];
- 
-     dbg(DNS, ("finishing dns lookup, helper %d\n", proc->pid));
--    if (recv(proc->fd, buf, sizeof(buf), MSG_NOSIGNAL) < (int)sizeof(int)) {
-+    if (recv(proc->fd, buf, sizeof(buf), 0) < (int)sizeof(int)) {
- 	prx(ERR, "cannot talk to DNS helper!\n");
- 	return 0;
-     }
--- patch-puf.1 ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list