debian/0000755000000000000000000000000011753030177007172 5ustar debian/control0000644000000000000000000000162111753030163010570 0ustar Source: ftpgrab Section: net Priority: optional Maintainer: Christian T. Steigies Build-Depends: debhelper (>= 8.0.0) Standards-Version: 3.9.3 Package: ftpgrab Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: file mirroring utility ftpgrab is a utility for maintaining FTP mirrors. In fact not unlike the "Mirror" perl program. However ftpgrab is oriented towards the smaller site which doesn't have the resources to mirror entire version trees of software. . The primary "plus point" of ftpgrab is that it can base download decisions by parsing version numbers out of filenames. For example, ftpgrab will recognize that the file "linux-2.2.2.tar.gz" is newer than "linux-2.2.1.tar.gz" based on the version string. It will then download the new version and delete the old one when it is done, thus saving you mirroring 10 kernel versions all at >10Mb each. debian/compat0000644000000000000000000000000211652101443010361 0ustar 8 debian/changelog0000644000000000000000000001127611753030151011043 0ustar ftpgrab (0.1.5-3) unstable; urgency=low * apply patch from Matthias Klose to fix build failure with GCC 4.7 (closes: #667171) * updated Standards-Version to 3.9.3 (no changes) -- Christian T. Steigies Thu, 10 May 2012 22:40:02 +0200 ftpgrab (0.1.5-2) unstable; urgency=low * repackage with debhelper 8 * Switch to dpkg-source 3.0 (quilt) format * fix spelling error in binary -- Christian T. Steigies Thu, 27 Oct 2011 22:03:42 +0200 ftpgrab (0.1.5-1) unstable; urgency=low * new upstream version (closes: #554588) -- Christian T. Steigies Sat, 14 Nov 2009 23:13:46 +0100 ftpgrab (0.1.4-1) unstable; urgency=low * new upstram version * update debian/watch file -- Christian T. Steigies Sun, 01 Nov 2009 22:39:58 +0100 ftpgrab (0.1.3-1) unstable; urgency=low * new upstream version -- Christian T. Steigies Sun, 25 Oct 2009 22:35:06 +0100 ftpgrab (0.1.2r-10) unstable; urgency=low * add ${misc:Depends} to binary package's debian/control entry * use debhelper 5 * fix copyright file * updated Standards-Version to 3.8.3 (no changes) -- Christian T. Steigies Thu, 08 Oct 2009 22:44:26 +0200 ftpgrab (0.1.2r-9) unstable; urgency=low * Prevent the upstream Makefile to strip binaries, such that the DEB_BUILD_OPTIONS=nostrip option will be honored (closes: #436882) * updated Standards-Version to 3.7.2 (no changes) -- Christian T. Steigies Sat, 18 Aug 2007 20:14:04 +0200 ftpgrab (0.1.2r-8) unstable; urgency=low * updated Standards-Version to 3.6.1.0 (no changes) * copyright is with the author -- Christian T. Steigies Sun, 13 Mar 2005 18:16:46 +0100 ftpgrab (0.1.2r-7) unstable; urgency=low * ftpgrabrc example got lost by switching to cdbs -- Christian T. Steigies Thu, 25 Mar 2004 11:59:41 -0500 ftpgrab (0.1.2r-6) unstable; urgency=low * rebuild with gcc-3.3 * add install target to upstream Makefile * use cdbs * updated Standards-Version -- Christian T. Steigies Fri, 4 Jul 2003 16:43:57 -0400 ftpgrab (0.1.2r-5) unstable; urgency=low * #include (closes: #122155) * reupload orig.tar.gz, which was deleted with the last upload -- Christian T. Steigies Sun, 2 Dec 2001 19:37:04 -0500 ftpgrab (0.1.2r-4) unstable; urgency=low * apply patch from John R. Daily" (closes: #116155) - makes ftpgrab buildable with g++-3.0 - removes sa_restorer nullification - beautify memset usage * use new patch from John which makes ftpgrab buildable on i386 with g++-3.0, too -- Christian T. Steigies Tue, 6 Nov 2001 23:34:24 -0500 ftpgrab (0.1.2r-3) unstable; urgency=low * force building with with g++-2.95, this probably makes ftpgrab unbuildable on hppa and ia64, upstream is working on making it compatible with g++-3.0 (closes: #104937) * remove (unneeded) dh_suidregister from debian/rules * rebuild (closes: #109414) * update Standards-Version -- Christian T. Steigies Thu, 23 Aug 2001 21:04:15 -0400 ftpgrab (0.1.2r-2) unstable; urgency=low * Build-Depends on g++, not on m68k specific libstdc++2.10-glibc2.1-dev (closes: #69738) -- Christian T. Steigies Tue, 22 Aug 2000 23:10:17 +0200 ftpgrab (0.1.2r-1) unstable; urgency=low * New upstream release. * "r" stands for release, finally I have been bitten by the version numbering problem.... -- Christian T. Steigies Mon, 5 Jun 2000 23:33:44 +0200 ftpgrab (0.1.2pre1-1) unstable; urgency=low * New upstream release. -- Christian T. Steigies Mon, 15 May 2000 20:31:24 +0200 ftpgrab (0.1.1-1) unstable; urgency=low * new upstream source * added Build-Depends * updated Standards -- Christian T. Steigies Mon, 3 Jan 2000 21:03:03 +0100 ftpgrab (0.1.0-2) unstable; urgency=low * apply a patch required for alpha, thanks Bart. Fixes: Bug#39982. -- Christian T. Steigies Wed, 23 Jun 1999 11:39:37 +0200 ftpgrab (0.1.0-1) unstable; urgency=low * New upstream release. -- Christian T. Steigies Tue, 18 May 1999 14:18:14 +0200 ftpgrab (0.0.6a-2) unstable; urgency=low * updated the manpage -- Christian T. Steigies Thu, 6 May 1999 22:35:12 +0200 ftpgrab (0.0.6a-1) unstable; urgency=low * New upstream release. Read README.URGENT.KERNEL2.0 ! -- Christian T. Steigies Wed, 5 May 1999 21:22:54 +0200 ftpgrab (0.0.4a-1) unstable; urgency=low * Initial Release. -- Christian T. Steigies Sat, 24 Apr 1999 23:11:56 +0200 debian/rules0000755000000000000000000000036211652102361010244 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_install: dh_auto_install install -D -m 644 ftpgrabrc debian/ftpgrab/usr/share/doc/ftpgrab/examples/ftpgrabrcdebian/dirs0000644000000000000000000000003311652065704010054 0ustar usr/bin usr/share/man/man1 debian/watch0000644000000000000000000000064411652065704010231 0ustar # format version number, currently 2; this line is compulsory! version=2 # # Site Directory Pattern Version Script #sunsite.unc.edu /pub/Linux/Incoming ftpgrab-*.tar.gz debian uupdate #ftp://ftp.lmh.ox.ac.uk /pub/linux ftpgrab-([\d\.]+)\.tar\.gz debian uupdate #ftp://ferret.lmh.ox.ac.uk/pub/linux/ftpgrab-([\d\.]+)\.tar\.gz debian uupdate ftp://ftp.beasts.org/users/cevans/ftpgrab-([\d\.]+)\.tar\.gz debian uupdate debian/source/0000755000000000000000000000000011652066054010473 5ustar debian/source/format0000644000000000000000000000001411652066054011701 0ustar 3.0 (quilt) debian/README.Debian0000644000000000000000000000153611652065704011242 0ustar ftpgrab for Debian ---------------------- ftpgrab is consired ALPHA software by the author, allthough the examples supplied seem to be working. Citing Chris Evans : OK, I can add an option to output what it is doing to screen in the next release. OK, I will add an option to specify a diffent rc filename in the next release (and probably change the default to a dotfile). Thanks for your comments. I would probably recommend you wait a release or two before making a package - I have a few bugs to fix. Also, the next release will feature regular expression support in download rules. So ftpgrab options and rc files may change in the future, if you have recommendations, just mail Chris: "I am always happy to listen to suggestions!" -- Christian T. Steigies , Sun, 25 Apr 1999 21:24:56 +0200 debian/docs0000644000000000000000000000011711652065704010046 0ustar README README.URGENT.KERNEL2.0 README.gcc.2.7 README.options TODO BUILD DESIGN debian/copyright0000644000000000000000000000122411652065704011126 0ustar This package was debianized by Christian T. Steigies on Sat, 24 Apr 1999 23:11:56 +0200. It was downloaded from ftp.lmh.ox.ac.uk/pub/linux/ftpgrab-0.1.1.tar.gz Upstream Author: Chris Evans Copyright (c) 1999 - 2000 Chris Evans This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/patches/0000755000000000000000000000000011753023577010627 5ustar debian/patches/0004_ftpgrabrc0000644000000000000000000000147611652343022013163 0ustar Description: update example ftpgrabrc The example ftpgrabc shows an ancient kernel version, update this to something current. Author: Christian T. Steigies Last-Update: 2011-10-27 --- a/ftpgrabrc +++ b/ftpgrabrc @@ -33,10 +33,16 @@ # This rule keeps the most recent linux kernel tarball in /home/kernel :) #Name: Kernel1 -#Host: ftp.uk.kernel.org -#RemoteDir: /pub/linux/kernel/v2.2 +#Host: ftp.kernel.org +#RemoteDir: /pub/linux/kernel/v3.x #LocalDir: /home/kernel -#File: linux-2.2..tar.gz +#File: linux-3..tar.gz + +#Name: Kernel2 +#Host: ftp.kernel.org +#RemoteDir: /pub/linux/kernel/v3.x +#LocalDir: /home/kernel +#File: linux-3...tar.gz # This rule keeps the most recent version of Wine in /home/wine # The yymmdd format date is parsed out of the filename. Yes it works after debian/patches/0001_Makefile_install0000644000000000000000000000072111652100750014440 0ustar Description: install target Add install target to upstream Makefile Author: Christian T. Steigies Last-Update: 2009-11-14 --- a/Makefile +++ b/Makefile @@ -19,5 +19,9 @@ ftpgrab: $(OBJS) $(CC) -o ftpgrab $(OBJS) $(LINK) $(LIBS) +install: ftpgrab + -install -o root -g root -m 755 ftpgrab debian/ftpgrab/usr/bin/ + -install -o root -g root -m 644 debian/ftpgrab.1 debian/ftpgrab/usr/share/man/man1/ + clean: rm -f *.o ftpgrab fglog.out debian/patches/0005_spelling0000644000000000000000000000104611652343145013026 0ustar Description: fix a spelling mistake in the binary Lintian complained about a spelling error in the binary Author: Christian T. Steigies Last-Update: 2011-10-27 --- a/main.cc +++ b/main.cc @@ -126,7 +126,7 @@ log.LogMsg("Failed to parse config file - bailing", FGLogger::kFGLLErr); exit(1); } - log.LogMsg("Sucessfully parsed config file", FGLogger::kFGLLVerbose); + log.LogMsg("Successfully parsed config file", FGLogger::kFGLLVerbose); list.GetAllFiles(); log.LogMsg("ftpgrab exiting", FGLogger::kFGLLInfo); debian/patches/0002_README0000644000000000000000000000062011652101030012121 0ustar Description: update version Update the version number in umstream README Author: Christian T. Steigies Last-Update: 2009-11-14 --- a/README +++ b/README @@ -1,4 +1,4 @@ -This is ftpgrab v0.1.4 +This is ftpgrab v0.1.5 Author: Chris Evans, , who is at pains to point out that this 10 year old code is not indicative of the quality of my more recent work :) debian/patches/ftbfs-gcc-4.7.diff0000644000000000000000000000064111753023577013626 0ustar Index: ftpgrab-0.1.5/Makefile =================================================================== --- ftpgrab-0.1.5.orig/Makefile 2012-05-03 23:36:40.000000000 +0000 +++ ftpgrab-0.1.5/Makefile 2012-05-03 23:37:16.426827321 +0000 @@ -3,7 +3,7 @@ #LIBS = -lefence LIBS = -lpthread -LINK = -Wl +LINK = OBJS = main.o fgstring.o fgexc.o fgftpcon.o fgfileinfo.o \ fgfilegrab.o fgalist.o fgfshelp.o fgpickall.o \ debian/patches/series0000644000000000000000000000015011753023577012040 0ustar 0001_Makefile_install 0002_README 0003_Makefile_nostrip 0004_ftpgrabrc 0005_spelling ftbfs-gcc-4.7.diff debian/patches/0003_Makefile_nostrip0000644000000000000000000000065411652101262014476 0ustar Description: honor DEB_BUILD_OPTIONS=nostrip Bug-Debian: http://bugs.debian.org/436882 Author: Julien Danjou RFeviewd-by: Christian T. Steigies Last-Update: 2007-08-09 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ #LIBS = -lefence LIBS = -lpthread -LINK = -Wl,-s +LINK = -Wl OBJS = main.o fgstring.o fgexc.o fgftpcon.o fgfileinfo.o \ fgfilegrab.o fgalist.o fgfshelp.o fgpickall.o \ debian/ftpgrab.10000644000000000000000000000266111652065704010710 0ustar .TH FTPGRAB 1 "Jan 3rd 2000" "GNU" "Debian GNU/Linux manual" .SH NAME ftpgrab \- a file mirroring utility .SH SYNOPSIS .B ftpgrab .I "[options]" .SH "DESCRIPTION" This manual page documents briefly the .BR ftpgrab command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP .B ftpgrab is an utility for maintaining FTP mirrors. In fact not unlike the .B mirror perl program. However ftpgrab is oriented towards the smaller site which doesn't have the resources to mirror entire version trees of software. .SH OPTIONS .TP .I -h usage .TP .I -n Don't log to an output file .TP .I -l Change log file name from default .B (fglog.out) to .TP .I -r Change config file name from default .B (ftpgrabrc) to .TP .I -t Set maximum download threads to .TP .I -v Output verbose progress updates to stdout .\".B ftpgrab .\"does not take any options currently, but is entirely configured by .\"the file ftpgrabrc in the directory where .\".B ftpgrab .\"is called. .\".B ftpgrab .\"does not produce any output currently, but it creates a logfile in the .\"directory where it is called ( .\".B fglog.out .\"). Please see the file /usr/share/doc/ftpgrab/examples/ftpgrabrc for details. .SH AUTHOR This manual page was written by Christian T. Steigies , for the Debian GNU/Linux system (but may be used by others).