libssh2 1.8.0, 1.8.1-20181201(test)

Heavenly Avenger
Sat Dec 1 22:49:00 GMT 2018


The libssh2 ( package is way out of date in cygwin repo 
and no test/unstable available. I was frustrated with this and went down 
the trouble to build it myself.

I can't commit to become a permanent package maintainer but I'm sharing 
with you the cygport and package files in case somebody wants to update 
the official cygwin repositories.

I have built two package sets: libssh2-1.8.0 (which includes the same 
1.7.0's _1 and -devel subsets) and also libssh2-1.8.1-20181201 off 
latest daily from I needed public key compatibility with 
modern OpenSSH implementations, which was also absent from the 1.8.0 

The cygport files for both package sets is at:

I built the packages and, in an attempt to follow the packages 
contribution guide 
(, also am 
providing them here:

I have manually added "test:" lines to 1.8.1-20181201 with the following 
script, because I believe this is the only way to tag packages as 


echo -n "Appending 'test:' to hint files: "
for hintfile in $(find */dist -name '*.hint' -type f); do
  if [ -z "$(egrep "^test:" "${hintfile}")" ]; then
   echo -n "."
   echo "test:" >> "${hintfile}"
   echo -n ","
echo " done."

I just run this right after assembling the unstable package. As for what 
I could find in the mailing list archives, this is a manual process, and 
as the thread I found about it was somewhat recent (2017), I believe 
this is still not something supported in the cygport files. The test 
version is built with libssh2's debugging trace() enabled.

Hope this is a welcome contribution for the cygwin community!

p.s.: maybe libssh2 still has a maintainer around, so just letting them 
know, I could build it without any patch, so it should be easy to update.

More information about the Cygwin-apps mailing list