summaryrefslogtreecommitdiff
path: root/net/spegla/pkg
diff options
context:
space:
mode:
authorfrueauf <frueauf>1999-02-26 11:27:18 +0000
committerfrueauf <frueauf>1999-02-26 11:27:18 +0000
commit27d688bd7a813de33444220bd723e46e775dbad0 (patch)
treebd398f1ad909125534edfac6216e9d43ca9d8b2d /net/spegla/pkg
parent956fd3cb501903f16dc0a5456e03ec1fbd14fc81 (diff)
downloadpkgsrc-27d688bd7a813de33444220bd723e46e775dbad0.tar.gz
Initial addition of spegla-1.04, a mirror program for FTP sites (written in C).
Provided in pr 7018 by Jens A Nilsson with some modifications by myself to make it work with current (sys/errno.h vs errno.h).
Diffstat (limited to 'net/spegla/pkg')
-rw-r--r--net/spegla/pkg/COMMENT1
-rw-r--r--net/spegla/pkg/DESCR52
-rw-r--r--net/spegla/pkg/PLIST4
3 files changed, 57 insertions, 0 deletions
diff --git a/net/spegla/pkg/COMMENT b/net/spegla/pkg/COMMENT
new file mode 100644
index 00000000000..1874789e4c9
--- /dev/null
+++ b/net/spegla/pkg/COMMENT
@@ -0,0 +1 @@
+a mirror program for FTP sites (written in C).
diff --git a/net/spegla/pkg/DESCR b/net/spegla/pkg/DESCR
new file mode 100644
index 00000000000..5e56d3d9a39
--- /dev/null
+++ b/net/spegla/pkg/DESCR
@@ -0,0 +1,52 @@
+Spegla is a mirror program for FTP sites. It was written because I
+couldn't find any fast mirroring program for big mirrors. It makes a
+complete mirror of a FTP area.
+
+Spegla only take one command-line parameter, the config file. These
+parameters can be specified in it:
+
+ - localdir where the mirror should go on your machine.
+
+ - remotedir directory at the FTP server.
+
+ - username user to log in as i.e. anonymous.
+
+ - password password to use i.e. your email address.
+
+ - host FTP server.
+
+ - retries how many retries before quit. Defaults to 20.
+
+ - retrytime how many seconds to wait before log in again after
+ a timeout. Defaults to 150.
+
+ - timeout how many seconds to wait to timeout. Defaults to 150.
+
+ - skipdir which directories to ignore remote and local, can be
+ several but only one per row.
+
+ - dirlink not used for now.
+
+ - logfile logfile, can be a file, stdout or stderr. Defaults
+ to stdout.
+
+Blank lines and text after '#' are ignored.
+
+This is what's in the config file I use for the FreeBSD mirror of
+Walnut Creek's FreeBSD area.
+
+localdir = /ftp/pub/FreeBSD
+remotedir = /pub/FreeBSD
+username = anonymous
+password = jnilsson@ludd.luth.se
+host = ftp.freebsd.org
+timeout = 120
+retries = 300 # busy ftp server and lots of files.
+ # Takes lots of hours to complete
+ # and don't want to quit when we are
+ # almost finished.
+retrytime = 120 # if network goes down don't consume
+ # all retries to fast.
+logfile = freebsd.org.log
+skipdir = distfiles # don't have room for this yet.
+skipdir = incoming # no need for this.
diff --git a/net/spegla/pkg/PLIST b/net/spegla/pkg/PLIST
new file mode 100644
index 00000000000..cf592245c69
--- /dev/null
+++ b/net/spegla/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/02/26 11:27:19 frueauf Exp $
+bin/spegla
+man/cat1/spegla.0
+man/man1/spegla.1