diff --git a/common/shlibs b/common/shlibs index 8747d085f9..ea9ead24c5 100644 --- a/common/shlibs +++ b/common/shlibs @@ -980,3 +980,4 @@ libcups.so.2 libcups cups-devel libcupsimage.so.2 libcups cups-devel libijs-0.35.so libijs ghostscript-devel libgs.so.9 libgs ghostscript-devel +libssh2.so.1 libssh2 libssh2-devel diff --git a/srcpkgs/libssh2-devel b/srcpkgs/libssh2-devel new file mode 120000 index 0000000000..fddca93bea --- /dev/null +++ b/srcpkgs/libssh2-devel @@ -0,0 +1 @@ +libssh2 \ No newline at end of file diff --git a/srcpkgs/libssh2/depends b/srcpkgs/libssh2/depends new file mode 100644 index 0000000000..eaf929f4dc --- /dev/null +++ b/srcpkgs/libssh2/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.4.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/libssh2/libssh2-devel.template b/srcpkgs/libssh2/libssh2-devel.template new file mode 100644 index 0000000000..b0ef5ef80e --- /dev/null +++ b/srcpkgs/libssh2/libssh2-devel.template @@ -0,0 +1,15 @@ +# Template file for 'libssh2-devel'. +# +short_desc="${short_desc} -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libssh2 ">=$version" + +do_install() { + vmove usr/include usr + vmove "usr/lib/*.a" usr/lib + vmove usr/lib/pkgconfig usr/lib + vmove usr/share usr +} diff --git a/srcpkgs/libssh2/libssh2.rshlibs b/srcpkgs/libssh2/libssh2.rshlibs new file mode 100644 index 0000000000..a976a535c1 --- /dev/null +++ b/srcpkgs/libssh2/libssh2.rshlibs @@ -0,0 +1,4 @@ +libssl.so.1 +libcrypto.so.1 +libz.so.1 +libc.so.6 diff --git a/srcpkgs/libssh2/template b/srcpkgs/libssh2/template new file mode 100644 index 0000000000..1b5c190447 --- /dev/null +++ b/srcpkgs/libssh2/template @@ -0,0 +1,17 @@ +# Template file for 'libssh2' +pkgname=libssh2 +version=1.4.1 +homepage="http://www.libssh2.org/" +distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz" +build_style=gnu-configure +short_desc="library implementing the SSH2 protocol" +maintainer="Juan RP " +license="BSD" +checksum=196579273b47813fe833d35dd234767567ed8938d9b98f1badf7af9002c9322d +long_desc=" + libssh2 is a client-side C library implementing the SSH2 protocol. It supports + regular terminal, SCP and SFTP sessions; port forwarding; password, key-based + and keyboard-interactive authentication." + +subpackages="$pkgname-devel" +Add_dependency build openssl-devel