Subject: Patch to resume transfers on pkgsrc (finally!)
To: None <tech-pkg@netbsd.org>
From: Juan RP <xtraeme@netbsd.org>
List: tech-pkg
Date: 07/24/2004 06:52:27
--Signature=_Sat__24_Jul_2004_06_52_27_+0200_ZgI.G05MrxC9H8d_
Content-Type: multipart/mixed;
 boundary="Multipart=_Sat__24_Jul_2004_06_52_27_+0200_CfDJreOLavZwS8eB"


--Multipart=_Sat__24_Jul_2004_06_52_27_+0200_CfDJreOLavZwS8eB
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit


Hi, finally I got working patch to resume transferencies not finished with
pkgsrc, a new option is used "FETCH_RESUME_ARGS" so you can use
your favourite FETCH_CMD value, FETCH_RESUME_ARGS should be "-R"
by default with tnftp.

I would like to commit this patch Monday if the comments are good, please
share suggestions or whatever.

Cheers.

http://xtraeme.nopcode.org:81/pkgsrc_resume.diff

Also attached.

--Multipart=_Sat__24_Jul_2004_06_52_27_+0200_CfDJreOLavZwS8eB
Content-Type: application/octet-stream;
 name="pkgsrc_resume.diff"
Content-Disposition: attachment;
 filename="pkgsrc_resume.diff"
Content-Transfer-Encoding: base64

SW5kZXg6IGJzZC5wa2cubWsKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2c3Jvb3QvcGtnc3JjL21r
L2JzZC5wa2cubWssdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTQ3NQpkaWZmIC11IC1yMS4xNDc1
IGJzZC5wa2cubWsKLS0tIGJzZC5wa2cubWsJNiBKdWwgMjAwNCAyMjo0OToxNiAtMDAwMAkxLjE0
NzUKKysrIGJzZC5wa2cubWsJMjQgSnVsIDIwMDQgMDQ6NDg6MTQgLTAwMDAKQEAgLTE0MTksNiAr
MTQxOSwyMSBAQAogIyBhZGRpbmcgcHJlLSogb3IgcG9zdC0qIHRhcmdldHMvc2NyaXB0cywgb3Zl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XRjaGZpbGU6VDpTLz0vLS0vfX0gJHtf
TUFTVEVSX1NJVEVfQkFDS1VQfSI7IFwKIAlzaXRlcz0iJHtPUkRFUkVEX1NJVEVTfSI7CQkJCQlc
CiAJJHtfQ0hFQ0tfRElTVF9QQVRIfTsJCQkJCQlcCi0JJHtfRkVUQ0hfRklMRX07CisJJHtfRkVU
Q0hfRklMRX07CQkJCQkJCVwKKwkke19SRVNVTUVfVFJBTlNGRVJ9CiAuICAgICAgICBlbmRpZiAj
IGRlZmluZWQoX0ZFVENIX01FU1NBR0UpCiAuICAgICAgZW5kZm9yCiAuICAgIGVuZGlmICMgSU5U
RVJBQ1RJVkVfU1RBR0UgPT0gZmV0Y2gK

--Multipart=_Sat__24_Jul_2004_06_52_27_+0200_CfDJreOLavZwS8eB--

--Signature=_Sat__24_Jul_2004_06_52_27_+0200_ZgI.G05MrxC9H8d_
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFBAesOypkLYVDran0RAoiuAJ4qkdDiLiNWCDTgjIFPQMR4UsnAGQCfetWk
Epxn8+ebmSx5j/yoSHDgy00=
=0TF0
-----END PGP SIGNATURE-----

--Signature=_Sat__24_Jul_2004_06_52_27_+0200_ZgI.G05MrxC9H8d_--