aboutsummaryrefslogtreecommitdiff
path: root/ftp/puf
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-01-02 23:55:29 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-01-02 23:55:29 +0000
commitdf1872ac042b4bf79c65c9714934fdbe56733454 (patch)
tree0e70d046f205b446c78d7acaaa35acfc40292c63 /ftp/puf
parent5265c7a7989d783a5dbb5702c8d38f65b5e445b4 (diff)
downloadports-df1872ac042b4bf79c65c9714934fdbe56733454.tar.gz
ports-df1872ac042b4bf79c65c9714934fdbe56733454.zip
Notes
Diffstat (limited to 'ftp/puf')
-rw-r--r--ftp/puf/Makefile6
-rw-r--r--ftp/puf/distinfo6
-rw-r--r--ftp/puf/files/patch-src-fetch.c16
-rw-r--r--ftp/puf/files/patch-src-hostlist.c26
4 files changed, 6 insertions, 48 deletions
diff --git a/ftp/puf/Makefile b/ftp/puf/Makefile
index d5a80defaffe..928c02ed2846 100644
--- a/ftp/puf/Makefile
+++ b/ftp/puf/Makefile
@@ -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
diff --git a/ftp/puf/distinfo b/ftp/puf/distinfo
index 80a9d50cf7f0..79c221806c3d 100644
--- a/ftp/puf/distinfo
+++ b/ftp/puf/distinfo
@@ -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 --git a/ftp/puf/files/patch-src-fetch.c b/ftp/puf/files/patch-src-fetch.c
deleted file mode 100644
index a76947d0c488..000000000000
--- a/ftp/puf/files/patch-src-fetch.c
+++ /dev/null
@@ -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 --git a/ftp/puf/files/patch-src-hostlist.c b/ftp/puf/files/patch-src-hostlist.c
deleted file mode 100644
index 476de0b8220a..000000000000
--- a/ftp/puf/files/patch-src-hostlist.c
+++ /dev/null
@@ -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;
- }