This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ITP] libssh2


I have been meaning up update the curl packages to 7.16.x for a while,
however, I have held off because a new feature in curl is support for
transfers over ssh (scp:// and sftp:// URLs.)  However this support
requires a recent libssh2, and until recently there had not been a
release of this library in a while so that meant using a CVS version.

libssh2 0.15 was finally released a couple of days ago, so I'd like to
package it, then I can release updated curl/libcurl versions that use
it.

The project is relatively new as far as I know and not in any stable
distro (but I haven't checked exhaustively), so it will likely need 5
votes.

This is a fairly small and straightforward library, but I still elected
to split it into three packages in the normal way:

libssh2 - documentation
libssh2_1 - runtime (ABI version 1)
libssh2-devel - headers, static library, import library, libtool file

Here are the hint files:

# libssh2
category: Libs
sdesc: "library implementing the SSH2 protocol (documentation)"
ldesc: "libssh2 is a library implementing the SSH2 protocol as defined
by Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION,
SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and
SECSH-PUBLICKEY.  It is licensed under the revised BSD license."

# libssh2_1
category: Libs
requires: cygwin openssl zlib
external-source: libssh2
sdesc: "library implementing the SSH2 protocol (runtime)"
ldesc: "libssh2 is a library implementing the SSH2 protocol as defined
by Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION,
SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and
SECSH-PUBLICKEY.  It is licensed under the revised BSD license."

# libssh2-devel
category: Libs
requires: cygwin openssl-devel zlib
external-source: libssh2
sdesc: "library implementing the SSH2 protocol (developer files)"
ldesc: "libssh2 is a library implementing the SSH2 protocol as defined
by Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION,
SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and
SECSH-PUBLICKEY.  It is licensed under the revised BSD license."

Here are the URLs:

http://dessent.net/cygwin/release/libssh2/libssh2-devel/libssh2-devel-0.15-1.tar.bz2
http://dessent.net/cygwin/release/libssh2/libssh2-devel/setup.hint
http://dessent.net/cygwin/release/libssh2/libssh2_1/libssh2_1-0.15-1.tar.bz2
http://dessent.net/cygwin/release/libssh2/libssh2_1/setup.hint
http://dessent.net/cygwin/release/libssh2/libssh2-0.15-1-src.tar.bz2
http://dessent.net/cygwin/release/libssh2/libssh2-0.15-1.tar.bz2
http://dessent.net/cygwin/release/libssh2/setup.hint

I used cygport for this, with the following simple .cygport file:

DESCRIPTION="SSH2 protocol library"
HOMEPAGE="http://sourceforge.net/projects/libssh2/";
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

PKG_NAMES="${PN} ${PN}_1 ${PN}-devel"
PKG_HINTS='setup runtime devel'
PKG_CONTENTS[0]='usr/share/'
PKG_CONTENTS[1]='usr/bin/*.dll'
PKG_CONTENTS[2]='usr/include/ usr/lib/'

Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]