diff options
author | bjs <bjs@pkgsrc.org> | 2008-03-02 14:11:54 +0000 |
---|---|---|
committer | bjs <bjs@pkgsrc.org> | 2008-03-02 14:11:54 +0000 |
commit | 4bf4a6dbe9a98a7098b6c98eabd38859e17b1005 (patch) | |
tree | 902e00bed635ecf4c1508f376452196c0fd08606 /security/libssh2 | |
parent | 1744c340b60e2cca2902452ee2f36254654aca01 (diff) | |
download | pkgsrc-4bf4a6dbe9a98a7098b6c98eabd38859e17b1005.tar.gz |
Import libssh2-0.18, a library implementing the SSH2 protocol (available
under the revised BSD license).
Diffstat (limited to 'security/libssh2')
-rw-r--r-- | security/libssh2/DESCR | 2 | ||||
-rw-r--r-- | security/libssh2/Makefile | 23 | ||||
-rw-r--r-- | security/libssh2/PLIST | 63 | ||||
-rw-r--r-- | security/libssh2/buildlink3.mk | 22 | ||||
-rw-r--r-- | security/libssh2/distinfo | 5 |
5 files changed, 115 insertions, 0 deletions
diff --git a/security/libssh2/DESCR b/security/libssh2/DESCR new file mode 100644 index 00000000000..4525bb22348 --- /dev/null +++ b/security/libssh2/DESCR @@ -0,0 +1,2 @@ +libssh2 is a library implementing the SSH2 protocol, available under +the revised BSD license. diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile new file mode 100644 index 00000000000..64fafb2a4ce --- /dev/null +++ b/security/libssh2/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/03/02 14:11:54 bjs Exp $ +# + +DISTNAME= libssh2-0.18 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libssh2/} + +MAINTAINER= bjs@NetBSD.org +HOMEPAGE= http://libssh2.sourceforge.net/ +COMMENT= SSH2 protocol library + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes + +CONFIGURE_ARGS+= --with-libgcrypt=no +CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib:Q} +CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} + +.include "../../devel/zlib/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/libssh2/PLIST b/security/libssh2/PLIST new file mode 100644 index 00000000000..c4126c4fa41 --- /dev/null +++ b/security/libssh2/PLIST @@ -0,0 +1,63 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/02 14:11:54 bjs Exp $ +include/libssh2.h +include/libssh2_publickey.h +include/libssh2_sftp.h +lib/libssh2.la +man/man3/libssh2_banner_set.3 +man/man3/libssh2_channel_close.3 +man/man3/libssh2_channel_direct_tcpip_ex.3 +man/man3/libssh2_channel_eof.3 +man/man3/libssh2_channel_flush_ex.3 +man/man3/libssh2_channel_forward_accept.3 +man/man3/libssh2_channel_forward_cancel.3 +man/man3/libssh2_channel_forward_listen_ex.3 +man/man3/libssh2_channel_free.3 +man/man3/libssh2_channel_get_exit_status.3 +man/man3/libssh2_channel_handle_extended_data.3 +man/man3/libssh2_channel_handle_extended_data2.3 +man/man3/libssh2_channel_open_ex.3 +man/man3/libssh2_channel_process_startup.3 +man/man3/libssh2_channel_read_ex.3 +man/man3/libssh2_channel_request_pty_ex.3 +man/man3/libssh2_channel_send_eof.3 +man/man3/libssh2_channel_set_blocking.3 +man/man3/libssh2_channel_setenv_ex.3 +man/man3/libssh2_channel_wait_eof.3 +man/man3/libssh2_channel_x11_req_ex.3 +man/man3/libssh2_hostkey_hash.3 +man/man3/libssh2_poll.3 +man/man3/libssh2_poll_channel_read.3 +man/man3/libssh2_scp_recv.3 +man/man3/libssh2_scp_send_ex.3 +man/man3/libssh2_session_abstract.3 +man/man3/libssh2_session_callback_set.3 +man/man3/libssh2_session_disconnect_ex.3 +man/man3/libssh2_session_free.3 +man/man3/libssh2_session_init.3 +man/man3/libssh2_session_last_errno.3 +man/man3/libssh2_session_last_error.3 +man/man3/libssh2_session_method_pref.3 +man/man3/libssh2_session_methods.3 +man/man3/libssh2_session_set_blocking.3 +man/man3/libssh2_session_startup.3 +man/man3/libssh2_sftp_close_handle.3 +man/man3/libssh2_sftp_fstat_ex.3 +man/man3/libssh2_sftp_init.3 +man/man3/libssh2_sftp_last_error.3 +man/man3/libssh2_sftp_mkdir_ex.3 +man/man3/libssh2_sftp_open_ex.3 +man/man3/libssh2_sftp_read.3 +man/man3/libssh2_sftp_readdir.3 +man/man3/libssh2_sftp_rename_ex.3 +man/man3/libssh2_sftp_rmdir_ex.3 +man/man3/libssh2_sftp_seek.3 +man/man3/libssh2_sftp_shutdown.3 +man/man3/libssh2_sftp_stat_ex.3 +man/man3/libssh2_sftp_symlink_ex.3 +man/man3/libssh2_sftp_tell.3 +man/man3/libssh2_sftp_unlink_ex.3 +man/man3/libssh2_sftp_write.3 +man/man3/libssh2_userauth_authenticated.3 +man/man3/libssh2_userauth_list.3 +man/man3/libssh2_userauth_password_ex.3 +man/man3/libssh2_userauth_publickey_fromfile.3 diff --git a/security/libssh2/buildlink3.mk b/security/libssh2/buildlink3.mk new file mode 100644 index 00000000000..47b94f20918 --- /dev/null +++ b/security/libssh2/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/03/02 14:11:54 bjs Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBSSH2_BUILDLINK3_MK:= ${LIBSSH2_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= libssh2 +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibssh2} +BUILDLINK_PACKAGES+= libssh2 +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libssh2 + +.if ${LIBSSH2_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.libssh2+= libssh2>=0.18 +BUILDLINK_PKGSRCDIR.libssh2?= ../../security/libssh2 +.endif # LIBSSH2_BUILDLINK3_MK + +.include "../../devel/zlib/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/security/libssh2/distinfo b/security/libssh2/distinfo new file mode 100644 index 00000000000..58524aa0af8 --- /dev/null +++ b/security/libssh2/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/03/02 14:11:54 bjs Exp $ + +SHA1 (libssh2-0.18.tar.gz) = 9bc6148869fca08350e27ea2c9fc44917ac027ff +RMD160 (libssh2-0.18.tar.gz) = 2088c73a7903828670e14c6289a6961f5a3e4764 +Size (libssh2-0.18.tar.gz) = 541428 bytes |