summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-12-09 16:01:58 +0000
committerwiz <wiz@pkgsrc.org>2004-12-09 16:01:58 +0000
commit6cbc0789efed3934610e56c687100fdfd4594025 (patch)
tree842ae4cb2c1db2e3b35b129d7d2df86042d38e87
parentee58b2ff6ba495dd8786ab4cff19dc86b60e8a18 (diff)
downloadpkgsrc-6cbc0789efed3934610e56c687100fdfd4594025.tar.gz
Update to 1.1p4, because old distfile has checksum problems.
Changes since 1.1: * Added --url option to download a directory hierarchy of a ftp-URL * Fixes descriptor leakage when errors downloading files occurs * Fixed bug with space in directory names * Download files to another name first and then rename them. * Fixed problem with permission not getting updated on directories. * Prints average downloadrate together with the other stats. * Works with latest version of wu-ftpd. * Prints stats corectly under Solaris. * Applied patch from Makoto MATSUSHITA that closes down data connection to ftp-server completely before reading status from ftp-server. Thank you.
-rw-r--r--net/spegla/Makefile9
-rw-r--r--net/spegla/distinfo10
-rw-r--r--net/spegla/patches/patch-aa31
-rw-r--r--net/spegla/patches/patch-ab8
4 files changed, 26 insertions, 32 deletions
diff --git a/net/spegla/Makefile b/net/spegla/Makefile
index 01ca9ffcf74..20a1fc9230d 100644
--- a/net/spegla/Makefile
+++ b/net/spegla/Makefile
@@ -1,15 +1,16 @@
-# $NetBSD: Makefile,v 1.5 2003/09/15 16:27:55 jmmv Exp $
+# $NetBSD: Makefile,v 1.6 2004/12/09 16:01:58 wiz Exp $
-DISTNAME= spegla-1.1
+DISTNAME= spegla-1.1p4
CATEGORIES= net
-MASTER_SITES= ftp://ftp.luth.se/pub/unix/mirror/ \
- ftp://subzero.campus.luth.se/pub/spegla/
+MASTER_SITES= ftp://subzero.campus.luth.se/pub/spegla/
MAINTAINER= jnilsson@ludd.luth.se
COMMENT= Mirror program for FTP sites (written in C)
MANCOMPRESSED_IF_MANZ= yes
PLIST_SRC= ${WRKDIR}/PLIST
+USE_BUILDLINK3= yes
+BUILDLINK_TRANSFORM+= rm:-Werror
.include "../../mk/bsd.prefs.mk"
diff --git a/net/spegla/distinfo b/net/spegla/distinfo
index f3a7d51fc71..9da1b41ee70 100644
--- a/net/spegla/distinfo
+++ b/net/spegla/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2004/09/16 20:14:05 minskim Exp $
+$NetBSD: distinfo,v 1.4 2004/12/09 16:01:58 wiz Exp $
-SHA1 (spegla-1.1.tar.gz) = 97829070f201a7be6b3a71bd62b761c8d5c903b0
-Size (spegla-1.1.tar.gz) = 91450 bytes
-SHA1 (patch-aa) = 3a928ae8ee490b56dd572a1bf9428e50e163a797
-SHA1 (patch-ab) = 4423d6943f625c806a4321684f0a332269f58908
+SHA1 (spegla-1.1p4.tar.gz) = c85036d0ed4e198c517198628fbc9a842f0d3e85
+Size (spegla-1.1p4.tar.gz) = 101515 bytes
+SHA1 (patch-aa) = c52aa11ed64f7ed3575aa868a1688c9777363d91
+SHA1 (patch-ab) = 8402ce241ccbac6953378adacdd79ceb54164ba9
diff --git a/net/spegla/patches/patch-aa b/net/spegla/patches/patch-aa
index 2346a4f29ae..26ccb2dbfa8 100644
--- a/net/spegla/patches/patch-aa
+++ b/net/spegla/patches/patch-aa
@@ -1,20 +1,13 @@
-$NetBSD: patch-aa,v 1.3 1999/11/25 19:46:20 tron Exp $
---- Makefile-orig Mon Oct 25 20:10:31 1999
-+++ Makefile Thu Nov 25 19:47:56 1999
-@@ -8,7 +8,15 @@
- SRCS= jftp.c parserow.c spegla.c tgetopt.c container.c spf_util.c \
- que_syms.c e_err.c strlcpy.c
+$NetBSD: patch-aa,v 1.4 2004/12/09 16:01:58 wiz Exp $
+
+--- jftp.c.orig 2000-05-27 15:47:43.000000000 +0200
++++ jftp.c
+@@ -65,7 +65,7 @@
--MAN= spegla.1 strlcpy.3
-+MAN= spegla.1
-+
-+FILES= spegla.sh spegla.conf
-+FILESDIR= ${PREFIX}/share/examples/spegla
-+
-+filesinstall:: ${PREFIX}/share/examples/spegla
-+
-+${PREFIX}/share/examples/spegla:
-+ mkdir -p ${PREFIX}/share/examples/spegla
-
- #WARNS= 2
- CFLAGS+= -Wall
+ /* Older versions of NetBSD than 1.3K doesn't have socklen_t defined */
+ #ifdef __NetBSD__
+-#ifdef __NetBSD_Version
++#ifdef __NetBSD_Version__
+ #if __NetBSD_Version__ < 103110000
+ #define socklen_t int
+ #endif
diff --git a/net/spegla/patches/patch-ab b/net/spegla/patches/patch-ab
index 02757630a8d..5e774c539ac 100644
--- a/net/spegla/patches/patch-ab
+++ b/net/spegla/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.4 2004/09/16 20:14:05 minskim Exp $
+$NetBSD: patch-ab,v 1.5 2004/12/09 16:01:58 wiz Exp $
---- spegla.c.orig 1999-11-24 13:38:06.000000000 -0600
+--- spegla.c.orig 2000-05-27 15:38:14.000000000 +0200
+++ spegla.c
-@@ -657,7 +657,7 @@ check_minfree(int minfree, char *path)
+@@ -708,7 +708,7 @@ check_minfree(int minfree, char *path)
#ifdef ULTRIX
struct fs_data f;
#else
@@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.4 2004/09/16 20:14:05 minskim Exp $
struct statvfs f;
#else
struct statfs f;
-@@ -667,7 +667,7 @@ check_minfree(int minfree, char *path)
+@@ -718,7 +718,7 @@ check_minfree(int minfree, char *path)
if (minfree == 0)
return;