Bug 19415

Summary: The "spegla" port needs updating
Product: Ports & Packages Reporter: brad <brad>
Component: Individual Port(s)Assignee: alex <alex>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description brad 2000-06-21 18:30:02 UTC
FreeBSD currently has 1.04p1 (dated 9 Oct 1999 @ 24826 bytes), and the latest is 1.1p4 (dated 27 May 2000 @ 101515 bytes)

In building a new ftp/mirror server, I decided to try out spegla (at Jordan's suggestion).  However, I had some problems with 1.04p1, so I updated from the latest available at the author's site at <ftp://subzero.campus.luth.se/pub/spegla/>, and just discovered that <ftp://subzero.campus.luth.se/pub/spegla/> hasn't been updated yet.  I noted a number of new features, highlighted by the CHANGELOG file:

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 <matusita@jp.freebsd.org> that
  closes down data connection to ftp-server completely before reading
  status from ftp-server. Thank you.

changes since 1.04:
* Uses some other data structures in some queues.
* Version needs to be declared to 1.1 in config file
* Uses regex(3) to match files to skip
* Uses a new way to read parameters.
* Lots of new options
* Cleanup in source and possibly some bugs caught by that.

In particular, the following are new for spegla-1.1p4:
* 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.


I believe that my problems were caused by compatibility issues with certain types of ftp servers.  Although I continue to have some problems with certain servers on Windows NT, everything else is working fine.

Fix: 

ftp ftp://subzero.campus.luth.se/pub/spegla/spegla-1.1p4.tar.gz
tar zxf spegla-1.1p4.tar.gz
cd spegla-1.1p4
make
make install
mv /usr/local/man1 /usr/local/man/man1/spegla.1.gz
How-To-Repeat: I'm not quite sure what to put in this section for a change-request.  Guidance would be appreciated.
Comment 1 alex freebsd_committer freebsd_triage 2000-06-27 15:50:11 UTC
Responsible Changed
From-To: freebsd-ports->alex

Let me dial with this, I have patches
Comment 2 alex freebsd_committer freebsd_triage 2000-06-28 17:32:11 UTC
State Changed
From-To: open->closed

I updated the port and Jordan commited it.