forked from ports/contrib
libssh2: initial commit, version 1.10.0
This commit is contained in:
parent
d45ed97479
commit
c1c23d2131
187
libssh2/.footprint
Normal file
187
libssh2/.footprint
Normal file
@ -0,0 +1,187 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
-rw-r--r-- root/root usr/include/libssh2.h
|
||||
-rw-r--r-- root/root usr/include/libssh2_publickey.h
|
||||
-rw-r--r-- root/root usr/include/libssh2_sftp.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libssh2.a
|
||||
-rwxr-xr-x root/root usr/lib/libssh2.la
|
||||
lrwxrwxrwx root/root usr/lib/libssh2.so -> libssh2.so.1.0.1
|
||||
lrwxrwxrwx root/root usr/lib/libssh2.so.1 -> libssh2.so.1.0.1
|
||||
-rwxr-xr-x root/root usr/lib/libssh2.so.1.0.1
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/libssh2.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man3/
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_agent_connect.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_agent_disconnect.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_agent_free.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_agent_get_identity.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_agent_get_identity_path.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_agent_init.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_agent_list_identities.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_agent_set_identity_path.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_agent_userauth.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_banner_set.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_base64_decode.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_close.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_direct_tcpip.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_direct_tcpip_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_eof.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_exec.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_flush.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_flush_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_flush_stderr.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_forward_accept.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_forward_cancel.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_forward_listen.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_forward_listen_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_free.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_get_exit_signal.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_get_exit_status.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_handle_extended_data.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_handle_extended_data2.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_ignore_extended_data.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_open_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_open_session.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_process_startup.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_read.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_read_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_read_stderr.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_receive_window_adjust.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_receive_window_adjust2.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_request_pty.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_request_pty_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_request_pty_size.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_request_pty_size_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_send_eof.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_set_blocking.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_setenv.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_setenv_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_shell.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_subsystem.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_wait_closed.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_wait_eof.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_window_read.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_window_read_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_window_write.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_window_write_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_write.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_write_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_write_stderr.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_x11_req.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_channel_x11_req_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_exit.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_free.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_hostkey_hash.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_init.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_keepalive_config.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_keepalive_send.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_add.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_addc.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_check.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_checkp.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_del.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_free.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_get.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_init.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_readfile.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_readline.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_writefile.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_knownhost_writeline.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_poll.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_poll_channel_read.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_publickey_add.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_publickey_add_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_publickey_init.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_publickey_list_fetch.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_publickey_list_free.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_publickey_remove.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_publickey_remove_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_publickey_shutdown.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_scp_recv.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_scp_recv2.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_scp_send.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_scp_send64.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_scp_send_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_abstract.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_banner_get.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_banner_set.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_block_directions.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_callback_set.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_disconnect.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_disconnect_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_flag.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_free.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_get_blocking.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_get_timeout.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_handshake.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_hostkey.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_init.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_init_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_last_errno.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_last_error.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_method_pref.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_methods.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_set_blocking.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_set_last_error.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_set_timeout.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_startup.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_session_supported_algs.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_close.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_close_handle.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_closedir.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_fsetstat.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_fstat.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_fstat_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_fstatvfs.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_fsync.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_get_channel.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_init.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_last_error.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_lstat.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_mkdir.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_mkdir_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_open.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_open_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_opendir.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_read.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_readdir.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_readdir_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_readlink.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_realpath.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_rename.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_rename_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_rewind.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_rmdir.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_rmdir_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_seek.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_seek64.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_setstat.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_shutdown.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_stat.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_stat_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_statvfs.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_symlink.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_symlink_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_tell.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_tell64.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_unlink.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_unlink_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_sftp_write.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_trace.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_trace_sethandler.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_authenticated.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_hostbased_fromfile.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_hostbased_fromfile_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_keyboard_interactive.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_keyboard_interactive_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_list.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_password.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_password_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_publickey.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_publickey_fromfile.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_publickey_fromfile_ex.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_userauth_publickey_frommemory.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/libssh2_version.3.gz
|
5
libssh2/.signature
Normal file
5
libssh2/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3+wj3Y3tZCseb4N9oudSY77wl5ovH1zKSuA9sjNt/dExG9P3r0G7SRIZcl+wQyE+/anpp1gPf3NFha69xE0glQY=
|
||||
SHA256 (Pkgfile) = c64c554d87664123a3cccc6429e289891c5220a1c8b2fc0e10d3fd479f8d7e7f
|
||||
SHA256 (.footprint) = 627d5d40cebb1585ea7dc151b9d82b933a97b307514ddbeab95a17b12aa73940
|
||||
SHA256 (libssh2-1.10.0.tar.gz) = 2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51
|
72
libssh2/1c6fa92b77e34d089493fe6d3e2c6c8775858b94.patch
Normal file
72
libssh2/1c6fa92b77e34d089493fe6d3e2c6c8775858b94.patch
Normal file
@ -0,0 +1,72 @@
|
||||
From 1c6fa92b77e34d089493fe6d3e2c6c8775858b94 Mon Sep 17 00:00:00 2001
|
||||
From: Will Cosgrove <will@panic.com>
|
||||
Date: Thu, 29 Aug 2019 15:24:22 -0700
|
||||
Subject: [PATCH] fixed type issue, updated SSH_MSG_DISCONNECT
|
||||
|
||||
SSH_MSG_DISCONNECT now also uses _libssh2_get API.
|
||||
---
|
||||
src/packet.c | 40 +++++++++++++++-------------------------
|
||||
1 file changed, 15 insertions(+), 25 deletions(-)
|
||||
|
||||
diff --git a/src/packet.c b/src/packet.c
|
||||
index 8908b2c5ad..97f0cdd4b9 100644
|
||||
--- a/src/packet.c
|
||||
+++ b/src/packet.c
|
||||
@@ -419,8 +419,8 @@ _libssh2_packet_add(LIBSSH2_SESSION * session, unsigned char *data,
|
||||
size_t datalen, int macstate)
|
||||
{
|
||||
int rc = 0;
|
||||
- char *message = NULL;
|
||||
- char *language = NULL;
|
||||
+ unsigned char *message = NULL;
|
||||
+ unsigned char *language = NULL;
|
||||
size_t message_len = 0;
|
||||
size_t language_len = 0;
|
||||
LIBSSH2_CHANNEL *channelp = NULL;
|
||||
@@ -472,33 +472,23 @@ _libssh2_packet_add(LIBSSH2_SESSION * session, unsigned char *data,
|
||||
|
||||
case SSH_MSG_DISCONNECT:
|
||||
if(datalen >= 5) {
|
||||
- size_t reason = _libssh2_ntohu32(data + 1);
|
||||
+ uint32_t reason = 0;
|
||||
+ struct string_buf buf;
|
||||
+ buf.data = (unsigned char *)data;
|
||||
+ buf.dataptr = buf.data;
|
||||
+ buf.len = datalen;
|
||||
+ buf.dataptr++; /* advance past type */
|
||||
|
||||
- if(datalen >= 9) {
|
||||
- message_len = _libssh2_ntohu32(data + 5);
|
||||
+ _libssh2_get_u32(&buf, &reason);
|
||||
+ _libssh2_get_string(&buf, &message, &message_len);
|
||||
+ _libssh2_get_string(&buf, &language, &language_len);
|
||||
|
||||
- if(message_len < datalen-13) {
|
||||
- /* 9 = packet_type(1) + reason(4) + message_len(4) */
|
||||
- message = (char *) data + 9;
|
||||
-
|
||||
- language_len =
|
||||
- _libssh2_ntohu32(data + 9 + message_len);
|
||||
- language = (char *) data + 9 + message_len + 4;
|
||||
-
|
||||
- if(language_len > (datalen-13-message_len)) {
|
||||
- /* bad input, clear info */
|
||||
- language = message = NULL;
|
||||
- language_len = message_len = 0;
|
||||
- }
|
||||
- }
|
||||
- else
|
||||
- /* bad size, clear it */
|
||||
- message_len = 0;
|
||||
- }
|
||||
if(session->ssh_msg_disconnect) {
|
||||
- LIBSSH2_DISCONNECT(session, reason, message,
|
||||
- message_len, language, language_len);
|
||||
+ LIBSSH2_DISCONNECT(session, reason, (const char *)message,
|
||||
+ message_len, (const char *)language,
|
||||
+ language_len);
|
||||
}
|
||||
+
|
||||
_libssh2_debug(session, LIBSSH2_TRACE_TRANS,
|
||||
"Disconnect(%d): %s(%s)", reason,
|
||||
message, language);
|
15
libssh2/Pkgfile
Normal file
15
libssh2/Pkgfile
Normal file
@ -0,0 +1,15 @@
|
||||
# Description: A library implementing the SSH2 protocol as defined by Internet Drafts
|
||||
# URL: https://www.libssh2.org/
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
|
||||
name=libssh2
|
||||
version=1.10.0
|
||||
release=1
|
||||
source=(https://www.libssh2.org/download/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user