mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Update to 1.0.0
- Use SF macro PR: ports/118810 Submitted by: Philippe Audeoud <jadawin@tuxaco.net> Approved by: linimon (mentor, maintainer timeout)
This commit is contained in:
parent
5265c7a798
commit
df1872ac04
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204873
@ -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@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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user