darxus on Sat, 24 Jun 2000 13:46:42 -0400 (EDT) |
The only other time I believe I mentioned this to this list was almost exactly half a year ago. There have been a few revisions since then... http://www.chaosreigns.com/code/dlkern.html There's example output there. It just downloads the linux kernel. Well. And verifies its signiture via gpg. mct's provided a couple patches. There have been a lot of revisions lately (21 in the past 6 days, I think). I'd greatly appreciate bug reports. I just reposted this thing to freshmeat.net. ------------------------------------------------------------------------ $ ./dlkern -h Usage: dlkern [-sbp] [-nw | -d <downloader>] [-o <directory>] [-c <country_code>] [-e <gz|bz2>] [-f <host>] -- <downloader args> -s Download stable version of Linux kernel. -b Download beta version of Linux kernel. -p Download prepatch version of Linux kernel. -n Use ncftpget as downloader (default). -w Use wget as downloader. -d Specify another downloader. -o Specify output directory. -c Specify 2 letter country code from http://www.kernel.org/mirrors/ -e Specify extension (gz is default, bz2 is more compressed). -h Show this usage information. -f Finger a different host, instead of the default, "ftp.kernel.org" -u Only display URLs. May use -c & -e. -- Specify aruments to the downloader. Must be last. Retrieving version numbers: stable: 2.2.16 ftp://ftp.kernel.org/pub/linux/kernel/v2.2/linux-2.2.16.tar.gz beta: 2.3.99-pre9 ftp://ftp.kernel.org/pub/linux/kernel/v2.3/linux-2.3.99-pre9.tar.gz prepatch: 2.3.99/10-3 ftp://ftp.kernel.org/pub/linux/kernel/testing/pre10-3.gz ------------------------------------------------------------------------ $ ./dlkern -c us -e bz2 GnuPG.pm loaded. Requested: None. Downloading stable. Downloader: ncftpget. Retrieving version numbers: stable: 2.2.16 ftp://ftp.us.kernel.org/pub/linux/kernel/v2.2/linux-2.2.16.tar.bz2 beta: 2.3.99-pre9 ftp://ftp.us.kernel.org/pub/linux/kernel/v2.3/linux-2.3.99-pre9.tar.bz2 prepatch: 2.3.99/10-3 ftp://ftp.us.kernel.org/pub/linux/kernel/testing/pre10-3.bz2 Downloading stable by calling 'ncftpget ftp://ftp.us.kernel.org/pub/linux/kernel/v2.2/linux-2.2.16.tar.bz2' linux-2.2.16.tar.bz2: 13.19 MB 126.69 kB/s Downloading stable singature by calling 'ncftpget ftp://ftp.us.kernel.org/pub/linux/kernel/v2.2/linux-2.2.16.tar.bz2.sign' linux-2.2.16.tar.bz2.sign: 248.00 B 2.00 kB/s Verifying tarball linux-2.2.16.tar.bz2 with singature linux-2.2.16.tar.bz2.sign: Singature passed verification. Singature timestamp: Wed Jun 7 17:43:29 2000 Trust level for this singature is: FULLY ------------------------------------------------------------------------ ___________________ www.ChaosReigns.com ______________________________________________________________________ Philadelphia Linux Users Group - http://plug.nothinbut.net Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce General Discussion - http://lists.nothinbut.net/mail/listinfo/plug
|
|