Re: Requesting a new version of GNU ddrescue

2020-03-29 Thread Christian Franke

Jon Turney wrote:

On 27/03/2020 14:05, Hamish McIntyre-Bhatty via Cygwin-apps wrote:

So, I went ahead and made a package, and it's available at
https://www.hamishmb.com/files/cygwin-temp/.

Does anyone mind checking for me that I've done this right, just so I
can get the technique down before I try to package anything complicated?


Thanks. That package appears to be built correctly.

The maintainer of record for ddrescue is Christian Franke, who still 
appears to be active.


ddrescue 1.25 is already on my TODO list. I will release it soon after 
some more testing.


Regards,
Christian



Re: Requesting a new version of GNU ddrescue

2020-03-29 Thread Jon Turney

On 27/03/2020 14:05, Hamish McIntyre-Bhatty via Cygwin-apps wrote:

So, I went ahead and made a package, and it's available at
https://www.hamishmb.com/files/cygwin-temp/.

Does anyone mind checking for me that I've done this right, just so I
can get the technique down before I try to package anything complicated?


Thanks. That package appears to be built correctly.

The maintainer of record for ddrescue is Christian Franke, who still 
appears to be active.


Christian?


Re: cygport upload

2020-03-29 Thread Andrew Schulman via Cygwin-apps
> > OK, works. Can lftp or cygport be configured so that lftp does not ask 
> > for a password? Or to use sftp instead?
> 
> I don't know of any configuration for lftp to turn off that behaviour 
> (which is arguably a defect in lftp), but that's probably something you 
> could investigate for yourself.
> 
> I am not sure why lftp is used instead of sftp, possibly it is 
> insufficiently scriptable to do what cygport wants to do.

I wrote the upload command for cygport, with review by Yaakov. Yes, it is harder
to script than you might guess. I originally proposed to offer sftp and lftp
options, but he said to strip it down to just lftp.

The logic is in /usr/share/cygport/lib/pkg_upload.cygpart. If the SSH_KEY
environment variable isn't set, then lftp connects with the connect string

sftp://cyg...@cygwin.com

which will prompt for a password. To use an ssh key, set SSH_KEY equal to the
file name of the key. You can do that in ~/.cygport.conf, for example:

SSH_KEY=~/.ssh/id_dsa

Then if the key is already loaded in a running ssh_agent, or if it's
unencrypted, you shouldn't get a password prompt. Note that SSH_KEY is
documented in the cygport docs.

Good luck!
Andrew