Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/lib/pkgconfig/libsolv.pc +8 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/lib/pkgconfig/libsolvext.pc +9 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/cmake/Modules/FindLibSolv.cmake +95 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/dumpsolv.1 +45 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/installcheck.1 +42 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/mergesolv.1 +45 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/repo2solv.1 +79 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/solv.1 +102 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/testsolv.1 +62 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-bindings.3 +0 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-constantids.3 +906 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-history.3 +119 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-pool.3 +1337 -0
- miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv.3 +64 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2.h +1516 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2_publickey.h +128 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2_sftp.h +382 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/about.json +131 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/files +207 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/git +0 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/has_prefix +1 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/hash_input.json +8 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/index.json +17 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/licenses/COPYING +43 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/paths.json +1249 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/bld.bat +30 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/build.sh +36 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/conda_build_config.yaml +107 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/meta.yaml +73 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/meta.yaml.template +61 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/repodata_record.json +24 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/run_exports.json +1 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/test/run_test.sh +12 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindLibgcrypt.cmake +59 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindMbedTLS.cmake +69 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindWolfSSL.cmake +59 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-config-version.cmake +70 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-config.cmake +31 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-targets-noconfig.cmake +19 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-targets.cmake +102 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/pkgconfig/libssh2.pc +21 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/AUTHORS +80 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/BINDINGS.md +25 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/COPYING +43 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/HACKING.md +14 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/NEWS +0 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/README +19 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/RELEASE-NOTES +325 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_connect.3 +24 -0
- miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_disconnect.3 +22 -0
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/lib/pkgconfig/libsolv.pc
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
libdir=/home/task_176035639968744/conda-bld/libsolv-suite_1760357031527/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib
|
| 2 |
+
includedir=/home/task_176035639968744/conda-bld/libsolv-suite_1760357031527/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/include
|
| 3 |
+
|
| 4 |
+
Name: libsolv
|
| 5 |
+
Description: Library for solving packages
|
| 6 |
+
Version: 0.7.30
|
| 7 |
+
Libs: -L${libdir} -lsolv
|
| 8 |
+
Cflags: -I${includedir}
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/lib/pkgconfig/libsolvext.pc
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
libdir=/home/task_176035639968744/conda-bld/libsolv-suite_1760357031527/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib
|
| 2 |
+
includedir=/home/task_176035639968744/conda-bld/libsolv-suite_1760357031527/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/include
|
| 3 |
+
|
| 4 |
+
Name: libsolvext
|
| 5 |
+
Description: Library for reading repositories
|
| 6 |
+
Version: 0.7.30
|
| 7 |
+
Requires: libsolv
|
| 8 |
+
Libs: -L${libdir} -lsolvext
|
| 9 |
+
Cflags: -I${includedir}
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/cmake/Modules/FindLibSolv.cmake
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# FindLibSolv - Find libsolv headers and libraries.
|
| 2 |
+
#
|
| 3 |
+
# Sample:
|
| 4 |
+
#
|
| 5 |
+
# SET( LibSolv_USE_STATIC_LIBS OFF )
|
| 6 |
+
# FIND_PACKAGE( LibSolv REQUIRED ext )
|
| 7 |
+
# IF( LibSolv_FOUND )
|
| 8 |
+
# INCLUDE_DIRECTORIES( ${LibSolv_INCLUDE_DIRS} )
|
| 9 |
+
# TARGET_LINK_LIBRARIES( ... ${LibSolv_LIBRARIES} )
|
| 10 |
+
# ENDIF()
|
| 11 |
+
#
|
| 12 |
+
# Variables used by this module need to be set before calling find_package
|
| 13 |
+
# (not that they are cmale cased like the modiulemane itself):
|
| 14 |
+
#
|
| 15 |
+
# LibSolv_USE_STATIC_LIBS Can be set to ON to force the use of the static
|
| 16 |
+
# libsolv libraries. Defaults to OFF.
|
| 17 |
+
#
|
| 18 |
+
# Supported components:
|
| 19 |
+
#
|
| 20 |
+
# ext Also include libsolvext
|
| 21 |
+
#
|
| 22 |
+
# Variables provided by this module:
|
| 23 |
+
#
|
| 24 |
+
# LibSolv_FOUND Include dir, libsolv and all extra libraries
|
| 25 |
+
# specified in the COMPONENTS list were found.
|
| 26 |
+
#
|
| 27 |
+
# LibSolv_LIBRARIES Link to these to use all the libraries you specified.
|
| 28 |
+
#
|
| 29 |
+
# LibSolv_INCLUDE_DIRS Include directories.
|
| 30 |
+
#
|
| 31 |
+
# For each component you specify in find_package(), the following (UPPER-CASE)
|
| 32 |
+
# variables are set to pick and choose components instead of just using LibSolv_LIBRARIES:
|
| 33 |
+
#
|
| 34 |
+
# LIBSOLV_FOUND TRUE if libsolv was found
|
| 35 |
+
# LIBSOLV_LIBRARY libsolv libraries
|
| 36 |
+
#
|
| 37 |
+
# LIBSOLV_${COMPONENT}_FOUND TRUE if the library component was found
|
| 38 |
+
# LIBSOLV_${COMPONENT}_LIBRARY The libraries for the specified component
|
| 39 |
+
#
|
| 40 |
+
|
| 41 |
+
# Support preference of static libs by adjusting CMAKE_FIND_LIBRARY_SUFFIXES
|
| 42 |
+
IF(LibSolv_USE_STATIC_LIBS)
|
| 43 |
+
SET( _ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
| 44 |
+
SET(CMAKE_FIND_LIBRARY_SUFFIXES .a )
|
| 45 |
+
ENDIF()
|
| 46 |
+
|
| 47 |
+
# Look for the header files
|
| 48 |
+
UNSET(LibSolv_INCLUDE_DIRS CACHE)
|
| 49 |
+
FIND_PATH(LibSolv_INCLUDE_DIRS NAMES solv/solvable.h)
|
| 50 |
+
|
| 51 |
+
# Look for the core library
|
| 52 |
+
UNSET(LIBSOLV_LIBRARY CACHE)
|
| 53 |
+
FIND_LIBRARY(LIBSOLV_LIBRARY NAMES solv)
|
| 54 |
+
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibSolv DEFAULT_MSG LIBSOLV_LIBRARY LibSolv_INCLUDE_DIRS)
|
| 55 |
+
MARK_AS_ADVANCED(
|
| 56 |
+
LIBSOLV_FOUND
|
| 57 |
+
LIBSOLV_LIBRARY
|
| 58 |
+
)
|
| 59 |
+
|
| 60 |
+
# Prepare return values and collectiong more components
|
| 61 |
+
SET(LibSolv_FOUND ${LIBSOLV_FOUND})
|
| 62 |
+
SET(LibSolv_LIBRARIES ${LIBSOLV_LIBRARY})
|
| 63 |
+
MARK_AS_ADVANCED(
|
| 64 |
+
LibSolv_FOUND
|
| 65 |
+
LibSolv_LIBRARIES
|
| 66 |
+
LibSolv_INCLUDE_DIRS
|
| 67 |
+
)
|
| 68 |
+
|
| 69 |
+
# Look for components
|
| 70 |
+
FOREACH(COMPONENT ${LibSolv_FIND_COMPONENTS})
|
| 71 |
+
STRING(TOUPPER ${COMPONENT} _UPPERCOMPONENT)
|
| 72 |
+
UNSET(LIBSOLV_${_UPPERCOMPONENT}_LIBRARY CACHE)
|
| 73 |
+
FIND_LIBRARY(LIBSOLV_${_UPPERCOMPONENT}_LIBRARY NAMES solv${COMPONENT})
|
| 74 |
+
SET(LibSolv_${COMPONENT}_FIND_REQUIRED ${LibSolv_FIND_REQUIRED})
|
| 75 |
+
SET(LibSolv_${COMPONENT}_FIND_QUIETLY ${LibSolv_FIND_QUIETLY})
|
| 76 |
+
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibSolv_${COMPONENT} DEFAULT_MSG LIBSOLV_${_UPPERCOMPONENT}_LIBRARY)
|
| 77 |
+
MARK_AS_ADVANCED(
|
| 78 |
+
LIBSOLV_${_UPPERCOMPONENT}_FOUND
|
| 79 |
+
LIBSOLV_${_UPPERCOMPONENT}_LIBRARY
|
| 80 |
+
)
|
| 81 |
+
IF(LIBSOLV_${_UPPERCOMPONENT}_FOUND)
|
| 82 |
+
SET(LibSolv_LIBRARIES ${LibSolv_LIBRARIES} ${LIBSOLV_${_UPPERCOMPONENT}_LIBRARY})
|
| 83 |
+
ELSE()
|
| 84 |
+
SET(LibSolv_FOUND FALSE)
|
| 85 |
+
ENDIF()
|
| 86 |
+
ENDFOREACH()
|
| 87 |
+
|
| 88 |
+
# restore CMAKE_FIND_LIBRARY_SUFFIXES
|
| 89 |
+
IF(Solv_USE_STATIC_LIBS)
|
| 90 |
+
SET(CMAKE_FIND_LIBRARY_SUFFIXES ${_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES} )
|
| 91 |
+
ENDIF()
|
| 92 |
+
|
| 93 |
+
IF(LibSolv_FOUND AND NOT LibSolv_FIND_QUIETLY)
|
| 94 |
+
MESSAGE(STATUS "Found LibSolv: ${LibSolv_INCLUDE_DIRS} ${LibSolv_LIBRARIES}")
|
| 95 |
+
ENDIF()
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/dumpsolv.1
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'\" t
|
| 2 |
+
.\" Title: dumpsolv
|
| 3 |
+
.\" Author: [see the "Author" section]
|
| 4 |
+
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
| 5 |
+
.\" Date: 07/25/2017
|
| 6 |
+
.\" Manual: LIBSOLV
|
| 7 |
+
.\" Source: libsolv
|
| 8 |
+
.\" Language: English
|
| 9 |
+
.\"
|
| 10 |
+
.TH "DUMPSOLV" "1" "07/25/2017" "libsolv" "LIBSOLV"
|
| 11 |
+
.\" -----------------------------------------------------------------
|
| 12 |
+
.\" * Define some portability stuff
|
| 13 |
+
.\" -----------------------------------------------------------------
|
| 14 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 15 |
+
.\" http://bugs.debian.org/507673
|
| 16 |
+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
| 17 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 18 |
+
.ie \n(.g .ds Aq \(aq
|
| 19 |
+
.el .ds Aq '
|
| 20 |
+
.\" -----------------------------------------------------------------
|
| 21 |
+
.\" * set default formatting
|
| 22 |
+
.\" -----------------------------------------------------------------
|
| 23 |
+
.\" disable hyphenation
|
| 24 |
+
.nh
|
| 25 |
+
.\" disable justification (adjust text to left margin only)
|
| 26 |
+
.ad l
|
| 27 |
+
.\" -----------------------------------------------------------------
|
| 28 |
+
.\" * MAIN CONTENT STARTS HERE *
|
| 29 |
+
.\" -----------------------------------------------------------------
|
| 30 |
+
.SH "NAME"
|
| 31 |
+
dumpsolv \- print a solv file into a human readable format
|
| 32 |
+
.SH "SYNOPSIS"
|
| 33 |
+
.sp
|
| 34 |
+
\fBdumpsolv\fR [\fIOPTIONS\fR] [\fIFILE\&.solv\fR]
|
| 35 |
+
.SH "DESCRIPTION"
|
| 36 |
+
.sp
|
| 37 |
+
The dumpsolv tool reads a solv files and writes its contents to standard output\&. If no input file is given, it reads the solv file from standard input\&.
|
| 38 |
+
.PP
|
| 39 |
+
\fB\-j\fR
|
| 40 |
+
.RS 4
|
| 41 |
+
Write the contents in JSON format\&.
|
| 42 |
+
.RE
|
| 43 |
+
.SH "AUTHOR"
|
| 44 |
+
.sp
|
| 45 |
+
Michael Schroeder <mls@suse\&.de>
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/installcheck.1
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'\" t
|
| 2 |
+
.\" Title: installcheck
|
| 3 |
+
.\" Author: [see the "Author" section]
|
| 4 |
+
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
| 5 |
+
.\" Date: 09/14/2018
|
| 6 |
+
.\" Manual: LIBSOLV
|
| 7 |
+
.\" Source: libsolv
|
| 8 |
+
.\" Language: English
|
| 9 |
+
.\"
|
| 10 |
+
.TH "INSTALLCHECK" "1" "09/14/2018" "libsolv" "LIBSOLV"
|
| 11 |
+
.\" -----------------------------------------------------------------
|
| 12 |
+
.\" * Define some portability stuff
|
| 13 |
+
.\" -----------------------------------------------------------------
|
| 14 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 15 |
+
.\" http://bugs.debian.org/507673
|
| 16 |
+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
| 17 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 18 |
+
.ie \n(.g .ds Aq \(aq
|
| 19 |
+
.el .ds Aq '
|
| 20 |
+
.\" -----------------------------------------------------------------
|
| 21 |
+
.\" * set default formatting
|
| 22 |
+
.\" -----------------------------------------------------------------
|
| 23 |
+
.\" disable hyphenation
|
| 24 |
+
.nh
|
| 25 |
+
.\" disable justification (adjust text to left margin only)
|
| 26 |
+
.ad l
|
| 27 |
+
.\" -----------------------------------------------------------------
|
| 28 |
+
.\" * MAIN CONTENT STARTS HERE *
|
| 29 |
+
.\" -----------------------------------------------------------------
|
| 30 |
+
.SH "NAME"
|
| 31 |
+
installcheck \- find out which packages cannot be installed
|
| 32 |
+
.SH "SYNOPSIS"
|
| 33 |
+
.sp
|
| 34 |
+
\fBinstallcheck\fR \fIARCH\fR \fIREPO1\fR \fIREPO2\fR\&... \fB\-\-nocheck\fR \fINREPO1\fR \fINREPO2\fR\&...
|
| 35 |
+
.SH "DESCRIPTION"
|
| 36 |
+
.sp
|
| 37 |
+
The installcheck tool checks if all packages in \fIREPO1\fR\&...\fIREPON\fR are installable\&. A package is installable if there is a set of packages from the repositories that satisfies its dependencies\&. The repositories after the \fB\-\-nocheck\fR option are only used for dependency resolving, but the tool does not check if the packages in them are installable\&.
|
| 38 |
+
.sp
|
| 39 |
+
A Repository can be a solv file, a rpmmd \fBprimary\&.xml\&.gz\fR file, a SUSE \fBpackages\fR or \fBpackages\&.gz\fR file, or a Debian \fBPackages\fR or \fBPackages\&.gz\fR file\&.
|
| 40 |
+
.SH "AUTHOR"
|
| 41 |
+
.sp
|
| 42 |
+
Michael Schroeder <mls@suse\&.de>
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/mergesolv.1
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'\" t
|
| 2 |
+
.\" Title: mergesolv
|
| 3 |
+
.\" Author: [see the "Author" section]
|
| 4 |
+
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
| 5 |
+
.\" Date: 09/14/2018
|
| 6 |
+
.\" Manual: LIBSOLV
|
| 7 |
+
.\" Source: libsolv
|
| 8 |
+
.\" Language: English
|
| 9 |
+
.\"
|
| 10 |
+
.TH "MERGESOLV" "1" "09/14/2018" "libsolv" "LIBSOLV"
|
| 11 |
+
.\" -----------------------------------------------------------------
|
| 12 |
+
.\" * Define some portability stuff
|
| 13 |
+
.\" -----------------------------------------------------------------
|
| 14 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 15 |
+
.\" http://bugs.debian.org/507673
|
| 16 |
+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
| 17 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 18 |
+
.ie \n(.g .ds Aq \(aq
|
| 19 |
+
.el .ds Aq '
|
| 20 |
+
.\" -----------------------------------------------------------------
|
| 21 |
+
.\" * set default formatting
|
| 22 |
+
.\" -----------------------------------------------------------------
|
| 23 |
+
.\" disable hyphenation
|
| 24 |
+
.nh
|
| 25 |
+
.\" disable justification (adjust text to left margin only)
|
| 26 |
+
.ad l
|
| 27 |
+
.\" -----------------------------------------------------------------
|
| 28 |
+
.\" * MAIN CONTENT STARTS HERE *
|
| 29 |
+
.\" -----------------------------------------------------------------
|
| 30 |
+
.SH "NAME"
|
| 31 |
+
mergesolv \- merge multiple files in solv format into a single one
|
| 32 |
+
.SH "SYNOPSIS"
|
| 33 |
+
.sp
|
| 34 |
+
\fBmergesolv\fR [\fIOPTIONS\fR] \fIFILE1\&.solv\fR \fIFILE2\&.solv\fR \&...
|
| 35 |
+
.SH "DESCRIPTION"
|
| 36 |
+
.sp
|
| 37 |
+
The mergesolv tool reads all solv files specified on the command line, and writes a merged version to standard output\&.
|
| 38 |
+
.PP
|
| 39 |
+
\fB\-X\fR
|
| 40 |
+
.RS 4
|
| 41 |
+
Autoexpand SUSE pattern and product provides into packages\&.
|
| 42 |
+
.RE
|
| 43 |
+
.SH "AUTHOR"
|
| 44 |
+
.sp
|
| 45 |
+
Michael Schroeder <mls@suse\&.de>
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/repo2solv.1
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'\" t
|
| 2 |
+
.\" Title: repo2solv
|
| 3 |
+
.\" Author: [see the "Author" section]
|
| 4 |
+
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
| 5 |
+
.\" Date: 10/22/2018
|
| 6 |
+
.\" Manual: LIBSOLV
|
| 7 |
+
.\" Source: libsolv
|
| 8 |
+
.\" Language: English
|
| 9 |
+
.\"
|
| 10 |
+
.TH "REPO2SOLV" "1" "10/22/2018" "libsolv" "LIBSOLV"
|
| 11 |
+
.\" -----------------------------------------------------------------
|
| 12 |
+
.\" * Define some portability stuff
|
| 13 |
+
.\" -----------------------------------------------------------------
|
| 14 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 15 |
+
.\" http://bugs.debian.org/507673
|
| 16 |
+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
| 17 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 18 |
+
.ie \n(.g .ds Aq \(aq
|
| 19 |
+
.el .ds Aq '
|
| 20 |
+
.\" -----------------------------------------------------------------
|
| 21 |
+
.\" * set default formatting
|
| 22 |
+
.\" -----------------------------------------------------------------
|
| 23 |
+
.\" disable hyphenation
|
| 24 |
+
.nh
|
| 25 |
+
.\" disable justification (adjust text to left margin only)
|
| 26 |
+
.ad l
|
| 27 |
+
.\" -----------------------------------------------------------------
|
| 28 |
+
.\" * MAIN CONTENT STARTS HERE *
|
| 29 |
+
.\" -----------------------------------------------------------------
|
| 30 |
+
.SH "NAME"
|
| 31 |
+
repo2solv \- convert repository metadata into a solv file
|
| 32 |
+
.SH "SYNOPSIS"
|
| 33 |
+
.sp
|
| 34 |
+
\fBrepo2solv\fR [\fIOPTIONS\fR] \fIDIR\fR
|
| 35 |
+
.SH "DESCRIPTION"
|
| 36 |
+
.sp
|
| 37 |
+
The repo2solv tool converts repository metadata in the directory \fIDIR\fR into a solv file written to standard output\&.
|
| 38 |
+
.sp
|
| 39 |
+
Note that repo2solv does not verify signatures or checksum, it is expected that this is done by the tool that downloads the metadata\&.
|
| 40 |
+
.sp
|
| 41 |
+
If no metadata is detected, repo2solv assumes the "plaindir" format and generates the solv file from all rpm files it finds\&.
|
| 42 |
+
.PP
|
| 43 |
+
\fB\-o\fR \fIOUTFILE\fR
|
| 44 |
+
.RS 4
|
| 45 |
+
Write the solv file to
|
| 46 |
+
\fIOUTFILE\fR
|
| 47 |
+
instead of stdout\&.
|
| 48 |
+
.RE
|
| 49 |
+
.PP
|
| 50 |
+
\fB\-R\fR
|
| 51 |
+
.RS 4
|
| 52 |
+
Also recurse into subdirectories in "plaindir" mode\&.
|
| 53 |
+
.RE
|
| 54 |
+
.PP
|
| 55 |
+
\fB\-F\fR
|
| 56 |
+
.RS 4
|
| 57 |
+
Put the complete filelist in the output\&. The default is to just include the "importent" parts of the file list, except for "plaindir" mode, which always includes all files\&.
|
| 58 |
+
.RE
|
| 59 |
+
.PP
|
| 60 |
+
\fB\-C\fR
|
| 61 |
+
.RS 4
|
| 62 |
+
Add changelog entires to the output\&.
|
| 63 |
+
.RE
|
| 64 |
+
.PP
|
| 65 |
+
\fB\-A\fR
|
| 66 |
+
.RS 4
|
| 67 |
+
Add appdata pseudo packages to the output\&. This is an experimental feature\&.
|
| 68 |
+
.RE
|
| 69 |
+
.PP
|
| 70 |
+
\fB\-X\fR
|
| 71 |
+
.RS 4
|
| 72 |
+
Autoexpand SUSE pattern and product provides into packages\&.
|
| 73 |
+
.RE
|
| 74 |
+
.SH "SEE ALSO"
|
| 75 |
+
.sp
|
| 76 |
+
dumpsolv(1)
|
| 77 |
+
.SH "AUTHOR"
|
| 78 |
+
.sp
|
| 79 |
+
Michael Schroeder <mls@suse\&.de>
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/solv.1
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'\" t
|
| 2 |
+
.\" Title: solv
|
| 3 |
+
.\" Author: [see the "Author" section]
|
| 4 |
+
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
| 5 |
+
.\" Date: 10/22/2018
|
| 6 |
+
.\" Manual: LIBSOLV
|
| 7 |
+
.\" Source: libsolv
|
| 8 |
+
.\" Language: English
|
| 9 |
+
.\"
|
| 10 |
+
.TH "SOLV" "1" "10/22/2018" "libsolv" "LIBSOLV"
|
| 11 |
+
.\" -----------------------------------------------------------------
|
| 12 |
+
.\" * Define some portability stuff
|
| 13 |
+
.\" -----------------------------------------------------------------
|
| 14 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 15 |
+
.\" http://bugs.debian.org/507673
|
| 16 |
+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
| 17 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 18 |
+
.ie \n(.g .ds Aq \(aq
|
| 19 |
+
.el .ds Aq '
|
| 20 |
+
.\" -----------------------------------------------------------------
|
| 21 |
+
.\" * set default formatting
|
| 22 |
+
.\" -----------------------------------------------------------------
|
| 23 |
+
.\" disable hyphenation
|
| 24 |
+
.nh
|
| 25 |
+
.\" disable justification (adjust text to left margin only)
|
| 26 |
+
.ad l
|
| 27 |
+
.\" -----------------------------------------------------------------
|
| 28 |
+
.\" * MAIN CONTENT STARTS HERE *
|
| 29 |
+
.\" -----------------------------------------------------------------
|
| 30 |
+
.SH "NAME"
|
| 31 |
+
solv \- example package manager based on libsolv
|
| 32 |
+
.SH "SYNOPSIS"
|
| 33 |
+
.sp
|
| 34 |
+
\fBsolv\fR install [OPTIONS] PKG\&...
|
| 35 |
+
.sp
|
| 36 |
+
\fBsolv\fR erase [OPTIONS] PKG\&...
|
| 37 |
+
.sp
|
| 38 |
+
\fBsolv\fR list [OPTIONS] PKG\&...
|
| 39 |
+
.sp
|
| 40 |
+
\fBsolv\fR info [OPTIONS] PKG\&...
|
| 41 |
+
.sp
|
| 42 |
+
\fBsolv\fR search [OPTIONS] STRING\&...
|
| 43 |
+
.sp
|
| 44 |
+
\fBsolv\fR verify [OPTIONS] PKG\&...
|
| 45 |
+
.sp
|
| 46 |
+
\fBsolv\fR update [OPTIONS] PKG\&...
|
| 47 |
+
.sp
|
| 48 |
+
\fBsolv\fR dist\-upgrade [OPTIONS] PKG\&...
|
| 49 |
+
.sp
|
| 50 |
+
\fBsolv\fR repolist [OPTIONS]
|
| 51 |
+
.SH "DESCRIPTION"
|
| 52 |
+
.sp
|
| 53 |
+
The solv tool demos some features of the libsolv library\&. It is not meant to replace a real package manager, for example it does not cache downloaded packages\&.
|
| 54 |
+
.PP
|
| 55 |
+
\fB\-\-root\fR \fIROOTDIR\fR
|
| 56 |
+
.RS 4
|
| 57 |
+
Install packages using
|
| 58 |
+
\fIROOTDIR\fR
|
| 59 |
+
as root of the filesystem\&. This also means that the package database of
|
| 60 |
+
\fIROOTDIR\fR
|
| 61 |
+
will be used\&.
|
| 62 |
+
.RE
|
| 63 |
+
.PP
|
| 64 |
+
\fB\-\-clean\fR
|
| 65 |
+
.RS 4
|
| 66 |
+
Also get rid of no longer needed packages when erasing, like libraries that have been used by the erased packages\&.
|
| 67 |
+
.RE
|
| 68 |
+
.PP
|
| 69 |
+
\fB\-\-best\fR
|
| 70 |
+
.RS 4
|
| 71 |
+
Force usage of the best package (normally the one with the highest version) for install and update operations\&.
|
| 72 |
+
.RE
|
| 73 |
+
.PP
|
| 74 |
+
\fB\-\-testcase\fR
|
| 75 |
+
.RS 4
|
| 76 |
+
Write a testcase after dependency solving\&.
|
| 77 |
+
.RE
|
| 78 |
+
.sp
|
| 79 |
+
The following options can be used to filter the packages\&. If the same option is used multiple times, the result is ORed together\&.
|
| 80 |
+
.PP
|
| 81 |
+
\fB\-i\fR
|
| 82 |
+
.RS 4
|
| 83 |
+
Limit the packages to installed ones\&.
|
| 84 |
+
.RE
|
| 85 |
+
.PP
|
| 86 |
+
\fB\-r\fR \fIREPO\fR
|
| 87 |
+
.RS 4
|
| 88 |
+
Limit the packages to the specified repository\&.
|
| 89 |
+
.RE
|
| 90 |
+
.PP
|
| 91 |
+
\fB\-\-arch\fR \fIARCHITECTURE\fR
|
| 92 |
+
.RS 4
|
| 93 |
+
Limit the packages to the specified package architecture\&.
|
| 94 |
+
.RE
|
| 95 |
+
.PP
|
| 96 |
+
\fB\-\-type\fR \fITYPE\fR
|
| 97 |
+
.RS 4
|
| 98 |
+
Limit the packages to the specified package type\&.
|
| 99 |
+
.RE
|
| 100 |
+
.SH "AUTHOR"
|
| 101 |
+
.sp
|
| 102 |
+
Michael Schroeder <mls@suse\&.de>
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/testsolv.1
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'\" t
|
| 2 |
+
.\" Title: testsolv
|
| 3 |
+
.\" Author: [see the "Author" section]
|
| 4 |
+
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
| 5 |
+
.\" Date: 03/25/2024
|
| 6 |
+
.\" Manual: LIBSOLV
|
| 7 |
+
.\" Source: libsolv
|
| 8 |
+
.\" Language: English
|
| 9 |
+
.\"
|
| 10 |
+
.TH "TESTSOLV" "1" "03/25/2024" "libsolv" "LIBSOLV"
|
| 11 |
+
.\" -----------------------------------------------------------------
|
| 12 |
+
.\" * Define some portability stuff
|
| 13 |
+
.\" -----------------------------------------------------------------
|
| 14 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 15 |
+
.\" http://bugs.debian.org/507673
|
| 16 |
+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
| 17 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 18 |
+
.ie \n(.g .ds Aq \(aq
|
| 19 |
+
.el .ds Aq '
|
| 20 |
+
.\" -----------------------------------------------------------------
|
| 21 |
+
.\" * set default formatting
|
| 22 |
+
.\" -----------------------------------------------------------------
|
| 23 |
+
.\" disable hyphenation
|
| 24 |
+
.nh
|
| 25 |
+
.\" disable justification (adjust text to left margin only)
|
| 26 |
+
.ad l
|
| 27 |
+
.\" -----------------------------------------------------------------
|
| 28 |
+
.\" * MAIN CONTENT STARTS HERE *
|
| 29 |
+
.\" -----------------------------------------------------------------
|
| 30 |
+
.SH "NAME"
|
| 31 |
+
testsolv \- run a libsolv testcase through the solver
|
| 32 |
+
.SH "SYNOPSIS"
|
| 33 |
+
.sp
|
| 34 |
+
\fBtestsolv\fR [\fIOPTIONS\fR] \fITESTCASE\fR
|
| 35 |
+
.SH "DESCRIPTION"
|
| 36 |
+
.sp
|
| 37 |
+
The testsolv tools can be used to run a testcase\&. Testcases can either be manually created to test specific features, or they can be written by libsolv\(cqs testcase_write function\&. This is useful to evaluate bug reports about the solver\&.
|
| 38 |
+
.PP
|
| 39 |
+
\fB\-v\fR
|
| 40 |
+
.RS 4
|
| 41 |
+
Increase the debug level of the solver\&. This option can be specified multiple times to further increase the amount of debug data\&.
|
| 42 |
+
.RE
|
| 43 |
+
.PP
|
| 44 |
+
\fB\-r\fR
|
| 45 |
+
.RS 4
|
| 46 |
+
Write the output in testcase format instead of human readable text\&. The output can then be used in the result section of the test case\&. If the
|
| 47 |
+
\fB\-r\fR
|
| 48 |
+
option is given twice, the output is formatted for verbatim inclusion\&.
|
| 49 |
+
.RE
|
| 50 |
+
.PP
|
| 51 |
+
\fB\-l\fR \fIPKGSPEC\fR
|
| 52 |
+
.RS 4
|
| 53 |
+
Instead of running the solver, list packages in the repositories\&.
|
| 54 |
+
.RE
|
| 55 |
+
.PP
|
| 56 |
+
\fB\-s\fR \fISOLUTIONSPEC\fR
|
| 57 |
+
.RS 4
|
| 58 |
+
This is used in the solver test suite to test the calculated solutions to encountered problems\&.
|
| 59 |
+
.RE
|
| 60 |
+
.SH "AUTHOR"
|
| 61 |
+
.sp
|
| 62 |
+
Michael Schroeder <mls@suse\&.de>
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-bindings.3
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-constantids.3
ADDED
|
@@ -0,0 +1,906 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'\" t
|
| 2 |
+
.\" Title: Libsolv-Constantids
|
| 3 |
+
.\" Author: [see the "Author" section]
|
| 4 |
+
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
| 5 |
+
.\" Date: 03/02/2022
|
| 6 |
+
.\" Manual: LIBSOLV
|
| 7 |
+
.\" Source: libsolv
|
| 8 |
+
.\" Language: English
|
| 9 |
+
.\"
|
| 10 |
+
.TH "LIBSOLV\-CONSTANTIDS" "3" "03/02/2022" "libsolv" "LIBSOLV"
|
| 11 |
+
.\" -----------------------------------------------------------------
|
| 12 |
+
.\" * Define some portability stuff
|
| 13 |
+
.\" -----------------------------------------------------------------
|
| 14 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 15 |
+
.\" http://bugs.debian.org/507673
|
| 16 |
+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
| 17 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 18 |
+
.ie \n(.g .ds Aq \(aq
|
| 19 |
+
.el .ds Aq '
|
| 20 |
+
.\" -----------------------------------------------------------------
|
| 21 |
+
.\" * set default formatting
|
| 22 |
+
.\" -----------------------------------------------------------------
|
| 23 |
+
.\" disable hyphenation
|
| 24 |
+
.nh
|
| 25 |
+
.\" disable justification (adjust text to left margin only)
|
| 26 |
+
.ad l
|
| 27 |
+
.\" -----------------------------------------------------------------
|
| 28 |
+
.\" * MAIN CONTENT STARTS HERE *
|
| 29 |
+
.\" -----------------------------------------------------------------
|
| 30 |
+
.SH "NAME"
|
| 31 |
+
libsolv-constantids \- fixed Ids for often used strings
|
| 32 |
+
.SH "DESCRIPTION"
|
| 33 |
+
.sp
|
| 34 |
+
Constant Ids are Ids of strings that are often needed\&. They are defined to ease programming and reduce the number of pool_str2id calls\&. The constant Ids are part of the binary ABI of libsolv, a minor version update will only add new constants and not change existing Ids to maintain compatibility\&. The on\-disk solv format does not use the fixed Ids, but instead references the strings, so solv files can still be read when the ABI is broken\&.
|
| 35 |
+
.SH "SPECIAL STRINGS"
|
| 36 |
+
.PP
|
| 37 |
+
\fBID_EMPTY ""\fR
|
| 38 |
+
.RS 4
|
| 39 |
+
The empty string\&. It will always have Id 1\&.
|
| 40 |
+
.RE
|
| 41 |
+
.PP
|
| 42 |
+
\fBSYSTEM_SYSTEM "system:system"\fR
|
| 43 |
+
.RS 4
|
| 44 |
+
The name of the always installed "system" solvable\&.
|
| 45 |
+
.RE
|
| 46 |
+
.SH "SOLVABLE ATTRIBUTES"
|
| 47 |
+
.sp
|
| 48 |
+
These are Ids for keynames of attributes\&. They can be used in the lookup and storage functions to select the correct attribute in the solvable\&. The descriptions below describe the intended semantics of the values stored in the attribute with the keyname\&.
|
| 49 |
+
.PP
|
| 50 |
+
\fBSOLVABLE_NAME "solvable:name"\fR
|
| 51 |
+
.RS 4
|
| 52 |
+
The name of the package\&.
|
| 53 |
+
.RE
|
| 54 |
+
.PP
|
| 55 |
+
\fBSOLVABLE_ARCH "solvable:arch"\fR
|
| 56 |
+
.RS 4
|
| 57 |
+
The architecture of the package\&. See the Solvable Architecture section for predefined architecture Id values\&.
|
| 58 |
+
.RE
|
| 59 |
+
.PP
|
| 60 |
+
\fBSOLVABLE_EVR "solvable:evr"\fR
|
| 61 |
+
.RS 4
|
| 62 |
+
The version of the package\&. It usually consists of some combination of the Epoch, the Version, and the Release of the solvable\&.
|
| 63 |
+
.RE
|
| 64 |
+
.PP
|
| 65 |
+
\fBSOLVABLE_VENDOR "solvable:vendor"\fR
|
| 66 |
+
.RS 4
|
| 67 |
+
A vendor string\&. Usually the company or group that created the binary package\&.
|
| 68 |
+
.RE
|
| 69 |
+
.PP
|
| 70 |
+
\fBSOLVABLE_PROVIDES "solvable:provides"\fR
|
| 71 |
+
.RS 4
|
| 72 |
+
Stores an array of dependency Ids that describe the capabilities that the package provides\&.
|
| 73 |
+
.RE
|
| 74 |
+
.PP
|
| 75 |
+
\fBSOLVABLE_OBSOLETES "solvable:obsoletes"\fR
|
| 76 |
+
.RS 4
|
| 77 |
+
Stores an array of dependency Ids that describe the packages that this package replaces\&.
|
| 78 |
+
.RE
|
| 79 |
+
.PP
|
| 80 |
+
\fBSOLVABLE_CONFLICTS "solvable:conflicts"\fR
|
| 81 |
+
.RS 4
|
| 82 |
+
Stores an array of dependency Ids that describe the capabilities that this package conflicts with, i\&.e\&. that can\(cqt be installed together with this package\&.
|
| 83 |
+
.RE
|
| 84 |
+
.PP
|
| 85 |
+
\fBSOLVABLE_REQUIRES "solvable:requires"\fR
|
| 86 |
+
.RS 4
|
| 87 |
+
Stores an array of dependency Ids that describe the capabilities that also must be installed when this package is installed\&.
|
| 88 |
+
.RE
|
| 89 |
+
.PP
|
| 90 |
+
\fBSOLVABLE_RECOMMENDS "solvable:recommends"\fR
|
| 91 |
+
.RS 4
|
| 92 |
+
Stores an array of dependency Ids that describe the capabilities that also should be installed when this package is installed\&. It\(cqs not an error if not all capabilities can be met\&.
|
| 93 |
+
.RE
|
| 94 |
+
.PP
|
| 95 |
+
\fBSOLVABLE_SUGGESTS "solvable:suggests"\fR
|
| 96 |
+
.RS 4
|
| 97 |
+
Stores an array of dependency Ids that describe the capabilities that also useful to have installed when this package is installed\&. This is intended to provide a hint to the user about other packages\&.
|
| 98 |
+
.RE
|
| 99 |
+
.PP
|
| 100 |
+
\fBSOLVABLE_SUPPLEMENTS "solvable:supplements"\fR
|
| 101 |
+
.RS 4
|
| 102 |
+
Stores an array of dependency Ids that define that this package should be installed if one of the capabilities is met\&. This is like the recommends attribute, but works in the reverse way\&.
|
| 103 |
+
.RE
|
| 104 |
+
.PP
|
| 105 |
+
\fBSOLVABLE_ENHANCES "solvable:enhances"\fR
|
| 106 |
+
.RS 4
|
| 107 |
+
Stores an array of dependency Ids that define that this package is useful to have installed if one of the capabilities is met\&. This is like the suggests attribute, but works in the reverse way\&.
|
| 108 |
+
.RE
|
| 109 |
+
.PP
|
| 110 |
+
\fBSOLVABLE_SUMMARY "solvable:summary"\fR
|
| 111 |
+
.RS 4
|
| 112 |
+
The summary should be a short string without any newlines that describes what a package does\&.
|
| 113 |
+
.RE
|
| 114 |
+
.PP
|
| 115 |
+
\fBSOLVABLE_DESCRIPTION "solvable:description"\fR
|
| 116 |
+
.RS 4
|
| 117 |
+
The description should be a more verbose description about what a package does\&. It may consist of multiple lines\&.
|
| 118 |
+
.RE
|
| 119 |
+
.PP
|
| 120 |
+
\fBSOLVABLE_DISTRIBUTION "solvable:distribution"\fR
|
| 121 |
+
.RS 4
|
| 122 |
+
The distribution is a short string that describes the OS and OS version this package is built for\&.
|
| 123 |
+
.RE
|
| 124 |
+
.PP
|
| 125 |
+
\fBSOLVABLE_AUTHORS "solvable:authors"\fR
|
| 126 |
+
.RS 4
|
| 127 |
+
A list of authors of this package\&. This attribute was used in SUSE packages\&.
|
| 128 |
+
.RE
|
| 129 |
+
.PP
|
| 130 |
+
\fBSOLVABLE_PACKAGER "solvable:packager"\fR
|
| 131 |
+
.RS 4
|
| 132 |
+
The person who created the binary package, see also the vendor attribute\&.
|
| 133 |
+
.RE
|
| 134 |
+
.PP
|
| 135 |
+
\fBSOLVABLE_GROUP "solvable:group"\fR
|
| 136 |
+
.RS 4
|
| 137 |
+
The package group that this package belongs to\&. See also the keywords attribute\&.
|
| 138 |
+
.RE
|
| 139 |
+
.PP
|
| 140 |
+
\fBSOLVABLE_URL "solvable:url"\fR
|
| 141 |
+
.RS 4
|
| 142 |
+
An URL that points to more information about the package\&.
|
| 143 |
+
.RE
|
| 144 |
+
.PP
|
| 145 |
+
\fBSOLVABLE_KEYWORDS "solvable:keywords"\fR
|
| 146 |
+
.RS 4
|
| 147 |
+
list of keyword string IDs used for tagging this package\&.
|
| 148 |
+
.RE
|
| 149 |
+
.PP
|
| 150 |
+
\fBSOLVABLE_LICENSE "solvable:license"\fR
|
| 151 |
+
.RS 4
|
| 152 |
+
The license(s) of this package\&.
|
| 153 |
+
.RE
|
| 154 |
+
.PP
|
| 155 |
+
\fBSOLVABLE_BUILDTIME "solvable:buildtime"\fR
|
| 156 |
+
.RS 4
|
| 157 |
+
The seconds since the unix epoch when the binary package was created\&.
|
| 158 |
+
.RE
|
| 159 |
+
.PP
|
| 160 |
+
\fBSOLVABLE_BUILDHOST "solvable:buildhost"\fR
|
| 161 |
+
.RS 4
|
| 162 |
+
The name of the host on which the binary package was created\&.
|
| 163 |
+
.RE
|
| 164 |
+
.PP
|
| 165 |
+
\fBSOLVABLE_EULA "solvable:eula"\fR
|
| 166 |
+
.RS 4
|
| 167 |
+
If this attribute is present the user should be asked to accept the end user license agreement before the package gets installed\&.
|
| 168 |
+
.RE
|
| 169 |
+
.PP
|
| 170 |
+
\fBSOLVABLE_CPEID "solvable:cpeid"\fR
|
| 171 |
+
.RS 4
|
| 172 |
+
A Common Platform Enumeration string describes the platform this package is intended for\&. See also the distribution attribute\&.
|
| 173 |
+
.RE
|
| 174 |
+
.PP
|
| 175 |
+
\fBSOLVABLE_MESSAGEINS "solvable:messageins"\fR
|
| 176 |
+
.RS 4
|
| 177 |
+
A message that should be displayed to the user when the package gets installed\&.
|
| 178 |
+
.RE
|
| 179 |
+
.PP
|
| 180 |
+
\fBSOLVABLE_MESSAGEDEL "solvable:messagedel"\fR
|
| 181 |
+
.RS 4
|
| 182 |
+
A message that should be displayed to the user when the package gets erased\&.
|
| 183 |
+
.RE
|
| 184 |
+
.PP
|
| 185 |
+
\fBSOLVABLE_INSTALLSIZE "solvable:installsize"\fR
|
| 186 |
+
.RS 4
|
| 187 |
+
The disk space in bytes needed when installing the package\&.
|
| 188 |
+
.RE
|
| 189 |
+
.PP
|
| 190 |
+
\fBSOLVABLE_DISKUSAGE "solvable:diskusage"\fR
|
| 191 |
+
.RS 4
|
| 192 |
+
A SUSE extension that stores for each directory the needed amount of disk space in kilobytes and inodes\&.
|
| 193 |
+
.RE
|
| 194 |
+
.PP
|
| 195 |
+
\fBSOLVABLE_FILELIST "solvable:filelist"\fR
|
| 196 |
+
.RS 4
|
| 197 |
+
A list of files that the package contains\&.
|
| 198 |
+
.RE
|
| 199 |
+
.PP
|
| 200 |
+
\fBSOLVABLE_INSTALLTIME "solvable:installtime"\fR
|
| 201 |
+
.RS 4
|
| 202 |
+
The seconds since the unix epoch when the binary package was installed on the system\&.
|
| 203 |
+
.RE
|
| 204 |
+
.PP
|
| 205 |
+
\fBSOLVABLE_MEDIADIR "solvable:mediadir"\fR
|
| 206 |
+
.RS 4
|
| 207 |
+
The directory on the repository that contains the package\&. If this attribute is set to void, the package architecture is used as directory\&.
|
| 208 |
+
.RE
|
| 209 |
+
.PP
|
| 210 |
+
\fBSOLVABLE_MEDIAFILE "solvable:mediafile"\fR
|
| 211 |
+
.RS 4
|
| 212 |
+
The filename on the repository that contains the package\&. If this attribute is set to void, the canonical file name of the package is used (i\&.e\&. a combination of the name, version, architecture)\&.
|
| 213 |
+
.RE
|
| 214 |
+
.PP
|
| 215 |
+
\fBSOLVABLE_MEDIANR "solvable:medianr"\fR
|
| 216 |
+
.RS 4
|
| 217 |
+
The media number\&. This is an integer describing on which of a multi\-part media set this package is on\&.
|
| 218 |
+
.RE
|
| 219 |
+
.PP
|
| 220 |
+
\fBSOLVABLE_MEDIABASE "solvable:mediabase"\fR
|
| 221 |
+
.RS 4
|
| 222 |
+
This attribute can be used to overwrite the repositories base url\&.
|
| 223 |
+
.RE
|
| 224 |
+
.PP
|
| 225 |
+
\fBSOLVABLE_DOWNLOADSIZE "solvable:downloadsize"\fR
|
| 226 |
+
.RS 4
|
| 227 |
+
The size of the binary package in bytes\&.
|
| 228 |
+
.RE
|
| 229 |
+
.PP
|
| 230 |
+
\fBSOLVABLE_SOURCEARCH "solvable:sourcearch"\fR
|
| 231 |
+
.RS 4
|
| 232 |
+
The architecture of the source package that this package belongs to\&.
|
| 233 |
+
.RE
|
| 234 |
+
.PP
|
| 235 |
+
\fBSOLVABLE_SOURCENAME "solvable:sourcename"\fR
|
| 236 |
+
.RS 4
|
| 237 |
+
The name of the source package that this package belongs to\&. If set to void, the package name attribute is used instead\&.
|
| 238 |
+
.RE
|
| 239 |
+
.PP
|
| 240 |
+
\fBSOLVABLE_SOURCEEVR "solvable:sourceevr"\fR
|
| 241 |
+
.RS 4
|
| 242 |
+
The version of the source package that this package belongs to\&. If set to void, the package version attribute is used instead\&.
|
| 243 |
+
.RE
|
| 244 |
+
.PP
|
| 245 |
+
\fBSOLVABLE_TRIGGERS "solvable:triggers"\fR
|
| 246 |
+
.RS 4
|
| 247 |
+
A list of package triggers for this package\&. Used in the transaction ordering code\&.
|
| 248 |
+
.RE
|
| 249 |
+
.PP
|
| 250 |
+
\fBSOLVABLE_CHECKSUM "solvable:checksum"\fR
|
| 251 |
+
.RS 4
|
| 252 |
+
The checksum of the binary package\&. See the Data Types section for a list of supported algorithms\&.
|
| 253 |
+
.RE
|
| 254 |
+
.PP
|
| 255 |
+
\fBSOLVABLE_PKGID "solvable:pkgid"\fR
|
| 256 |
+
.RS 4
|
| 257 |
+
A string identifying a package\&. For rpm packages, this is the md5sum over the package header and the payload\&.
|
| 258 |
+
.RE
|
| 259 |
+
.PP
|
| 260 |
+
\fBSOLVABLE_HDRID "solvable:hdrid"\fR
|
| 261 |
+
.RS 4
|
| 262 |
+
A string identifying a package\&. For rpm packages, this is the sha1sum over just the package header\&.
|
| 263 |
+
.RE
|
| 264 |
+
.PP
|
| 265 |
+
\fBSOLVABLE_LEADSIGID "solvable:leadsigid"\fR
|
| 266 |
+
.RS 4
|
| 267 |
+
A string identifying the signature part of a package\&. For rpm packages, this is the md5sum from the start of the file up to the package header (i\&.e\&. it includes the lead, the signature header, and the padding)\&.
|
| 268 |
+
.RE
|
| 269 |
+
.PP
|
| 270 |
+
\fBSOLVABLE_HEADEREND "solvable:headerend"\fR
|
| 271 |
+
.RS 4
|
| 272 |
+
The offset of the payload in rpm binary packages\&. You can use this information to download just the header if you want to display information not included in the repository metadata\&.
|
| 273 |
+
.RE
|
| 274 |
+
.PP
|
| 275 |
+
\fBSOLVABLE_CHANGELOG "solvable:changelog"\fR
|
| 276 |
+
.RS 4
|
| 277 |
+
The array containing all the changelog structures\&.
|
| 278 |
+
.RE
|
| 279 |
+
.PP
|
| 280 |
+
\fBSOLVABLE_CHANGELOG_AUTHOR "solvable:changelog:author"\fR
|
| 281 |
+
.RS 4
|
| 282 |
+
The author of a changelog entry\&.
|
| 283 |
+
.RE
|
| 284 |
+
.PP
|
| 285 |
+
\fBSOLVABLE_CHANGELOG_TIME "solvable:changelog:time"\fR
|
| 286 |
+
.RS 4
|
| 287 |
+
The seconds since the unix epoch when the changelog entry was written\&.
|
| 288 |
+
.RE
|
| 289 |
+
.PP
|
| 290 |
+
\fBSOLVABLE_CHANGELOG_TEXT "solvable:changelog:text"\fR
|
| 291 |
+
.RS 4
|
| 292 |
+
The text of a changelog entry\&.
|
| 293 |
+
.RE
|
| 294 |
+
.SH "SPECIAL SOLVABLE ATTRIBUTES"
|
| 295 |
+
.PP
|
| 296 |
+
\fBRPM_RPMDBID "rpm:dbid"\fR
|
| 297 |
+
.RS 4
|
| 298 |
+
The rpm database id of this (installed) package\&. Usually a small integer number\&.
|
| 299 |
+
.RE
|
| 300 |
+
.PP
|
| 301 |
+
\fBSOLVABLE_PATCHCATEGORY "solvable:patchcategory"\fR
|
| 302 |
+
.RS 4
|
| 303 |
+
The category field for patch solvables\&. Should be named \(lqupdate:category\(rq instead\&.
|
| 304 |
+
.RE
|
| 305 |
+
.PP
|
| 306 |
+
\fBUPDATE_REBOOT "update:reboot"\fR
|
| 307 |
+
.RS 4
|
| 308 |
+
If this attribute is present the system should be rebooted after the update is installed\&.
|
| 309 |
+
.RE
|
| 310 |
+
.PP
|
| 311 |
+
\fBUPDATE_RESTART "update:restart"\fR
|
| 312 |
+
.RS 4
|
| 313 |
+
If this attribute is present the software manager should be run again after the update is installed\&.
|
| 314 |
+
.RE
|
| 315 |
+
.PP
|
| 316 |
+
\fBUPDATE_RELOGIN "update:relogin"\fR
|
| 317 |
+
.RS 4
|
| 318 |
+
If this attribute is present the user should log off and on again after the update is installed\&.
|
| 319 |
+
.RE
|
| 320 |
+
.PP
|
| 321 |
+
\fBUPDATE_MESSAGE "update:message"\fR
|
| 322 |
+
.RS 4
|
| 323 |
+
A message that should be shown to the user to warn him about anything non\-standard\&.
|
| 324 |
+
.RE
|
| 325 |
+
.PP
|
| 326 |
+
\fBUPDATE_SEVERITY "update:severity"\fR
|
| 327 |
+
.RS 4
|
| 328 |
+
The severity of the update\&.
|
| 329 |
+
.RE
|
| 330 |
+
.PP
|
| 331 |
+
\fBUPDATE_RIGHTS "update:rights"\fR
|
| 332 |
+
.RS 4
|
| 333 |
+
Any legal or other rights of the update\&.
|
| 334 |
+
.RE
|
| 335 |
+
.PP
|
| 336 |
+
\fBUPDATE_COLLECTION "update:collection"\fR
|
| 337 |
+
.RS 4
|
| 338 |
+
The array containing the package list of the update\&.
|
| 339 |
+
.RE
|
| 340 |
+
.PP
|
| 341 |
+
\fBUPDATE_COLLECTION_NAME "update:collection:name"\fR
|
| 342 |
+
.RS 4
|
| 343 |
+
The name of the updated package\&.
|
| 344 |
+
.RE
|
| 345 |
+
.PP
|
| 346 |
+
\fBUPDATE_COLLECTION_EVR "update:collection:evr"\fR
|
| 347 |
+
.RS 4
|
| 348 |
+
The version of the updated package\&.
|
| 349 |
+
.RE
|
| 350 |
+
.PP
|
| 351 |
+
\fBUPDATE_COLLECTION_ARCH "update:collection:arch"\fR
|
| 352 |
+
.RS 4
|
| 353 |
+
The architecture of the updated package\&.
|
| 354 |
+
.RE
|
| 355 |
+
.PP
|
| 356 |
+
\fBUPDATE_COLLECTION_FILENAME "update:collection:filename"\fR
|
| 357 |
+
.RS 4
|
| 358 |
+
The file name of the updated package\&.
|
| 359 |
+
.RE
|
| 360 |
+
.PP
|
| 361 |
+
\fBUPDATE_REFERENCE "update:reference"\fR
|
| 362 |
+
.RS 4
|
| 363 |
+
The array containing the reference list of the update\&.
|
| 364 |
+
.RE
|
| 365 |
+
.PP
|
| 366 |
+
\fBUPDATE_REFERENCE_TYPE "update:reference:type"\fR
|
| 367 |
+
.RS 4
|
| 368 |
+
The type of the reference, e\&.g\&. bugzilla\&.
|
| 369 |
+
.RE
|
| 370 |
+
.PP
|
| 371 |
+
\fBUPDATE_REFERENCE_HREF "update:reference:href"\fR
|
| 372 |
+
.RS 4
|
| 373 |
+
The URL of the reference\&.
|
| 374 |
+
.RE
|
| 375 |
+
.PP
|
| 376 |
+
\fBUPDATE_REFERENCE_ID "update:reference:id"\fR
|
| 377 |
+
.RS 4
|
| 378 |
+
The identification string of the reference, e\&.g\&. the bug number\&.
|
| 379 |
+
.RE
|
| 380 |
+
.PP
|
| 381 |
+
\fBUPDATE_REFERENCE_TITLE "update:reference:title"\fR
|
| 382 |
+
.RS 4
|
| 383 |
+
The title of the reference, e\&.g\&. the bug summary\&.
|
| 384 |
+
.RE
|
| 385 |
+
.PP
|
| 386 |
+
\fBPRODUCT_REFERENCEFILE "product:referencefile"\fR
|
| 387 |
+
.RS 4
|
| 388 |
+
The basename of the product file in the package\&.
|
| 389 |
+
.RE
|
| 390 |
+
.PP
|
| 391 |
+
\fBPRODUCT_SHORTLABEL "product:shortlabel"\fR
|
| 392 |
+
.RS 4
|
| 393 |
+
An identification string of the product\&.
|
| 394 |
+
.RE
|
| 395 |
+
.PP
|
| 396 |
+
\fBPRODUCT_DISTPRODUCT "product:distproduct"\fR
|
| 397 |
+
.RS 4
|
| 398 |
+
Obsolete, do not use\&. Was a SUSE Code\-10 product name\&.
|
| 399 |
+
.RE
|
| 400 |
+
.PP
|
| 401 |
+
\fBPRODUCT_DISTVERSION "product:distversion"\fR
|
| 402 |
+
.RS 4
|
| 403 |
+
Obsolete, do not use\&. Was a SUSE Code\-10 product version\&.
|
| 404 |
+
.RE
|
| 405 |
+
.PP
|
| 406 |
+
\fBPRODUCT_TYPE "product:type"\fR
|
| 407 |
+
.RS 4
|
| 408 |
+
The type of the product, e\&.g\&. \(lqbase\(rq\&.
|
| 409 |
+
.RE
|
| 410 |
+
.PP
|
| 411 |
+
\fBPRODUCT_URL "product:url"\fR
|
| 412 |
+
.RS 4
|
| 413 |
+
An array of product URLs\&.
|
| 414 |
+
.RE
|
| 415 |
+
.PP
|
| 416 |
+
\fBPRODUCT_URL_TYPE "product:url:type"\fR
|
| 417 |
+
.RS 4
|
| 418 |
+
An array of product URL types\&.
|
| 419 |
+
.RE
|
| 420 |
+
.PP
|
| 421 |
+
\fBPRODUCT_FLAGS "product:flags"\fR
|
| 422 |
+
.RS 4
|
| 423 |
+
An array of product flags\&.
|
| 424 |
+
.RE
|
| 425 |
+
.PP
|
| 426 |
+
\fBPRODUCT_PRODUCTLINE "product:productline"\fR
|
| 427 |
+
.RS 4
|
| 428 |
+
A product line string used for product registering\&.
|
| 429 |
+
.RE
|
| 430 |
+
.PP
|
| 431 |
+
\fBPRODUCT_REGISTER_TARGET "product:regtarget"\fR
|
| 432 |
+
.RS 4
|
| 433 |
+
A target for product registering\&.
|
| 434 |
+
.RE
|
| 435 |
+
.PP
|
| 436 |
+
\fBPRODUCT_REGISTER_RELEASE "product:regrelease"\fR
|
| 437 |
+
.RS 4
|
| 438 |
+
A release string for product registering\&.
|
| 439 |
+
.RE
|
| 440 |
+
.PP
|
| 441 |
+
\fBPUBKEY_KEYID "pubkey:keyid"\fR
|
| 442 |
+
.RS 4
|
| 443 |
+
The keyid of a pubkey, consisting of 8 bytes in hex\&.
|
| 444 |
+
.RE
|
| 445 |
+
.PP
|
| 446 |
+
\fBPUBKEY_FINGERPRINT "pubkey:fingerprint"\fR
|
| 447 |
+
.RS 4
|
| 448 |
+
The fingerprint of a pubkey, usually a sha1sum in hex\&. Old V3 RSA keys use a md5sum instead\&.
|
| 449 |
+
.RE
|
| 450 |
+
.PP
|
| 451 |
+
\fBPUBKEY_EXPIRES "pubkey:expires"\fR
|
| 452 |
+
.RS 4
|
| 453 |
+
The seconds since the unix epoch when the pubkey expires\&.
|
| 454 |
+
.RE
|
| 455 |
+
.PP
|
| 456 |
+
\fBPUBKEY_SUBKEYOF "pubkey:subkeyof"\fR
|
| 457 |
+
.RS 4
|
| 458 |
+
The keyid of the master pubkey for subkeys\&.
|
| 459 |
+
.RE
|
| 460 |
+
.PP
|
| 461 |
+
\fBPUBKEY_DATA "pubkey:data"\fR
|
| 462 |
+
.RS 4
|
| 463 |
+
The MPI data of the pubkey\&.
|
| 464 |
+
.RE
|
| 465 |
+
.PP
|
| 466 |
+
\fBSOLVABLE_ISVISIBLE "solvable:isvisible"\fR
|
| 467 |
+
.RS 4
|
| 468 |
+
An attribute describing if the package should be listed to the user or not\&. Used for SUSE patterns\&.
|
| 469 |
+
.RE
|
| 470 |
+
.PP
|
| 471 |
+
\fBSOLVABLE_CATEGORY "solvable:category"\fR
|
| 472 |
+
.RS 4
|
| 473 |
+
The category of a pattern\&.
|
| 474 |
+
.RE
|
| 475 |
+
.PP
|
| 476 |
+
\fBSOLVABLE_INCLUDES "solvable:includes"\fR
|
| 477 |
+
.RS 4
|
| 478 |
+
A list of other patterns that this pattern includes\&.
|
| 479 |
+
.RE
|
| 480 |
+
.PP
|
| 481 |
+
\fBSOLVABLE_EXTENDS "solvable:extends"\fR
|
| 482 |
+
.RS 4
|
| 483 |
+
A list of other patterns that this pattern extends\&.
|
| 484 |
+
.RE
|
| 485 |
+
.PP
|
| 486 |
+
\fBSOLVABLE_ICON "solvable:icon"\fR
|
| 487 |
+
.RS 4
|
| 488 |
+
The icon name of a pattern\&.
|
| 489 |
+
.RE
|
| 490 |
+
.PP
|
| 491 |
+
\fBSOLVABLE_ORDER "solvable:order"\fR
|
| 492 |
+
.RS 4
|
| 493 |
+
An ordering clue of a pattern\&.
|
| 494 |
+
.RE
|
| 495 |
+
.PP
|
| 496 |
+
\fBSUSETAGS_SHARE_NAME "susetags:share:name"\fR
|
| 497 |
+
.RS 4
|
| 498 |
+
Internal attribute to implement susetags shared records\&. Holds the name of the solvable used for sharing attributes\&.
|
| 499 |
+
.RE
|
| 500 |
+
.PP
|
| 501 |
+
\fBSUSETAGS_SHARE_EVR "susetags:share:evr"\fR
|
| 502 |
+
.RS 4
|
| 503 |
+
Internal attribute to implement susetags shared records\&. Holds the version of the solvable used for sharing attributes\&.
|
| 504 |
+
.RE
|
| 505 |
+
.PP
|
| 506 |
+
\fBSUSETAGS_SHARE_ARCH "susetags:share:arch"\fR
|
| 507 |
+
.RS 4
|
| 508 |
+
Internal attribute to implement susetags shared records\&. Holds the architecture of the solvable used for sharing attributes\&.
|
| 509 |
+
.RE
|
| 510 |
+
.SH "SOLVABLE ARCHITECTURES"
|
| 511 |
+
.sp
|
| 512 |
+
Predefined architecture values for commonly used architectures\&.
|
| 513 |
+
.PP
|
| 514 |
+
\fBARCH_SRC "src"\fR
|
| 515 |
+
.RS 4
|
| 516 |
+
Used for binary packages that contain the package sources\&.
|
| 517 |
+
.RE
|
| 518 |
+
.PP
|
| 519 |
+
\fBARCH_NOSRC "nosrc"\fR
|
| 520 |
+
.RS 4
|
| 521 |
+
Used for binary packages that contain some of the package sources, but not all files (because of restrictions)\&.
|
| 522 |
+
.RE
|
| 523 |
+
.PP
|
| 524 |
+
\fBARCH_NOARCH "noarch"\fR
|
| 525 |
+
.RS 4
|
| 526 |
+
This package can be installed on any architecture\&. Used for rpm\&.
|
| 527 |
+
.RE
|
| 528 |
+
.PP
|
| 529 |
+
\fBARCH_ALL "all"\fR
|
| 530 |
+
.RS 4
|
| 531 |
+
This package can be installed on any architecture\&. Used for Debian\&.
|
| 532 |
+
.RE
|
| 533 |
+
.PP
|
| 534 |
+
\fBARCH_ANY "any"\fR
|
| 535 |
+
.RS 4
|
| 536 |
+
This package can be installed on any architecture\&. Used for Archlinux and Haiku\&.
|
| 537 |
+
.RE
|
| 538 |
+
.SH "DEPENDENCY IDS"
|
| 539 |
+
.sp
|
| 540 |
+
Namespaces are special modifiers that change the meaning of a dependency\&. Namespace dependencies are created with the REL_NAMESPACE flag\&. To make custom namespaces work you have to implement a namespace callback function\&.
|
| 541 |
+
.sp
|
| 542 |
+
The dependency markers partition the dependency array in two parts with different semantics\&.
|
| 543 |
+
.PP
|
| 544 |
+
\fBNAMESPACE_MODALIAS "namespace:modalias"\fR
|
| 545 |
+
.RS 4
|
| 546 |
+
The dependency is a special modalias dependency that matches installed hardware\&.
|
| 547 |
+
.RE
|
| 548 |
+
.PP
|
| 549 |
+
\fBNAMESPACE_SPLITPROVIDES "namespace:splitprovides"\fR
|
| 550 |
+
.RS 4
|
| 551 |
+
The dependency is a special splitprovides dependency used to implement updates that include a package split\&. A splitprovides dependency contains a filename and a package name, it is matched if a package with the provided package name is installed that contains the filename\&. This namespace is implemented in libsolv, so you do not need a callback\&.
|
| 552 |
+
.RE
|
| 553 |
+
.PP
|
| 554 |
+
\fBNAMESPACE_LANGUAGE "namespace:language"\fR
|
| 555 |
+
.RS 4
|
| 556 |
+
The dependency describes a language\&. The callback should return true if the language was selected by the user\&.
|
| 557 |
+
.RE
|
| 558 |
+
.PP
|
| 559 |
+
\fBNAMESPACE_FILESYSTEM "namespace:filesystem"\fR
|
| 560 |
+
.RS 4
|
| 561 |
+
The dependency describes a filesystem\&. The callback should return true if the filesystem is needed\&.
|
| 562 |
+
.RE
|
| 563 |
+
.PP
|
| 564 |
+
\fBNAMESPACE_OTHERPROVIDERS "namespace:otherproviders"\fR
|
| 565 |
+
.RS 4
|
| 566 |
+
This is a hack to allow self\-conflicting packages\&. It is not needed with current rpm version, so do not use this namespace\&.
|
| 567 |
+
.RE
|
| 568 |
+
.PP
|
| 569 |
+
\fBSOLVABLE_PREREQMARKER "solvable:prereqmarker"\fR
|
| 570 |
+
.RS 4
|
| 571 |
+
This marker partitions the normal require dependencies from the prerequires\&. It is not needed for dependency solving, but it is used by the transaction ordering algorithm when a dependency cycle needs to be broken (non\-prereq deps get broken first)\&.
|
| 572 |
+
.RE
|
| 573 |
+
.PP
|
| 574 |
+
\fBSOLVABLE_FILEMARKER "solvable:filemarker"\fR
|
| 575 |
+
.RS 4
|
| 576 |
+
This marker partitions the package provides dependencies from the synthetic file provides dependencies added by pool_addfileprovides()\&.
|
| 577 |
+
.RE
|
| 578 |
+
.SH "DATA TYPES"
|
| 579 |
+
.sp
|
| 580 |
+
Each attribute data is stored with a type, so that the lookup functions know how to interpret the data\&. The following types are available:
|
| 581 |
+
.PP
|
| 582 |
+
\fBREPOKEY_TYPE_VOID "repokey:type:void"\fR
|
| 583 |
+
.RS 4
|
| 584 |
+
No data is stored with this attribute\&. Thus you can only test if the attribute exists or not\&. Useful to store boolean values\&.
|
| 585 |
+
.RE
|
| 586 |
+
.PP
|
| 587 |
+
\fBREPOKEY_TYPE_CONSTANT "repokey:type:constant"\fR
|
| 588 |
+
.RS 4
|
| 589 |
+
The data is a constant 32bit number\&. The number is stored in the key area, so using it does not cost extra storage space (but you need the extra key space)\&.
|
| 590 |
+
.RE
|
| 591 |
+
.PP
|
| 592 |
+
\fBREPOKEY_TYPE_CONSTANTID "repokey:type:constantid"\fR
|
| 593 |
+
.RS 4
|
| 594 |
+
The data is a constant Id\&. The Id is stored in the key area, so using it does not cost extra storage space (but you need the extra key space)\&.
|
| 595 |
+
.RE
|
| 596 |
+
.PP
|
| 597 |
+
\fBREPOKEY_TYPE_ID "repokey:type:id"\fR
|
| 598 |
+
.RS 4
|
| 599 |
+
The data is an Id\&.
|
| 600 |
+
.RE
|
| 601 |
+
.PP
|
| 602 |
+
\fBREPOKEY_TYPE_NUM "repokey:type:num"\fR
|
| 603 |
+
.RS 4
|
| 604 |
+
The data is an unsigned 64bit number\&.
|
| 605 |
+
.RE
|
| 606 |
+
.PP
|
| 607 |
+
\fBREPOKEY_TYPE_U32 "repokey:type:num32"\fR
|
| 608 |
+
.RS 4
|
| 609 |
+
The data is an unsigned 32bit number\&. Obsolete, do not use\&.
|
| 610 |
+
.RE
|
| 611 |
+
.PP
|
| 612 |
+
\fBREPOKEY_TYPE_DIR "repokey:type:dir"\fR
|
| 613 |
+
.RS 4
|
| 614 |
+
The data is an Id of a directory\&.
|
| 615 |
+
.RE
|
| 616 |
+
.PP
|
| 617 |
+
\fBREPOKEY_TYPE_STR "repokey:type:str"\fR
|
| 618 |
+
.RS 4
|
| 619 |
+
The data is a regular string\&.
|
| 620 |
+
.RE
|
| 621 |
+
.PP
|
| 622 |
+
\fBREPOKEY_TYPE_BINARY "repokey:type:binary"\fR
|
| 623 |
+
.RS 4
|
| 624 |
+
The data is a binary blob\&.
|
| 625 |
+
.RE
|
| 626 |
+
.PP
|
| 627 |
+
\fBREPOKEY_TYPE_IDARRAY "repokey:type:idarray"\fR
|
| 628 |
+
.RS 4
|
| 629 |
+
The data is an array of non\-zero Ids\&.
|
| 630 |
+
.RE
|
| 631 |
+
.PP
|
| 632 |
+
\fBREPOKEY_TYPE_REL_IDARRAY "repokey:type:relidarray"\fR
|
| 633 |
+
.RS 4
|
| 634 |
+
The data is an array of non\-zero Ids ordered so that it needs less space\&.
|
| 635 |
+
.RE
|
| 636 |
+
.PP
|
| 637 |
+
\fBREPOKEY_TYPE_DIRSTRARRAY "repokey:type:dirstrarray"\fR
|
| 638 |
+
.RS 4
|
| 639 |
+
The data is a tuple consisting of a directory Id and a basename\&. Used to store file names\&.
|
| 640 |
+
.RE
|
| 641 |
+
.PP
|
| 642 |
+
\fBREPOKEY_TYPE_DIRNUMNUMARRAY "repokey:type:dirnumnumarray"\fR
|
| 643 |
+
.RS 4
|
| 644 |
+
The data is a triple consisting of a directory Id and two 32bit unsigned integers\&. Used to store disk usage information\&.
|
| 645 |
+
.RE
|
| 646 |
+
.PP
|
| 647 |
+
\fBREPOKEY_TYPE_MD5 "repokey:type:md5"\fR
|
| 648 |
+
.RS 4
|
| 649 |
+
The data is a binary md5sum\&.
|
| 650 |
+
.RE
|
| 651 |
+
.PP
|
| 652 |
+
\fBREPOKEY_TYPE_SHA1 "repokey:type:sha1"\fR
|
| 653 |
+
.RS 4
|
| 654 |
+
The data is a binary sha1sum\&.
|
| 655 |
+
.RE
|
| 656 |
+
.PP
|
| 657 |
+
\fBREPOKEY_TYPE_SHA256 "repokey:type:sha256"\fR
|
| 658 |
+
.RS 4
|
| 659 |
+
The data is a binary sha256sum\&.
|
| 660 |
+
.RE
|
| 661 |
+
.PP
|
| 662 |
+
\fBREPOKEY_TYPE_FIXARRAY "repokey:type:fixarray"\fR
|
| 663 |
+
.RS 4
|
| 664 |
+
The data is an array of structures that have all the same layout (i\&.e\&. the same keynames and keytypes in the same order)\&.
|
| 665 |
+
.RE
|
| 666 |
+
.PP
|
| 667 |
+
\fBREPOKEY_TYPE_FLEXARRAY "repokey:type:flexarray"\fR
|
| 668 |
+
.RS 4
|
| 669 |
+
The data is an array of structures that have a different layout\&.
|
| 670 |
+
.RE
|
| 671 |
+
.PP
|
| 672 |
+
\fBREPOKEY_TYPE_DELETED "repokey:type:deleted"\fR
|
| 673 |
+
.RS 4
|
| 674 |
+
The data does not exist\&. Used to mark an attribute that was deleted\&.
|
| 675 |
+
.RE
|
| 676 |
+
.SH "REPOSITORY METADATA"
|
| 677 |
+
.sp
|
| 678 |
+
This attributes contain meta information about the repository\&.
|
| 679 |
+
.PP
|
| 680 |
+
\fBREPOSITORY_SOLVABLES "repository:solvables"\fR
|
| 681 |
+
.RS 4
|
| 682 |
+
This attribute holds the array including all of the solvables\&. It is only used in the on\-disk solv files, internally the solvables are stored in the pool\(cqs solvable array for fast access\&.
|
| 683 |
+
.RE
|
| 684 |
+
.PP
|
| 685 |
+
\fBREPOSITORY_DELTAINFO "repository:deltainfo"\fR
|
| 686 |
+
.RS 4
|
| 687 |
+
This attribute holds the array including all of the delta packages\&.
|
| 688 |
+
.RE
|
| 689 |
+
.PP
|
| 690 |
+
\fBREPOSITORY_EXTERNAL "repository:external"\fR
|
| 691 |
+
.RS 4
|
| 692 |
+
This attribute holds the array including all of the data to construct stub repodata areas to support on\-demand loading of metadata\&.
|
| 693 |
+
.RE
|
| 694 |
+
.PP
|
| 695 |
+
\fBREPOSITORY_KEYS "repository:keys"\fR
|
| 696 |
+
.RS 4
|
| 697 |
+
This should really be named "repository:external:keys", it contains an array if Ids that consists of (keyname, keytype) pairs that describe the keys of the stub\&.
|
| 698 |
+
.RE
|
| 699 |
+
.PP
|
| 700 |
+
\fBREPOSITORY_LOCATION "repository:location"\fR
|
| 701 |
+
.RS 4
|
| 702 |
+
This is used to provide a file name in the stub\&.
|
| 703 |
+
.RE
|
| 704 |
+
.PP
|
| 705 |
+
\fBREPOSITORY_ADDEDFILEPROVIDES "repository:addedfileprovides"\fR
|
| 706 |
+
.RS 4
|
| 707 |
+
This attribute holds an array of filename Ids, that tell the library, that all of the Ids were already added to the solvable provides\&.
|
| 708 |
+
.RE
|
| 709 |
+
.PP
|
| 710 |
+
\fBREPOSITORY_RPMDBCOOKIE "repository:rpmdbcookie"\fR
|
| 711 |
+
.RS 4
|
| 712 |
+
An attribute that stores a sha256sum over the file stats of the Packages database\&. It\(cqs used to detect rebuilds of the database, as in that case the database Ids of every package are newly distributed\&.
|
| 713 |
+
.RE
|
| 714 |
+
.PP
|
| 715 |
+
\fBREPOSITORY_TIMESTAMP "repository:timestamp"\fR
|
| 716 |
+
.RS 4
|
| 717 |
+
The seconds since the unix epoch when the repository was created\&.
|
| 718 |
+
.RE
|
| 719 |
+
.PP
|
| 720 |
+
\fBREPOSITORY_EXPIRE "repository:expire"\fR
|
| 721 |
+
.RS 4
|
| 722 |
+
The seconds after the timestamp when the repository will expire\&.
|
| 723 |
+
.RE
|
| 724 |
+
.PP
|
| 725 |
+
\fBREPOSITORY_UPDATES "repository:updates"\fR
|
| 726 |
+
.RS 4
|
| 727 |
+
An array of structures describing what this repository updates\&.
|
| 728 |
+
.RE
|
| 729 |
+
.PP
|
| 730 |
+
\fBREPOSITORY_DISTROS "repository:distros"\fR
|
| 731 |
+
.RS 4
|
| 732 |
+
Also an array of structures describing what this repository updates\&. Seems to be the newer name of REPOSITORY_UPDATES\&.
|
| 733 |
+
.RE
|
| 734 |
+
.PP
|
| 735 |
+
\fBREPOSITORY_PRODUCT_LABEL "repository:product:label"\fR
|
| 736 |
+
.RS 4
|
| 737 |
+
Should really be called "repository:updates:label"\&. What distribution is updated with this repository\&.
|
| 738 |
+
.RE
|
| 739 |
+
.PP
|
| 740 |
+
\fBREPOSITORY_PRODUCT_CPEID "repository:product:cpeid"\fR
|
| 741 |
+
.RS 4
|
| 742 |
+
The cpeid of the platform updated by this repository\&. Is both used in REPOSITORY_UPDATES and REPOSITORY_DISTROS to maximize confusion\&.
|
| 743 |
+
.RE
|
| 744 |
+
.PP
|
| 745 |
+
\fBREPOSITORY_REPOID "repository:repoid"\fR
|
| 746 |
+
.RS 4
|
| 747 |
+
An array of Id strings describing keywords/tags about the repository itself\&.
|
| 748 |
+
.RE
|
| 749 |
+
.PP
|
| 750 |
+
\fBREPOSITORY_KEYWORDS "repository:keywords"\fR
|
| 751 |
+
.RS 4
|
| 752 |
+
An array of Id strings describing keywords/tags about the content of the repository\&.
|
| 753 |
+
.RE
|
| 754 |
+
.PP
|
| 755 |
+
\fBREPOSITORY_REVISION "repository:revision"\fR
|
| 756 |
+
.RS 4
|
| 757 |
+
An arbitrary string describing the revision of the repository\&.
|
| 758 |
+
.RE
|
| 759 |
+
.PP
|
| 760 |
+
\fBREPOSITORY_TOOLVERSION "repository:toolversion"\fR
|
| 761 |
+
.RS 4
|
| 762 |
+
Some string describing somewhat the version of libsolv used to create the solv file\&.
|
| 763 |
+
.RE
|
| 764 |
+
.SH "REPOSITORY METADATA FOR SUSETAGS REPOS"
|
| 765 |
+
.sp
|
| 766 |
+
Attributes describing repository files in a susetags repository\&. \fBSUSETAGS_DATADIR "susetags:datadir"\fR:: The directory that contains the packages\&.
|
| 767 |
+
.PP
|
| 768 |
+
\fBSUSETAGS_DESCRDIR "susetags:descrdir"\fR
|
| 769 |
+
.RS 4
|
| 770 |
+
The directory that contains the repository file resources\&.
|
| 771 |
+
.RE
|
| 772 |
+
.PP
|
| 773 |
+
\fBSUSETAGS_DEFAULTVENDOR "susetags:defaultvendor"\fR
|
| 774 |
+
.RS 4
|
| 775 |
+
The default vendor used when a package does not specify a vendor\&.
|
| 776 |
+
.RE
|
| 777 |
+
.PP
|
| 778 |
+
\fBSUSETAGS_FILE "susetags:file"\fR
|
| 779 |
+
.RS 4
|
| 780 |
+
An array of file resources of the repository\&.
|
| 781 |
+
.RE
|
| 782 |
+
.PP
|
| 783 |
+
\fBSUSETAGS_FILE_NAME "susetags:file:name"\fR
|
| 784 |
+
.RS 4
|
| 785 |
+
The filename of the resource\&.
|
| 786 |
+
.RE
|
| 787 |
+
.PP
|
| 788 |
+
\fBSUSETAGS_FILE_TYPE "susetags:file:type"\fR
|
| 789 |
+
.RS 4
|
| 790 |
+
The type of the resource, e\&.g\&. \(lqMETA\(rq\&.
|
| 791 |
+
.RE
|
| 792 |
+
.PP
|
| 793 |
+
\fBSUSETAGS_FILE_CHECKSUM "susetags:file:checksum"\fR
|
| 794 |
+
.RS 4
|
| 795 |
+
The file checksum of the resource\&.
|
| 796 |
+
.RE
|
| 797 |
+
.SH "REPOSITORY METADATA FOR RPMMD REPOS"
|
| 798 |
+
.PP
|
| 799 |
+
\fBREPOSITORY_REPOMD "repository:repomd"\fR
|
| 800 |
+
.RS 4
|
| 801 |
+
An array of file resources of the repository\&.
|
| 802 |
+
.RE
|
| 803 |
+
.PP
|
| 804 |
+
\fBREPOSITORY_REPOMD_TYPE "repository:repomd:type"\fR
|
| 805 |
+
.RS 4
|
| 806 |
+
The type of the resource, e\&.g\&. \(lqprimary\(rq\&.
|
| 807 |
+
.RE
|
| 808 |
+
.PP
|
| 809 |
+
\fBREPOSITORY_REPOMD_LOCATION "repository:repomd:location"\fR
|
| 810 |
+
.RS 4
|
| 811 |
+
The location (aka filename) of the resource
|
| 812 |
+
.RE
|
| 813 |
+
.PP
|
| 814 |
+
\fBREPOSITORY_REPOMD_TIMESTAMP "repository:repomd:timestamp"\fR
|
| 815 |
+
.RS 4
|
| 816 |
+
The seconds since the unix epoch when the resource was created\&.
|
| 817 |
+
.RE
|
| 818 |
+
.PP
|
| 819 |
+
\fBREPOSITORY_REPOMD_CHECKSUM "repository:repomd:checksum"\fR
|
| 820 |
+
.RS 4
|
| 821 |
+
The file checksum of the resource\&.
|
| 822 |
+
.RE
|
| 823 |
+
.PP
|
| 824 |
+
\fBREPOSITORY_REPOMD_OPENCHECKSUM "repository:repomd:openchecksum"\fR
|
| 825 |
+
.RS 4
|
| 826 |
+
The checksum over the uncompressed contents of the resource\&.
|
| 827 |
+
.RE
|
| 828 |
+
.PP
|
| 829 |
+
\fBREPOSITORY_REPOMD_SIZE "repository:repomd:size"\fR
|
| 830 |
+
.RS 4
|
| 831 |
+
The size of the resource file\&.
|
| 832 |
+
.RE
|
| 833 |
+
.SH "DELTA PACKAGE ATTRIBUTES"
|
| 834 |
+
.PP
|
| 835 |
+
\fBDELTA_PACKAGE_NAME "delta:pkgname"\fR
|
| 836 |
+
.RS 4
|
| 837 |
+
The target package name for the delta package\&. Applying the delta will recreate the target package\&.
|
| 838 |
+
.RE
|
| 839 |
+
.PP
|
| 840 |
+
\fBDELTA_PACKAGE_EVR "delta:pkgevr"\fR
|
| 841 |
+
.RS 4
|
| 842 |
+
The version of the target package\&.
|
| 843 |
+
.RE
|
| 844 |
+
.PP
|
| 845 |
+
\fBDELTA_PACKAGE_ARCH "delta:pkgarch"\fR
|
| 846 |
+
.RS 4
|
| 847 |
+
The architecture of the target package\&.
|
| 848 |
+
.RE
|
| 849 |
+
.PP
|
| 850 |
+
\fBDELTA_LOCATION_DIR "delta:locdir"\fR
|
| 851 |
+
.RS 4
|
| 852 |
+
The directory in the repository that contains the delta package\&.
|
| 853 |
+
.RE
|
| 854 |
+
.PP
|
| 855 |
+
\fBDELTA_LOCATION_NAME "delta:locname"\fR
|
| 856 |
+
.RS 4
|
| 857 |
+
The first part of the file name of the delta package\&.
|
| 858 |
+
.RE
|
| 859 |
+
.PP
|
| 860 |
+
\fBDELTA_LOCATION_EVR "delta:locevr"\fR
|
| 861 |
+
.RS 4
|
| 862 |
+
The version part of the file name of the delta package\&.
|
| 863 |
+
.RE
|
| 864 |
+
.PP
|
| 865 |
+
\fBDELTA_LOCATION_SUFFIX "delta:locsuffix"\fR
|
| 866 |
+
.RS 4
|
| 867 |
+
The suffix part of the file name of the delta package\&.
|
| 868 |
+
.RE
|
| 869 |
+
.PP
|
| 870 |
+
\fBDELTA_LOCATION_BASE "delta:locbase"\fR
|
| 871 |
+
.RS 4
|
| 872 |
+
This attribute can be used to overwrite the repositories base url for the delta\&.
|
| 873 |
+
.RE
|
| 874 |
+
.PP
|
| 875 |
+
\fBDELTA_DOWNLOADSIZE "delta:downloadsize"\fR
|
| 876 |
+
.RS 4
|
| 877 |
+
The size of the delta rpm file\&.
|
| 878 |
+
.RE
|
| 879 |
+
.PP
|
| 880 |
+
\fBDELTA_CHECKSUM "delta:checksum"\fR
|
| 881 |
+
.RS 4
|
| 882 |
+
The checksum of the delta rpm file\&.
|
| 883 |
+
.RE
|
| 884 |
+
.PP
|
| 885 |
+
\fBDELTA_BASE_EVR "delta:baseevr"\fR
|
| 886 |
+
.RS 4
|
| 887 |
+
The version of the package the delta was built against\&.
|
| 888 |
+
.RE
|
| 889 |
+
.PP
|
| 890 |
+
\fBDELTA_SEQ_NAME "delta:seqname"\fR
|
| 891 |
+
.RS 4
|
| 892 |
+
The first part of the delta sequence, the base package name\&.
|
| 893 |
+
.RE
|
| 894 |
+
.PP
|
| 895 |
+
\fBDELTA_SEQ_EVR "delta:seqevr"\fR
|
| 896 |
+
.RS 4
|
| 897 |
+
The evr part of the delta sequence, the base package evr\&. Identical to the DELTA_BASE_EVR attribute\&.
|
| 898 |
+
.RE
|
| 899 |
+
.PP
|
| 900 |
+
\fBDELTA_SEQ_NUM "delta:seqnum"\fR
|
| 901 |
+
.RS 4
|
| 902 |
+
The last part of the delta sequence, the content selection string\&.
|
| 903 |
+
.RE
|
| 904 |
+
.SH "AUTHOR"
|
| 905 |
+
.sp
|
| 906 |
+
Michael Schroeder <mls@suse\&.de>
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-history.3
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'\" t
|
| 2 |
+
.\" Title: Libsolv-History
|
| 3 |
+
.\" Author: [see the "Author" section]
|
| 4 |
+
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
| 5 |
+
.\" Date: 03/02/2022
|
| 6 |
+
.\" Manual: LIBSOLV
|
| 7 |
+
.\" Source: libsolv
|
| 8 |
+
.\" Language: English
|
| 9 |
+
.\"
|
| 10 |
+
.TH "LIBSOLV\-HISTORY" "3" "03/02/2022" "libsolv" "LIBSOLV"
|
| 11 |
+
.\" -----------------------------------------------------------------
|
| 12 |
+
.\" * Define some portability stuff
|
| 13 |
+
.\" -----------------------------------------------------------------
|
| 14 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 15 |
+
.\" http://bugs.debian.org/507673
|
| 16 |
+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
| 17 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 18 |
+
.ie \n(.g .ds Aq \(aq
|
| 19 |
+
.el .ds Aq '
|
| 20 |
+
.\" -----------------------------------------------------------------
|
| 21 |
+
.\" * set default formatting
|
| 22 |
+
.\" -----------------------------------------------------------------
|
| 23 |
+
.\" disable hyphenation
|
| 24 |
+
.nh
|
| 25 |
+
.\" disable justification (adjust text to left margin only)
|
| 26 |
+
.ad l
|
| 27 |
+
.\" -----------------------------------------------------------------
|
| 28 |
+
.\" * MAIN CONTENT STARTS HERE *
|
| 29 |
+
.\" -----------------------------------------------------------------
|
| 30 |
+
.SH "NAME"
|
| 31 |
+
libsolv-history \- how the libsolv library came into existence
|
| 32 |
+
.SH "HISTORY"
|
| 33 |
+
.sp
|
| 34 |
+
This project was started in May 2007 when the zypp folks decided to switch to a database to speed up installation\&. As I am not a big fan of databases, I (mls) wondered if there would be really some merit of using one for solving, as package dependencies of all packages have to be read in anyway\&.
|
| 35 |
+
.sp
|
| 36 |
+
Back in 2002, I researched that using a dictionary approach for storing dependencies can reduce the packages file to 1/3 of its size\&. Extending this idea a bit more, I decided to store all strings and relations as unique 32\-bit numbers\&. This has three big advantages:
|
| 37 |
+
.sp
|
| 38 |
+
.RS 4
|
| 39 |
+
.ie n \{\
|
| 40 |
+
\h'-04'\(bu\h'+03'\c
|
| 41 |
+
.\}
|
| 42 |
+
.el \{\
|
| 43 |
+
.sp -1
|
| 44 |
+
.IP \(bu 2.3
|
| 45 |
+
.\}
|
| 46 |
+
because of the unification, testing whether two strings are equal is the same as testing the equality of two numbers, thus very fast
|
| 47 |
+
.RE
|
| 48 |
+
.sp
|
| 49 |
+
.RS 4
|
| 50 |
+
.ie n \{\
|
| 51 |
+
\h'-04'\(bu\h'+03'\c
|
| 52 |
+
.\}
|
| 53 |
+
.el \{\
|
| 54 |
+
.sp -1
|
| 55 |
+
.IP \(bu 2.3
|
| 56 |
+
.\}
|
| 57 |
+
much space is saved, as numbers do not take up as much space as strings the internal memory representation does not take more space on a 64\-bit system where a pointer is twice the size of a 32\-bit number
|
| 58 |
+
.RE
|
| 59 |
+
.sp
|
| 60 |
+
Thus, the solv format was created, which stores a repository as a string dictionary, a relation dictionary and then all packages dependencies\&. Tests showed that reading and merging multiple solv repositories takes just some milliseconds\&.
|
| 61 |
+
.SS "Early solver experiments"
|
| 62 |
+
.sp
|
| 63 |
+
Having a new repository format was one big step, but the other area where libzypp needed improvement was the solver\&. Libzypp\(cqs solver was a port from the Red Carpet solver, which was written to update packages in an already installed system\&. Using it for the complete installation progress brought it to its limits\&. Also, the added extensions like support for weak dependencies and patches made it fragile and unpredictable\&.
|
| 64 |
+
.sp
|
| 65 |
+
As I was not very pleased with the way the solver worked, I looked at other solver algorithms\&. I checked smart, yum and apt, but could not find a convincing algorithm\&. My own experiments also were not very convincing, they worked fine for some problems but failed miserably for other corner cases\&.
|
| 66 |
+
.SS "Using SAT for solving"
|
| 67 |
+
.sp
|
| 68 |
+
SUSE\(cqs hack week at the end of June 2007 turned out to be a turning point for the solver\&. Googling for solver algorithms, I stumbled over some note saying that some people are trying to use SAT algorithms to improve solving on Debian\&. Looking at the SAT entry in Wikipedia, it was easy to see that this indeed was the missing piece: SAT algorithms are well researched and there are quite some open source implementations\&. I decided to look at the minisat code, as it is one of the fastest solvers while consisting of not too many lines of code\&.
|
| 69 |
+
.sp
|
| 70 |
+
Of course, directly using minisat would not work, as a package solver does not need to find just one correct solution, but it also has to optimize some metrics, i\&.e\&. keep as many packages installed as possible\&. Thus, I needed to write my own solver, incorporating the ideas and algorithms used in minisat\&. This wasn\(cqt very hard, and at the end of the hack week the solver calculated the first right solutions\&.
|
| 71 |
+
.SS "Selling it to libzypp"
|
| 72 |
+
.sp
|
| 73 |
+
With those encouraging results, I went to Klaus Kaempf, the system management architect at SUSE\&. We spoke about how to convince the team to make libzypp switch to the new solver\&. Fortunately, libzypp comes with a plethora of solver test cases, so we decided to make the solver pass most of the test cases first\&. Klaus wrote a "deptestomatic" implementation to check the test cases\&. Together with Stephan Kulow, who is responsible for the openSUSE distribution, we tweaked and extended the solver until most of the test cases looked good\&.
|
| 74 |
+
.sp
|
| 75 |
+
Duncan Mac\-Vicar Prett, the team lead of the YaST team, also joined development by creating Ruby bindings for the solver\&. Later, Klaus improved the bindings and ported them to some other languages\&.
|
| 76 |
+
.SS "The attribute store"
|
| 77 |
+
.sp
|
| 78 |
+
The progress with the repository format and the solver attracted another hacker to the project: Michael Matz from the compiler team\&. He started with improving the repository parsers so that patches and content files also generate solvables\&. After that, he concentrated on storing all of the other metadata of the repositories that are not used for solving, like the package summaries and descriptions\&. At the end of October, a first version of this "attribute store" was checked in\&. Its design goals were:
|
| 79 |
+
.sp
|
| 80 |
+
.RS 4
|
| 81 |
+
.ie n \{\
|
| 82 |
+
\h'-04'\(bu\h'+03'\c
|
| 83 |
+
.\}
|
| 84 |
+
.el \{\
|
| 85 |
+
.sp -1
|
| 86 |
+
.IP \(bu 2.3
|
| 87 |
+
.\}
|
| 88 |
+
space efficient storage of attributes
|
| 89 |
+
.RE
|
| 90 |
+
.sp
|
| 91 |
+
.RS 4
|
| 92 |
+
.ie n \{\
|
| 93 |
+
\h'-04'\(bu\h'+03'\c
|
| 94 |
+
.\}
|
| 95 |
+
.el \{\
|
| 96 |
+
.sp -1
|
| 97 |
+
.IP \(bu 2.3
|
| 98 |
+
.\}
|
| 99 |
+
paging/on demand loading of data
|
| 100 |
+
.RE
|
| 101 |
+
.sp
|
| 102 |
+
.RS 4
|
| 103 |
+
.ie n \{\
|
| 104 |
+
\h'-04'\(bu\h'+03'\c
|
| 105 |
+
.\}
|
| 106 |
+
.el \{\
|
| 107 |
+
.sp -1
|
| 108 |
+
.IP \(bu 2.3
|
| 109 |
+
.\}
|
| 110 |
+
page compression
|
| 111 |
+
.RE
|
| 112 |
+
.sp
|
| 113 |
+
The first version of the attribute store used a different format for storing information, we later merged this format with the solv file format\&.
|
| 114 |
+
.SS "libzypp integration"
|
| 115 |
+
.sp
|
| 116 |
+
Integration of the sat\-solver into libzypp also started in October 2007 by Stefan Schubert and Michael Andres from the YaST team\&. The first versions supported both the old solver and the new one by using the old repository read functions and converting the old package data in\-memory into a sat solver pool\&. Solvers could be switched with the environment variable ZYPP_SAT_SOLVER\&. The final decision to move to the new solver was made in January of 2008, first just by making the new solver the default one, later by completely throwing out the old solver code\&. This had the advantage that the internal solvable storage could also be done by using the solver pool, something Michael Matz already played with in a proof of concept implementation showing some drastic speed gains\&. The last traces of the old database code were removed in February\&.
|
| 117 |
+
.SH "AUTHOR"
|
| 118 |
+
.sp
|
| 119 |
+
Michael Schroeder <mls@suse\&.de>
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-pool.3
ADDED
|
@@ -0,0 +1,1337 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'\" t
|
| 2 |
+
.\" Title: Libsolv-Pool
|
| 3 |
+
.\" Author: [see the "Author" section]
|
| 4 |
+
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
| 5 |
+
.\" Date: 03/25/2024
|
| 6 |
+
.\" Manual: LIBSOLV
|
| 7 |
+
.\" Source: libsolv
|
| 8 |
+
.\" Language: English
|
| 9 |
+
.\"
|
| 10 |
+
.TH "LIBSOLV\-POOL" "3" "03/25/2024" "libsolv" "LIBSOLV"
|
| 11 |
+
.\" -----------------------------------------------------------------
|
| 12 |
+
.\" * Define some portability stuff
|
| 13 |
+
.\" -----------------------------------------------------------------
|
| 14 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 15 |
+
.\" http://bugs.debian.org/507673
|
| 16 |
+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
| 17 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 18 |
+
.ie \n(.g .ds Aq \(aq
|
| 19 |
+
.el .ds Aq '
|
| 20 |
+
.\" -----------------------------------------------------------------
|
| 21 |
+
.\" * set default formatting
|
| 22 |
+
.\" -----------------------------------------------------------------
|
| 23 |
+
.\" disable hyphenation
|
| 24 |
+
.nh
|
| 25 |
+
.\" disable justification (adjust text to left margin only)
|
| 26 |
+
.ad l
|
| 27 |
+
.\" -----------------------------------------------------------------
|
| 28 |
+
.\" * MAIN CONTENT STARTS HERE *
|
| 29 |
+
.\" -----------------------------------------------------------------
|
| 30 |
+
.SH "NAME"
|
| 31 |
+
libsolv-pool \- Libsolv\*(Aqs pool object
|
| 32 |
+
.SH "PUBLIC ATTRIBUTES"
|
| 33 |
+
.PP
|
| 34 |
+
\fBvoid *appdata\fR
|
| 35 |
+
.RS 4
|
| 36 |
+
A no\-purpose pointer free to use for the library user\&. Freeing the pool simply discards the pointer\&.
|
| 37 |
+
.RE
|
| 38 |
+
.PP
|
| 39 |
+
\fBStringpool ss\fR
|
| 40 |
+
.RS 4
|
| 41 |
+
The pool of unified strings\&.
|
| 42 |
+
.RE
|
| 43 |
+
.PP
|
| 44 |
+
\fBReldep *rels\fR
|
| 45 |
+
.RS 4
|
| 46 |
+
The pool of unified relation dependencies\&.
|
| 47 |
+
.RE
|
| 48 |
+
.PP
|
| 49 |
+
\fBint nrels\fR
|
| 50 |
+
.RS 4
|
| 51 |
+
Number of allocated relation dependencies\&.
|
| 52 |
+
.RE
|
| 53 |
+
.PP
|
| 54 |
+
\fBRepo **repos\fR
|
| 55 |
+
.RS 4
|
| 56 |
+
The array of repository pointers, indexed by repository Id\&.
|
| 57 |
+
.RE
|
| 58 |
+
.PP
|
| 59 |
+
\fBint nrepos\fR
|
| 60 |
+
.RS 4
|
| 61 |
+
Number of allocated repository array elements, i\&.e\&. the size of the repos array\&.
|
| 62 |
+
.RE
|
| 63 |
+
.PP
|
| 64 |
+
\fBint urepos\fR
|
| 65 |
+
.RS 4
|
| 66 |
+
Number of used (i\&.e\&. non\-zero) repository array elements\&.
|
| 67 |
+
.RE
|
| 68 |
+
.PP
|
| 69 |
+
\fBRepo *installed\fR
|
| 70 |
+
.RS 4
|
| 71 |
+
Pointer to the repo holding the installed packages\&. You are free to read this attribute, but you should use pool_set_installed() if you want to change it\&.
|
| 72 |
+
.RE
|
| 73 |
+
.PP
|
| 74 |
+
\fBSolvable *solvables\fR
|
| 75 |
+
.RS 4
|
| 76 |
+
The array of Solvable objects\&.
|
| 77 |
+
.RE
|
| 78 |
+
.PP
|
| 79 |
+
\fBint nsolvables\fR
|
| 80 |
+
.RS 4
|
| 81 |
+
Number of Solvable objects, i\&.e\&. the size of the solvables array\&. Note that the array may contain freed solvables, in that case the repo pointer of the solvable will be zero\&.
|
| 82 |
+
.RE
|
| 83 |
+
.PP
|
| 84 |
+
\fBint disttype\fR
|
| 85 |
+
.RS 4
|
| 86 |
+
The distribution type of your system, e\&.g\&. DISTTYPE_DEB\&. You are free to read this attribute, but you should use pool_setdisttype() if you want to change it\&.
|
| 87 |
+
.RE
|
| 88 |
+
.PP
|
| 89 |
+
\fBId *whatprovidesdata\fR
|
| 90 |
+
.RS 4
|
| 91 |
+
Multi\-purpose Id storage holding zero terminated arrays of Ids\&. pool_whatprovides() returns an offset into this data\&.
|
| 92 |
+
.RE
|
| 93 |
+
.PP
|
| 94 |
+
\fBMap *considered\fR
|
| 95 |
+
.RS 4
|
| 96 |
+
Optional bitmap that can make the library ignore solvables\&. If a bitmap is set, only solvables that have a set bit in the bitmap at their Id are considered usable\&.
|
| 97 |
+
.RE
|
| 98 |
+
.PP
|
| 99 |
+
\fBint debugmask\fR
|
| 100 |
+
.RS 4
|
| 101 |
+
A mask that defines which debug events should be reported\&. pool_setdebuglevel() sets this mask\&.
|
| 102 |
+
.RE
|
| 103 |
+
.PP
|
| 104 |
+
\fBDatapos pos\fR
|
| 105 |
+
.RS 4
|
| 106 |
+
An object storing some position in the repository data\&. Functions like dataiterator_set_pos() set this object, accessing data with a pseudo solvable Id of SOLVID_POS uses it\&.
|
| 107 |
+
.RE
|
| 108 |
+
.PP
|
| 109 |
+
\fBQueue pooljobs\fR
|
| 110 |
+
.RS 4
|
| 111 |
+
A queue where fixed solver jobs can be stored\&. This jobs are automatically added when solver_solve() is called, they are useful to store configuration data like which packages should be multiversion installed\&.
|
| 112 |
+
.RE
|
| 113 |
+
.SH "CREATION AND DESTRUCTION"
|
| 114 |
+
.sp
|
| 115 |
+
.if n \{\
|
| 116 |
+
.RS 4
|
| 117 |
+
.\}
|
| 118 |
+
.nf
|
| 119 |
+
\fBPool *pool_create()\fR;
|
| 120 |
+
.fi
|
| 121 |
+
.if n \{\
|
| 122 |
+
.RE
|
| 123 |
+
.\}
|
| 124 |
+
.sp
|
| 125 |
+
Create a new instance of a pool\&.
|
| 126 |
+
.sp
|
| 127 |
+
.if n \{\
|
| 128 |
+
.RS 4
|
| 129 |
+
.\}
|
| 130 |
+
.nf
|
| 131 |
+
\fBvoid pool_free(Pool *\fR\fIpool\fR\fB)\fR;
|
| 132 |
+
.fi
|
| 133 |
+
.if n \{\
|
| 134 |
+
.RE
|
| 135 |
+
.\}
|
| 136 |
+
.sp
|
| 137 |
+
Free a pool and all of the data it contains, e\&.g\&. the solvables, repositories, strings\&.
|
| 138 |
+
.SH "DEBUGGING AND ERROR REPORTING"
|
| 139 |
+
.SS "Constants"
|
| 140 |
+
.PP
|
| 141 |
+
\fBSOLV_FATAL\fR
|
| 142 |
+
.RS 4
|
| 143 |
+
Report the error and call \(lqexit(1)\(rq afterwards\&. You cannot mask this level\&. Reports to stderr instead of stdout\&.
|
| 144 |
+
.RE
|
| 145 |
+
.PP
|
| 146 |
+
\fBSOLV_ERROR\fR
|
| 147 |
+
.RS 4
|
| 148 |
+
Used to report errors\&. Reports to stderr instead of stdout\&.
|
| 149 |
+
.RE
|
| 150 |
+
.PP
|
| 151 |
+
\fBSOLV_WARN\fR
|
| 152 |
+
.RS 4
|
| 153 |
+
Used to report warnings\&.
|
| 154 |
+
.RE
|
| 155 |
+
.PP
|
| 156 |
+
\fBSOLV_DEBUG_STATS\fR
|
| 157 |
+
.RS 4
|
| 158 |
+
Used to report statistical data\&.
|
| 159 |
+
.RE
|
| 160 |
+
.PP
|
| 161 |
+
\fBSOLV_DEBUG_RULE_CREATION\fR
|
| 162 |
+
.RS 4
|
| 163 |
+
Used to report information about the solver\(cqs creation of rules\&.
|
| 164 |
+
.RE
|
| 165 |
+
.PP
|
| 166 |
+
\fBSOLV_DEBUG_PROPAGATE\fR
|
| 167 |
+
.RS 4
|
| 168 |
+
Used to report information about the solver\(cqs unit rule propagation process\&.
|
| 169 |
+
.RE
|
| 170 |
+
.PP
|
| 171 |
+
\fBSOLV_DEBUG_ANALYZE\fR
|
| 172 |
+
.RS 4
|
| 173 |
+
Used to report information about the solver\(cqs learnt rule generation mechanism\&.
|
| 174 |
+
.RE
|
| 175 |
+
.PP
|
| 176 |
+
\fBSOLV_DEBUG_UNSOLVABLE\fR
|
| 177 |
+
.RS 4
|
| 178 |
+
Used to report information about the solver dealing with conflicting rules\&.
|
| 179 |
+
.RE
|
| 180 |
+
.PP
|
| 181 |
+
\fBSOLV_DEBUG_SOLUTIONS\fR
|
| 182 |
+
.RS 4
|
| 183 |
+
Used to report information about the solver creating solutions to solve problems\&.
|
| 184 |
+
.RE
|
| 185 |
+
.PP
|
| 186 |
+
\fBSOLV_DEBUG_POLICY\fR
|
| 187 |
+
.RS 4
|
| 188 |
+
Used to report information about the solver searching for an optimal solution\&.
|
| 189 |
+
.RE
|
| 190 |
+
.PP
|
| 191 |
+
\fBSOLV_DEBUG_RESULT\fR
|
| 192 |
+
.RS 4
|
| 193 |
+
Used by the debug functions to output results\&.
|
| 194 |
+
.RE
|
| 195 |
+
.PP
|
| 196 |
+
\fBSOLV_DEBUG_JOB\fR
|
| 197 |
+
.RS 4
|
| 198 |
+
Used to report information about the job rule generation process\&.
|
| 199 |
+
.RE
|
| 200 |
+
.PP
|
| 201 |
+
\fBSOLV_DEBUG_SOLVER\fR
|
| 202 |
+
.RS 4
|
| 203 |
+
Used to report information about what the solver is currently doing\&.
|
| 204 |
+
.RE
|
| 205 |
+
.PP
|
| 206 |
+
\fBSOLV_DEBUG_TRANSACTION\fR
|
| 207 |
+
.RS 4
|
| 208 |
+
Used to report information about the transaction generation and ordering process\&.
|
| 209 |
+
.RE
|
| 210 |
+
.PP
|
| 211 |
+
\fBSOLV_DEBUG_TO_STDERR\fR
|
| 212 |
+
.RS 4
|
| 213 |
+
Write debug messages to stderr instead of stdout\&.
|
| 214 |
+
.RE
|
| 215 |
+
.SS "Functions"
|
| 216 |
+
.sp
|
| 217 |
+
.if n \{\
|
| 218 |
+
.RS 4
|
| 219 |
+
.\}
|
| 220 |
+
.nf
|
| 221 |
+
\fBvoid pool_debug(Pool *\fR\fIpool\fR\fB, int\fR \fItype\fR\fB, const char *\fR\fIformat\fR\fB, \&.\&.\&.)\fR;
|
| 222 |
+
.fi
|
| 223 |
+
.if n \{\
|
| 224 |
+
.RE
|
| 225 |
+
.\}
|
| 226 |
+
.sp
|
| 227 |
+
Report a message of the type \fItype\fR\&. You can filter debug messages by setting a debug mask\&.
|
| 228 |
+
.sp
|
| 229 |
+
.if n \{\
|
| 230 |
+
.RS 4
|
| 231 |
+
.\}
|
| 232 |
+
.nf
|
| 233 |
+
\fBvoid pool_setdebuglevel(Pool *\fR\fIpool\fR\fB, int\fR \fIlevel\fR\fB)\fR;
|
| 234 |
+
.fi
|
| 235 |
+
.if n \{\
|
| 236 |
+
.RE
|
| 237 |
+
.\}
|
| 238 |
+
.sp
|
| 239 |
+
Set a predefined debug mask\&. A higher level generally means more bits in the mask are set, thus more messages are printed\&.
|
| 240 |
+
.sp
|
| 241 |
+
.if n \{\
|
| 242 |
+
.RS 4
|
| 243 |
+
.\}
|
| 244 |
+
.nf
|
| 245 |
+
\fBvoid pool_setdebugmask(Pool *\fR\fIpool\fR\fB, int\fR \fImask\fR\fB)\fR;
|
| 246 |
+
.fi
|
| 247 |
+
.if n \{\
|
| 248 |
+
.RE
|
| 249 |
+
.\}
|
| 250 |
+
.sp
|
| 251 |
+
Set the debug mask to filter debug messages\&.
|
| 252 |
+
.sp
|
| 253 |
+
.if n \{\
|
| 254 |
+
.RS 4
|
| 255 |
+
.\}
|
| 256 |
+
.nf
|
| 257 |
+
\fBint pool_error(Pool *\fR\fIpool\fR\fB, int\fR \fIret\fR\fB, const char *\fR\fIformat\fR\fB, \&.\&.\&.)\fR;
|
| 258 |
+
.fi
|
| 259 |
+
.if n \{\
|
| 260 |
+
.RE
|
| 261 |
+
.\}
|
| 262 |
+
.sp
|
| 263 |
+
Set the pool\(cqs error string\&. The \fIret\fR value is simply used as a return value of the function so that you can write code like return pool_error(\&...);\&. If the debug mask contains the \fBSOLV_ERROR\fR bit, pool_debug() is also called with the message and type \fBSOLV_ERROR\fR\&.
|
| 264 |
+
.sp
|
| 265 |
+
.if n \{\
|
| 266 |
+
.RS 4
|
| 267 |
+
.\}
|
| 268 |
+
.nf
|
| 269 |
+
\fBextern char *pool_errstr(Pool *\fR\fIpool\fR\fB)\fR;
|
| 270 |
+
.fi
|
| 271 |
+
.if n \{\
|
| 272 |
+
.RE
|
| 273 |
+
.\}
|
| 274 |
+
.sp
|
| 275 |
+
Return the current error string stored in the pool\&. Like with the libc\(cqs errno value, the string is only meaningful after a function returned an error\&.
|
| 276 |
+
.sp
|
| 277 |
+
.if n \{\
|
| 278 |
+
.RS 4
|
| 279 |
+
.\}
|
| 280 |
+
.nf
|
| 281 |
+
\fBvoid pool_setdebugcallback(Pool *\fR\fIpool\fR\fB, void (*\fR\fIdebugcallback\fR\fB)(Pool *, void *\fR\fIdata\fR\fB, int\fR \fItype\fR\fB, const char *\fR\fIstr\fR\fB), void *\fR\fIdebugcallbackdata\fR\fB)\fR;
|
| 282 |
+
.fi
|
| 283 |
+
.if n \{\
|
| 284 |
+
.RE
|
| 285 |
+
.\}
|
| 286 |
+
.sp
|
| 287 |
+
Set a custom debug callback function\&. Instead of writing to stdout or stderr, the callback function will be called\&.
|
| 288 |
+
.SH "POOL CONFIGURATION"
|
| 289 |
+
.SS "Constants"
|
| 290 |
+
.PP
|
| 291 |
+
\fBDISTTYPE_RPM\fR
|
| 292 |
+
.RS 4
|
| 293 |
+
Used for systems which use rpm as low level package manager\&.
|
| 294 |
+
.RE
|
| 295 |
+
.PP
|
| 296 |
+
\fBDISTTYPE_DEB\fR
|
| 297 |
+
.RS 4
|
| 298 |
+
Used for systems which use dpkg as low level package manager\&.
|
| 299 |
+
.RE
|
| 300 |
+
.PP
|
| 301 |
+
\fBDISTTYPE_ARCH\fR
|
| 302 |
+
.RS 4
|
| 303 |
+
Used for systems which use the arch linux package manager\&.
|
| 304 |
+
.RE
|
| 305 |
+
.PP
|
| 306 |
+
\fBDISTTYPE_HAIKU\fR
|
| 307 |
+
.RS 4
|
| 308 |
+
Used for systems which use haiku packages\&.
|
| 309 |
+
.RE
|
| 310 |
+
.PP
|
| 311 |
+
\fBPOOL_FLAG_PROMOTEEPOCH\fR
|
| 312 |
+
.RS 4
|
| 313 |
+
Promote the epoch of the providing dependency to the requesting dependency if it does not contain an epoch\&. Used at some time in old rpm versions, modern systems should never need this\&.
|
| 314 |
+
.RE
|
| 315 |
+
.PP
|
| 316 |
+
\fBPOOL_FLAG_FORBIDSELFCONFLICTS\fR
|
| 317 |
+
.RS 4
|
| 318 |
+
Disallow the installation of packages that conflict with themselves\&. Debian always allows self\-conflicting packages, rpm used to forbid them but switched to also allowing them recently\&.
|
| 319 |
+
.RE
|
| 320 |
+
.PP
|
| 321 |
+
\fBPOOL_FLAG_OBSOLETEUSESPROVIDES\fR
|
| 322 |
+
.RS 4
|
| 323 |
+
Make obsolete type dependency match against provides instead of just the name and version of packages\&. Very old versions of rpm used the name/version, then it got switched to provides and later switched back again to just name/version\&.
|
| 324 |
+
.RE
|
| 325 |
+
.PP
|
| 326 |
+
\fBPOOL_FLAG_IMPLICITOBSOLETEUSESPROVIDES\fR
|
| 327 |
+
.RS 4
|
| 328 |
+
An implicit obsoletes is the internal mechanism to remove the old package on an update\&. The default is to remove all packages with the same name, rpm\-5 switched to also removing packages providing the same name\&.
|
| 329 |
+
.RE
|
| 330 |
+
.PP
|
| 331 |
+
\fBPOOL_FLAG_OBSOLETEUSESCOLORS\fR
|
| 332 |
+
.RS 4
|
| 333 |
+
Rpm\(cqs multilib implementation (used in RedHat and Fedora) distinguishes between 32bit and 64bit packages (the terminology is that they have a different color)\&. If obsoleteusescolors is set, packages with different colors will not obsolete each other\&.
|
| 334 |
+
.RE
|
| 335 |
+
.PP
|
| 336 |
+
\fBPOOL_FLAG_IMPLICITOBSOLETEUSESCOLORS\fR
|
| 337 |
+
.RS 4
|
| 338 |
+
Same as POOL_FLAG_OBSOLETEUSESCOLORS, but used to find out if packages of the same name can be installed in parallel\&. For current Fedora systems, POOL_FLAG_OBSOLETEUSESCOLORS should be false and POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS should be true (this is the default if FEDORA is defined when libsolv is compiled)\&.
|
| 339 |
+
.RE
|
| 340 |
+
.PP
|
| 341 |
+
\fBPOOL_FLAG_NOINSTALLEDOBSOLETES\fR
|
| 342 |
+
.RS 4
|
| 343 |
+
New versions of rpm consider the obsoletes of installed packages when checking for dependency, thus you may not install a package that is obsoleted by some other installed package, unless you also erase the other package\&.
|
| 344 |
+
.RE
|
| 345 |
+
.PP
|
| 346 |
+
\fBPOOL_FLAG_HAVEDISTEPOCH\fR
|
| 347 |
+
.RS 4
|
| 348 |
+
Mandriva added a new field called distepoch that gets checked in version comparison if the epoch/version/release of two packages are the same\&.
|
| 349 |
+
.RE
|
| 350 |
+
.PP
|
| 351 |
+
\fBPOOL_FLAG_NOOBSOLETESMULTIVERSION\fR
|
| 352 |
+
.RS 4
|
| 353 |
+
If a package is installed in multiversionmode, rpm used to ignore both the implicit obsoletes and the obsolete dependency of a package\&. This was changed to ignoring just the implicit obsoletes, thus you may install multiple versions of the same name, but obsoleted packages still get removed\&.
|
| 354 |
+
.RE
|
| 355 |
+
.PP
|
| 356 |
+
\fBPOOL_FLAG_ADDFILEPROVIDESFILTERED\fR
|
| 357 |
+
.RS 4
|
| 358 |
+
Make the addfileprovides method only add files from the standard locations (i\&.e\&. the \(lqbin\(rq and \(lqetc\(rq directories)\&. This is useful if you have only few packages that use non\-standard file dependencies, but you still want the fast speed that addfileprovides() generates\&.
|
| 359 |
+
.RE
|
| 360 |
+
.SS "Functions"
|
| 361 |
+
.sp
|
| 362 |
+
.if n \{\
|
| 363 |
+
.RS 4
|
| 364 |
+
.\}
|
| 365 |
+
.nf
|
| 366 |
+
\fBint pool_setdisttype(Pool *\fR\fIpool\fR\fB, int\fR \fIdisttype\fR\fB)\fR;
|
| 367 |
+
.fi
|
| 368 |
+
.if n \{\
|
| 369 |
+
.RE
|
| 370 |
+
.\}
|
| 371 |
+
.sp
|
| 372 |
+
Set the package type of your system\&. The disttype is used for example to define package comparison semantics\&. Libsolv\(cqs default disttype should match the package manager of your system, so you only need to use this function if you want to use the library to solve packaging problems for different systems\&. The Function returns the old disttype on success, and \-1 if the new disttype is not supported\&. Note that any pool_setarch and pool_setarchpolicy calls need to come after the pool_setdisttype call, as they make use of the noarch/any/all architecture id\&.
|
| 373 |
+
.sp
|
| 374 |
+
.if n \{\
|
| 375 |
+
.RS 4
|
| 376 |
+
.\}
|
| 377 |
+
.nf
|
| 378 |
+
\fBint pool_set_flag(Pool *\fR\fIpool\fR\fB, int\fR \fIflag\fR\fB, int\fR \fIvalue\fR\fB)\fR;
|
| 379 |
+
.fi
|
| 380 |
+
.if n \{\
|
| 381 |
+
.RE
|
| 382 |
+
.\}
|
| 383 |
+
.sp
|
| 384 |
+
Set a flag to a new value\&. Returns the old value of the flag\&.
|
| 385 |
+
.sp
|
| 386 |
+
.if n \{\
|
| 387 |
+
.RS 4
|
| 388 |
+
.\}
|
| 389 |
+
.nf
|
| 390 |
+
\fBint pool_get_flag(Pool *\fR\fIpool\fR\fB, int\fR \fIflag\fR\fB)\fR;
|
| 391 |
+
.fi
|
| 392 |
+
.if n \{\
|
| 393 |
+
.RE
|
| 394 |
+
.\}
|
| 395 |
+
.sp
|
| 396 |
+
Get the value of a pool flag\&. See the constants section about the meaning of the flags\&.
|
| 397 |
+
.sp
|
| 398 |
+
.if n \{\
|
| 399 |
+
.RS 4
|
| 400 |
+
.\}
|
| 401 |
+
.nf
|
| 402 |
+
\fBvoid pool_set_rootdir(Pool *\fR\fIpool\fR\fB, const char *\fR\fIrootdir\fR\fB)\fR;
|
| 403 |
+
.fi
|
| 404 |
+
.if n \{\
|
| 405 |
+
.RE
|
| 406 |
+
.\}
|
| 407 |
+
.sp
|
| 408 |
+
Set a specific root directory\&. Some library functions support a flag that tells the function to prepend the rootdir to file and directory names\&.
|
| 409 |
+
.sp
|
| 410 |
+
.if n \{\
|
| 411 |
+
.RS 4
|
| 412 |
+
.\}
|
| 413 |
+
.nf
|
| 414 |
+
\fBconst char *pool_get_rootdir(Pool *\fR\fIpool\fR\fB)\fR;
|
| 415 |
+
.fi
|
| 416 |
+
.if n \{\
|
| 417 |
+
.RE
|
| 418 |
+
.\}
|
| 419 |
+
.sp
|
| 420 |
+
Return the current value of the root directory\&.
|
| 421 |
+
.sp
|
| 422 |
+
.if n \{\
|
| 423 |
+
.RS 4
|
| 424 |
+
.\}
|
| 425 |
+
.nf
|
| 426 |
+
\fBchar *pool_prepend_rootdir(Pool *\fR\fIpool\fR\fB, const char *\fR\fIdir\fR\fB)\fR;
|
| 427 |
+
.fi
|
| 428 |
+
.if n \{\
|
| 429 |
+
.RE
|
| 430 |
+
.\}
|
| 431 |
+
.sp
|
| 432 |
+
Prepend the root directory to the \fIdir\fR argument string\&. The returned string has been newly allocated and needs to be freed after use\&.
|
| 433 |
+
.sp
|
| 434 |
+
.if n \{\
|
| 435 |
+
.RS 4
|
| 436 |
+
.\}
|
| 437 |
+
.nf
|
| 438 |
+
\fBchar *pool_prepend_rootdir_tmp(Pool *\fR\fIpool\fR\fB, const char *\fR\fIdir\fR\fB)\fR;
|
| 439 |
+
.fi
|
| 440 |
+
.if n \{\
|
| 441 |
+
.RE
|
| 442 |
+
.\}
|
| 443 |
+
.sp
|
| 444 |
+
Same as pool_prepend_rootdir, but uses the pool\(cqs temporary space for allocation\&.
|
| 445 |
+
.sp
|
| 446 |
+
.if n \{\
|
| 447 |
+
.RS 4
|
| 448 |
+
.\}
|
| 449 |
+
.nf
|
| 450 |
+
\fBvoid pool_set_installed(Pool *\fR\fIpool\fR\fB, Repo *\fR\fIrepo\fR\fB)\fR;
|
| 451 |
+
.fi
|
| 452 |
+
.if n \{\
|
| 453 |
+
.RE
|
| 454 |
+
.\}
|
| 455 |
+
.sp
|
| 456 |
+
Set which repository should be treated as the \(lqinstalled\(rq repository, i\&.e\&. the one that holds information about the installed packages\&.
|
| 457 |
+
.sp
|
| 458 |
+
.if n \{\
|
| 459 |
+
.RS 4
|
| 460 |
+
.\}
|
| 461 |
+
.nf
|
| 462 |
+
\fBvoid pool_set_languages(Pool *\fR\fIpool\fR\fB, const char **\fR\fIlanguages\fR\fB, int\fR \fInlanguages\fR\fB)\fR;
|
| 463 |
+
.fi
|
| 464 |
+
.if n \{\
|
| 465 |
+
.RE
|
| 466 |
+
.\}
|
| 467 |
+
.sp
|
| 468 |
+
Set the language of your system\&. The library provides lookup functions that return localized strings, for example for package descriptions\&. You can set an array of languages to provide a fallback mechanism if one language is not available\&.
|
| 469 |
+
.sp
|
| 470 |
+
.if n \{\
|
| 471 |
+
.RS 4
|
| 472 |
+
.\}
|
| 473 |
+
.nf
|
| 474 |
+
\fBvoid pool_setarch(Pool *\fR\fIpool\fR\fB, const char *\fR\fIarch\fR\fB)\fR;
|
| 475 |
+
.fi
|
| 476 |
+
.if n \{\
|
| 477 |
+
.RE
|
| 478 |
+
.\}
|
| 479 |
+
.sp
|
| 480 |
+
Set the architecture of your system\&. The architecture is used to determine which packages are installable and which packages cannot be installed\&. The \fIarch\fR argument is normally the \(lqmachine\(rq value of the \(lquname\(rq system call\&.
|
| 481 |
+
.sp
|
| 482 |
+
.if n \{\
|
| 483 |
+
.RS 4
|
| 484 |
+
.\}
|
| 485 |
+
.nf
|
| 486 |
+
\fBvoid pool_setarchpolicy(Pool *, const char *)\fR;
|
| 487 |
+
.fi
|
| 488 |
+
.if n \{\
|
| 489 |
+
.RE
|
| 490 |
+
.\}
|
| 491 |
+
.sp
|
| 492 |
+
Set the architecture policy for your system\&. This is the general version of pool_setarch (in fact pool_setarch calls pool_setarchpolicy internally)\&. See the section about architecture policies for more information\&.
|
| 493 |
+
.sp
|
| 494 |
+
.if n \{\
|
| 495 |
+
.RS 4
|
| 496 |
+
.\}
|
| 497 |
+
.nf
|
| 498 |
+
\fBvoid pool_addvendorclass(Pool *\fR\fIpool\fR\fB, const char **\fR\fIvendorclass\fR\fB)\fR;
|
| 499 |
+
.fi
|
| 500 |
+
.if n \{\
|
| 501 |
+
.RE
|
| 502 |
+
.\}
|
| 503 |
+
.sp
|
| 504 |
+
Add a new vendor equivalence class to the system\&. A vendor equivalence class defines if an installed package of one vendor can be replaced by a package coming from a different vendor\&. The \fIvendorclass\fR argument must be a NULL terminated array of strings\&. See the section about vendor policies for more information\&.
|
| 505 |
+
.sp
|
| 506 |
+
.if n \{\
|
| 507 |
+
.RS 4
|
| 508 |
+
.\}
|
| 509 |
+
.nf
|
| 510 |
+
\fBvoid pool_setvendorclasses(Pool *\fR\fIpool\fR\fB, const char **\fR\fIvendorclasses\fR\fB)\fR;
|
| 511 |
+
.fi
|
| 512 |
+
.if n \{\
|
| 513 |
+
.RE
|
| 514 |
+
.\}
|
| 515 |
+
.sp
|
| 516 |
+
Set all allowed vendor equivalences\&. The vendorclasses argument must be an NULL terminated array consisting of all allowed classes concatenated\&. Each class itself must be NULL terminated, thus the last class ends with two NULL elements, one to finish the class and one to finish the list of classes\&.
|
| 517 |
+
.sp
|
| 518 |
+
.if n \{\
|
| 519 |
+
.RS 4
|
| 520 |
+
.\}
|
| 521 |
+
.nf
|
| 522 |
+
\fBvoid pool_set_custom_vendorcheck(Pool *\fR\fIpool\fR\fB, int (*\fR\fIvendorcheck\fR\fB)(Pool *, Solvable *, Solvable *))\fR;
|
| 523 |
+
.fi
|
| 524 |
+
.if n \{\
|
| 525 |
+
.RE
|
| 526 |
+
.\}
|
| 527 |
+
.sp
|
| 528 |
+
Define a custom vendor check mechanism\&. You can use this if libsolv\(cqs internal vendor equivalence class mechanism does not match your needs\&.
|
| 529 |
+
.sp
|
| 530 |
+
.if n \{\
|
| 531 |
+
.RS 4
|
| 532 |
+
.\}
|
| 533 |
+
.nf
|
| 534 |
+
\fBvoid pool_setloadcallback(Pool *\fR\fIpool\fR\fB, int (*\fR\fIcb\fR\fB)(Pool *, Repodata *, void *), void *\fR\fIloadcbdata\fR\fB)\fR;
|
| 535 |
+
.fi
|
| 536 |
+
.if n \{\
|
| 537 |
+
.RE
|
| 538 |
+
.\}
|
| 539 |
+
.sp
|
| 540 |
+
Define a callback function that gets called when repository metadata needs to be loaded on demand\&. See the section about on demand loading in the libsolv\-repodata manual\&.
|
| 541 |
+
.sp
|
| 542 |
+
.if n \{\
|
| 543 |
+
.RS 4
|
| 544 |
+
.\}
|
| 545 |
+
.nf
|
| 546 |
+
\fBvoid pool_setnamespacecallback(Pool *\fR\fIpool\fR\fB, Id (*\fR\fIcb\fR\fB)(Pool *, void *,\fR \fIId\fR\fB,\fR \fIId\fR\fB), void *\fR\fInscbdata\fR\fB)\fR;
|
| 547 |
+
.fi
|
| 548 |
+
.if n \{\
|
| 549 |
+
.RE
|
| 550 |
+
.\}
|
| 551 |
+
.sp
|
| 552 |
+
Define a callback function to implement custom namespace support\&. See the section about namespace dependencies\&.
|
| 553 |
+
.SH "ID POOL MANAGEMENT"
|
| 554 |
+
.SS "Constants"
|
| 555 |
+
.PP
|
| 556 |
+
\fBID_EMPTY\fR
|
| 557 |
+
.RS 4
|
| 558 |
+
The Id of the empty string, it is always Id 1\&.
|
| 559 |
+
.RE
|
| 560 |
+
.PP
|
| 561 |
+
\fBREL_LT\fR
|
| 562 |
+
.RS 4
|
| 563 |
+
Represents a \(lq<\(rq relation\&.
|
| 564 |
+
.RE
|
| 565 |
+
.PP
|
| 566 |
+
\fBREL_EQ\fR
|
| 567 |
+
.RS 4
|
| 568 |
+
Represents a \(lq=\(rq relation\&.
|
| 569 |
+
.RE
|
| 570 |
+
.PP
|
| 571 |
+
\fBREL_GT\fR
|
| 572 |
+
.RS 4
|
| 573 |
+
Represents a \(lq>\(rq relation\&. You can use combinations of REL_GT, REL_EQ, and REL_LT or\-ed together to create any relation you like\&.
|
| 574 |
+
.RE
|
| 575 |
+
.PP
|
| 576 |
+
\fBREL_AND\fR
|
| 577 |
+
.RS 4
|
| 578 |
+
A boolean AND operation, the \(lqname\(rq and \(lqevr\(rq parts of the relation can be two sub\-dependencies\&. Packages must match both parts of the dependency\&.
|
| 579 |
+
.RE
|
| 580 |
+
.PP
|
| 581 |
+
\fBREL_OR\fR
|
| 582 |
+
.RS 4
|
| 583 |
+
A boolean OR operation, the \(lqname\(rq and \(lqevr\(rq parts of the relation can be two sub\-dependencies\&. Packages can match any part of the dependency\&.
|
| 584 |
+
.RE
|
| 585 |
+
.PP
|
| 586 |
+
\fBREL_WITH\fR
|
| 587 |
+
.RS 4
|
| 588 |
+
Like REL_AND, but packages must match both dependencies simultaneously\&. See the section about boolean dependencies about more information\&.
|
| 589 |
+
.RE
|
| 590 |
+
.PP
|
| 591 |
+
\fBREL_NAMESPACE\fR
|
| 592 |
+
.RS 4
|
| 593 |
+
A special namespace relation\&. See the section about namespace dependencies for more information\&.
|
| 594 |
+
.RE
|
| 595 |
+
.PP
|
| 596 |
+
\fBREL_ARCH\fR
|
| 597 |
+
.RS 4
|
| 598 |
+
An architecture filter dependency\&. The \(lqname\(rq part of the relation is a sub\-dependency, the \(lqevr\(rq part is the Id of an architecture that the matching packages must have (note that this is an exact match ignoring architecture policies)\&.
|
| 599 |
+
.RE
|
| 600 |
+
.PP
|
| 601 |
+
\fBREL_FILECONFLICT\fR
|
| 602 |
+
.RS 4
|
| 603 |
+
An internal file conflict dependency used to represent file conflicts\&. See the pool_add_fileconflicts_deps() function\&.
|
| 604 |
+
.RE
|
| 605 |
+
.PP
|
| 606 |
+
\fBREL_COND\fR
|
| 607 |
+
.RS 4
|
| 608 |
+
A conditional dependency, the \(lqname\(rq sub\-dependency is only considered if the \(lqevr\(rq sub\-dependency is fulfilled\&. See the section about boolean dependencies about more information\&.
|
| 609 |
+
.RE
|
| 610 |
+
.PP
|
| 611 |
+
\fBREL_UNLESS\fR
|
| 612 |
+
.RS 4
|
| 613 |
+
A conditional dependency, the \(lqname\(rq sub\-dependency is only considered if the \(lqevr\(rq sub\-dependency is not fulfilled\&. See the section about boolean dependencies about more information\&.
|
| 614 |
+
.RE
|
| 615 |
+
.PP
|
| 616 |
+
\fBREL_COMPAT\fR
|
| 617 |
+
.RS 4
|
| 618 |
+
A compat dependency used in Haiku to represent version ranges\&. The \(lqname\(rq part is the actual version, the \(lqevr\(rq part is the backwards compatibility version\&.
|
| 619 |
+
.RE
|
| 620 |
+
.PP
|
| 621 |
+
\fBREL_KIND\fR
|
| 622 |
+
.RS 4
|
| 623 |
+
A pseudo dependency that limits the solvables to a specific kind\&. The kind is expected to be a prefix of the solvable name, e\&.g\&. \(lqpatch:foo\(rq would be of kind \(lqpatch\(rq\&. \(lqREL_KIND\(rq is only supported in the selection functions\&.
|
| 624 |
+
.RE
|
| 625 |
+
.PP
|
| 626 |
+
\fBREL_MULTIARCH\fR
|
| 627 |
+
.RS 4
|
| 628 |
+
A debian multiarch annotation\&. The most common value for the \(lqevr\(rq part is \(lqany\(rq\&.
|
| 629 |
+
.RE
|
| 630 |
+
.PP
|
| 631 |
+
\fBREL_ELSE\fR
|
| 632 |
+
.RS 4
|
| 633 |
+
The else part of a \(lqREL_COND\(rq or \(lqREL_UNLESS\(rq dependency\&. See the section about boolean dependencies\&.
|
| 634 |
+
.RE
|
| 635 |
+
.PP
|
| 636 |
+
\fBREL_ERROR\fR
|
| 637 |
+
.RS 4
|
| 638 |
+
An illegal dependency\&. This is useful to encode dependency parse errors\&.
|
| 639 |
+
.RE
|
| 640 |
+
.SS "Functions"
|
| 641 |
+
.sp
|
| 642 |
+
.if n \{\
|
| 643 |
+
.RS 4
|
| 644 |
+
.\}
|
| 645 |
+
.nf
|
| 646 |
+
\fBId pool_str2id(Pool *\fR\fIpool\fR\fB, const char *\fR\fIstr\fR\fB, int\fR \fIcreate\fR\fB)\fR;
|
| 647 |
+
.fi
|
| 648 |
+
.if n \{\
|
| 649 |
+
.RE
|
| 650 |
+
.\}
|
| 651 |
+
.sp
|
| 652 |
+
Add a string to the pool of unified strings, returning the Id of the string\&. If \fIcreate\fR is zero, new strings will not be added to the pool, instead Id 0 is returned\&.
|
| 653 |
+
.sp
|
| 654 |
+
.if n \{\
|
| 655 |
+
.RS 4
|
| 656 |
+
.\}
|
| 657 |
+
.nf
|
| 658 |
+
\fBId pool_strn2id(Pool *\fR\fIpool\fR\fB, const char *\fR\fIstr\fR\fB, unsigned int\fR \fIlen\fR\fB, int\fR \fIcreate\fR\fB)\fR;
|
| 659 |
+
.fi
|
| 660 |
+
.if n \{\
|
| 661 |
+
.RE
|
| 662 |
+
.\}
|
| 663 |
+
.sp
|
| 664 |
+
Same as pool_str2id, but only \fIlen\fR characters of the string are used\&. This can be used to add substrings to the pool\&.
|
| 665 |
+
.sp
|
| 666 |
+
.if n \{\
|
| 667 |
+
.RS 4
|
| 668 |
+
.\}
|
| 669 |
+
.nf
|
| 670 |
+
\fBId pool_rel2id(Pool *\fR\fIpool\fR\fB, Id\fR \fIname\fR\fB, Id\fR \fIevr\fR\fB, int\fR \fIflags\fR\fB, int\fR \fIcreate\fR\fB)\fR;
|
| 671 |
+
.fi
|
| 672 |
+
.if n \{\
|
| 673 |
+
.RE
|
| 674 |
+
.\}
|
| 675 |
+
.sp
|
| 676 |
+
Create a relational dependency from to other dependencies, \fIname\fR and \fIevr\fR, and a \fIflag\fR\&. See the \fBREL_\fR constants for the supported flags\&. As with pool_str2id, \fIcreate\fR defines if new dependencies will get added or Id zero will be returned instead\&.
|
| 677 |
+
.sp
|
| 678 |
+
.if n \{\
|
| 679 |
+
.RS 4
|
| 680 |
+
.\}
|
| 681 |
+
.nf
|
| 682 |
+
\fBId pool_id2langid(Pool *\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB, const char *\fR\fIlang\fR\fB, int\fR \fIcreate\fR\fB)\fR;
|
| 683 |
+
.fi
|
| 684 |
+
.if n \{\
|
| 685 |
+
.RE
|
| 686 |
+
.\}
|
| 687 |
+
.sp
|
| 688 |
+
Attach a language suffix to a string Id\&. This function can be used to create language keyname Ids from keynames, it is functional equivalent to converting the \fIid\fR argument to a string, adding a \(lq:\(rq character and the \fIlang\fR argument to the string and then converting the result back into an Id\&.
|
| 689 |
+
.sp
|
| 690 |
+
.if n \{\
|
| 691 |
+
.RS 4
|
| 692 |
+
.\}
|
| 693 |
+
.nf
|
| 694 |
+
\fBconst char *pool_id2str(const Pool *\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB)\fR;
|
| 695 |
+
.fi
|
| 696 |
+
.if n \{\
|
| 697 |
+
.RE
|
| 698 |
+
.\}
|
| 699 |
+
.sp
|
| 700 |
+
Convert an Id back into a string\&. If the Id is a relational Id, the \(lqname\(rq part will be converted instead\&.
|
| 701 |
+
.sp
|
| 702 |
+
.if n \{\
|
| 703 |
+
.RS 4
|
| 704 |
+
.\}
|
| 705 |
+
.nf
|
| 706 |
+
\fBconst char *pool_id2rel(const Pool *\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB)\fR;
|
| 707 |
+
.fi
|
| 708 |
+
.if n \{\
|
| 709 |
+
.RE
|
| 710 |
+
.\}
|
| 711 |
+
.sp
|
| 712 |
+
Return the relation string of a relational Id\&. Returns an empty string if the passed Id is not a relation\&.
|
| 713 |
+
.sp
|
| 714 |
+
.if n \{\
|
| 715 |
+
.RS 4
|
| 716 |
+
.\}
|
| 717 |
+
.nf
|
| 718 |
+
\fBconst char *pool_id2evr(const Pool *\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB)\fR;
|
| 719 |
+
.fi
|
| 720 |
+
.if n \{\
|
| 721 |
+
.RE
|
| 722 |
+
.\}
|
| 723 |
+
.sp
|
| 724 |
+
Return the \(lqevr\(rq part of a relational Id as string\&. Returns an empty string if the passed Id is not a relation\&.
|
| 725 |
+
.sp
|
| 726 |
+
.if n \{\
|
| 727 |
+
.RS 4
|
| 728 |
+
.\}
|
| 729 |
+
.nf
|
| 730 |
+
\fBconst char *pool_dep2str(Pool *\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB)\fR;
|
| 731 |
+
.fi
|
| 732 |
+
.if n \{\
|
| 733 |
+
.RE
|
| 734 |
+
.\}
|
| 735 |
+
.sp
|
| 736 |
+
Convert an Id back into a string\&. If the passed Id belongs to a relation, a string representing the relation is returned\&. Note that in that case the string is allocated on the pool\(cqs temporary space\&.
|
| 737 |
+
.sp
|
| 738 |
+
.if n \{\
|
| 739 |
+
.RS 4
|
| 740 |
+
.\}
|
| 741 |
+
.nf
|
| 742 |
+
\fBvoid pool_freeidhashes(Pool *\fR\fIpool\fR\fB)\fR;
|
| 743 |
+
.fi
|
| 744 |
+
.if n \{\
|
| 745 |
+
.RE
|
| 746 |
+
.\}
|
| 747 |
+
.sp
|
| 748 |
+
Free the hashes used to unify strings and relations\&. You can use this function to save memory if you know that you will no longer create new strings and relations\&.
|
| 749 |
+
.SH "SOLVABLE FUNCTIONS"
|
| 750 |
+
.sp
|
| 751 |
+
.if n \{\
|
| 752 |
+
.RS 4
|
| 753 |
+
.\}
|
| 754 |
+
.nf
|
| 755 |
+
\fBSolvable *pool_id2solvable(const Pool *\fR\fIpool\fR\fB, Id\fR \fIp\fR\fB)\fR;
|
| 756 |
+
.fi
|
| 757 |
+
.if n \{\
|
| 758 |
+
.RE
|
| 759 |
+
.\}
|
| 760 |
+
.sp
|
| 761 |
+
Convert a solvable Id into a pointer to the solvable data\&. Note that the pointer may become invalid if new solvables are created or old solvables deleted, because the array storing all solvables may get reallocated\&.
|
| 762 |
+
.sp
|
| 763 |
+
.if n \{\
|
| 764 |
+
.RS 4
|
| 765 |
+
.\}
|
| 766 |
+
.nf
|
| 767 |
+
\fBId pool_solvable2id(const Pool *\fR\fIpool\fR\fB, Solvable *\fR\fIs\fR\fB)\fR;
|
| 768 |
+
.fi
|
| 769 |
+
.if n \{\
|
| 770 |
+
.RE
|
| 771 |
+
.\}
|
| 772 |
+
.sp
|
| 773 |
+
Convert a pointer to the solvable data into a solvable Id\&.
|
| 774 |
+
.sp
|
| 775 |
+
.if n \{\
|
| 776 |
+
.RS 4
|
| 777 |
+
.\}
|
| 778 |
+
.nf
|
| 779 |
+
\fBconst char *pool_solvid2str(Pool *\fR\fIpool\fR\fB, Id\fR \fIp\fR\fB)\fR;
|
| 780 |
+
.fi
|
| 781 |
+
.if n \{\
|
| 782 |
+
.RE
|
| 783 |
+
.\}
|
| 784 |
+
.sp
|
| 785 |
+
Return a string representing the solvable with the Id \fIp\fR\&. The string will be some canonical representation of the solvable, usually a combination of the name, the version, and the architecture\&.
|
| 786 |
+
.sp
|
| 787 |
+
.if n \{\
|
| 788 |
+
.RS 4
|
| 789 |
+
.\}
|
| 790 |
+
.nf
|
| 791 |
+
\fBconst char *pool_solvable2str(Pool *\fR\fIpool\fR\fB, Solvable *\fR\fIs\fR\fB)\fR;
|
| 792 |
+
.fi
|
| 793 |
+
.if n \{\
|
| 794 |
+
.RE
|
| 795 |
+
.\}
|
| 796 |
+
.sp
|
| 797 |
+
Same as pool_solvid2str, but instead of the Id, a pointer to the solvable is passed\&.
|
| 798 |
+
.SH "DEPENDENCY MATCHING"
|
| 799 |
+
.SS "Constants"
|
| 800 |
+
.PP
|
| 801 |
+
\fBEVRCMP_COMPARE\fR
|
| 802 |
+
.RS 4
|
| 803 |
+
Compare all parts of the version, treat missing parts as empty strings\&.
|
| 804 |
+
.RE
|
| 805 |
+
.PP
|
| 806 |
+
\fBEVRCMP_MATCH_RELEASE\fR
|
| 807 |
+
.RS 4
|
| 808 |
+
A special mode for rpm version string matching\&. If a version misses a release part, it matches all releases\&. In that case the special values \(lq\-2\(rq and \(lq2\(rq are returned, depending on which of the two versions did not have a release part\&.
|
| 809 |
+
.RE
|
| 810 |
+
.PP
|
| 811 |
+
\fBEVRCMP_MATCH\fR
|
| 812 |
+
.RS 4
|
| 813 |
+
A generic match, missing parts always match\&.
|
| 814 |
+
.RE
|
| 815 |
+
.PP
|
| 816 |
+
\fBEVRCMP_COMPARE_EVONLY\fR
|
| 817 |
+
.RS 4
|
| 818 |
+
Only compare the epoch and the version parts, ignore the release part\&.
|
| 819 |
+
.RE
|
| 820 |
+
.SS "Functions"
|
| 821 |
+
.sp
|
| 822 |
+
.if n \{\
|
| 823 |
+
.RS 4
|
| 824 |
+
.\}
|
| 825 |
+
.nf
|
| 826 |
+
\fBint pool_evrcmp(const Pool *\fR\fIpool\fR\fB, Id\fR \fIevr1id\fR\fB, Id\fR \fIevr2id\fR\fB, int\fR \fImode\fR\fB)\fR;
|
| 827 |
+
.fi
|
| 828 |
+
.if n \{\
|
| 829 |
+
.RE
|
| 830 |
+
.\}
|
| 831 |
+
.sp
|
| 832 |
+
Compare two version Ids, return \-1 if the first version is less than the second version, 0 if they are identical, and 1 if the first version is bigger than the second one\&.
|
| 833 |
+
.sp
|
| 834 |
+
.if n \{\
|
| 835 |
+
.RS 4
|
| 836 |
+
.\}
|
| 837 |
+
.nf
|
| 838 |
+
\fBint pool_evrcmp_str(const Pool *\fR\fIpool\fR\fB, const char *\fR\fIevr1\fR\fB, const char *\fR\fIevr2\fR\fB, int\fR \fImode\fR\fB)\fR;
|
| 839 |
+
.fi
|
| 840 |
+
.if n \{\
|
| 841 |
+
.RE
|
| 842 |
+
.\}
|
| 843 |
+
.sp
|
| 844 |
+
Same as pool_evrcmp(), but uses strings instead of Ids\&.
|
| 845 |
+
.sp
|
| 846 |
+
.if n \{\
|
| 847 |
+
.RS 4
|
| 848 |
+
.\}
|
| 849 |
+
.nf
|
| 850 |
+
\fBint pool_evrmatch(const Pool *\fR\fIpool\fR\fB, Id\fR \fIevrid\fR\fB, const char *\fR\fIepoch\fR\fB, const char *\fR\fIversion\fR\fB, const char *\fR\fIrelease\fR\fB)\fR;
|
| 851 |
+
.fi
|
| 852 |
+
.if n \{\
|
| 853 |
+
.RE
|
| 854 |
+
.\}
|
| 855 |
+
.sp
|
| 856 |
+
Match a version Id against an epoch, a version and a release string\&. Passing NULL means that the part should match everything\&.
|
| 857 |
+
.sp
|
| 858 |
+
.if n \{\
|
| 859 |
+
.RS 4
|
| 860 |
+
.\}
|
| 861 |
+
.nf
|
| 862 |
+
\fBint pool_match_dep(Pool *\fR\fIpool\fR\fB, Id\fR \fId1\fR\fB, Id\fR \fId2\fR\fB)\fR;
|
| 863 |
+
.fi
|
| 864 |
+
.if n \{\
|
| 865 |
+
.RE
|
| 866 |
+
.\}
|
| 867 |
+
.sp
|
| 868 |
+
Returns \(lq1\(rq if the dependency \fId1\fR (the provider) is matched by the dependency \fId2\fR, otherwise \(lq0\(rq is returned\&. For two dependencies to match, both the \(lqname\(rq parts must match and the version range described by the \(lqevr\(rq parts must overlap\&.
|
| 869 |
+
.sp
|
| 870 |
+
.if n \{\
|
| 871 |
+
.RS 4
|
| 872 |
+
.\}
|
| 873 |
+
.nf
|
| 874 |
+
\fBint pool_match_nevr(Pool *\fR\fIpool\fR\fB, Solvable *\fR\fIs\fR\fB, Id\fR \fId\fR\fB)\fR;
|
| 875 |
+
.fi
|
| 876 |
+
.if n \{\
|
| 877 |
+
.RE
|
| 878 |
+
.\}
|
| 879 |
+
.sp
|
| 880 |
+
Like pool_match_dep, but the provider is the "self\-provides" dependency of the Solvable \fIs\fR, i\&.e\&. the dependency \(lqs→name = s→evr\(rq\&.
|
| 881 |
+
.SH "WHATPROVIDES INDEX"
|
| 882 |
+
.sp
|
| 883 |
+
.if n \{\
|
| 884 |
+
.RS 4
|
| 885 |
+
.\}
|
| 886 |
+
.nf
|
| 887 |
+
\fBvoid pool_createwhatprovides(Pool *\fR\fIpool\fR\fB)\fR;
|
| 888 |
+
.fi
|
| 889 |
+
.if n \{\
|
| 890 |
+
.RE
|
| 891 |
+
.\}
|
| 892 |
+
.sp
|
| 893 |
+
Create an index that maps dependency Ids to sets of packages that provide the dependency\&.
|
| 894 |
+
.sp
|
| 895 |
+
.if n \{\
|
| 896 |
+
.RS 4
|
| 897 |
+
.\}
|
| 898 |
+
.nf
|
| 899 |
+
\fBvoid pool_freewhatprovides(Pool *\fR\fIpool\fR\fB)\fR;
|
| 900 |
+
.fi
|
| 901 |
+
.if n \{\
|
| 902 |
+
.RE
|
| 903 |
+
.\}
|
| 904 |
+
.sp
|
| 905 |
+
Free the whatprovides index to save memory\&.
|
| 906 |
+
.sp
|
| 907 |
+
.if n \{\
|
| 908 |
+
.RS 4
|
| 909 |
+
.\}
|
| 910 |
+
.nf
|
| 911 |
+
\fBId pool_whatprovides(Pool *\fR\fIpool\fR\fB, Id\fR \fId\fR\fB)\fR;
|
| 912 |
+
.fi
|
| 913 |
+
.if n \{\
|
| 914 |
+
.RE
|
| 915 |
+
.\}
|
| 916 |
+
.sp
|
| 917 |
+
Return an offset into the Pool\(cqs whatprovidesdata array\&. The solvables with the Ids stored starting at that offset provide the dependency \fId\fR\&. The solvable list is zero terminated\&.
|
| 918 |
+
.sp
|
| 919 |
+
.if n \{\
|
| 920 |
+
.RS 4
|
| 921 |
+
.\}
|
| 922 |
+
.nf
|
| 923 |
+
\fBId *pool_whatprovides_ptr(Pool *\fR\fIpool\fR\fB, Id\fR \fId\fR\fB)\fR;
|
| 924 |
+
.fi
|
| 925 |
+
.if n \{\
|
| 926 |
+
.RE
|
| 927 |
+
.\}
|
| 928 |
+
.sp
|
| 929 |
+
Instead of returning the offset, return the pointer to the Ids stored at that offset\&. Note that this pointer has a very limit validity time, as any call that adds new values to the whatprovidesdata area may reallocate the array\&.
|
| 930 |
+
.sp
|
| 931 |
+
.if n \{\
|
| 932 |
+
.RS 4
|
| 933 |
+
.\}
|
| 934 |
+
.nf
|
| 935 |
+
\fBId pool_queuetowhatprovides(Pool *\fR\fIpool\fR\fB, Queue *\fR\fIq\fR\fB)\fR;
|
| 936 |
+
.fi
|
| 937 |
+
.if n \{\
|
| 938 |
+
.RE
|
| 939 |
+
.\}
|
| 940 |
+
.sp
|
| 941 |
+
Add the contents of the Queue \fIq\fR to the end of the whatprovidesdata array, returning the offset into the array\&.
|
| 942 |
+
.sp
|
| 943 |
+
.if n \{\
|
| 944 |
+
.RS 4
|
| 945 |
+
.\}
|
| 946 |
+
.nf
|
| 947 |
+
\fBvoid pool_addfileprovides(Pool *\fR\fIpool\fR\fB)\fR;
|
| 948 |
+
.fi
|
| 949 |
+
.if n \{\
|
| 950 |
+
.RE
|
| 951 |
+
.\}
|
| 952 |
+
.sp
|
| 953 |
+
Some package managers like rpm allow dependencies on files contained in other packages\&. To allow libsolv to deal with those dependencies in an efficient way, you need to call the addfileprovides method after creating and reading all repositories\&. This method will scan all dependency for file names and then scan all packages for matching files\&. If a filename has been matched, it will be added to the provides list of the corresponding package\&.
|
| 954 |
+
.sp
|
| 955 |
+
.if n \{\
|
| 956 |
+
.RS 4
|
| 957 |
+
.\}
|
| 958 |
+
.nf
|
| 959 |
+
\fBvoid pool_addfileprovides_queue(Pool *\fR\fIpool\fR\fB, Queue *\fR\fIidq\fR\fB, Queue *\fR\fIidqinst\fR\fB)\fR;
|
| 960 |
+
.fi
|
| 961 |
+
.if n \{\
|
| 962 |
+
.RE
|
| 963 |
+
.\}
|
| 964 |
+
.sp
|
| 965 |
+
Same as pool_addfileprovides, but the added Ids are returned in two Queues, \fIidq\fR for all repositories except the one containing the \(lqinstalled\(rq packages, \fIidqinst\fR for the latter one\&. This information can be stored in the meta section of the repositories to speed up the next time the repository is loaded and addfileprovides is called
|
| 966 |
+
.sp
|
| 967 |
+
.if n \{\
|
| 968 |
+
.RS 4
|
| 969 |
+
.\}
|
| 970 |
+
.nf
|
| 971 |
+
\fBvoid pool_set_whatprovides(\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB, Id\fR \fIoffset\fR\fB)\fR;
|
| 972 |
+
.fi
|
| 973 |
+
.if n \{\
|
| 974 |
+
.RE
|
| 975 |
+
.\}
|
| 976 |
+
.sp
|
| 977 |
+
Manually set an entry in the whatprovides index\&. You\(cqll never do this for package dependencies, as those entries are created by calling the pool_createwhatprovides() function\&. But this function is useful for namespace provides if you do not want to use a namespace callback to lazily set the provides\&. The offset argument is a offset in the whatprovides array, thus you can use \(lq1\(rq as a false value and \(lq2\(rq as true value\&.
|
| 978 |
+
.sp
|
| 979 |
+
.if n \{\
|
| 980 |
+
.RS 4
|
| 981 |
+
.\}
|
| 982 |
+
.nf
|
| 983 |
+
\fBvoid pool_flush_namespaceproviders(Pool *\fR\fIpool\fR\fB, Id\fR \fIns\fR\fB, Id\fR \fIevr\fR\fB)\fR;
|
| 984 |
+
.fi
|
| 985 |
+
.if n \{\
|
| 986 |
+
.RE
|
| 987 |
+
.\}
|
| 988 |
+
.sp
|
| 989 |
+
Clear the cache of the providers for namespace dependencies matching namespace \fIns\fR\&. If the \fIevr\fR argument is non\-zero, the namespace dependency for exactly that dependency is cleared, otherwise all matching namespace dependencies are cleared\&. See the section about Namespace dependencies for further information\&.
|
| 990 |
+
.sp
|
| 991 |
+
.if n \{\
|
| 992 |
+
.RS 4
|
| 993 |
+
.\}
|
| 994 |
+
.nf
|
| 995 |
+
\fBvoid pool_add_fileconflicts_deps(Pool *\fR\fIpool\fR\fB, Queue *\fR\fIconflicts\fR\fB)\fR;
|
| 996 |
+
.fi
|
| 997 |
+
.if n \{\
|
| 998 |
+
.RE
|
| 999 |
+
.\}
|
| 1000 |
+
.sp
|
| 1001 |
+
Some package managers like rpm report conflicts when a package installation overwrites a file of another installed package with different content\&. As file content information is not stored in the repository metadata, those conflicts can only be detected after the packages are downloaded\&. Libsolv provides a function to check for such conflicts, pool_findfileconflicts()\&. If conflicts are found, they can be added as special \fBREL_FILECONFLICT\fR provides dependencies, so that the solver will know about the conflict when it is re\-run\&.
|
| 1002 |
+
.SH "UTILITY FUNCTIONS"
|
| 1003 |
+
.sp
|
| 1004 |
+
.if n \{\
|
| 1005 |
+
.RS 4
|
| 1006 |
+
.\}
|
| 1007 |
+
.nf
|
| 1008 |
+
\fBchar *pool_alloctmpspace(Pool *\fR\fIpool\fR\fB, int\fR \fIlen\fR\fB)\fR;
|
| 1009 |
+
.fi
|
| 1010 |
+
.if n \{\
|
| 1011 |
+
.RE
|
| 1012 |
+
.\}
|
| 1013 |
+
.sp
|
| 1014 |
+
Allocate space on the pool\(cqs temporary space area\&. This space has a limited lifetime, it will be automatically freed after a fixed amount (currently 16) of other pool_alloctmpspace() calls are done\&.
|
| 1015 |
+
.sp
|
| 1016 |
+
.if n \{\
|
| 1017 |
+
.RS 4
|
| 1018 |
+
.\}
|
| 1019 |
+
.nf
|
| 1020 |
+
\fBvoid pool_freetmpspace(Pool *\fR\fIpool\fR\fB, const char *\fR\fIspace\fR\fB)\fR;
|
| 1021 |
+
.fi
|
| 1022 |
+
.if n \{\
|
| 1023 |
+
.RE
|
| 1024 |
+
.\}
|
| 1025 |
+
.sp
|
| 1026 |
+
Give the space allocated with pool_alloctmpspace back to the system\&. You do not have to use this function, as the space is automatically reclaimed, but it can be useful to extend the lifetime of other pointers to the pool\(cqs temporary space area\&.
|
| 1027 |
+
.sp
|
| 1028 |
+
.if n \{\
|
| 1029 |
+
.RS 4
|
| 1030 |
+
.\}
|
| 1031 |
+
.nf
|
| 1032 |
+
\fBconst char *pool_bin2hex(Pool *\fR\fIpool\fR\fB, const unsigned char *\fR\fIbuf\fR\fB, int\fR \fIlen\fR\fB)\fR;
|
| 1033 |
+
.fi
|
| 1034 |
+
.if n \{\
|
| 1035 |
+
.RE
|
| 1036 |
+
.\}
|
| 1037 |
+
.sp
|
| 1038 |
+
Convert some binary data to hexadecimal, returning a string allocated in the pool\(cqs temporary space area\&.
|
| 1039 |
+
.sp
|
| 1040 |
+
.if n \{\
|
| 1041 |
+
.RS 4
|
| 1042 |
+
.\}
|
| 1043 |
+
.nf
|
| 1044 |
+
\fBchar *pool_tmpjoin(Pool *\fR\fIpool\fR\fB, const char *\fR\fIstr1\fR\fB, const char *\fR\fIstr2\fR\fB, const char *\fR\fIstr3\fR\fB)\fR;
|
| 1045 |
+
.fi
|
| 1046 |
+
.if n \{\
|
| 1047 |
+
.RE
|
| 1048 |
+
.\}
|
| 1049 |
+
.sp
|
| 1050 |
+
Join three strings and return the result in the pool\(cqs temporary space area\&. You can use NULL arguments if you just want to join less strings\&.
|
| 1051 |
+
.sp
|
| 1052 |
+
.if n \{\
|
| 1053 |
+
.RS 4
|
| 1054 |
+
.\}
|
| 1055 |
+
.nf
|
| 1056 |
+
\fBchar *pool_tmpappend(Pool *\fR\fIpool\fR\fB, const char *\fR\fIstr1\fR\fB, const char *\fR\fIstr2\fR\fB, const char *\fR\fIstr3\fR\fB)\fR;
|
| 1057 |
+
.fi
|
| 1058 |
+
.if n \{\
|
| 1059 |
+
.RE
|
| 1060 |
+
.\}
|
| 1061 |
+
.sp
|
| 1062 |
+
Like pool_tmpjoin(), but if the first argument is the last allocated space in the pool\(cqs temporary space area, it will be replaced with the result of the join and no new temporary space slot will be used\&. Thus you can join more than three strings by a combination of one pool_tmpjoin() and multiple pool_tmpappend() calls\&. Note that the \fIstr1\fR pointer is no longer usable after the call\&.
|
| 1063 |
+
.SH "DATA LOOKUP"
|
| 1064 |
+
.SS "Constants"
|
| 1065 |
+
.PP
|
| 1066 |
+
\fBSOLVID_POS\fR
|
| 1067 |
+
.RS 4
|
| 1068 |
+
Use the data position stored in the pool for the lookup instead of looking up the data of a solvable\&.
|
| 1069 |
+
.RE
|
| 1070 |
+
.PP
|
| 1071 |
+
\fBSOLVID_META\fR
|
| 1072 |
+
.RS 4
|
| 1073 |
+
Use the data stored in the meta section of a repository (or repodata area) instead of looking up the data of a solvable\&. This constant does not work for the pool\(cqs lookup functions, use it for the repo\(cqs or repodata\(cqs lookup functions instead\&. It\(cqs just listed for completeness\&.
|
| 1074 |
+
.RE
|
| 1075 |
+
.SS "Functions"
|
| 1076 |
+
.sp
|
| 1077 |
+
.if n \{\
|
| 1078 |
+
.RS 4
|
| 1079 |
+
.\}
|
| 1080 |
+
.nf
|
| 1081 |
+
\fBconst char *pool_lookup_str(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR;
|
| 1082 |
+
.fi
|
| 1083 |
+
.if n \{\
|
| 1084 |
+
.RE
|
| 1085 |
+
.\}
|
| 1086 |
+
.sp
|
| 1087 |
+
Return the string value stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&.
|
| 1088 |
+
.sp
|
| 1089 |
+
.if n \{\
|
| 1090 |
+
.RS 4
|
| 1091 |
+
.\}
|
| 1092 |
+
.nf
|
| 1093 |
+
\fBunsigned long long pool_lookup_num(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, unsigned long long\fR \fInotfound\fR\fB)\fR;
|
| 1094 |
+
.fi
|
| 1095 |
+
.if n \{\
|
| 1096 |
+
.RE
|
| 1097 |
+
.\}
|
| 1098 |
+
.sp
|
| 1099 |
+
Return the 64bit unsigned number stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&. If no such number is found, the value of the \fInotfound\fR argument is returned instead\&.
|
| 1100 |
+
.sp
|
| 1101 |
+
.if n \{\
|
| 1102 |
+
.RS 4
|
| 1103 |
+
.\}
|
| 1104 |
+
.nf
|
| 1105 |
+
\fBId pool_lookup_id(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR;
|
| 1106 |
+
.fi
|
| 1107 |
+
.if n \{\
|
| 1108 |
+
.RE
|
| 1109 |
+
.\}
|
| 1110 |
+
.sp
|
| 1111 |
+
Return the Id stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&.
|
| 1112 |
+
.sp
|
| 1113 |
+
.if n \{\
|
| 1114 |
+
.RS 4
|
| 1115 |
+
.\}
|
| 1116 |
+
.nf
|
| 1117 |
+
\fBint pool_lookup_idarray(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, Queue *\fR\fIq\fR\fB)\fR;
|
| 1118 |
+
.fi
|
| 1119 |
+
.if n \{\
|
| 1120 |
+
.RE
|
| 1121 |
+
.\}
|
| 1122 |
+
.sp
|
| 1123 |
+
Fill the queue \fIq\fR with the content of the Id array stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&. Returns \(lq1\(rq if an array was found, otherwise the queue will be empty and \(lq0\(rq will be returned\&.
|
| 1124 |
+
.sp
|
| 1125 |
+
.if n \{\
|
| 1126 |
+
.RS 4
|
| 1127 |
+
.\}
|
| 1128 |
+
.nf
|
| 1129 |
+
\fBint pool_lookup_void(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR;
|
| 1130 |
+
.fi
|
| 1131 |
+
.if n \{\
|
| 1132 |
+
.RE
|
| 1133 |
+
.\}
|
| 1134 |
+
.sp
|
| 1135 |
+
Returns \(lq1\(rq if a void value is stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR, otherwise \(lq0\(rq\&.
|
| 1136 |
+
.sp
|
| 1137 |
+
.if n \{\
|
| 1138 |
+
.RS 4
|
| 1139 |
+
.\}
|
| 1140 |
+
.nf
|
| 1141 |
+
\fBconst char *pool_lookup_checksum(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, Id *\fR\fItypep\fR\fB)\fR;
|
| 1142 |
+
.fi
|
| 1143 |
+
.if n \{\
|
| 1144 |
+
.RE
|
| 1145 |
+
.\}
|
| 1146 |
+
.sp
|
| 1147 |
+
Return the checksum that is stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&. The type of the checksum will be returned over the \fItypep\fR pointer\&. If no such checksum is found, NULL will be returned and the type will be set to zero\&. Note that the result is stored in the Pool\(cqs temporary space area\&.
|
| 1148 |
+
.sp
|
| 1149 |
+
.if n \{\
|
| 1150 |
+
.RS 4
|
| 1151 |
+
.\}
|
| 1152 |
+
.nf
|
| 1153 |
+
\fBconst unsigned char *pool_lookup_bin_checksum(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, Id *\fR\fItypep\fR\fB)\fR;
|
| 1154 |
+
.fi
|
| 1155 |
+
.if n \{\
|
| 1156 |
+
.RE
|
| 1157 |
+
.\}
|
| 1158 |
+
.sp
|
| 1159 |
+
Return the checksum that is stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&. Returns the checksum as binary data, you can use the returned type to calculate the length of the checksum\&. No temporary space area is needed\&.
|
| 1160 |
+
.sp
|
| 1161 |
+
.if n \{\
|
| 1162 |
+
.RS 4
|
| 1163 |
+
.\}
|
| 1164 |
+
.nf
|
| 1165 |
+
\fBconst char *pool_lookup_deltalocation(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, unsigned int *\fR\fImedianrp\fR\fB)\fR;
|
| 1166 |
+
.fi
|
| 1167 |
+
.if n \{\
|
| 1168 |
+
.RE
|
| 1169 |
+
.\}
|
| 1170 |
+
.sp
|
| 1171 |
+
This is a utility lookup function to return the delta location for a delta rpm\&. As solvables cannot store deltas, you have to use SOLVID_POS as argument and set the Pool\(cqs datapos pointer to point to valid delta rpm data\&.
|
| 1172 |
+
.sp
|
| 1173 |
+
.if n \{\
|
| 1174 |
+
.RS 4
|
| 1175 |
+
.\}
|
| 1176 |
+
.nf
|
| 1177 |
+
\fBvoid pool_search(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, const char *\fR\fImatch\fR\fB, int\fR \fIflags\fR\fB, int (*\fR\fIcallback\fR\fB)(void *\fR\fIcbdata\fR\fB, Solvable *\fR\fIs\fR\fB, Repodata *\fR\fIdata\fR\fB, Repokey *\fR\fIkey\fR\fB, KeyValue *\fR\fIkv\fR\fB), void *\fR\fIcbdata\fR\fB)\fR;
|
| 1178 |
+
.fi
|
| 1179 |
+
.if n \{\
|
| 1180 |
+
.RE
|
| 1181 |
+
.\}
|
| 1182 |
+
.sp
|
| 1183 |
+
Perform a search on all data stored in the pool\&. You can limit the search area by using the \fIsolvid\fR and \fIkeyname\fR arguments\&. The values can be optionally matched against the \fImatch\fR argument, use NULL if you do not want this matching\&. See the Dataiterator manpage about the possible matches modes and the \fIflags\fR argument\&. For all (matching) values, the callback function is called with the \fIcbdata\fR callback argument and the data describing the value\&.
|
| 1184 |
+
.SH "JOB AND SELECTION FUNCTIONS"
|
| 1185 |
+
.sp
|
| 1186 |
+
A Job consists of two Ids, \fIhow\fR and \fIwhat\fR\&. The \fIhow\fR part describes the action, the job flags, and the selection method while the \fIwhat\fR part is in input for the selection\&. A Selection is a queue consisting of multiple jobs (thus the number of elements in the queue must be a multiple of two)\&. See the Solver manpage for more information about jobs\&.
|
| 1187 |
+
.sp
|
| 1188 |
+
.if n \{\
|
| 1189 |
+
.RS 4
|
| 1190 |
+
.\}
|
| 1191 |
+
.nf
|
| 1192 |
+
\fBconst char *pool_job2str(Pool *\fR\fIpool\fR\fB, Id\fR \fIhow\fR\fB, Id\fR \fIwhat\fR\fB, Id\fR \fIflagmask\fR\fB)\fR;
|
| 1193 |
+
.fi
|
| 1194 |
+
.if n \{\
|
| 1195 |
+
.RE
|
| 1196 |
+
.\}
|
| 1197 |
+
.sp
|
| 1198 |
+
Convert a job into a string\&. Useful for debugging purposes\&. The \fIflagmask\fR can be used to mask the flags of the job, use \(lq0\(rq if you do not want to see such flags, \(lq\-1\(rq to see all flags, or a combination of the flags you want to see\&.
|
| 1199 |
+
.sp
|
| 1200 |
+
.if n \{\
|
| 1201 |
+
.RS 4
|
| 1202 |
+
.\}
|
| 1203 |
+
.nf
|
| 1204 |
+
\fBvoid pool_job2solvables(Pool *\fR\fIpool\fR\fB, Queue *\fR\fIpkgs\fR\fB, Id\fR \fIhow\fR\fB, Id\fR \fIwhat\fR\fB)\fR;
|
| 1205 |
+
.fi
|
| 1206 |
+
.if n \{\
|
| 1207 |
+
.RE
|
| 1208 |
+
.\}
|
| 1209 |
+
.sp
|
| 1210 |
+
Return a list of solvables that the specified job selects\&.
|
| 1211 |
+
.sp
|
| 1212 |
+
.if n \{\
|
| 1213 |
+
.RS 4
|
| 1214 |
+
.\}
|
| 1215 |
+
.nf
|
| 1216 |
+
\fBint pool_isemptyupdatejob(Pool *\fR\fIpool\fR\fB, Id\fR \fIhow\fR\fB, Id\fR \fIwhat\fR\fB)\fR;
|
| 1217 |
+
.fi
|
| 1218 |
+
.if n \{\
|
| 1219 |
+
.RE
|
| 1220 |
+
.\}
|
| 1221 |
+
.sp
|
| 1222 |
+
Return \(lq1\(rq if the job is an update job that does not work with any installed package, i\&.e\&. the job is basically a no\-op\&. You can use this to turn no\-op update jobs into install jobs (as done by package managers like \(lqzypper\(rq)\&.
|
| 1223 |
+
.sp
|
| 1224 |
+
.if n \{\
|
| 1225 |
+
.RS 4
|
| 1226 |
+
.\}
|
| 1227 |
+
.nf
|
| 1228 |
+
\fBconst char *pool_selection2str(Pool *\fR\fIpool\fR\fB, Queue *\fR\fIselection\fR\fB, Id\fR \fIflagmask\fR\fB)\fR;
|
| 1229 |
+
.fi
|
| 1230 |
+
.if n \{\
|
| 1231 |
+
.RE
|
| 1232 |
+
.\}
|
| 1233 |
+
.sp
|
| 1234 |
+
Convert a selection into a string\&. Useful for debugging purposes\&. See the pool_job2str() function for the \fIflagmask\fR argument\&.
|
| 1235 |
+
.SH "ODDS AND ENDS"
|
| 1236 |
+
.sp
|
| 1237 |
+
.if n \{\
|
| 1238 |
+
.RS 4
|
| 1239 |
+
.\}
|
| 1240 |
+
.nf
|
| 1241 |
+
\fBvoid pool_freeallrepos(Pool *\fR\fIpool\fR\fB, int\fR \fIreuseids\fR\fB)\fR;
|
| 1242 |
+
.fi
|
| 1243 |
+
.if n \{\
|
| 1244 |
+
.RE
|
| 1245 |
+
.\}
|
| 1246 |
+
.sp
|
| 1247 |
+
Free all repos from the pool (including all solvables)\&. If \fIreuseids\fR is true, all Ids of the solvables are free to be reused the next time solvables are created\&.
|
| 1248 |
+
.sp
|
| 1249 |
+
.if n \{\
|
| 1250 |
+
.RS 4
|
| 1251 |
+
.\}
|
| 1252 |
+
.nf
|
| 1253 |
+
\fBvoid pool_clear_pos(Pool *\fR\fIpool\fR\fB)\fR;
|
| 1254 |
+
.fi
|
| 1255 |
+
.if n \{\
|
| 1256 |
+
.RE
|
| 1257 |
+
.\}
|
| 1258 |
+
.sp
|
| 1259 |
+
Clear the data position stored in the pool\&.
|
| 1260 |
+
.SH "ARCHITECTURE POLICIES"
|
| 1261 |
+
.sp
|
| 1262 |
+
An architecture policy defines a list of architectures that can be installed on the system, and also the relationship between them (i\&.e\&. the ordering)\&. Architectures can be delimited with three different characters:
|
| 1263 |
+
.PP
|
| 1264 |
+
\fB\*(Aq:\*(Aq\fR
|
| 1265 |
+
.RS 4
|
| 1266 |
+
No relationship between the architectures\&. A package of one architecture can not be replaced with one of the other architecture\&.
|
| 1267 |
+
.RE
|
| 1268 |
+
.PP
|
| 1269 |
+
\fB\*(Aq>\*(Aq\fR
|
| 1270 |
+
.RS 4
|
| 1271 |
+
The first architecture is better than the second one\&. An installed package of the second architecture may be replaced with one from the first architecture and vice versa\&. The solver will select the better architecture if the versions are the same\&.
|
| 1272 |
+
.RE
|
| 1273 |
+
.PP
|
| 1274 |
+
\fB\*(Aq=\*(Aq\fR
|
| 1275 |
+
.RS 4
|
| 1276 |
+
The two architectures are freely exchangeable\&. Used to define aliases for architectures\&.
|
| 1277 |
+
.RE
|
| 1278 |
+
.sp
|
| 1279 |
+
An example would be \*(Aqx86_64:i686=athlon>i586\*(Aq\&. This means that x86_64 packages can only be replaced by other x86_64 packages, i686 packages can be replaced by i686 and i586 packages (but i686 packages will be preferred) and athlon is another name for the i686 architecture\&.
|
| 1280 |
+
.sp
|
| 1281 |
+
You can turn off the architecture replacement checks with the Solver\(cqs SOLVER_FLAG_ALLOW_ARCHCHANGE flag\&.
|
| 1282 |
+
.SH "VENDOR POLICIES"
|
| 1283 |
+
.sp
|
| 1284 |
+
Different vendors often compile packages with different features, so Libsolv only replace installed packages of one vendor with packages coming from the same vendor\&. Also, while the version of a package is normally defined by the upstream project, the release part of the version is set by the vendor\(cqs package maintainer, so it\(cqs not meaningful to do version comparisons for packages coming from different vendors\&.
|
| 1285 |
+
.sp
|
| 1286 |
+
Vendor in this case means the SOLVABLE_VENDOR string stored in each solvable\&. Sometimes a vendor changes names, or multiple vendors form a group that coordinate their package building, so libsolv offers a way to define that a group of vendors are compatible\&. You do that be defining vendor equivalence classes, packages from a vendor from one class may be replaced with packages from all the other vendors in the class\&.
|
| 1287 |
+
.sp
|
| 1288 |
+
There can be multiple equivalence classes, the set of allowed vendor changes for an installed package is calculated by building the union of all of the equivalence classes the vendor of the installed package is part of\&.
|
| 1289 |
+
.sp
|
| 1290 |
+
You can turn off the vendor replacement checks with the Solver\(cqs SOLVER_FLAG_ALLOW_VENDORCHANGE flag\&.
|
| 1291 |
+
.SH "BOOLEAN DEPENDENCIES"
|
| 1292 |
+
.sp
|
| 1293 |
+
Boolean Dependencies allow building complex expressions from simple dependencies\&. Note that depending on the package manager only a subset of those may be useful\&. For example, debian currently only allows an "OR" expression\&.
|
| 1294 |
+
.PP
|
| 1295 |
+
\fBREL_OR\fR
|
| 1296 |
+
.RS 4
|
| 1297 |
+
The expression is true if either the first dependency or the second one is true\&. This is useful for package dependencies like \(lqRequires\(rq, where you can specify that either one of the packages need to be installed\&.
|
| 1298 |
+
.RE
|
| 1299 |
+
.PP
|
| 1300 |
+
\fBREL_AND\fR
|
| 1301 |
+
.RS 4
|
| 1302 |
+
The expression is true if both dependencies are true\&. The packages fulfilling the dependencies may be different, i\&.e\&. \(lqSupplements: perl REL_AND python\(rq is true if both a package providing perl and a package providing python are installed\&.
|
| 1303 |
+
.RE
|
| 1304 |
+
.PP
|
| 1305 |
+
\fBREL_WITH\fR
|
| 1306 |
+
.RS 4
|
| 1307 |
+
The expression is true if both dependencies are true and are fulfilled by the same package\&. Thus \(lqSupplements: perl REL_WITH python\(rq would only be true if a package is installed that provides both dependencies (some kind of multi\-language interpreter)\&.
|
| 1308 |
+
.RE
|
| 1309 |
+
.PP
|
| 1310 |
+
\fBREL_COND\fR
|
| 1311 |
+
.RS 4
|
| 1312 |
+
The expression is true if the first dependency is true or the second dependency is false\&. \(lqA REL_COND B\(rq is equivalent to \(lqA REL_OR (NOT B)\(rq (except that libsolv does not expose \(lqNOT\(rq)\&.
|
| 1313 |
+
.RE
|
| 1314 |
+
.PP
|
| 1315 |
+
\fBREL_UNLESS\fR
|
| 1316 |
+
.RS 4
|
| 1317 |
+
The expression is true if the first dependency is true and the second dependency is false\&. \(lqA REL_UNLESS B\(rq is equivalent to \(lqA REL_AND (NOT B)\(rq (except that libsolv does not expose \(lqNOT\(rq)\&.
|
| 1318 |
+
.RE
|
| 1319 |
+
.PP
|
| 1320 |
+
\fBREL_ELSE\fR
|
| 1321 |
+
.RS 4
|
| 1322 |
+
The \(lqelse\(rq part of a \(lqREL_COND\(rq or \(lqREL_UNLESS\(rq dependency\&. It has to be directly in the evr part of the condition, e\&.g\&. \(lqfoo REL_COND (bar REL_ELSE baz)\(rq\&. For \(lqREL_COND\(rq this is equivalent to writing \(lq(foo REL_COND bar) REL_AND (bar REL_OR baz)\(rq\&. For \(lqREL_UNLESS\(rq this is equivalent to writing \(lq(foo REL_UNLESS bar) REL_OR (bar REL_AND baz)\(rq\&.
|
| 1323 |
+
.RE
|
| 1324 |
+
.sp
|
| 1325 |
+
Each sub\-dependency of a boolean dependency can in turn be a boolean dependency, so you can chain them to create complex dependencies\&.
|
| 1326 |
+
.SH "NAMESPACE DEPENDENCIES"
|
| 1327 |
+
.sp
|
| 1328 |
+
Namespace dependencies can be used to implement dependencies on attributes external to libsolv\&. An example would be a dependency on the language set by the user\&. This types of dependencies are usually only used for \(lqConflicts\(rq or \(lqSupplements\(rq dependencies, as the underlying package manager does not know how to deal with them\&.
|
| 1329 |
+
.sp
|
| 1330 |
+
If the library needs to evaluate a namespace dependency, it calls the namespace callback function set in the pool\&. The callback function can return a set of packages that \(lqprovide\(rq the dependency\&. If the dependency is provided by the system, the returned set should consist of just the system solvable (Solvable Id 1)\&.
|
| 1331 |
+
.sp
|
| 1332 |
+
The returned set of packages must be returned as offset into the whatprovidesdata array\&. You can use the pool_queuetowhatprovides function to convert a queue into such an offset\&. To ease programming the callback function, the return values \(lq0\(rq and \(lq1\(rq are not interpreted as an offset\&. \(lq0\(rq means that no package is in the return set, \(lq1\(rq means that just the system solvable is in the set\&.
|
| 1333 |
+
.sp
|
| 1334 |
+
The returned set is cached, so that for each namespace dependency the callback is just called once\&. If you need to flush the cache (maybe because the user has selected a different language), use the pool_flush_namespaceproviders() function\&.
|
| 1335 |
+
.SH "AUTHOR"
|
| 1336 |
+
.sp
|
| 1337 |
+
Michael Schroeder <mls@suse\&.de>
|
miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv.3
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'\" t
|
| 2 |
+
.\" Title: Libsolv
|
| 3 |
+
.\" Author: [see the "Author" section]
|
| 4 |
+
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
| 5 |
+
.\" Date: 03/02/2022
|
| 6 |
+
.\" Manual: LIBSOLV
|
| 7 |
+
.\" Source: libsolv
|
| 8 |
+
.\" Language: English
|
| 9 |
+
.\"
|
| 10 |
+
.TH "LIBSOLV" "3" "03/02/2022" "libsolv" "LIBSOLV"
|
| 11 |
+
.\" -----------------------------------------------------------------
|
| 12 |
+
.\" * Define some portability stuff
|
| 13 |
+
.\" -----------------------------------------------------------------
|
| 14 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 15 |
+
.\" http://bugs.debian.org/507673
|
| 16 |
+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
| 17 |
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 18 |
+
.ie \n(.g .ds Aq \(aq
|
| 19 |
+
.el .ds Aq '
|
| 20 |
+
.\" -----------------------------------------------------------------
|
| 21 |
+
.\" * set default formatting
|
| 22 |
+
.\" -----------------------------------------------------------------
|
| 23 |
+
.\" disable hyphenation
|
| 24 |
+
.nh
|
| 25 |
+
.\" disable justification (adjust text to left margin only)
|
| 26 |
+
.ad l
|
| 27 |
+
.\" -----------------------------------------------------------------
|
| 28 |
+
.\" * MAIN CONTENT STARTS HERE *
|
| 29 |
+
.\" -----------------------------------------------------------------
|
| 30 |
+
.SH "NAME"
|
| 31 |
+
libsolv \- package dependency solver library using a satisfiability algorithm
|
| 32 |
+
.SH "DOCUMENTATION"
|
| 33 |
+
.sp
|
| 34 |
+
The libsolv documentation is split into multiple parts:
|
| 35 |
+
.PP
|
| 36 |
+
\fBlibsolv\-history\fR
|
| 37 |
+
.RS 4
|
| 38 |
+
how the libsolv library came into existence
|
| 39 |
+
.RE
|
| 40 |
+
.PP
|
| 41 |
+
\fBlibsolv\-constantids\fR
|
| 42 |
+
.RS 4
|
| 43 |
+
fixed Ids for often used strings
|
| 44 |
+
.RE
|
| 45 |
+
.PP
|
| 46 |
+
\fBlibsolv\-bindings\fR
|
| 47 |
+
.RS 4
|
| 48 |
+
access libsolv from perl/python/ruby
|
| 49 |
+
.RE
|
| 50 |
+
.PP
|
| 51 |
+
\fBlibsolv\-pool\fR
|
| 52 |
+
.RS 4
|
| 53 |
+
libsolv\(cqs pool object
|
| 54 |
+
.RE
|
| 55 |
+
.SH "POINTER VALIDITY"
|
| 56 |
+
.sp
|
| 57 |
+
Note that all pointers to objects that have an Id have only a limited validity period, with the exception of Repo pointers\&. They are only guaranteed to be valid until a new object of that type is added or an object of that type is removed\&. Thus pointers to Solvable objects are only valid until another solvable is created, because adding a Solvable may relocate the Pool\(cqs Solvable array\&. This is also true for Pool strings, you should use solv_strdup() to create a copy of the string if you want to use it at some later time\&. You should use the Ids in the code and not the pointers, except for short times where you know that the pointer is safe\&.
|
| 58 |
+
.sp
|
| 59 |
+
Note also that the data lookup functions or the dataiterator also return values with limited lifetime, this is especially true for data stored in the paged data segment of solv files\&. This is normally data that consists of big strings like package descriptions or is not often needed like package checksums\&. Thus looking up a description of a solvable and then looking up the description of a different solvable or even the checksum of the same solvable may invalidate the first result\&. (The dataiterator supports a dataiterator_strdup() function to create a safe copy\&.)
|
| 60 |
+
.sp
|
| 61 |
+
The language bindings already deal with pointer validity, so you do not have to worry about this issue when using the bindings\&.
|
| 62 |
+
.SH "AUTHOR"
|
| 63 |
+
.sp
|
| 64 |
+
Michael Schroeder <mls@suse\&.de>
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2.h
ADDED
|
@@ -0,0 +1,1516 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Copyright (C) Sara Golemon <sarag@libssh2.org>
|
| 2 |
+
* Copyright (C) Daniel Stenberg
|
| 3 |
+
* Copyright (C) Simon Josefsson <simon@josefsson.org>
|
| 4 |
+
* All rights reserved.
|
| 5 |
+
*
|
| 6 |
+
* Redistribution and use in source and binary forms,
|
| 7 |
+
* with or without modification, are permitted provided
|
| 8 |
+
* that the following conditions are met:
|
| 9 |
+
*
|
| 10 |
+
* Redistributions of source code must retain the above
|
| 11 |
+
* copyright notice, this list of conditions and the
|
| 12 |
+
* following disclaimer.
|
| 13 |
+
*
|
| 14 |
+
* Redistributions in binary form must reproduce the above
|
| 15 |
+
* copyright notice, this list of conditions and the following
|
| 16 |
+
* disclaimer in the documentation and/or other materials
|
| 17 |
+
* provided with the distribution.
|
| 18 |
+
*
|
| 19 |
+
* Neither the name of the copyright holder nor the names
|
| 20 |
+
* of any other contributors may be used to endorse or
|
| 21 |
+
* promote products derived from this software without
|
| 22 |
+
* specific prior written permission.
|
| 23 |
+
*
|
| 24 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
| 25 |
+
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
| 26 |
+
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
| 27 |
+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 28 |
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 29 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 30 |
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
| 31 |
+
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 32 |
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 33 |
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 34 |
+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 35 |
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
| 36 |
+
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
| 37 |
+
* OF SUCH DAMAGE.
|
| 38 |
+
*
|
| 39 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
| 40 |
+
*/
|
| 41 |
+
|
| 42 |
+
#ifndef LIBSSH2_H
|
| 43 |
+
#define LIBSSH2_H 1
|
| 44 |
+
|
| 45 |
+
#define LIBSSH2_COPYRIGHT "The libssh2 project and its contributors."
|
| 46 |
+
|
| 47 |
+
/* We use underscore instead of dash when appending DEV in dev versions just
|
| 48 |
+
to make the BANNER define (used by src/session.c) be a valid SSH
|
| 49 |
+
banner. Release versions have no appended strings and may of course not
|
| 50 |
+
have dashes either. */
|
| 51 |
+
#define LIBSSH2_VERSION "1.11.1"
|
| 52 |
+
|
| 53 |
+
/* The numeric version number is also available "in parts" by using these
|
| 54 |
+
defines: */
|
| 55 |
+
#define LIBSSH2_VERSION_MAJOR 1
|
| 56 |
+
#define LIBSSH2_VERSION_MINOR 11
|
| 57 |
+
#define LIBSSH2_VERSION_PATCH 1
|
| 58 |
+
|
| 59 |
+
/* This is the numeric version of the libssh2 version number, meant for easier
|
| 60 |
+
parsing and comparisons by programs. The LIBSSH2_VERSION_NUM define will
|
| 61 |
+
always follow this syntax:
|
| 62 |
+
|
| 63 |
+
0xXXYYZZ
|
| 64 |
+
|
| 65 |
+
Where XX, YY and ZZ are the main version, release and patch numbers in
|
| 66 |
+
hexadecimal (using 8 bits each). All three numbers are always represented
|
| 67 |
+
using two digits. 1.2 would appear as "0x010200" while version 9.11.7
|
| 68 |
+
appears as "0x090b07".
|
| 69 |
+
|
| 70 |
+
This 6-digit (24 bits) hexadecimal number does not show pre-release number,
|
| 71 |
+
and it is always a greater number in a more recent release. It makes
|
| 72 |
+
comparisons with greater than and less than work.
|
| 73 |
+
*/
|
| 74 |
+
#define LIBSSH2_VERSION_NUM 0x010b01
|
| 75 |
+
|
| 76 |
+
/*
|
| 77 |
+
* This is the date and time when the full source package was created. The
|
| 78 |
+
* timestamp is not stored in the source code repo, as the timestamp is
|
| 79 |
+
* properly set in the tarballs by the maketgz script.
|
| 80 |
+
*
|
| 81 |
+
* The format of the date should follow this template:
|
| 82 |
+
*
|
| 83 |
+
* "Mon Feb 12 11:35:33 UTC 2007"
|
| 84 |
+
*/
|
| 85 |
+
#define LIBSSH2_TIMESTAMP "Wed Oct 16 08:03:21 UTC 2024"
|
| 86 |
+
|
| 87 |
+
#ifndef RC_INVOKED
|
| 88 |
+
|
| 89 |
+
#ifdef __cplusplus
|
| 90 |
+
extern "C" {
|
| 91 |
+
#endif
|
| 92 |
+
|
| 93 |
+
#ifdef _WIN32
|
| 94 |
+
# include <basetsd.h>
|
| 95 |
+
# include <winsock2.h>
|
| 96 |
+
#endif
|
| 97 |
+
|
| 98 |
+
#include <stddef.h>
|
| 99 |
+
#include <string.h>
|
| 100 |
+
#include <sys/stat.h>
|
| 101 |
+
#include <sys/types.h>
|
| 102 |
+
|
| 103 |
+
/* Allow alternate API prefix from CFLAGS or calling app */
|
| 104 |
+
#ifndef LIBSSH2_API
|
| 105 |
+
# ifdef _WIN32
|
| 106 |
+
# if defined(LIBSSH2_EXPORTS) || defined(_WINDLL)
|
| 107 |
+
# ifdef LIBSSH2_LIBRARY
|
| 108 |
+
# define LIBSSH2_API __declspec(dllexport)
|
| 109 |
+
# else
|
| 110 |
+
# define LIBSSH2_API __declspec(dllimport)
|
| 111 |
+
# endif /* LIBSSH2_LIBRARY */
|
| 112 |
+
# else
|
| 113 |
+
# define LIBSSH2_API
|
| 114 |
+
# endif
|
| 115 |
+
# else /* !_WIN32 */
|
| 116 |
+
# define LIBSSH2_API
|
| 117 |
+
# endif /* _WIN32 */
|
| 118 |
+
#endif /* LIBSSH2_API */
|
| 119 |
+
|
| 120 |
+
#ifdef HAVE_SYS_UIO_H
|
| 121 |
+
# include <sys/uio.h>
|
| 122 |
+
#endif
|
| 123 |
+
|
| 124 |
+
#ifdef _MSC_VER
|
| 125 |
+
typedef unsigned char uint8_t;
|
| 126 |
+
typedef unsigned short int uint16_t;
|
| 127 |
+
typedef unsigned int uint32_t;
|
| 128 |
+
typedef __int32 int32_t;
|
| 129 |
+
typedef __int64 int64_t;
|
| 130 |
+
typedef unsigned __int64 uint64_t;
|
| 131 |
+
typedef unsigned __int64 libssh2_uint64_t;
|
| 132 |
+
typedef __int64 libssh2_int64_t;
|
| 133 |
+
#if (!defined(HAVE_SSIZE_T) && !defined(ssize_t))
|
| 134 |
+
typedef SSIZE_T ssize_t;
|
| 135 |
+
#define HAVE_SSIZE_T
|
| 136 |
+
#endif
|
| 137 |
+
#else
|
| 138 |
+
#include <stdint.h>
|
| 139 |
+
typedef unsigned long long libssh2_uint64_t;
|
| 140 |
+
typedef long long libssh2_int64_t;
|
| 141 |
+
#endif
|
| 142 |
+
|
| 143 |
+
#ifdef _WIN32
|
| 144 |
+
typedef SOCKET libssh2_socket_t;
|
| 145 |
+
#define LIBSSH2_INVALID_SOCKET INVALID_SOCKET
|
| 146 |
+
#define LIBSSH2_SOCKET_CLOSE(s) closesocket(s)
|
| 147 |
+
#else /* !_WIN32 */
|
| 148 |
+
typedef int libssh2_socket_t;
|
| 149 |
+
#define LIBSSH2_INVALID_SOCKET -1
|
| 150 |
+
#define LIBSSH2_SOCKET_CLOSE(s) close(s)
|
| 151 |
+
#endif /* _WIN32 */
|
| 152 |
+
|
| 153 |
+
/* Compile-time deprecation macros */
|
| 154 |
+
#if !defined(LIBSSH2_DISABLE_DEPRECATION) && !defined(LIBSSH2_LIBRARY)
|
| 155 |
+
# if defined(_MSC_VER)
|
| 156 |
+
# if _MSC_VER >= 1400
|
| 157 |
+
# define LIBSSH2_DEPRECATED(version, message) \
|
| 158 |
+
__declspec(deprecated("since libssh2 " # version ". " message))
|
| 159 |
+
# elif _MSC_VER >= 1310
|
| 160 |
+
# define LIBSSH2_DEPRECATED(version, message) \
|
| 161 |
+
__declspec(deprecated)
|
| 162 |
+
# endif
|
| 163 |
+
# elif defined(__GNUC__) && !defined(__INTEL_COMPILER)
|
| 164 |
+
# if (defined(__clang__) && __clang_major__ >= 3) || \
|
| 165 |
+
(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
|
| 166 |
+
# define LIBSSH2_DEPRECATED(version, message) \
|
| 167 |
+
__attribute__((deprecated("since libssh2 " # version ". " message)))
|
| 168 |
+
# elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
|
| 169 |
+
# define LIBSSH2_DEPRECATED(version, message) \
|
| 170 |
+
__attribute__((deprecated))
|
| 171 |
+
# endif
|
| 172 |
+
# elif defined(__SUNPRO_C) && __SUNPRO_C >= 0x5130
|
| 173 |
+
# define LIBSSH2_DEPRECATED(version, message) \
|
| 174 |
+
__attribute__((deprecated))
|
| 175 |
+
# endif
|
| 176 |
+
#endif
|
| 177 |
+
|
| 178 |
+
#ifndef LIBSSH2_DEPRECATED
|
| 179 |
+
#define LIBSSH2_DEPRECATED(version, message)
|
| 180 |
+
#endif
|
| 181 |
+
|
| 182 |
+
/*
|
| 183 |
+
* Determine whether there is small or large file support on windows.
|
| 184 |
+
*/
|
| 185 |
+
|
| 186 |
+
#if defined(_MSC_VER) && !defined(_WIN32_WCE)
|
| 187 |
+
# if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
|
| 188 |
+
# define LIBSSH2_USE_WIN32_LARGE_FILES
|
| 189 |
+
# else
|
| 190 |
+
# define LIBSSH2_USE_WIN32_SMALL_FILES
|
| 191 |
+
# endif
|
| 192 |
+
#endif
|
| 193 |
+
|
| 194 |
+
#if defined(__MINGW32__) && !defined(LIBSSH2_USE_WIN32_LARGE_FILES)
|
| 195 |
+
# define LIBSSH2_USE_WIN32_LARGE_FILES
|
| 196 |
+
#endif
|
| 197 |
+
|
| 198 |
+
#if defined(__WATCOMC__) && !defined(LIBSSH2_USE_WIN32_LARGE_FILES)
|
| 199 |
+
# define LIBSSH2_USE_WIN32_LARGE_FILES
|
| 200 |
+
#endif
|
| 201 |
+
|
| 202 |
+
#if defined(__POCC__)
|
| 203 |
+
# undef LIBSSH2_USE_WIN32_LARGE_FILES
|
| 204 |
+
#endif
|
| 205 |
+
|
| 206 |
+
#if defined(_WIN32) && !defined(LIBSSH2_USE_WIN32_LARGE_FILES) && \
|
| 207 |
+
!defined(LIBSSH2_USE_WIN32_SMALL_FILES)
|
| 208 |
+
# define LIBSSH2_USE_WIN32_SMALL_FILES
|
| 209 |
+
#endif
|
| 210 |
+
|
| 211 |
+
/*
|
| 212 |
+
* Large file (>2Gb) support using WIN32 functions.
|
| 213 |
+
*/
|
| 214 |
+
|
| 215 |
+
#ifdef LIBSSH2_USE_WIN32_LARGE_FILES
|
| 216 |
+
# include <io.h>
|
| 217 |
+
# define LIBSSH2_STRUCT_STAT_SIZE_FORMAT "%I64d"
|
| 218 |
+
typedef struct _stati64 libssh2_struct_stat;
|
| 219 |
+
typedef __int64 libssh2_struct_stat_size;
|
| 220 |
+
#endif
|
| 221 |
+
|
| 222 |
+
/*
|
| 223 |
+
* Small file (<2Gb) support using WIN32 functions.
|
| 224 |
+
*/
|
| 225 |
+
|
| 226 |
+
#ifdef LIBSSH2_USE_WIN32_SMALL_FILES
|
| 227 |
+
# ifndef _WIN32_WCE
|
| 228 |
+
# define LIBSSH2_STRUCT_STAT_SIZE_FORMAT "%d"
|
| 229 |
+
typedef struct _stat libssh2_struct_stat;
|
| 230 |
+
typedef off_t libssh2_struct_stat_size;
|
| 231 |
+
# endif
|
| 232 |
+
#endif
|
| 233 |
+
|
| 234 |
+
#ifndef LIBSSH2_STRUCT_STAT_SIZE_FORMAT
|
| 235 |
+
# ifdef __VMS
|
| 236 |
+
/* We have to roll our own format here because %z is a C99-ism we don't
|
| 237 |
+
have. */
|
| 238 |
+
# if __USE_OFF64_T || __USING_STD_STAT
|
| 239 |
+
# define LIBSSH2_STRUCT_STAT_SIZE_FORMAT "%Ld"
|
| 240 |
+
# else
|
| 241 |
+
# define LIBSSH2_STRUCT_STAT_SIZE_FORMAT "%d"
|
| 242 |
+
# endif
|
| 243 |
+
# else
|
| 244 |
+
# define LIBSSH2_STRUCT_STAT_SIZE_FORMAT "%zd"
|
| 245 |
+
# endif
|
| 246 |
+
typedef struct stat libssh2_struct_stat;
|
| 247 |
+
typedef off_t libssh2_struct_stat_size;
|
| 248 |
+
#endif
|
| 249 |
+
|
| 250 |
+
/* Part of every banner, user specified or not */
|
| 251 |
+
#define LIBSSH2_SSH_BANNER "SSH-2.0-libssh2_" LIBSSH2_VERSION
|
| 252 |
+
|
| 253 |
+
#define LIBSSH2_SSH_DEFAULT_BANNER LIBSSH2_SSH_BANNER
|
| 254 |
+
#define LIBSSH2_SSH_DEFAULT_BANNER_WITH_CRLF LIBSSH2_SSH_DEFAULT_BANNER "\r\n"
|
| 255 |
+
|
| 256 |
+
/* Defaults for pty requests */
|
| 257 |
+
#define LIBSSH2_TERM_WIDTH 80
|
| 258 |
+
#define LIBSSH2_TERM_HEIGHT 24
|
| 259 |
+
#define LIBSSH2_TERM_WIDTH_PX 0
|
| 260 |
+
#define LIBSSH2_TERM_HEIGHT_PX 0
|
| 261 |
+
|
| 262 |
+
/* 1/4 second */
|
| 263 |
+
#define LIBSSH2_SOCKET_POLL_UDELAY 250000
|
| 264 |
+
/* 0.25 * 120 == 30 seconds */
|
| 265 |
+
#define LIBSSH2_SOCKET_POLL_MAXLOOPS 120
|
| 266 |
+
|
| 267 |
+
/* Maximum size to allow a payload to compress to, plays it safe by falling
|
| 268 |
+
short of spec limits */
|
| 269 |
+
#define LIBSSH2_PACKET_MAXCOMP 32000
|
| 270 |
+
|
| 271 |
+
/* Maximum size to allow a payload to deccompress to, plays it safe by
|
| 272 |
+
allowing more than spec requires */
|
| 273 |
+
#define LIBSSH2_PACKET_MAXDECOMP 40000
|
| 274 |
+
|
| 275 |
+
/* Maximum size for an inbound compressed payload, plays it safe by
|
| 276 |
+
overshooting spec limits */
|
| 277 |
+
#define LIBSSH2_PACKET_MAXPAYLOAD 40000
|
| 278 |
+
|
| 279 |
+
/* Malloc callbacks */
|
| 280 |
+
#define LIBSSH2_ALLOC_FUNC(name) void *name(size_t count, void **abstract)
|
| 281 |
+
#define LIBSSH2_REALLOC_FUNC(name) void *name(void *ptr, size_t count, \
|
| 282 |
+
void **abstract)
|
| 283 |
+
#define LIBSSH2_FREE_FUNC(name) void name(void *ptr, void **abstract)
|
| 284 |
+
|
| 285 |
+
typedef struct _LIBSSH2_USERAUTH_KBDINT_PROMPT
|
| 286 |
+
{
|
| 287 |
+
unsigned char *text;
|
| 288 |
+
size_t length;
|
| 289 |
+
unsigned char echo;
|
| 290 |
+
} LIBSSH2_USERAUTH_KBDINT_PROMPT;
|
| 291 |
+
|
| 292 |
+
typedef struct _LIBSSH2_USERAUTH_KBDINT_RESPONSE
|
| 293 |
+
{
|
| 294 |
+
char *text;
|
| 295 |
+
unsigned int length; /* FIXME: change type to size_t */
|
| 296 |
+
} LIBSSH2_USERAUTH_KBDINT_RESPONSE;
|
| 297 |
+
|
| 298 |
+
typedef struct _LIBSSH2_SK_SIG_INFO {
|
| 299 |
+
uint8_t flags;
|
| 300 |
+
uint32_t counter;
|
| 301 |
+
unsigned char *sig_r;
|
| 302 |
+
size_t sig_r_len;
|
| 303 |
+
unsigned char *sig_s;
|
| 304 |
+
size_t sig_s_len;
|
| 305 |
+
} LIBSSH2_SK_SIG_INFO;
|
| 306 |
+
|
| 307 |
+
/* 'publickey' authentication callback */
|
| 308 |
+
#define LIBSSH2_USERAUTH_PUBLICKEY_SIGN_FUNC(name) \
|
| 309 |
+
int name(LIBSSH2_SESSION *session, unsigned char **sig, size_t *sig_len, \
|
| 310 |
+
const unsigned char *data, size_t data_len, void **abstract)
|
| 311 |
+
|
| 312 |
+
/* 'keyboard-interactive' authentication callback */
|
| 313 |
+
/* FIXME: name_len, instruction_len -> size_t, num_prompts -> unsigned int? */
|
| 314 |
+
#define LIBSSH2_USERAUTH_KBDINT_RESPONSE_FUNC(name_) \
|
| 315 |
+
void name_(const char *name, int name_len, const char *instruction, \
|
| 316 |
+
int instruction_len, int num_prompts, \
|
| 317 |
+
const LIBSSH2_USERAUTH_KBDINT_PROMPT *prompts, \
|
| 318 |
+
LIBSSH2_USERAUTH_KBDINT_RESPONSE *responses, void **abstract)
|
| 319 |
+
|
| 320 |
+
/* SK authentication callback */
|
| 321 |
+
#define LIBSSH2_USERAUTH_SK_SIGN_FUNC(name) \
|
| 322 |
+
int name(LIBSSH2_SESSION *session, LIBSSH2_SK_SIG_INFO *sig_info, \
|
| 323 |
+
const unsigned char *data, size_t data_len, \
|
| 324 |
+
int algorithm, uint8_t flags, \
|
| 325 |
+
const char *application, const unsigned char *key_handle, \
|
| 326 |
+
size_t handle_len, \
|
| 327 |
+
void **abstract)
|
| 328 |
+
|
| 329 |
+
/* Flags for SK authentication */
|
| 330 |
+
#define LIBSSH2_SK_PRESENCE_REQUIRED 0x01
|
| 331 |
+
#define LIBSSH2_SK_VERIFICATION_REQUIRED 0x04
|
| 332 |
+
|
| 333 |
+
/* FIXME: update lengths to size_t (or ssize_t): */
|
| 334 |
+
|
| 335 |
+
/* Callbacks for special SSH packets */
|
| 336 |
+
#define LIBSSH2_IGNORE_FUNC(name) \
|
| 337 |
+
void name(LIBSSH2_SESSION *session, const char *message, int message_len, \
|
| 338 |
+
void **abstract)
|
| 339 |
+
|
| 340 |
+
#define LIBSSH2_DEBUG_FUNC(name) \
|
| 341 |
+
void name(LIBSSH2_SESSION *session, int always_display, \
|
| 342 |
+
const char *message, int message_len, \
|
| 343 |
+
const char *language, int language_len, \
|
| 344 |
+
void **abstract)
|
| 345 |
+
|
| 346 |
+
#define LIBSSH2_DISCONNECT_FUNC(name) \
|
| 347 |
+
void name(LIBSSH2_SESSION *session, int reason, \
|
| 348 |
+
const char *message, int message_len, \
|
| 349 |
+
const char *language, int language_len, \
|
| 350 |
+
void **abstract)
|
| 351 |
+
|
| 352 |
+
#define LIBSSH2_PASSWD_CHANGEREQ_FUNC(name) \
|
| 353 |
+
void name(LIBSSH2_SESSION *session, char **newpw, int *newpw_len, \
|
| 354 |
+
void **abstract)
|
| 355 |
+
|
| 356 |
+
#define LIBSSH2_MACERROR_FUNC(name) \
|
| 357 |
+
int name(LIBSSH2_SESSION *session, const char *packet, int packet_len, \
|
| 358 |
+
void **abstract)
|
| 359 |
+
|
| 360 |
+
#define LIBSSH2_X11_OPEN_FUNC(name) \
|
| 361 |
+
void name(LIBSSH2_SESSION *session, LIBSSH2_CHANNEL *channel, \
|
| 362 |
+
const char *shost, int sport, void **abstract)
|
| 363 |
+
|
| 364 |
+
#define LIBSSH2_AUTHAGENT_FUNC(name) \
|
| 365 |
+
void name(LIBSSH2_SESSION *session, LIBSSH2_CHANNEL *channel, \
|
| 366 |
+
void **abstract)
|
| 367 |
+
|
| 368 |
+
#define LIBSSH2_ADD_IDENTITIES_FUNC(name) \
|
| 369 |
+
void name(LIBSSH2_SESSION *session, void *buffer, \
|
| 370 |
+
const char *agent_path, void **abstract)
|
| 371 |
+
|
| 372 |
+
#define LIBSSH2_AUTHAGENT_SIGN_FUNC(name) \
|
| 373 |
+
int name(LIBSSH2_SESSION* session, \
|
| 374 |
+
unsigned char *blob, unsigned int blen, \
|
| 375 |
+
const unsigned char *data, unsigned int dlen, \
|
| 376 |
+
unsigned char **signature, unsigned int *sigLen, \
|
| 377 |
+
const char *agentPath, \
|
| 378 |
+
void **abstract)
|
| 379 |
+
|
| 380 |
+
#define LIBSSH2_CHANNEL_CLOSE_FUNC(name) \
|
| 381 |
+
void name(LIBSSH2_SESSION *session, void **session_abstract, \
|
| 382 |
+
LIBSSH2_CHANNEL *channel, void **channel_abstract)
|
| 383 |
+
|
| 384 |
+
/* I/O callbacks */
|
| 385 |
+
#define LIBSSH2_RECV_FUNC(name) \
|
| 386 |
+
ssize_t name(libssh2_socket_t socket, \
|
| 387 |
+
void *buffer, size_t length, \
|
| 388 |
+
int flags, void **abstract)
|
| 389 |
+
#define LIBSSH2_SEND_FUNC(name) \
|
| 390 |
+
ssize_t name(libssh2_socket_t socket, \
|
| 391 |
+
const void *buffer, size_t length, \
|
| 392 |
+
int flags, void **abstract)
|
| 393 |
+
|
| 394 |
+
/* libssh2_session_callback_set() constants */
|
| 395 |
+
#define LIBSSH2_CALLBACK_IGNORE 0
|
| 396 |
+
#define LIBSSH2_CALLBACK_DEBUG 1
|
| 397 |
+
#define LIBSSH2_CALLBACK_DISCONNECT 2
|
| 398 |
+
#define LIBSSH2_CALLBACK_MACERROR 3
|
| 399 |
+
#define LIBSSH2_CALLBACK_X11 4
|
| 400 |
+
#define LIBSSH2_CALLBACK_SEND 5
|
| 401 |
+
#define LIBSSH2_CALLBACK_RECV 6
|
| 402 |
+
#define LIBSSH2_CALLBACK_AUTHAGENT 7
|
| 403 |
+
#define LIBSSH2_CALLBACK_AUTHAGENT_IDENTITIES 8
|
| 404 |
+
#define LIBSSH2_CALLBACK_AUTHAGENT_SIGN 9
|
| 405 |
+
|
| 406 |
+
/* libssh2_session_method_pref() constants */
|
| 407 |
+
#define LIBSSH2_METHOD_KEX 0
|
| 408 |
+
#define LIBSSH2_METHOD_HOSTKEY 1
|
| 409 |
+
#define LIBSSH2_METHOD_CRYPT_CS 2
|
| 410 |
+
#define LIBSSH2_METHOD_CRYPT_SC 3
|
| 411 |
+
#define LIBSSH2_METHOD_MAC_CS 4
|
| 412 |
+
#define LIBSSH2_METHOD_MAC_SC 5
|
| 413 |
+
#define LIBSSH2_METHOD_COMP_CS 6
|
| 414 |
+
#define LIBSSH2_METHOD_COMP_SC 7
|
| 415 |
+
#define LIBSSH2_METHOD_LANG_CS 8
|
| 416 |
+
#define LIBSSH2_METHOD_LANG_SC 9
|
| 417 |
+
#define LIBSSH2_METHOD_SIGN_ALGO 10
|
| 418 |
+
|
| 419 |
+
/* flags */
|
| 420 |
+
#define LIBSSH2_FLAG_SIGPIPE 1
|
| 421 |
+
#define LIBSSH2_FLAG_COMPRESS 2
|
| 422 |
+
#define LIBSSH2_FLAG_QUOTE_PATHS 3
|
| 423 |
+
|
| 424 |
+
typedef struct _LIBSSH2_SESSION LIBSSH2_SESSION;
|
| 425 |
+
typedef struct _LIBSSH2_CHANNEL LIBSSH2_CHANNEL;
|
| 426 |
+
typedef struct _LIBSSH2_LISTENER LIBSSH2_LISTENER;
|
| 427 |
+
typedef struct _LIBSSH2_KNOWNHOSTS LIBSSH2_KNOWNHOSTS;
|
| 428 |
+
typedef struct _LIBSSH2_AGENT LIBSSH2_AGENT;
|
| 429 |
+
|
| 430 |
+
/* SK signature callback */
|
| 431 |
+
typedef struct _LIBSSH2_PRIVKEY_SK {
|
| 432 |
+
int algorithm;
|
| 433 |
+
uint8_t flags;
|
| 434 |
+
const char *application;
|
| 435 |
+
const unsigned char *key_handle;
|
| 436 |
+
size_t handle_len;
|
| 437 |
+
LIBSSH2_USERAUTH_SK_SIGN_FUNC((*sign_callback));
|
| 438 |
+
void **orig_abstract;
|
| 439 |
+
} LIBSSH2_PRIVKEY_SK;
|
| 440 |
+
|
| 441 |
+
int
|
| 442 |
+
libssh2_sign_sk(LIBSSH2_SESSION *session,
|
| 443 |
+
unsigned char **sig,
|
| 444 |
+
size_t *sig_len,
|
| 445 |
+
const unsigned char *data,
|
| 446 |
+
size_t data_len,
|
| 447 |
+
void **abstract);
|
| 448 |
+
|
| 449 |
+
typedef struct _LIBSSH2_POLLFD {
|
| 450 |
+
unsigned char type; /* LIBSSH2_POLLFD_* below */
|
| 451 |
+
|
| 452 |
+
union {
|
| 453 |
+
libssh2_socket_t socket; /* File descriptors -- examined with
|
| 454 |
+
system select() call */
|
| 455 |
+
LIBSSH2_CHANNEL *channel; /* Examined by checking internal state */
|
| 456 |
+
LIBSSH2_LISTENER *listener; /* Read polls only -- are inbound
|
| 457 |
+
connections waiting to be accepted? */
|
| 458 |
+
} fd;
|
| 459 |
+
|
| 460 |
+
unsigned long events; /* Requested Events */
|
| 461 |
+
unsigned long revents; /* Returned Events */
|
| 462 |
+
} LIBSSH2_POLLFD;
|
| 463 |
+
|
| 464 |
+
/* Poll FD Descriptor Types */
|
| 465 |
+
#define LIBSSH2_POLLFD_SOCKET 1
|
| 466 |
+
#define LIBSSH2_POLLFD_CHANNEL 2
|
| 467 |
+
#define LIBSSH2_POLLFD_LISTENER 3
|
| 468 |
+
|
| 469 |
+
/* Note: Win32 Doesn't actually have a poll() implementation, so some of these
|
| 470 |
+
values are faked with select() data */
|
| 471 |
+
/* Poll FD events/revents -- Match sys/poll.h where possible */
|
| 472 |
+
#define LIBSSH2_POLLFD_POLLIN 0x0001 /* Data available to be read or
|
| 473 |
+
connection available --
|
| 474 |
+
All */
|
| 475 |
+
#define LIBSSH2_POLLFD_POLLPRI 0x0002 /* Priority data available to
|
| 476 |
+
be read -- Socket only */
|
| 477 |
+
#define LIBSSH2_POLLFD_POLLEXT 0x0002 /* Extended data available to
|
| 478 |
+
be read -- Channel only */
|
| 479 |
+
#define LIBSSH2_POLLFD_POLLOUT 0x0004 /* Can may be written --
|
| 480 |
+
Socket/Channel */
|
| 481 |
+
/* revents only */
|
| 482 |
+
#define LIBSSH2_POLLFD_POLLERR 0x0008 /* Error Condition -- Socket */
|
| 483 |
+
#define LIBSSH2_POLLFD_POLLHUP 0x0010 /* HangUp/EOF -- Socket */
|
| 484 |
+
#define LIBSSH2_POLLFD_SESSION_CLOSED 0x0010 /* Session Disconnect */
|
| 485 |
+
#define LIBSSH2_POLLFD_POLLNVAL 0x0020 /* Invalid request -- Socket
|
| 486 |
+
Only */
|
| 487 |
+
#define LIBSSH2_POLLFD_POLLEX 0x0040 /* Exception Condition --
|
| 488 |
+
Socket/Win32 */
|
| 489 |
+
#define LIBSSH2_POLLFD_CHANNEL_CLOSED 0x0080 /* Channel Disconnect */
|
| 490 |
+
#define LIBSSH2_POLLFD_LISTENER_CLOSED 0x0080 /* Listener Disconnect */
|
| 491 |
+
|
| 492 |
+
#define HAVE_LIBSSH2_SESSION_BLOCK_DIRECTION
|
| 493 |
+
/* Block Direction Types */
|
| 494 |
+
#define LIBSSH2_SESSION_BLOCK_INBOUND 0x0001
|
| 495 |
+
#define LIBSSH2_SESSION_BLOCK_OUTBOUND 0x0002
|
| 496 |
+
|
| 497 |
+
/* Hash Types */
|
| 498 |
+
#define LIBSSH2_HOSTKEY_HASH_MD5 1
|
| 499 |
+
#define LIBSSH2_HOSTKEY_HASH_SHA1 2
|
| 500 |
+
#define LIBSSH2_HOSTKEY_HASH_SHA256 3
|
| 501 |
+
|
| 502 |
+
/* Hostkey Types */
|
| 503 |
+
#define LIBSSH2_HOSTKEY_TYPE_UNKNOWN 0
|
| 504 |
+
#define LIBSSH2_HOSTKEY_TYPE_RSA 1
|
| 505 |
+
#define LIBSSH2_HOSTKEY_TYPE_DSS 2 /* deprecated */
|
| 506 |
+
#define LIBSSH2_HOSTKEY_TYPE_ECDSA_256 3
|
| 507 |
+
#define LIBSSH2_HOSTKEY_TYPE_ECDSA_384 4
|
| 508 |
+
#define LIBSSH2_HOSTKEY_TYPE_ECDSA_521 5
|
| 509 |
+
#define LIBSSH2_HOSTKEY_TYPE_ED25519 6
|
| 510 |
+
|
| 511 |
+
/* Disconnect Codes (defined by SSH protocol) */
|
| 512 |
+
#define SSH_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT 1
|
| 513 |
+
#define SSH_DISCONNECT_PROTOCOL_ERROR 2
|
| 514 |
+
#define SSH_DISCONNECT_KEY_EXCHANGE_FAILED 3
|
| 515 |
+
#define SSH_DISCONNECT_RESERVED 4
|
| 516 |
+
#define SSH_DISCONNECT_MAC_ERROR 5
|
| 517 |
+
#define SSH_DISCONNECT_COMPRESSION_ERROR 6
|
| 518 |
+
#define SSH_DISCONNECT_SERVICE_NOT_AVAILABLE 7
|
| 519 |
+
#define SSH_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED 8
|
| 520 |
+
#define SSH_DISCONNECT_HOST_KEY_NOT_VERIFIABLE 9
|
| 521 |
+
#define SSH_DISCONNECT_CONNECTION_LOST 10
|
| 522 |
+
#define SSH_DISCONNECT_BY_APPLICATION 11
|
| 523 |
+
#define SSH_DISCONNECT_TOO_MANY_CONNECTIONS 12
|
| 524 |
+
#define SSH_DISCONNECT_AUTH_CANCELLED_BY_USER 13
|
| 525 |
+
#define SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE 14
|
| 526 |
+
#define SSH_DISCONNECT_ILLEGAL_USER_NAME 15
|
| 527 |
+
|
| 528 |
+
/* Error Codes (defined by libssh2) */
|
| 529 |
+
#define LIBSSH2_ERROR_NONE 0
|
| 530 |
+
|
| 531 |
+
/* The library once used -1 as a generic error return value on numerous places
|
| 532 |
+
through the code, which subsequently was converted to
|
| 533 |
+
LIBSSH2_ERROR_SOCKET_NONE uses over time. As this is a generic error code,
|
| 534 |
+
the goal is to never ever return this code but instead make sure that a
|
| 535 |
+
more accurate and descriptive error code is used. */
|
| 536 |
+
#define LIBSSH2_ERROR_SOCKET_NONE -1
|
| 537 |
+
|
| 538 |
+
#define LIBSSH2_ERROR_BANNER_RECV -2
|
| 539 |
+
#define LIBSSH2_ERROR_BANNER_SEND -3
|
| 540 |
+
#define LIBSSH2_ERROR_INVALID_MAC -4
|
| 541 |
+
#define LIBSSH2_ERROR_KEX_FAILURE -5
|
| 542 |
+
#define LIBSSH2_ERROR_ALLOC -6
|
| 543 |
+
#define LIBSSH2_ERROR_SOCKET_SEND -7
|
| 544 |
+
#define LIBSSH2_ERROR_KEY_EXCHANGE_FAILURE -8
|
| 545 |
+
#define LIBSSH2_ERROR_TIMEOUT -9
|
| 546 |
+
#define LIBSSH2_ERROR_HOSTKEY_INIT -10
|
| 547 |
+
#define LIBSSH2_ERROR_HOSTKEY_SIGN -11
|
| 548 |
+
#define LIBSSH2_ERROR_DECRYPT -12
|
| 549 |
+
#define LIBSSH2_ERROR_SOCKET_DISCONNECT -13
|
| 550 |
+
#define LIBSSH2_ERROR_PROTO -14
|
| 551 |
+
#define LIBSSH2_ERROR_PASSWORD_EXPIRED -15
|
| 552 |
+
#define LIBSSH2_ERROR_FILE -16
|
| 553 |
+
#define LIBSSH2_ERROR_METHOD_NONE -17
|
| 554 |
+
#define LIBSSH2_ERROR_AUTHENTICATION_FAILED -18
|
| 555 |
+
#define LIBSSH2_ERROR_PUBLICKEY_UNRECOGNIZED \
|
| 556 |
+
LIBSSH2_ERROR_AUTHENTICATION_FAILED
|
| 557 |
+
#define LIBSSH2_ERROR_PUBLICKEY_UNVERIFIED -19
|
| 558 |
+
#define LIBSSH2_ERROR_CHANNEL_OUTOFORDER -20
|
| 559 |
+
#define LIBSSH2_ERROR_CHANNEL_FAILURE -21
|
| 560 |
+
#define LIBSSH2_ERROR_CHANNEL_REQUEST_DENIED -22
|
| 561 |
+
#define LIBSSH2_ERROR_CHANNEL_UNKNOWN -23
|
| 562 |
+
#define LIBSSH2_ERROR_CHANNEL_WINDOW_EXCEEDED -24
|
| 563 |
+
#define LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED -25
|
| 564 |
+
#define LIBSSH2_ERROR_CHANNEL_CLOSED -26
|
| 565 |
+
#define LIBSSH2_ERROR_CHANNEL_EOF_SENT -27
|
| 566 |
+
#define LIBSSH2_ERROR_SCP_PROTOCOL -28
|
| 567 |
+
#define LIBSSH2_ERROR_ZLIB -29
|
| 568 |
+
#define LIBSSH2_ERROR_SOCKET_TIMEOUT -30
|
| 569 |
+
#define LIBSSH2_ERROR_SFTP_PROTOCOL -31
|
| 570 |
+
#define LIBSSH2_ERROR_REQUEST_DENIED -32
|
| 571 |
+
#define LIBSSH2_ERROR_METHOD_NOT_SUPPORTED -33
|
| 572 |
+
#define LIBSSH2_ERROR_INVAL -34
|
| 573 |
+
#define LIBSSH2_ERROR_INVALID_POLL_TYPE -35
|
| 574 |
+
#define LIBSSH2_ERROR_PUBLICKEY_PROTOCOL -36
|
| 575 |
+
#define LIBSSH2_ERROR_EAGAIN -37
|
| 576 |
+
#define LIBSSH2_ERROR_BUFFER_TOO_SMALL -38
|
| 577 |
+
#define LIBSSH2_ERROR_BAD_USE -39
|
| 578 |
+
#define LIBSSH2_ERROR_COMPRESS -40
|
| 579 |
+
#define LIBSSH2_ERROR_OUT_OF_BOUNDARY -41
|
| 580 |
+
#define LIBSSH2_ERROR_AGENT_PROTOCOL -42
|
| 581 |
+
#define LIBSSH2_ERROR_SOCKET_RECV -43
|
| 582 |
+
#define LIBSSH2_ERROR_ENCRYPT -44
|
| 583 |
+
#define LIBSSH2_ERROR_BAD_SOCKET -45
|
| 584 |
+
#define LIBSSH2_ERROR_KNOWN_HOSTS -46
|
| 585 |
+
#define LIBSSH2_ERROR_CHANNEL_WINDOW_FULL -47
|
| 586 |
+
#define LIBSSH2_ERROR_KEYFILE_AUTH_FAILED -48
|
| 587 |
+
#define LIBSSH2_ERROR_RANDGEN -49
|
| 588 |
+
#define LIBSSH2_ERROR_MISSING_USERAUTH_BANNER -50
|
| 589 |
+
#define LIBSSH2_ERROR_ALGO_UNSUPPORTED -51
|
| 590 |
+
#define LIBSSH2_ERROR_MAC_FAILURE -52
|
| 591 |
+
#define LIBSSH2_ERROR_HASH_INIT -53
|
| 592 |
+
#define LIBSSH2_ERROR_HASH_CALC -54
|
| 593 |
+
|
| 594 |
+
/* this is a define to provide the old (<= 1.2.7) name */
|
| 595 |
+
#define LIBSSH2_ERROR_BANNER_NONE LIBSSH2_ERROR_BANNER_RECV
|
| 596 |
+
|
| 597 |
+
/* Global API */
|
| 598 |
+
#define LIBSSH2_INIT_NO_CRYPTO 0x0001
|
| 599 |
+
|
| 600 |
+
/*
|
| 601 |
+
* libssh2_init()
|
| 602 |
+
*
|
| 603 |
+
* Initialize the libssh2 functions. This typically initialize the
|
| 604 |
+
* crypto library. It uses a global state, and is not thread safe --
|
| 605 |
+
* you must make sure this function is not called concurrently.
|
| 606 |
+
*
|
| 607 |
+
* Flags can be:
|
| 608 |
+
* 0: Normal initialize
|
| 609 |
+
* LIBSSH2_INIT_NO_CRYPTO: Do not initialize the crypto library (ie.
|
| 610 |
+
* OPENSSL_add_cipher_algoritms() for OpenSSL
|
| 611 |
+
*
|
| 612 |
+
* Returns 0 if succeeded, or a negative value for error.
|
| 613 |
+
*/
|
| 614 |
+
LIBSSH2_API int libssh2_init(int flags);
|
| 615 |
+
|
| 616 |
+
/*
|
| 617 |
+
* libssh2_exit()
|
| 618 |
+
*
|
| 619 |
+
* Exit the libssh2 functions and free's all memory used internal.
|
| 620 |
+
*/
|
| 621 |
+
LIBSSH2_API void libssh2_exit(void);
|
| 622 |
+
|
| 623 |
+
/*
|
| 624 |
+
* libssh2_free()
|
| 625 |
+
*
|
| 626 |
+
* Deallocate memory allocated by earlier call to libssh2 functions.
|
| 627 |
+
*/
|
| 628 |
+
LIBSSH2_API void libssh2_free(LIBSSH2_SESSION *session, void *ptr);
|
| 629 |
+
|
| 630 |
+
/*
|
| 631 |
+
* libssh2_session_supported_algs()
|
| 632 |
+
*
|
| 633 |
+
* Fills algs with a list of supported acryptographic algorithms. Returns a
|
| 634 |
+
* non-negative number (number of supported algorithms) on success or a
|
| 635 |
+
* negative number (an error code) on failure.
|
| 636 |
+
*
|
| 637 |
+
* NOTE: on success, algs must be deallocated (by calling libssh2_free) when
|
| 638 |
+
* not needed anymore
|
| 639 |
+
*/
|
| 640 |
+
LIBSSH2_API int libssh2_session_supported_algs(LIBSSH2_SESSION* session,
|
| 641 |
+
int method_type,
|
| 642 |
+
const char ***algs);
|
| 643 |
+
|
| 644 |
+
/* Session API */
|
| 645 |
+
LIBSSH2_API LIBSSH2_SESSION *
|
| 646 |
+
libssh2_session_init_ex(LIBSSH2_ALLOC_FUNC((*my_alloc)),
|
| 647 |
+
LIBSSH2_FREE_FUNC((*my_free)),
|
| 648 |
+
LIBSSH2_REALLOC_FUNC((*my_realloc)), void *abstract);
|
| 649 |
+
#define libssh2_session_init() libssh2_session_init_ex(NULL, NULL, NULL, NULL)
|
| 650 |
+
|
| 651 |
+
LIBSSH2_API void **libssh2_session_abstract(LIBSSH2_SESSION *session);
|
| 652 |
+
|
| 653 |
+
typedef void (libssh2_cb_generic)(void);
|
| 654 |
+
|
| 655 |
+
LIBSSH2_API libssh2_cb_generic *
|
| 656 |
+
libssh2_session_callback_set2(LIBSSH2_SESSION *session, int cbtype,
|
| 657 |
+
libssh2_cb_generic *callback);
|
| 658 |
+
|
| 659 |
+
LIBSSH2_DEPRECATED(1.11.1, "Use libssh2_session_callback_set2()")
|
| 660 |
+
LIBSSH2_API void *libssh2_session_callback_set(LIBSSH2_SESSION *session,
|
| 661 |
+
int cbtype, void *callback);
|
| 662 |
+
LIBSSH2_API int libssh2_session_banner_set(LIBSSH2_SESSION *session,
|
| 663 |
+
const char *banner);
|
| 664 |
+
#ifndef LIBSSH2_NO_DEPRECATED
|
| 665 |
+
LIBSSH2_DEPRECATED(1.4.0, "Use libssh2_session_banner_set()")
|
| 666 |
+
LIBSSH2_API int libssh2_banner_set(LIBSSH2_SESSION *session,
|
| 667 |
+
const char *banner);
|
| 668 |
+
|
| 669 |
+
LIBSSH2_DEPRECATED(1.2.8, "Use libssh2_session_handshake()")
|
| 670 |
+
LIBSSH2_API int libssh2_session_startup(LIBSSH2_SESSION *session, int sock);
|
| 671 |
+
#endif
|
| 672 |
+
LIBSSH2_API int libssh2_session_handshake(LIBSSH2_SESSION *session,
|
| 673 |
+
libssh2_socket_t sock);
|
| 674 |
+
LIBSSH2_API int libssh2_session_disconnect_ex(LIBSSH2_SESSION *session,
|
| 675 |
+
int reason,
|
| 676 |
+
const char *description,
|
| 677 |
+
const char *lang);
|
| 678 |
+
#define libssh2_session_disconnect(session, description) \
|
| 679 |
+
libssh2_session_disconnect_ex((session), SSH_DISCONNECT_BY_APPLICATION, \
|
| 680 |
+
(description), "")
|
| 681 |
+
|
| 682 |
+
LIBSSH2_API int libssh2_session_free(LIBSSH2_SESSION *session);
|
| 683 |
+
|
| 684 |
+
LIBSSH2_API const char *libssh2_hostkey_hash(LIBSSH2_SESSION *session,
|
| 685 |
+
int hash_type);
|
| 686 |
+
|
| 687 |
+
LIBSSH2_API const char *libssh2_session_hostkey(LIBSSH2_SESSION *session,
|
| 688 |
+
size_t *len, int *type);
|
| 689 |
+
|
| 690 |
+
LIBSSH2_API int libssh2_session_method_pref(LIBSSH2_SESSION *session,
|
| 691 |
+
int method_type,
|
| 692 |
+
const char *prefs);
|
| 693 |
+
LIBSSH2_API const char *libssh2_session_methods(LIBSSH2_SESSION *session,
|
| 694 |
+
int method_type);
|
| 695 |
+
LIBSSH2_API int libssh2_session_last_error(LIBSSH2_SESSION *session,
|
| 696 |
+
char **errmsg,
|
| 697 |
+
int *errmsg_len, int want_buf);
|
| 698 |
+
LIBSSH2_API int libssh2_session_last_errno(LIBSSH2_SESSION *session);
|
| 699 |
+
LIBSSH2_API int libssh2_session_set_last_error(LIBSSH2_SESSION* session,
|
| 700 |
+
int errcode,
|
| 701 |
+
const char *errmsg);
|
| 702 |
+
LIBSSH2_API int libssh2_session_block_directions(LIBSSH2_SESSION *session);
|
| 703 |
+
|
| 704 |
+
LIBSSH2_API int libssh2_session_flag(LIBSSH2_SESSION *session, int flag,
|
| 705 |
+
int value);
|
| 706 |
+
LIBSSH2_API const char *libssh2_session_banner_get(LIBSSH2_SESSION *session);
|
| 707 |
+
|
| 708 |
+
/* Userauth API */
|
| 709 |
+
LIBSSH2_API char *libssh2_userauth_list(LIBSSH2_SESSION *session,
|
| 710 |
+
const char *username,
|
| 711 |
+
unsigned int username_len);
|
| 712 |
+
LIBSSH2_API int libssh2_userauth_banner(LIBSSH2_SESSION *session,
|
| 713 |
+
char **banner);
|
| 714 |
+
LIBSSH2_API int libssh2_userauth_authenticated(LIBSSH2_SESSION *session);
|
| 715 |
+
|
| 716 |
+
LIBSSH2_API int
|
| 717 |
+
libssh2_userauth_password_ex(LIBSSH2_SESSION *session,
|
| 718 |
+
const char *username,
|
| 719 |
+
unsigned int username_len,
|
| 720 |
+
const char *password,
|
| 721 |
+
unsigned int password_len,
|
| 722 |
+
LIBSSH2_PASSWD_CHANGEREQ_FUNC
|
| 723 |
+
((*passwd_change_cb)));
|
| 724 |
+
|
| 725 |
+
#define libssh2_userauth_password(session, username, password) \
|
| 726 |
+
libssh2_userauth_password_ex((session), (username), \
|
| 727 |
+
(unsigned int)strlen(username), \
|
| 728 |
+
(password), (unsigned int)strlen(password), \
|
| 729 |
+
NULL)
|
| 730 |
+
|
| 731 |
+
LIBSSH2_API int
|
| 732 |
+
libssh2_userauth_publickey_fromfile_ex(LIBSSH2_SESSION *session,
|
| 733 |
+
const char *username,
|
| 734 |
+
unsigned int username_len,
|
| 735 |
+
const char *publickey,
|
| 736 |
+
const char *privatekey,
|
| 737 |
+
const char *passphrase);
|
| 738 |
+
|
| 739 |
+
#define libssh2_userauth_publickey_fromfile(session, username, publickey, \
|
| 740 |
+
privatekey, passphrase) \
|
| 741 |
+
libssh2_userauth_publickey_fromfile_ex((session), (username), \
|
| 742 |
+
(unsigned int)strlen(username), \
|
| 743 |
+
(publickey), \
|
| 744 |
+
(privatekey), (passphrase))
|
| 745 |
+
|
| 746 |
+
LIBSSH2_API int
|
| 747 |
+
libssh2_userauth_publickey(LIBSSH2_SESSION *session,
|
| 748 |
+
const char *username,
|
| 749 |
+
const unsigned char *pubkeydata,
|
| 750 |
+
size_t pubkeydata_len,
|
| 751 |
+
LIBSSH2_USERAUTH_PUBLICKEY_SIGN_FUNC
|
| 752 |
+
((*sign_callback)),
|
| 753 |
+
void **abstract);
|
| 754 |
+
|
| 755 |
+
LIBSSH2_API int
|
| 756 |
+
libssh2_userauth_hostbased_fromfile_ex(LIBSSH2_SESSION *session,
|
| 757 |
+
const char *username,
|
| 758 |
+
unsigned int username_len,
|
| 759 |
+
const char *publickey,
|
| 760 |
+
const char *privatekey,
|
| 761 |
+
const char *passphrase,
|
| 762 |
+
const char *hostname,
|
| 763 |
+
unsigned int hostname_len,
|
| 764 |
+
const char *local_username,
|
| 765 |
+
unsigned int local_username_len);
|
| 766 |
+
|
| 767 |
+
#define libssh2_userauth_hostbased_fromfile(session, username, publickey, \
|
| 768 |
+
privatekey, passphrase, hostname) \
|
| 769 |
+
libssh2_userauth_hostbased_fromfile_ex((session), (username), \
|
| 770 |
+
(unsigned int)strlen(username), \
|
| 771 |
+
(publickey), \
|
| 772 |
+
(privatekey), (passphrase), \
|
| 773 |
+
(hostname), \
|
| 774 |
+
(unsigned int)strlen(hostname), \
|
| 775 |
+
(username), \
|
| 776 |
+
(unsigned int)strlen(username))
|
| 777 |
+
|
| 778 |
+
LIBSSH2_API int
|
| 779 |
+
libssh2_userauth_publickey_frommemory(LIBSSH2_SESSION *session,
|
| 780 |
+
const char *username,
|
| 781 |
+
size_t username_len,
|
| 782 |
+
const char *publickeyfiledata,
|
| 783 |
+
size_t publickeyfiledata_len,
|
| 784 |
+
const char *privatekeyfiledata,
|
| 785 |
+
size_t privatekeyfiledata_len,
|
| 786 |
+
const char *passphrase);
|
| 787 |
+
|
| 788 |
+
/*
|
| 789 |
+
* response_callback is provided with filled by library prompts array,
|
| 790 |
+
* but client must allocate and fill individual responses. Responses
|
| 791 |
+
* array is already allocated. Responses data will be freed by libssh2
|
| 792 |
+
* after callback return, but before subsequent callback invocation.
|
| 793 |
+
*/
|
| 794 |
+
LIBSSH2_API int
|
| 795 |
+
libssh2_userauth_keyboard_interactive_ex(LIBSSH2_SESSION* session,
|
| 796 |
+
const char *username,
|
| 797 |
+
unsigned int username_len,
|
| 798 |
+
LIBSSH2_USERAUTH_KBDINT_RESPONSE_FUNC
|
| 799 |
+
((*response_callback)));
|
| 800 |
+
|
| 801 |
+
#define libssh2_userauth_keyboard_interactive(session, username, \
|
| 802 |
+
response_callback) \
|
| 803 |
+
libssh2_userauth_keyboard_interactive_ex((session), (username), \
|
| 804 |
+
(unsigned int)strlen(username), \
|
| 805 |
+
(response_callback))
|
| 806 |
+
|
| 807 |
+
LIBSSH2_API int
|
| 808 |
+
libssh2_userauth_publickey_sk(LIBSSH2_SESSION *session,
|
| 809 |
+
const char *username,
|
| 810 |
+
size_t username_len,
|
| 811 |
+
const unsigned char *pubkeydata,
|
| 812 |
+
size_t pubkeydata_len,
|
| 813 |
+
const char *privatekeydata,
|
| 814 |
+
size_t privatekeydata_len,
|
| 815 |
+
const char *passphrase,
|
| 816 |
+
LIBSSH2_USERAUTH_SK_SIGN_FUNC
|
| 817 |
+
((*sign_callback)),
|
| 818 |
+
void **abstract);
|
| 819 |
+
|
| 820 |
+
LIBSSH2_API int libssh2_poll(LIBSSH2_POLLFD *fds, unsigned int nfds,
|
| 821 |
+
long timeout);
|
| 822 |
+
|
| 823 |
+
/* Channel API */
|
| 824 |
+
#define LIBSSH2_CHANNEL_WINDOW_DEFAULT (2*1024*1024)
|
| 825 |
+
#define LIBSSH2_CHANNEL_PACKET_DEFAULT 32768
|
| 826 |
+
#define LIBSSH2_CHANNEL_MINADJUST 1024
|
| 827 |
+
|
| 828 |
+
/* Extended Data Handling */
|
| 829 |
+
#define LIBSSH2_CHANNEL_EXTENDED_DATA_NORMAL 0
|
| 830 |
+
#define LIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE 1
|
| 831 |
+
#define LIBSSH2_CHANNEL_EXTENDED_DATA_MERGE 2
|
| 832 |
+
|
| 833 |
+
#define SSH_EXTENDED_DATA_STDERR 1
|
| 834 |
+
|
| 835 |
+
/* Returned by any function that would block during a read/write operation */
|
| 836 |
+
#define LIBSSH2CHANNEL_EAGAIN LIBSSH2_ERROR_EAGAIN
|
| 837 |
+
|
| 838 |
+
LIBSSH2_API LIBSSH2_CHANNEL *
|
| 839 |
+
libssh2_channel_open_ex(LIBSSH2_SESSION *session, const char *channel_type,
|
| 840 |
+
unsigned int channel_type_len,
|
| 841 |
+
unsigned int window_size, unsigned int packet_size,
|
| 842 |
+
const char *message, unsigned int message_len);
|
| 843 |
+
|
| 844 |
+
#define libssh2_channel_open_session(session) \
|
| 845 |
+
libssh2_channel_open_ex((session), "session", sizeof("session") - 1, \
|
| 846 |
+
LIBSSH2_CHANNEL_WINDOW_DEFAULT, \
|
| 847 |
+
LIBSSH2_CHANNEL_PACKET_DEFAULT, NULL, 0)
|
| 848 |
+
|
| 849 |
+
LIBSSH2_API LIBSSH2_CHANNEL *
|
| 850 |
+
libssh2_channel_direct_tcpip_ex(LIBSSH2_SESSION *session, const char *host,
|
| 851 |
+
int port, const char *shost, int sport);
|
| 852 |
+
#define libssh2_channel_direct_tcpip(session, host, port) \
|
| 853 |
+
libssh2_channel_direct_tcpip_ex((session), (host), (port), "127.0.0.1", 22)
|
| 854 |
+
|
| 855 |
+
LIBSSH2_API LIBSSH2_CHANNEL *
|
| 856 |
+
libssh2_channel_direct_streamlocal_ex(LIBSSH2_SESSION * session,
|
| 857 |
+
const char *socket_path,
|
| 858 |
+
const char *shost, int sport);
|
| 859 |
+
|
| 860 |
+
LIBSSH2_API LIBSSH2_LISTENER *
|
| 861 |
+
libssh2_channel_forward_listen_ex(LIBSSH2_SESSION *session, const char *host,
|
| 862 |
+
int port, int *bound_port,
|
| 863 |
+
int queue_maxsize);
|
| 864 |
+
#define libssh2_channel_forward_listen(session, port) \
|
| 865 |
+
libssh2_channel_forward_listen_ex((session), NULL, (port), NULL, 16)
|
| 866 |
+
|
| 867 |
+
LIBSSH2_API int libssh2_channel_forward_cancel(LIBSSH2_LISTENER *listener);
|
| 868 |
+
|
| 869 |
+
LIBSSH2_API LIBSSH2_CHANNEL *
|
| 870 |
+
libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);
|
| 871 |
+
|
| 872 |
+
LIBSSH2_API int libssh2_channel_setenv_ex(LIBSSH2_CHANNEL *channel,
|
| 873 |
+
const char *varname,
|
| 874 |
+
unsigned int varname_len,
|
| 875 |
+
const char *value,
|
| 876 |
+
unsigned int value_len);
|
| 877 |
+
|
| 878 |
+
#define libssh2_channel_setenv(channel, varname, value) \
|
| 879 |
+
libssh2_channel_setenv_ex((channel), (varname), \
|
| 880 |
+
(unsigned int)strlen(varname), (value), \
|
| 881 |
+
(unsigned int)strlen(value))
|
| 882 |
+
|
| 883 |
+
LIBSSH2_API int libssh2_channel_request_auth_agent(LIBSSH2_CHANNEL *channel);
|
| 884 |
+
|
| 885 |
+
LIBSSH2_API int libssh2_channel_request_pty_ex(LIBSSH2_CHANNEL *channel,
|
| 886 |
+
const char *term,
|
| 887 |
+
unsigned int term_len,
|
| 888 |
+
const char *modes,
|
| 889 |
+
unsigned int modes_len,
|
| 890 |
+
int width, int height,
|
| 891 |
+
int width_px, int height_px);
|
| 892 |
+
#define libssh2_channel_request_pty(channel, term) \
|
| 893 |
+
libssh2_channel_request_pty_ex((channel), (term), \
|
| 894 |
+
(unsigned int)strlen(term), \
|
| 895 |
+
NULL, 0, \
|
| 896 |
+
LIBSSH2_TERM_WIDTH, \
|
| 897 |
+
LIBSSH2_TERM_HEIGHT, \
|
| 898 |
+
LIBSSH2_TERM_WIDTH_PX, \
|
| 899 |
+
LIBSSH2_TERM_HEIGHT_PX)
|
| 900 |
+
|
| 901 |
+
LIBSSH2_API int libssh2_channel_request_pty_size_ex(LIBSSH2_CHANNEL *channel,
|
| 902 |
+
int width, int height,
|
| 903 |
+
int width_px,
|
| 904 |
+
int height_px);
|
| 905 |
+
#define libssh2_channel_request_pty_size(channel, width, height) \
|
| 906 |
+
libssh2_channel_request_pty_size_ex((channel), (width), (height), 0, 0)
|
| 907 |
+
|
| 908 |
+
LIBSSH2_API int libssh2_channel_x11_req_ex(LIBSSH2_CHANNEL *channel,
|
| 909 |
+
int single_connection,
|
| 910 |
+
const char *auth_proto,
|
| 911 |
+
const char *auth_cookie,
|
| 912 |
+
int screen_number);
|
| 913 |
+
#define libssh2_channel_x11_req(channel, screen_number) \
|
| 914 |
+
libssh2_channel_x11_req_ex((channel), 0, NULL, NULL, (screen_number))
|
| 915 |
+
|
| 916 |
+
LIBSSH2_API int libssh2_channel_signal_ex(LIBSSH2_CHANNEL *channel,
|
| 917 |
+
const char *signame,
|
| 918 |
+
size_t signame_len);
|
| 919 |
+
#define libssh2_channel_signal(channel, signame) \
|
| 920 |
+
libssh2_channel_signal_ex((channel), signame, strlen(signame))
|
| 921 |
+
|
| 922 |
+
LIBSSH2_API int libssh2_channel_process_startup(LIBSSH2_CHANNEL *channel,
|
| 923 |
+
const char *request,
|
| 924 |
+
unsigned int request_len,
|
| 925 |
+
const char *message,
|
| 926 |
+
unsigned int message_len);
|
| 927 |
+
#define libssh2_channel_shell(channel) \
|
| 928 |
+
libssh2_channel_process_startup((channel), "shell", sizeof("shell") - 1, \
|
| 929 |
+
NULL, 0)
|
| 930 |
+
#define libssh2_channel_exec(channel, command) \
|
| 931 |
+
libssh2_channel_process_startup((channel), "exec", sizeof("exec") - 1, \
|
| 932 |
+
(command), (unsigned int)strlen(command))
|
| 933 |
+
#define libssh2_channel_subsystem(channel, subsystem) \
|
| 934 |
+
libssh2_channel_process_startup((channel), "subsystem", \
|
| 935 |
+
sizeof("subsystem") - 1, (subsystem), \
|
| 936 |
+
(unsigned int)strlen(subsystem))
|
| 937 |
+
|
| 938 |
+
LIBSSH2_API ssize_t libssh2_channel_read_ex(LIBSSH2_CHANNEL *channel,
|
| 939 |
+
int stream_id, char *buf,
|
| 940 |
+
size_t buflen);
|
| 941 |
+
#define libssh2_channel_read(channel, buf, buflen) \
|
| 942 |
+
libssh2_channel_read_ex((channel), 0, \
|
| 943 |
+
(buf), (buflen))
|
| 944 |
+
#define libssh2_channel_read_stderr(channel, buf, buflen) \
|
| 945 |
+
libssh2_channel_read_ex((channel), SSH_EXTENDED_DATA_STDERR, \
|
| 946 |
+
(buf), (buflen))
|
| 947 |
+
|
| 948 |
+
LIBSSH2_API int libssh2_poll_channel_read(LIBSSH2_CHANNEL *channel,
|
| 949 |
+
int extended);
|
| 950 |
+
|
| 951 |
+
LIBSSH2_API unsigned long
|
| 952 |
+
libssh2_channel_window_read_ex(LIBSSH2_CHANNEL *channel,
|
| 953 |
+
unsigned long *read_avail,
|
| 954 |
+
unsigned long *window_size_initial);
|
| 955 |
+
#define libssh2_channel_window_read(channel) \
|
| 956 |
+
libssh2_channel_window_read_ex((channel), NULL, NULL)
|
| 957 |
+
|
| 958 |
+
#ifndef LIBSSH2_NO_DEPRECATED
|
| 959 |
+
LIBSSH2_DEPRECATED(1.1.0, "Use libssh2_channel_receive_window_adjust2()")
|
| 960 |
+
LIBSSH2_API unsigned long
|
| 961 |
+
libssh2_channel_receive_window_adjust(LIBSSH2_CHANNEL *channel,
|
| 962 |
+
unsigned long adjustment,
|
| 963 |
+
unsigned char force);
|
| 964 |
+
#endif
|
| 965 |
+
LIBSSH2_API int
|
| 966 |
+
libssh2_channel_receive_window_adjust2(LIBSSH2_CHANNEL *channel,
|
| 967 |
+
unsigned long adjustment,
|
| 968 |
+
unsigned char force,
|
| 969 |
+
unsigned int *storewindow);
|
| 970 |
+
|
| 971 |
+
LIBSSH2_API ssize_t libssh2_channel_write_ex(LIBSSH2_CHANNEL *channel,
|
| 972 |
+
int stream_id, const char *buf,
|
| 973 |
+
size_t buflen);
|
| 974 |
+
|
| 975 |
+
#define libssh2_channel_write(channel, buf, buflen) \
|
| 976 |
+
libssh2_channel_write_ex((channel), 0, \
|
| 977 |
+
(buf), (buflen))
|
| 978 |
+
#define libssh2_channel_write_stderr(channel, buf, buflen) \
|
| 979 |
+
libssh2_channel_write_ex((channel), SSH_EXTENDED_DATA_STDERR, \
|
| 980 |
+
(buf), (buflen))
|
| 981 |
+
|
| 982 |
+
LIBSSH2_API unsigned long
|
| 983 |
+
libssh2_channel_window_write_ex(LIBSSH2_CHANNEL *channel,
|
| 984 |
+
unsigned long *window_size_initial);
|
| 985 |
+
#define libssh2_channel_window_write(channel) \
|
| 986 |
+
libssh2_channel_window_write_ex((channel), NULL)
|
| 987 |
+
|
| 988 |
+
LIBSSH2_API void libssh2_session_set_blocking(LIBSSH2_SESSION* session,
|
| 989 |
+
int blocking);
|
| 990 |
+
LIBSSH2_API int libssh2_session_get_blocking(LIBSSH2_SESSION* session);
|
| 991 |
+
|
| 992 |
+
LIBSSH2_API void libssh2_channel_set_blocking(LIBSSH2_CHANNEL *channel,
|
| 993 |
+
int blocking);
|
| 994 |
+
|
| 995 |
+
LIBSSH2_API void libssh2_session_set_timeout(LIBSSH2_SESSION* session,
|
| 996 |
+
long timeout);
|
| 997 |
+
LIBSSH2_API long libssh2_session_get_timeout(LIBSSH2_SESSION* session);
|
| 998 |
+
|
| 999 |
+
LIBSSH2_API void libssh2_session_set_read_timeout(LIBSSH2_SESSION* session,
|
| 1000 |
+
long timeout);
|
| 1001 |
+
LIBSSH2_API long libssh2_session_get_read_timeout(LIBSSH2_SESSION* session);
|
| 1002 |
+
|
| 1003 |
+
#ifndef LIBSSH2_NO_DEPRECATED
|
| 1004 |
+
LIBSSH2_DEPRECATED(1.1.0, "libssh2_channel_handle_extended_data2()")
|
| 1005 |
+
LIBSSH2_API void libssh2_channel_handle_extended_data(LIBSSH2_CHANNEL *channel,
|
| 1006 |
+
int ignore_mode);
|
| 1007 |
+
#endif
|
| 1008 |
+
LIBSSH2_API int libssh2_channel_handle_extended_data2(LIBSSH2_CHANNEL *channel,
|
| 1009 |
+
int ignore_mode);
|
| 1010 |
+
|
| 1011 |
+
#ifndef LIBSSH2_NO_DEPRECATED
|
| 1012 |
+
/* libssh2_channel_ignore_extended_data() is defined below for BC with version
|
| 1013 |
+
* 0.1
|
| 1014 |
+
*
|
| 1015 |
+
* Future uses should use libssh2_channel_handle_extended_data() directly if
|
| 1016 |
+
* LIBSSH2_CHANNEL_EXTENDED_DATA_MERGE is passed, extended data will be read
|
| 1017 |
+
* (FIFO) from the standard data channel
|
| 1018 |
+
*/
|
| 1019 |
+
/* DEPRECATED since 0.3.0. Use libssh2_channel_handle_extended_data2(). */
|
| 1020 |
+
#define libssh2_channel_ignore_extended_data(channel, ignore) \
|
| 1021 |
+
libssh2_channel_handle_extended_data((channel), (ignore) ? \
|
| 1022 |
+
LIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE : \
|
| 1023 |
+
LIBSSH2_CHANNEL_EXTENDED_DATA_NORMAL)
|
| 1024 |
+
#endif
|
| 1025 |
+
|
| 1026 |
+
#define LIBSSH2_CHANNEL_FLUSH_EXTENDED_DATA -1
|
| 1027 |
+
#define LIBSSH2_CHANNEL_FLUSH_ALL -2
|
| 1028 |
+
LIBSSH2_API int libssh2_channel_flush_ex(LIBSSH2_CHANNEL *channel,
|
| 1029 |
+
int streamid);
|
| 1030 |
+
#define libssh2_channel_flush(channel) libssh2_channel_flush_ex((channel), 0)
|
| 1031 |
+
#define libssh2_channel_flush_stderr(channel) \
|
| 1032 |
+
libssh2_channel_flush_ex((channel), SSH_EXTENDED_DATA_STDERR)
|
| 1033 |
+
|
| 1034 |
+
LIBSSH2_API int libssh2_channel_get_exit_status(LIBSSH2_CHANNEL* channel);
|
| 1035 |
+
LIBSSH2_API int libssh2_channel_get_exit_signal(LIBSSH2_CHANNEL* channel,
|
| 1036 |
+
char **exitsignal,
|
| 1037 |
+
size_t *exitsignal_len,
|
| 1038 |
+
char **errmsg,
|
| 1039 |
+
size_t *errmsg_len,
|
| 1040 |
+
char **langtag,
|
| 1041 |
+
size_t *langtag_len);
|
| 1042 |
+
LIBSSH2_API int libssh2_channel_send_eof(LIBSSH2_CHANNEL *channel);
|
| 1043 |
+
LIBSSH2_API int libssh2_channel_eof(LIBSSH2_CHANNEL *channel);
|
| 1044 |
+
LIBSSH2_API int libssh2_channel_wait_eof(LIBSSH2_CHANNEL *channel);
|
| 1045 |
+
LIBSSH2_API int libssh2_channel_close(LIBSSH2_CHANNEL *channel);
|
| 1046 |
+
LIBSSH2_API int libssh2_channel_wait_closed(LIBSSH2_CHANNEL *channel);
|
| 1047 |
+
LIBSSH2_API int libssh2_channel_free(LIBSSH2_CHANNEL *channel);
|
| 1048 |
+
|
| 1049 |
+
#ifndef LIBSSH2_NO_DEPRECATED
|
| 1050 |
+
LIBSSH2_DEPRECATED(1.7.0, "Use libssh2_scp_recv2()")
|
| 1051 |
+
LIBSSH2_API LIBSSH2_CHANNEL *libssh2_scp_recv(LIBSSH2_SESSION *session,
|
| 1052 |
+
const char *path,
|
| 1053 |
+
struct stat *sb);
|
| 1054 |
+
#endif
|
| 1055 |
+
/* Use libssh2_scp_recv2() for large (> 2GB) file support on windows */
|
| 1056 |
+
LIBSSH2_API LIBSSH2_CHANNEL *libssh2_scp_recv2(LIBSSH2_SESSION *session,
|
| 1057 |
+
const char *path,
|
| 1058 |
+
libssh2_struct_stat *sb);
|
| 1059 |
+
LIBSSH2_API LIBSSH2_CHANNEL *libssh2_scp_send_ex(LIBSSH2_SESSION *session,
|
| 1060 |
+
const char *path, int mode,
|
| 1061 |
+
size_t size, long mtime,
|
| 1062 |
+
long atime);
|
| 1063 |
+
LIBSSH2_API LIBSSH2_CHANNEL *
|
| 1064 |
+
libssh2_scp_send64(LIBSSH2_SESSION *session, const char *path, int mode,
|
| 1065 |
+
libssh2_int64_t size, time_t mtime, time_t atime);
|
| 1066 |
+
|
| 1067 |
+
#define libssh2_scp_send(session, path, mode, size) \
|
| 1068 |
+
libssh2_scp_send_ex((session), (path), (mode), (size), 0, 0)
|
| 1069 |
+
|
| 1070 |
+
/* DEPRECATED */
|
| 1071 |
+
LIBSSH2_API int libssh2_base64_decode(LIBSSH2_SESSION *session, char **dest,
|
| 1072 |
+
unsigned int *dest_len,
|
| 1073 |
+
const char *src, unsigned int src_len);
|
| 1074 |
+
|
| 1075 |
+
LIBSSH2_API
|
| 1076 |
+
const char *libssh2_version(int req_version_num);
|
| 1077 |
+
|
| 1078 |
+
typedef enum {
|
| 1079 |
+
libssh2_no_crypto = 0,
|
| 1080 |
+
libssh2_openssl,
|
| 1081 |
+
libssh2_gcrypt,
|
| 1082 |
+
libssh2_mbedtls,
|
| 1083 |
+
libssh2_wincng,
|
| 1084 |
+
libssh2_os400qc3
|
| 1085 |
+
} libssh2_crypto_engine_t;
|
| 1086 |
+
|
| 1087 |
+
LIBSSH2_API
|
| 1088 |
+
libssh2_crypto_engine_t libssh2_crypto_engine(void);
|
| 1089 |
+
|
| 1090 |
+
#define HAVE_LIBSSH2_KNOWNHOST_API 0x010101 /* since 1.1.1 */
|
| 1091 |
+
#define HAVE_LIBSSH2_VERSION_API 0x010100 /* libssh2_version since 1.1 */
|
| 1092 |
+
#define HAVE_LIBSSH2_CRYPTOENGINE_API 0x011100 /* libssh2_crypto_engine
|
| 1093 |
+
since 1.11 */
|
| 1094 |
+
|
| 1095 |
+
struct libssh2_knownhost {
|
| 1096 |
+
unsigned int magic; /* magic stored by the library */
|
| 1097 |
+
void *node; /* handle to the internal representation of this host */
|
| 1098 |
+
char *name; /* this is NULL if no plain text host name exists */
|
| 1099 |
+
char *key; /* key in base64/printable format */
|
| 1100 |
+
int typemask;
|
| 1101 |
+
};
|
| 1102 |
+
|
| 1103 |
+
/*
|
| 1104 |
+
* libssh2_knownhost_init()
|
| 1105 |
+
*
|
| 1106 |
+
* Init a collection of known hosts. Returns the pointer to a collection.
|
| 1107 |
+
*
|
| 1108 |
+
*/
|
| 1109 |
+
LIBSSH2_API LIBSSH2_KNOWNHOSTS *
|
| 1110 |
+
libssh2_knownhost_init(LIBSSH2_SESSION *session);
|
| 1111 |
+
|
| 1112 |
+
/*
|
| 1113 |
+
* libssh2_knownhost_add()
|
| 1114 |
+
*
|
| 1115 |
+
* Add a host and its associated key to the collection of known hosts.
|
| 1116 |
+
*
|
| 1117 |
+
* The 'type' argument specifies on what format the given host and keys are:
|
| 1118 |
+
*
|
| 1119 |
+
* plain - ascii "hostname.domain.tld"
|
| 1120 |
+
* sha1 - SHA1(<salt> <host>) base64-encoded!
|
| 1121 |
+
* custom - another hash
|
| 1122 |
+
*
|
| 1123 |
+
* If 'sha1' is selected as type, the salt must be provided to the salt
|
| 1124 |
+
* argument. This too base64 encoded.
|
| 1125 |
+
*
|
| 1126 |
+
* The SHA-1 hash is what OpenSSH can be told to use in known_hosts files. If
|
| 1127 |
+
* a custom type is used, salt is ignored and you must provide the host
|
| 1128 |
+
* pre-hashed when checking for it in the libssh2_knownhost_check() function.
|
| 1129 |
+
*
|
| 1130 |
+
* The keylen parameter may be omitted (zero) if the key is provided as a
|
| 1131 |
+
* NULL-terminated base64-encoded string.
|
| 1132 |
+
*/
|
| 1133 |
+
|
| 1134 |
+
/* host format (2 bits) */
|
| 1135 |
+
#define LIBSSH2_KNOWNHOST_TYPE_MASK 0xffff
|
| 1136 |
+
#define LIBSSH2_KNOWNHOST_TYPE_PLAIN 1
|
| 1137 |
+
#define LIBSSH2_KNOWNHOST_TYPE_SHA1 2 /* always base64 encoded */
|
| 1138 |
+
#define LIBSSH2_KNOWNHOST_TYPE_CUSTOM 3
|
| 1139 |
+
|
| 1140 |
+
/* key format (2 bits) */
|
| 1141 |
+
#define LIBSSH2_KNOWNHOST_KEYENC_MASK (3<<16)
|
| 1142 |
+
#define LIBSSH2_KNOWNHOST_KEYENC_RAW (1<<16)
|
| 1143 |
+
#define LIBSSH2_KNOWNHOST_KEYENC_BASE64 (2<<16)
|
| 1144 |
+
|
| 1145 |
+
/* type of key (4 bits) */
|
| 1146 |
+
#define LIBSSH2_KNOWNHOST_KEY_MASK (15<<18)
|
| 1147 |
+
#define LIBSSH2_KNOWNHOST_KEY_SHIFT 18
|
| 1148 |
+
#define LIBSSH2_KNOWNHOST_KEY_RSA1 (1<<18)
|
| 1149 |
+
#define LIBSSH2_KNOWNHOST_KEY_SSHRSA (2<<18)
|
| 1150 |
+
#define LIBSSH2_KNOWNHOST_KEY_SSHDSS (3<<18) /* deprecated */
|
| 1151 |
+
#define LIBSSH2_KNOWNHOST_KEY_ECDSA_256 (4<<18)
|
| 1152 |
+
#define LIBSSH2_KNOWNHOST_KEY_ECDSA_384 (5<<18)
|
| 1153 |
+
#define LIBSSH2_KNOWNHOST_KEY_ECDSA_521 (6<<18)
|
| 1154 |
+
#define LIBSSH2_KNOWNHOST_KEY_ED25519 (7<<18)
|
| 1155 |
+
#define LIBSSH2_KNOWNHOST_KEY_UNKNOWN (15<<18)
|
| 1156 |
+
|
| 1157 |
+
LIBSSH2_API int
|
| 1158 |
+
libssh2_knownhost_add(LIBSSH2_KNOWNHOSTS *hosts,
|
| 1159 |
+
const char *host,
|
| 1160 |
+
const char *salt,
|
| 1161 |
+
const char *key, size_t keylen, int typemask,
|
| 1162 |
+
struct libssh2_knownhost **store);
|
| 1163 |
+
|
| 1164 |
+
/*
|
| 1165 |
+
* libssh2_knownhost_addc()
|
| 1166 |
+
*
|
| 1167 |
+
* Add a host and its associated key to the collection of known hosts.
|
| 1168 |
+
*
|
| 1169 |
+
* Takes a comment argument that may be NULL. A NULL comment indicates
|
| 1170 |
+
* there is no comment and the entry will end directly after the key
|
| 1171 |
+
* when written out to a file. An empty string "" comment will indicate an
|
| 1172 |
+
* empty comment which will cause a single space to be written after the key.
|
| 1173 |
+
*
|
| 1174 |
+
* The 'type' argument specifies on what format the given host and keys are:
|
| 1175 |
+
*
|
| 1176 |
+
* plain - ascii "hostname.domain.tld"
|
| 1177 |
+
* sha1 - SHA1(<salt> <host>) base64-encoded!
|
| 1178 |
+
* custom - another hash
|
| 1179 |
+
*
|
| 1180 |
+
* If 'sha1' is selected as type, the salt must be provided to the salt
|
| 1181 |
+
* argument. This too base64 encoded.
|
| 1182 |
+
*
|
| 1183 |
+
* The SHA-1 hash is what OpenSSH can be told to use in known_hosts files.
|
| 1184 |
+
* If a custom type is used, salt is ignored and you must provide the host
|
| 1185 |
+
* pre-hashed when checking for it in the libssh2_knownhost_check() function.
|
| 1186 |
+
*
|
| 1187 |
+
* The keylen parameter may be omitted (zero) if the key is provided as a
|
| 1188 |
+
* NULL-terminated base64-encoded string.
|
| 1189 |
+
*/
|
| 1190 |
+
|
| 1191 |
+
LIBSSH2_API int
|
| 1192 |
+
libssh2_knownhost_addc(LIBSSH2_KNOWNHOSTS *hosts,
|
| 1193 |
+
const char *host,
|
| 1194 |
+
const char *salt,
|
| 1195 |
+
const char *key, size_t keylen,
|
| 1196 |
+
const char *comment, size_t commentlen, int typemask,
|
| 1197 |
+
struct libssh2_knownhost **store);
|
| 1198 |
+
|
| 1199 |
+
/*
|
| 1200 |
+
* libssh2_knownhost_check()
|
| 1201 |
+
*
|
| 1202 |
+
* Check a host and its associated key against the collection of known hosts.
|
| 1203 |
+
*
|
| 1204 |
+
* The type is the type/format of the given host name.
|
| 1205 |
+
*
|
| 1206 |
+
* plain - ascii "hostname.domain.tld"
|
| 1207 |
+
* custom - prehashed base64 encoded. Note that this cannot use any salts.
|
| 1208 |
+
*
|
| 1209 |
+
*
|
| 1210 |
+
* 'knownhost' may be set to NULL if you don't care about that info.
|
| 1211 |
+
*
|
| 1212 |
+
* Returns:
|
| 1213 |
+
*
|
| 1214 |
+
* LIBSSH2_KNOWNHOST_CHECK_* values, see below
|
| 1215 |
+
*
|
| 1216 |
+
*/
|
| 1217 |
+
|
| 1218 |
+
#define LIBSSH2_KNOWNHOST_CHECK_MATCH 0
|
| 1219 |
+
#define LIBSSH2_KNOWNHOST_CHECK_MISMATCH 1
|
| 1220 |
+
#define LIBSSH2_KNOWNHOST_CHECK_NOTFOUND 2
|
| 1221 |
+
#define LIBSSH2_KNOWNHOST_CHECK_FAILURE 3
|
| 1222 |
+
|
| 1223 |
+
LIBSSH2_API int
|
| 1224 |
+
libssh2_knownhost_check(LIBSSH2_KNOWNHOSTS *hosts,
|
| 1225 |
+
const char *host, const char *key, size_t keylen,
|
| 1226 |
+
int typemask,
|
| 1227 |
+
struct libssh2_knownhost **knownhost);
|
| 1228 |
+
|
| 1229 |
+
/* this function is identital to the above one, but also takes a port
|
| 1230 |
+
argument that allows libssh2 to do a better check */
|
| 1231 |
+
LIBSSH2_API int
|
| 1232 |
+
libssh2_knownhost_checkp(LIBSSH2_KNOWNHOSTS *hosts,
|
| 1233 |
+
const char *host, int port,
|
| 1234 |
+
const char *key, size_t keylen,
|
| 1235 |
+
int typemask,
|
| 1236 |
+
struct libssh2_knownhost **knownhost);
|
| 1237 |
+
|
| 1238 |
+
/*
|
| 1239 |
+
* libssh2_knownhost_del()
|
| 1240 |
+
*
|
| 1241 |
+
* Remove a host from the collection of known hosts. The 'entry' struct is
|
| 1242 |
+
* retrieved by a call to libssh2_knownhost_check().
|
| 1243 |
+
*
|
| 1244 |
+
*/
|
| 1245 |
+
LIBSSH2_API int
|
| 1246 |
+
libssh2_knownhost_del(LIBSSH2_KNOWNHOSTS *hosts,
|
| 1247 |
+
struct libssh2_knownhost *entry);
|
| 1248 |
+
|
| 1249 |
+
/*
|
| 1250 |
+
* libssh2_knownhost_free()
|
| 1251 |
+
*
|
| 1252 |
+
* Free an entire collection of known hosts.
|
| 1253 |
+
*
|
| 1254 |
+
*/
|
| 1255 |
+
LIBSSH2_API void
|
| 1256 |
+
libssh2_knownhost_free(LIBSSH2_KNOWNHOSTS *hosts);
|
| 1257 |
+
|
| 1258 |
+
/*
|
| 1259 |
+
* libssh2_knownhost_readline()
|
| 1260 |
+
*
|
| 1261 |
+
* Pass in a line of a file of 'type'. It makes libssh2 read this line.
|
| 1262 |
+
*
|
| 1263 |
+
* LIBSSH2_KNOWNHOST_FILE_OPENSSH is the only supported type.
|
| 1264 |
+
*
|
| 1265 |
+
*/
|
| 1266 |
+
LIBSSH2_API int
|
| 1267 |
+
libssh2_knownhost_readline(LIBSSH2_KNOWNHOSTS *hosts,
|
| 1268 |
+
const char *line, size_t len, int type);
|
| 1269 |
+
|
| 1270 |
+
/*
|
| 1271 |
+
* libssh2_knownhost_readfile()
|
| 1272 |
+
*
|
| 1273 |
+
* Add hosts+key pairs from a given file.
|
| 1274 |
+
*
|
| 1275 |
+
* Returns a negative value for error or number of successfully added hosts.
|
| 1276 |
+
*
|
| 1277 |
+
* This implementation currently only knows one 'type' (openssh), all others
|
| 1278 |
+
* are reserved for future use.
|
| 1279 |
+
*/
|
| 1280 |
+
|
| 1281 |
+
#define LIBSSH2_KNOWNHOST_FILE_OPENSSH 1
|
| 1282 |
+
|
| 1283 |
+
LIBSSH2_API int
|
| 1284 |
+
libssh2_knownhost_readfile(LIBSSH2_KNOWNHOSTS *hosts,
|
| 1285 |
+
const char *filename, int type);
|
| 1286 |
+
|
| 1287 |
+
/*
|
| 1288 |
+
* libssh2_knownhost_writeline()
|
| 1289 |
+
*
|
| 1290 |
+
* Ask libssh2 to convert a known host to an output line for storage.
|
| 1291 |
+
*
|
| 1292 |
+
* Note that this function returns LIBSSH2_ERROR_BUFFER_TOO_SMALL if the given
|
| 1293 |
+
* output buffer is too small to hold the desired output.
|
| 1294 |
+
*
|
| 1295 |
+
* This implementation currently only knows one 'type' (openssh), all others
|
| 1296 |
+
* are reserved for future use.
|
| 1297 |
+
*
|
| 1298 |
+
*/
|
| 1299 |
+
LIBSSH2_API int
|
| 1300 |
+
libssh2_knownhost_writeline(LIBSSH2_KNOWNHOSTS *hosts,
|
| 1301 |
+
struct libssh2_knownhost *known,
|
| 1302 |
+
char *buffer, size_t buflen,
|
| 1303 |
+
size_t *outlen, /* the amount of written data */
|
| 1304 |
+
int type);
|
| 1305 |
+
|
| 1306 |
+
/*
|
| 1307 |
+
* libssh2_knownhost_writefile()
|
| 1308 |
+
*
|
| 1309 |
+
* Write hosts+key pairs to a given file.
|
| 1310 |
+
*
|
| 1311 |
+
* This implementation currently only knows one 'type' (openssh), all others
|
| 1312 |
+
* are reserved for future use.
|
| 1313 |
+
*/
|
| 1314 |
+
|
| 1315 |
+
LIBSSH2_API int
|
| 1316 |
+
libssh2_knownhost_writefile(LIBSSH2_KNOWNHOSTS *hosts,
|
| 1317 |
+
const char *filename, int type);
|
| 1318 |
+
|
| 1319 |
+
/*
|
| 1320 |
+
* libssh2_knownhost_get()
|
| 1321 |
+
*
|
| 1322 |
+
* Traverse the internal list of known hosts. Pass NULL to 'prev' to get
|
| 1323 |
+
* the first one. Or pass a pointer to the previously returned one to get the
|
| 1324 |
+
* next.
|
| 1325 |
+
*
|
| 1326 |
+
* Returns:
|
| 1327 |
+
* 0 if a fine host was stored in 'store'
|
| 1328 |
+
* 1 if end of hosts
|
| 1329 |
+
* [negative] on errors
|
| 1330 |
+
*/
|
| 1331 |
+
LIBSSH2_API int
|
| 1332 |
+
libssh2_knownhost_get(LIBSSH2_KNOWNHOSTS *hosts,
|
| 1333 |
+
struct libssh2_knownhost **store,
|
| 1334 |
+
struct libssh2_knownhost *prev);
|
| 1335 |
+
|
| 1336 |
+
#define HAVE_LIBSSH2_AGENT_API 0x010202 /* since 1.2.2 */
|
| 1337 |
+
|
| 1338 |
+
struct libssh2_agent_publickey {
|
| 1339 |
+
unsigned int magic; /* magic stored by the library */
|
| 1340 |
+
void *node; /* handle to the internal representation of key */
|
| 1341 |
+
unsigned char *blob; /* public key blob */
|
| 1342 |
+
size_t blob_len; /* length of the public key blob */
|
| 1343 |
+
char *comment; /* comment in printable format */
|
| 1344 |
+
};
|
| 1345 |
+
|
| 1346 |
+
/*
|
| 1347 |
+
* libssh2_agent_init()
|
| 1348 |
+
*
|
| 1349 |
+
* Init an ssh-agent handle. Returns the pointer to the handle.
|
| 1350 |
+
*
|
| 1351 |
+
*/
|
| 1352 |
+
LIBSSH2_API LIBSSH2_AGENT *
|
| 1353 |
+
libssh2_agent_init(LIBSSH2_SESSION *session);
|
| 1354 |
+
|
| 1355 |
+
/*
|
| 1356 |
+
* libssh2_agent_connect()
|
| 1357 |
+
*
|
| 1358 |
+
* Connect to an ssh-agent.
|
| 1359 |
+
*
|
| 1360 |
+
* Returns 0 if succeeded, or a negative value for error.
|
| 1361 |
+
*/
|
| 1362 |
+
LIBSSH2_API int
|
| 1363 |
+
libssh2_agent_connect(LIBSSH2_AGENT *agent);
|
| 1364 |
+
|
| 1365 |
+
/*
|
| 1366 |
+
* libssh2_agent_list_identities()
|
| 1367 |
+
*
|
| 1368 |
+
* Request an ssh-agent to list identities.
|
| 1369 |
+
*
|
| 1370 |
+
* Returns 0 if succeeded, or a negative value for error.
|
| 1371 |
+
*/
|
| 1372 |
+
LIBSSH2_API int
|
| 1373 |
+
libssh2_agent_list_identities(LIBSSH2_AGENT *agent);
|
| 1374 |
+
|
| 1375 |
+
/*
|
| 1376 |
+
* libssh2_agent_get_identity()
|
| 1377 |
+
*
|
| 1378 |
+
* Traverse the internal list of public keys. Pass NULL to 'prev' to get
|
| 1379 |
+
* the first one. Or pass a pointer to the previously returned one to get the
|
| 1380 |
+
* next.
|
| 1381 |
+
*
|
| 1382 |
+
* Returns:
|
| 1383 |
+
* 0 if a fine public key was stored in 'store'
|
| 1384 |
+
* 1 if end of public keys
|
| 1385 |
+
* [negative] on errors
|
| 1386 |
+
*/
|
| 1387 |
+
LIBSSH2_API int
|
| 1388 |
+
libssh2_agent_get_identity(LIBSSH2_AGENT *agent,
|
| 1389 |
+
struct libssh2_agent_publickey **store,
|
| 1390 |
+
struct libssh2_agent_publickey *prev);
|
| 1391 |
+
|
| 1392 |
+
/*
|
| 1393 |
+
* libssh2_agent_userauth()
|
| 1394 |
+
*
|
| 1395 |
+
* Do publickey user authentication with the help of ssh-agent.
|
| 1396 |
+
*
|
| 1397 |
+
* Returns 0 if succeeded, or a negative value for error.
|
| 1398 |
+
*/
|
| 1399 |
+
LIBSSH2_API int
|
| 1400 |
+
libssh2_agent_userauth(LIBSSH2_AGENT *agent,
|
| 1401 |
+
const char *username,
|
| 1402 |
+
struct libssh2_agent_publickey *identity);
|
| 1403 |
+
|
| 1404 |
+
/*
|
| 1405 |
+
* libssh2_agent_sign()
|
| 1406 |
+
*
|
| 1407 |
+
* Sign a payload using a system-installed ssh-agent.
|
| 1408 |
+
*
|
| 1409 |
+
* Returns 0 if succeeded, or a negative value for error.
|
| 1410 |
+
*/
|
| 1411 |
+
LIBSSH2_API int
|
| 1412 |
+
libssh2_agent_sign(LIBSSH2_AGENT *agent,
|
| 1413 |
+
struct libssh2_agent_publickey *identity,
|
| 1414 |
+
unsigned char **sig,
|
| 1415 |
+
size_t *s_len,
|
| 1416 |
+
const unsigned char *data,
|
| 1417 |
+
size_t d_len,
|
| 1418 |
+
const char *method,
|
| 1419 |
+
unsigned int method_len);
|
| 1420 |
+
|
| 1421 |
+
/*
|
| 1422 |
+
* libssh2_agent_disconnect()
|
| 1423 |
+
*
|
| 1424 |
+
* Close a connection to an ssh-agent.
|
| 1425 |
+
*
|
| 1426 |
+
* Returns 0 if succeeded, or a negative value for error.
|
| 1427 |
+
*/
|
| 1428 |
+
LIBSSH2_API int
|
| 1429 |
+
libssh2_agent_disconnect(LIBSSH2_AGENT *agent);
|
| 1430 |
+
|
| 1431 |
+
/*
|
| 1432 |
+
* libssh2_agent_free()
|
| 1433 |
+
*
|
| 1434 |
+
* Free an ssh-agent handle. This function also frees the internal
|
| 1435 |
+
* collection of public keys.
|
| 1436 |
+
*/
|
| 1437 |
+
LIBSSH2_API void
|
| 1438 |
+
libssh2_agent_free(LIBSSH2_AGENT *agent);
|
| 1439 |
+
|
| 1440 |
+
/*
|
| 1441 |
+
* libssh2_agent_set_identity_path()
|
| 1442 |
+
*
|
| 1443 |
+
* Allows a custom agent identity socket path beyond SSH_AUTH_SOCK env
|
| 1444 |
+
*
|
| 1445 |
+
*/
|
| 1446 |
+
LIBSSH2_API void
|
| 1447 |
+
libssh2_agent_set_identity_path(LIBSSH2_AGENT *agent,
|
| 1448 |
+
const char *path);
|
| 1449 |
+
|
| 1450 |
+
/*
|
| 1451 |
+
* libssh2_agent_get_identity_path()
|
| 1452 |
+
*
|
| 1453 |
+
* Returns the custom agent identity socket path if set
|
| 1454 |
+
*
|
| 1455 |
+
*/
|
| 1456 |
+
LIBSSH2_API const char *
|
| 1457 |
+
libssh2_agent_get_identity_path(LIBSSH2_AGENT *agent);
|
| 1458 |
+
|
| 1459 |
+
/*
|
| 1460 |
+
* libssh2_keepalive_config()
|
| 1461 |
+
*
|
| 1462 |
+
* Set how often keepalive messages should be sent. WANT_REPLY
|
| 1463 |
+
* indicates whether the keepalive messages should request a response
|
| 1464 |
+
* from the server. INTERVAL is number of seconds that can pass
|
| 1465 |
+
* without any I/O, use 0 (the default) to disable keepalives. To
|
| 1466 |
+
* avoid some busy-loop corner-cases, if you specify an interval of 1
|
| 1467 |
+
* it will be treated as 2.
|
| 1468 |
+
*
|
| 1469 |
+
* Note that non-blocking applications are responsible for sending the
|
| 1470 |
+
* keepalive messages using libssh2_keepalive_send().
|
| 1471 |
+
*/
|
| 1472 |
+
LIBSSH2_API void libssh2_keepalive_config(LIBSSH2_SESSION *session,
|
| 1473 |
+
int want_reply,
|
| 1474 |
+
unsigned int interval);
|
| 1475 |
+
|
| 1476 |
+
/*
|
| 1477 |
+
* libssh2_keepalive_send()
|
| 1478 |
+
*
|
| 1479 |
+
* Send a keepalive message if needed. SECONDS_TO_NEXT indicates how
|
| 1480 |
+
* many seconds you can sleep after this call before you need to call
|
| 1481 |
+
* it again. Returns 0 on success, or LIBSSH2_ERROR_SOCKET_SEND on
|
| 1482 |
+
* I/O errors.
|
| 1483 |
+
*/
|
| 1484 |
+
LIBSSH2_API int libssh2_keepalive_send(LIBSSH2_SESSION *session,
|
| 1485 |
+
int *seconds_to_next);
|
| 1486 |
+
|
| 1487 |
+
/* NOTE NOTE NOTE
|
| 1488 |
+
libssh2_trace() has no function in builds that aren't built with debug
|
| 1489 |
+
enabled
|
| 1490 |
+
*/
|
| 1491 |
+
LIBSSH2_API int libssh2_trace(LIBSSH2_SESSION *session, int bitmask);
|
| 1492 |
+
#define LIBSSH2_TRACE_TRANS (1<<1)
|
| 1493 |
+
#define LIBSSH2_TRACE_KEX (1<<2)
|
| 1494 |
+
#define LIBSSH2_TRACE_AUTH (1<<3)
|
| 1495 |
+
#define LIBSSH2_TRACE_CONN (1<<4)
|
| 1496 |
+
#define LIBSSH2_TRACE_SCP (1<<5)
|
| 1497 |
+
#define LIBSSH2_TRACE_SFTP (1<<6)
|
| 1498 |
+
#define LIBSSH2_TRACE_ERROR (1<<7)
|
| 1499 |
+
#define LIBSSH2_TRACE_PUBLICKEY (1<<8)
|
| 1500 |
+
#define LIBSSH2_TRACE_SOCKET (1<<9)
|
| 1501 |
+
|
| 1502 |
+
typedef void (*libssh2_trace_handler_func)(LIBSSH2_SESSION*,
|
| 1503 |
+
void *,
|
| 1504 |
+
const char *,
|
| 1505 |
+
size_t);
|
| 1506 |
+
LIBSSH2_API int libssh2_trace_sethandler(LIBSSH2_SESSION *session,
|
| 1507 |
+
void *context,
|
| 1508 |
+
libssh2_trace_handler_func callback);
|
| 1509 |
+
|
| 1510 |
+
#ifdef __cplusplus
|
| 1511 |
+
} /* extern "C" */
|
| 1512 |
+
#endif
|
| 1513 |
+
|
| 1514 |
+
#endif /* !RC_INVOKED */
|
| 1515 |
+
|
| 1516 |
+
#endif /* LIBSSH2_H */
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2_publickey.h
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Copyright (C) Sara Golemon <sarag@libssh2.org>
|
| 2 |
+
* All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms,
|
| 5 |
+
* with or without modification, are permitted provided
|
| 6 |
+
* that the following conditions are met:
|
| 7 |
+
*
|
| 8 |
+
* Redistributions of source code must retain the above
|
| 9 |
+
* copyright notice, this list of conditions and the
|
| 10 |
+
* following disclaimer.
|
| 11 |
+
*
|
| 12 |
+
* Redistributions in binary form must reproduce the above
|
| 13 |
+
* copyright notice, this list of conditions and the following
|
| 14 |
+
* disclaimer in the documentation and/or other materials
|
| 15 |
+
* provided with the distribution.
|
| 16 |
+
*
|
| 17 |
+
* Neither the name of the copyright holder nor the names
|
| 18 |
+
* of any other contributors may be used to endorse or
|
| 19 |
+
* promote products derived from this software without
|
| 20 |
+
* specific prior written permission.
|
| 21 |
+
*
|
| 22 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
| 23 |
+
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
| 24 |
+
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
| 25 |
+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 26 |
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 27 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 28 |
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
| 29 |
+
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 30 |
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 31 |
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 32 |
+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 33 |
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
| 34 |
+
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
| 35 |
+
* OF SUCH DAMAGE.
|
| 36 |
+
*/
|
| 37 |
+
|
| 38 |
+
/* Note: This include file is only needed for using the
|
| 39 |
+
* publickey SUBSYSTEM which is not the same as publickey
|
| 40 |
+
* authentication. For authentication you only need libssh2.h
|
| 41 |
+
*
|
| 42 |
+
* For more information on the publickey subsystem,
|
| 43 |
+
* refer to IETF draft: secsh-publickey
|
| 44 |
+
*
|
| 45 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
| 46 |
+
*/
|
| 47 |
+
|
| 48 |
+
#ifndef LIBSSH2_PUBLICKEY_H
|
| 49 |
+
#define LIBSSH2_PUBLICKEY_H 1
|
| 50 |
+
|
| 51 |
+
#include "libssh2.h"
|
| 52 |
+
|
| 53 |
+
typedef struct _LIBSSH2_PUBLICKEY LIBSSH2_PUBLICKEY;
|
| 54 |
+
|
| 55 |
+
typedef struct _libssh2_publickey_attribute {
|
| 56 |
+
const char *name;
|
| 57 |
+
unsigned long name_len;
|
| 58 |
+
const char *value;
|
| 59 |
+
unsigned long value_len;
|
| 60 |
+
char mandatory;
|
| 61 |
+
} libssh2_publickey_attribute;
|
| 62 |
+
|
| 63 |
+
typedef struct _libssh2_publickey_list {
|
| 64 |
+
unsigned char *packet; /* For freeing */
|
| 65 |
+
|
| 66 |
+
const unsigned char *name;
|
| 67 |
+
unsigned long name_len;
|
| 68 |
+
const unsigned char *blob;
|
| 69 |
+
unsigned long blob_len;
|
| 70 |
+
unsigned long num_attrs;
|
| 71 |
+
libssh2_publickey_attribute *attrs; /* free me */
|
| 72 |
+
} libssh2_publickey_list;
|
| 73 |
+
|
| 74 |
+
/* Generally use the first macro here, but if both name and value are string
|
| 75 |
+
literals, you can use _fast() to take advantage of preprocessing */
|
| 76 |
+
#define libssh2_publickey_attribute(name, value, mandatory) \
|
| 77 |
+
{ (name), strlen(name), (value), strlen(value), (mandatory) },
|
| 78 |
+
#define libssh2_publickey_attribute_fast(name, value, mandatory) \
|
| 79 |
+
{ (name), sizeof(name) - 1, (value), sizeof(value) - 1, (mandatory) },
|
| 80 |
+
|
| 81 |
+
#ifdef __cplusplus
|
| 82 |
+
extern "C" {
|
| 83 |
+
#endif
|
| 84 |
+
|
| 85 |
+
/* Publickey Subsystem */
|
| 86 |
+
LIBSSH2_API LIBSSH2_PUBLICKEY *
|
| 87 |
+
libssh2_publickey_init(LIBSSH2_SESSION *session);
|
| 88 |
+
|
| 89 |
+
LIBSSH2_API int
|
| 90 |
+
libssh2_publickey_add_ex(LIBSSH2_PUBLICKEY *pkey,
|
| 91 |
+
const unsigned char *name,
|
| 92 |
+
unsigned long name_len,
|
| 93 |
+
const unsigned char *blob,
|
| 94 |
+
unsigned long blob_len, char overwrite,
|
| 95 |
+
unsigned long num_attrs,
|
| 96 |
+
const libssh2_publickey_attribute attrs[]);
|
| 97 |
+
#define libssh2_publickey_add(pkey, name, blob, blob_len, overwrite, \
|
| 98 |
+
num_attrs, attrs) \
|
| 99 |
+
libssh2_publickey_add_ex((pkey), \
|
| 100 |
+
(name), strlen(name), \
|
| 101 |
+
(blob), (blob_len), \
|
| 102 |
+
(overwrite), (num_attrs), (attrs))
|
| 103 |
+
|
| 104 |
+
LIBSSH2_API int libssh2_publickey_remove_ex(LIBSSH2_PUBLICKEY *pkey,
|
| 105 |
+
const unsigned char *name,
|
| 106 |
+
unsigned long name_len,
|
| 107 |
+
const unsigned char *blob,
|
| 108 |
+
unsigned long blob_len);
|
| 109 |
+
#define libssh2_publickey_remove(pkey, name, blob, blob_len) \
|
| 110 |
+
libssh2_publickey_remove_ex((pkey), \
|
| 111 |
+
(name), strlen(name), \
|
| 112 |
+
(blob), (blob_len))
|
| 113 |
+
|
| 114 |
+
LIBSSH2_API int
|
| 115 |
+
libssh2_publickey_list_fetch(LIBSSH2_PUBLICKEY *pkey,
|
| 116 |
+
unsigned long *num_keys,
|
| 117 |
+
libssh2_publickey_list **pkey_list);
|
| 118 |
+
LIBSSH2_API void
|
| 119 |
+
libssh2_publickey_list_free(LIBSSH2_PUBLICKEY *pkey,
|
| 120 |
+
libssh2_publickey_list *pkey_list);
|
| 121 |
+
|
| 122 |
+
LIBSSH2_API int libssh2_publickey_shutdown(LIBSSH2_PUBLICKEY *pkey);
|
| 123 |
+
|
| 124 |
+
#ifdef __cplusplus
|
| 125 |
+
} /* extern "C" */
|
| 126 |
+
#endif
|
| 127 |
+
|
| 128 |
+
#endif /* LIBSSH2_PUBLICKEY_H */
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2_sftp.h
ADDED
|
@@ -0,0 +1,382 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Copyright (C) Sara Golemon <sarag@libssh2.org>
|
| 2 |
+
* All rights reserved.
|
| 3 |
+
*
|
| 4 |
+
* Redistribution and use in source and binary forms,
|
| 5 |
+
* with or without modification, are permitted provided
|
| 6 |
+
* that the following conditions are met:
|
| 7 |
+
*
|
| 8 |
+
* Redistributions of source code must retain the above
|
| 9 |
+
* copyright notice, this list of conditions and the
|
| 10 |
+
* following disclaimer.
|
| 11 |
+
*
|
| 12 |
+
* Redistributions in binary form must reproduce the above
|
| 13 |
+
* copyright notice, this list of conditions and the following
|
| 14 |
+
* disclaimer in the documentation and/or other materials
|
| 15 |
+
* provided with the distribution.
|
| 16 |
+
*
|
| 17 |
+
* Neither the name of the copyright holder nor the names
|
| 18 |
+
* of any other contributors may be used to endorse or
|
| 19 |
+
* promote products derived from this software without
|
| 20 |
+
* specific prior written permission.
|
| 21 |
+
*
|
| 22 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
| 23 |
+
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
| 24 |
+
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
| 25 |
+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 26 |
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 27 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 28 |
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
| 29 |
+
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 30 |
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 31 |
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 32 |
+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 33 |
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
| 34 |
+
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
| 35 |
+
* OF SUCH DAMAGE.
|
| 36 |
+
*
|
| 37 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
| 38 |
+
*/
|
| 39 |
+
|
| 40 |
+
#ifndef LIBSSH2_SFTP_H
|
| 41 |
+
#define LIBSSH2_SFTP_H 1
|
| 42 |
+
|
| 43 |
+
#include "libssh2.h"
|
| 44 |
+
|
| 45 |
+
#ifndef _WIN32
|
| 46 |
+
#include <unistd.h>
|
| 47 |
+
#endif
|
| 48 |
+
|
| 49 |
+
#ifdef __cplusplus
|
| 50 |
+
extern "C" {
|
| 51 |
+
#endif
|
| 52 |
+
|
| 53 |
+
/* Note: Version 6 was documented at the time of writing
|
| 54 |
+
* However it was marked as "DO NOT IMPLEMENT" due to pending changes
|
| 55 |
+
*
|
| 56 |
+
* Let's start with Version 3 (The version found in OpenSSH) and go from there
|
| 57 |
+
*/
|
| 58 |
+
#define LIBSSH2_SFTP_VERSION 3
|
| 59 |
+
|
| 60 |
+
typedef struct _LIBSSH2_SFTP LIBSSH2_SFTP;
|
| 61 |
+
typedef struct _LIBSSH2_SFTP_HANDLE LIBSSH2_SFTP_HANDLE;
|
| 62 |
+
typedef struct _LIBSSH2_SFTP_ATTRIBUTES LIBSSH2_SFTP_ATTRIBUTES;
|
| 63 |
+
typedef struct _LIBSSH2_SFTP_STATVFS LIBSSH2_SFTP_STATVFS;
|
| 64 |
+
|
| 65 |
+
/* Flags for open_ex() */
|
| 66 |
+
#define LIBSSH2_SFTP_OPENFILE 0
|
| 67 |
+
#define LIBSSH2_SFTP_OPENDIR 1
|
| 68 |
+
|
| 69 |
+
/* Flags for rename_ex() */
|
| 70 |
+
#define LIBSSH2_SFTP_RENAME_OVERWRITE 0x00000001
|
| 71 |
+
#define LIBSSH2_SFTP_RENAME_ATOMIC 0x00000002
|
| 72 |
+
#define LIBSSH2_SFTP_RENAME_NATIVE 0x00000004
|
| 73 |
+
|
| 74 |
+
/* Flags for stat_ex() */
|
| 75 |
+
#define LIBSSH2_SFTP_STAT 0
|
| 76 |
+
#define LIBSSH2_SFTP_LSTAT 1
|
| 77 |
+
#define LIBSSH2_SFTP_SETSTAT 2
|
| 78 |
+
|
| 79 |
+
/* Flags for symlink_ex() */
|
| 80 |
+
#define LIBSSH2_SFTP_SYMLINK 0
|
| 81 |
+
#define LIBSSH2_SFTP_READLINK 1
|
| 82 |
+
#define LIBSSH2_SFTP_REALPATH 2
|
| 83 |
+
|
| 84 |
+
/* Flags for sftp_mkdir() */
|
| 85 |
+
#define LIBSSH2_SFTP_DEFAULT_MODE -1
|
| 86 |
+
|
| 87 |
+
/* SFTP attribute flag bits */
|
| 88 |
+
#define LIBSSH2_SFTP_ATTR_SIZE 0x00000001
|
| 89 |
+
#define LIBSSH2_SFTP_ATTR_UIDGID 0x00000002
|
| 90 |
+
#define LIBSSH2_SFTP_ATTR_PERMISSIONS 0x00000004
|
| 91 |
+
#define LIBSSH2_SFTP_ATTR_ACMODTIME 0x00000008
|
| 92 |
+
#define LIBSSH2_SFTP_ATTR_EXTENDED 0x80000000
|
| 93 |
+
|
| 94 |
+
/* SFTP statvfs flag bits */
|
| 95 |
+
#define LIBSSH2_SFTP_ST_RDONLY 0x00000001
|
| 96 |
+
#define LIBSSH2_SFTP_ST_NOSUID 0x00000002
|
| 97 |
+
|
| 98 |
+
struct _LIBSSH2_SFTP_ATTRIBUTES {
|
| 99 |
+
/* If flags & ATTR_* bit is set, then the value in this struct will be
|
| 100 |
+
* meaningful Otherwise it should be ignored
|
| 101 |
+
*/
|
| 102 |
+
unsigned long flags;
|
| 103 |
+
|
| 104 |
+
libssh2_uint64_t filesize;
|
| 105 |
+
unsigned long uid, gid;
|
| 106 |
+
unsigned long permissions;
|
| 107 |
+
unsigned long atime, mtime;
|
| 108 |
+
};
|
| 109 |
+
|
| 110 |
+
struct _LIBSSH2_SFTP_STATVFS {
|
| 111 |
+
libssh2_uint64_t f_bsize; /* file system block size */
|
| 112 |
+
libssh2_uint64_t f_frsize; /* fragment size */
|
| 113 |
+
libssh2_uint64_t f_blocks; /* size of fs in f_frsize units */
|
| 114 |
+
libssh2_uint64_t f_bfree; /* # free blocks */
|
| 115 |
+
libssh2_uint64_t f_bavail; /* # free blocks for non-root */
|
| 116 |
+
libssh2_uint64_t f_files; /* # inodes */
|
| 117 |
+
libssh2_uint64_t f_ffree; /* # free inodes */
|
| 118 |
+
libssh2_uint64_t f_favail; /* # free inodes for non-root */
|
| 119 |
+
libssh2_uint64_t f_fsid; /* file system ID */
|
| 120 |
+
libssh2_uint64_t f_flag; /* mount flags */
|
| 121 |
+
libssh2_uint64_t f_namemax; /* maximum filename length */
|
| 122 |
+
};
|
| 123 |
+
|
| 124 |
+
/* SFTP filetypes */
|
| 125 |
+
#define LIBSSH2_SFTP_TYPE_REGULAR 1
|
| 126 |
+
#define LIBSSH2_SFTP_TYPE_DIRECTORY 2
|
| 127 |
+
#define LIBSSH2_SFTP_TYPE_SYMLINK 3
|
| 128 |
+
#define LIBSSH2_SFTP_TYPE_SPECIAL 4
|
| 129 |
+
#define LIBSSH2_SFTP_TYPE_UNKNOWN 5
|
| 130 |
+
#define LIBSSH2_SFTP_TYPE_SOCKET 6
|
| 131 |
+
#define LIBSSH2_SFTP_TYPE_CHAR_DEVICE 7
|
| 132 |
+
#define LIBSSH2_SFTP_TYPE_BLOCK_DEVICE 8
|
| 133 |
+
#define LIBSSH2_SFTP_TYPE_FIFO 9
|
| 134 |
+
|
| 135 |
+
/*
|
| 136 |
+
* Reproduce the POSIX file modes here for systems that are not POSIX
|
| 137 |
+
* compliant.
|
| 138 |
+
*
|
| 139 |
+
* These is used in "permissions" of "struct _LIBSSH2_SFTP_ATTRIBUTES"
|
| 140 |
+
*/
|
| 141 |
+
/* File type */
|
| 142 |
+
#define LIBSSH2_SFTP_S_IFMT 0170000 /* type of file mask */
|
| 143 |
+
#define LIBSSH2_SFTP_S_IFIFO 0010000 /* named pipe (fifo) */
|
| 144 |
+
#define LIBSSH2_SFTP_S_IFCHR 0020000 /* character special */
|
| 145 |
+
#define LIBSSH2_SFTP_S_IFDIR 0040000 /* directory */
|
| 146 |
+
#define LIBSSH2_SFTP_S_IFBLK 0060000 /* block special */
|
| 147 |
+
#define LIBSSH2_SFTP_S_IFREG 0100000 /* regular */
|
| 148 |
+
#define LIBSSH2_SFTP_S_IFLNK 0120000 /* symbolic link */
|
| 149 |
+
#define LIBSSH2_SFTP_S_IFSOCK 0140000 /* socket */
|
| 150 |
+
|
| 151 |
+
/* File mode */
|
| 152 |
+
/* Read, write, execute/search by owner */
|
| 153 |
+
#define LIBSSH2_SFTP_S_IRWXU 0000700 /* RWX mask for owner */
|
| 154 |
+
#define LIBSSH2_SFTP_S_IRUSR 0000400 /* R for owner */
|
| 155 |
+
#define LIBSSH2_SFTP_S_IWUSR 0000200 /* W for owner */
|
| 156 |
+
#define LIBSSH2_SFTP_S_IXUSR 0000100 /* X for owner */
|
| 157 |
+
/* Read, write, execute/search by group */
|
| 158 |
+
#define LIBSSH2_SFTP_S_IRWXG 0000070 /* RWX mask for group */
|
| 159 |
+
#define LIBSSH2_SFTP_S_IRGRP 0000040 /* R for group */
|
| 160 |
+
#define LIBSSH2_SFTP_S_IWGRP 0000020 /* W for group */
|
| 161 |
+
#define LIBSSH2_SFTP_S_IXGRP 0000010 /* X for group */
|
| 162 |
+
/* Read, write, execute/search by others */
|
| 163 |
+
#define LIBSSH2_SFTP_S_IRWXO 0000007 /* RWX mask for other */
|
| 164 |
+
#define LIBSSH2_SFTP_S_IROTH 0000004 /* R for other */
|
| 165 |
+
#define LIBSSH2_SFTP_S_IWOTH 0000002 /* W for other */
|
| 166 |
+
#define LIBSSH2_SFTP_S_IXOTH 0000001 /* X for other */
|
| 167 |
+
|
| 168 |
+
/* macros to check for specific file types, added in 1.2.5 */
|
| 169 |
+
#define LIBSSH2_SFTP_S_ISLNK(m) \
|
| 170 |
+
(((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFLNK)
|
| 171 |
+
#define LIBSSH2_SFTP_S_ISREG(m) \
|
| 172 |
+
(((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFREG)
|
| 173 |
+
#define LIBSSH2_SFTP_S_ISDIR(m) \
|
| 174 |
+
(((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFDIR)
|
| 175 |
+
#define LIBSSH2_SFTP_S_ISCHR(m) \
|
| 176 |
+
(((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFCHR)
|
| 177 |
+
#define LIBSSH2_SFTP_S_ISBLK(m) \
|
| 178 |
+
(((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFBLK)
|
| 179 |
+
#define LIBSSH2_SFTP_S_ISFIFO(m) \
|
| 180 |
+
(((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFIFO)
|
| 181 |
+
#define LIBSSH2_SFTP_S_ISSOCK(m) \
|
| 182 |
+
(((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFSOCK)
|
| 183 |
+
|
| 184 |
+
/* SFTP File Transfer Flags -- (e.g. flags parameter to sftp_open())
|
| 185 |
+
* Danger will robinson... APPEND doesn't have any effect on OpenSSH servers */
|
| 186 |
+
#define LIBSSH2_FXF_READ 0x00000001
|
| 187 |
+
#define LIBSSH2_FXF_WRITE 0x00000002
|
| 188 |
+
#define LIBSSH2_FXF_APPEND 0x00000004
|
| 189 |
+
#define LIBSSH2_FXF_CREAT 0x00000008
|
| 190 |
+
#define LIBSSH2_FXF_TRUNC 0x00000010
|
| 191 |
+
#define LIBSSH2_FXF_EXCL 0x00000020
|
| 192 |
+
|
| 193 |
+
/* SFTP Status Codes (returned by libssh2_sftp_last_error() ) */
|
| 194 |
+
#define LIBSSH2_FX_OK 0UL
|
| 195 |
+
#define LIBSSH2_FX_EOF 1UL
|
| 196 |
+
#define LIBSSH2_FX_NO_SUCH_FILE 2UL
|
| 197 |
+
#define LIBSSH2_FX_PERMISSION_DENIED 3UL
|
| 198 |
+
#define LIBSSH2_FX_FAILURE 4UL
|
| 199 |
+
#define LIBSSH2_FX_BAD_MESSAGE 5UL
|
| 200 |
+
#define LIBSSH2_FX_NO_CONNECTION 6UL
|
| 201 |
+
#define LIBSSH2_FX_CONNECTION_LOST 7UL
|
| 202 |
+
#define LIBSSH2_FX_OP_UNSUPPORTED 8UL
|
| 203 |
+
#define LIBSSH2_FX_INVALID_HANDLE 9UL
|
| 204 |
+
#define LIBSSH2_FX_NO_SUCH_PATH 10UL
|
| 205 |
+
#define LIBSSH2_FX_FILE_ALREADY_EXISTS 11UL
|
| 206 |
+
#define LIBSSH2_FX_WRITE_PROTECT 12UL
|
| 207 |
+
#define LIBSSH2_FX_NO_MEDIA 13UL
|
| 208 |
+
#define LIBSSH2_FX_NO_SPACE_ON_FILESYSTEM 14UL
|
| 209 |
+
#define LIBSSH2_FX_QUOTA_EXCEEDED 15UL
|
| 210 |
+
#define LIBSSH2_FX_UNKNOWN_PRINCIPLE 16UL /* Initial mis-spelling */
|
| 211 |
+
#define LIBSSH2_FX_UNKNOWN_PRINCIPAL 16UL
|
| 212 |
+
#define LIBSSH2_FX_LOCK_CONFlICT 17UL /* Initial mis-spelling */
|
| 213 |
+
#define LIBSSH2_FX_LOCK_CONFLICT 17UL
|
| 214 |
+
#define LIBSSH2_FX_DIR_NOT_EMPTY 18UL
|
| 215 |
+
#define LIBSSH2_FX_NOT_A_DIRECTORY 19UL
|
| 216 |
+
#define LIBSSH2_FX_INVALID_FILENAME 20UL
|
| 217 |
+
#define LIBSSH2_FX_LINK_LOOP 21UL
|
| 218 |
+
|
| 219 |
+
/* Returned by any function that would block during a read/write operation */
|
| 220 |
+
#define LIBSSH2SFTP_EAGAIN LIBSSH2_ERROR_EAGAIN
|
| 221 |
+
|
| 222 |
+
/* SFTP API */
|
| 223 |
+
LIBSSH2_API LIBSSH2_SFTP *libssh2_sftp_init(LIBSSH2_SESSION *session);
|
| 224 |
+
LIBSSH2_API int libssh2_sftp_shutdown(LIBSSH2_SFTP *sftp);
|
| 225 |
+
LIBSSH2_API unsigned long libssh2_sftp_last_error(LIBSSH2_SFTP *sftp);
|
| 226 |
+
LIBSSH2_API LIBSSH2_CHANNEL *libssh2_sftp_get_channel(LIBSSH2_SFTP *sftp);
|
| 227 |
+
|
| 228 |
+
/* File / Directory Ops */
|
| 229 |
+
LIBSSH2_API LIBSSH2_SFTP_HANDLE *
|
| 230 |
+
libssh2_sftp_open_ex(LIBSSH2_SFTP *sftp,
|
| 231 |
+
const char *filename,
|
| 232 |
+
unsigned int filename_len,
|
| 233 |
+
unsigned long flags,
|
| 234 |
+
long mode, int open_type);
|
| 235 |
+
#define libssh2_sftp_open(sftp, filename, flags, mode) \
|
| 236 |
+
libssh2_sftp_open_ex((sftp), \
|
| 237 |
+
(filename), (unsigned int)strlen(filename), \
|
| 238 |
+
(flags), (mode), LIBSSH2_SFTP_OPENFILE)
|
| 239 |
+
#define libssh2_sftp_opendir(sftp, path) \
|
| 240 |
+
libssh2_sftp_open_ex((sftp), \
|
| 241 |
+
(path), (unsigned int)strlen(path), \
|
| 242 |
+
0, 0, LIBSSH2_SFTP_OPENDIR)
|
| 243 |
+
LIBSSH2_API LIBSSH2_SFTP_HANDLE *
|
| 244 |
+
libssh2_sftp_open_ex_r(LIBSSH2_SFTP *sftp,
|
| 245 |
+
const char *filename,
|
| 246 |
+
size_t filename_len,
|
| 247 |
+
unsigned long flags,
|
| 248 |
+
long mode, int open_type,
|
| 249 |
+
LIBSSH2_SFTP_ATTRIBUTES *attrs);
|
| 250 |
+
#define libssh2_sftp_open_r(sftp, filename, flags, mode, attrs) \
|
| 251 |
+
libssh2_sftp_open_ex_r((sftp), (filename), strlen(filename), \
|
| 252 |
+
(flags), (mode), LIBSSH2_SFTP_OPENFILE, \
|
| 253 |
+
(attrs))
|
| 254 |
+
|
| 255 |
+
LIBSSH2_API ssize_t libssh2_sftp_read(LIBSSH2_SFTP_HANDLE *handle,
|
| 256 |
+
char *buffer, size_t buffer_maxlen);
|
| 257 |
+
|
| 258 |
+
LIBSSH2_API int libssh2_sftp_readdir_ex(LIBSSH2_SFTP_HANDLE *handle, \
|
| 259 |
+
char *buffer, size_t buffer_maxlen,
|
| 260 |
+
char *longentry,
|
| 261 |
+
size_t longentry_maxlen,
|
| 262 |
+
LIBSSH2_SFTP_ATTRIBUTES *attrs);
|
| 263 |
+
#define libssh2_sftp_readdir(handle, buffer, buffer_maxlen, attrs) \
|
| 264 |
+
libssh2_sftp_readdir_ex((handle), (buffer), (buffer_maxlen), NULL, 0, \
|
| 265 |
+
(attrs))
|
| 266 |
+
|
| 267 |
+
LIBSSH2_API ssize_t libssh2_sftp_write(LIBSSH2_SFTP_HANDLE *handle,
|
| 268 |
+
const char *buffer, size_t count);
|
| 269 |
+
LIBSSH2_API int libssh2_sftp_fsync(LIBSSH2_SFTP_HANDLE *handle);
|
| 270 |
+
|
| 271 |
+
LIBSSH2_API int libssh2_sftp_close_handle(LIBSSH2_SFTP_HANDLE *handle);
|
| 272 |
+
#define libssh2_sftp_close(handle) libssh2_sftp_close_handle(handle)
|
| 273 |
+
#define libssh2_sftp_closedir(handle) libssh2_sftp_close_handle(handle)
|
| 274 |
+
|
| 275 |
+
LIBSSH2_API void libssh2_sftp_seek(LIBSSH2_SFTP_HANDLE *handle, size_t offset);
|
| 276 |
+
LIBSSH2_API void libssh2_sftp_seek64(LIBSSH2_SFTP_HANDLE *handle,
|
| 277 |
+
libssh2_uint64_t offset);
|
| 278 |
+
#define libssh2_sftp_rewind(handle) libssh2_sftp_seek64((handle), 0)
|
| 279 |
+
|
| 280 |
+
LIBSSH2_API size_t libssh2_sftp_tell(LIBSSH2_SFTP_HANDLE *handle);
|
| 281 |
+
LIBSSH2_API libssh2_uint64_t libssh2_sftp_tell64(LIBSSH2_SFTP_HANDLE *handle);
|
| 282 |
+
|
| 283 |
+
LIBSSH2_API int libssh2_sftp_fstat_ex(LIBSSH2_SFTP_HANDLE *handle,
|
| 284 |
+
LIBSSH2_SFTP_ATTRIBUTES *attrs,
|
| 285 |
+
int setstat);
|
| 286 |
+
#define libssh2_sftp_fstat(handle, attrs) \
|
| 287 |
+
libssh2_sftp_fstat_ex((handle), (attrs), 0)
|
| 288 |
+
#define libssh2_sftp_fsetstat(handle, attrs) \
|
| 289 |
+
libssh2_sftp_fstat_ex((handle), (attrs), 1)
|
| 290 |
+
|
| 291 |
+
/* Miscellaneous Ops */
|
| 292 |
+
LIBSSH2_API int libssh2_sftp_rename_ex(LIBSSH2_SFTP *sftp,
|
| 293 |
+
const char *source_filename,
|
| 294 |
+
unsigned int srouce_filename_len,
|
| 295 |
+
const char *dest_filename,
|
| 296 |
+
unsigned int dest_filename_len,
|
| 297 |
+
long flags);
|
| 298 |
+
#define libssh2_sftp_rename(sftp, sourcefile, destfile) \
|
| 299 |
+
libssh2_sftp_rename_ex((sftp), \
|
| 300 |
+
(sourcefile), (unsigned int)strlen(sourcefile), \
|
| 301 |
+
(destfile), (unsigned int)strlen(destfile), \
|
| 302 |
+
LIBSSH2_SFTP_RENAME_OVERWRITE | \
|
| 303 |
+
LIBSSH2_SFTP_RENAME_ATOMIC | \
|
| 304 |
+
LIBSSH2_SFTP_RENAME_NATIVE)
|
| 305 |
+
|
| 306 |
+
LIBSSH2_API int libssh2_sftp_posix_rename_ex(LIBSSH2_SFTP *sftp,
|
| 307 |
+
const char *source_filename,
|
| 308 |
+
size_t srouce_filename_len,
|
| 309 |
+
const char *dest_filename,
|
| 310 |
+
size_t dest_filename_len);
|
| 311 |
+
#define libssh2_sftp_posix_rename(sftp, sourcefile, destfile) \
|
| 312 |
+
libssh2_sftp_posix_rename_ex((sftp), (sourcefile), strlen(sourcefile), \
|
| 313 |
+
(destfile), strlen(destfile))
|
| 314 |
+
|
| 315 |
+
LIBSSH2_API int libssh2_sftp_unlink_ex(LIBSSH2_SFTP *sftp,
|
| 316 |
+
const char *filename,
|
| 317 |
+
unsigned int filename_len);
|
| 318 |
+
#define libssh2_sftp_unlink(sftp, filename) \
|
| 319 |
+
libssh2_sftp_unlink_ex((sftp), (filename), (unsigned int)strlen(filename))
|
| 320 |
+
|
| 321 |
+
LIBSSH2_API int libssh2_sftp_fstatvfs(LIBSSH2_SFTP_HANDLE *handle,
|
| 322 |
+
LIBSSH2_SFTP_STATVFS *st);
|
| 323 |
+
|
| 324 |
+
LIBSSH2_API int libssh2_sftp_statvfs(LIBSSH2_SFTP *sftp,
|
| 325 |
+
const char *path,
|
| 326 |
+
size_t path_len,
|
| 327 |
+
LIBSSH2_SFTP_STATVFS *st);
|
| 328 |
+
|
| 329 |
+
LIBSSH2_API int libssh2_sftp_mkdir_ex(LIBSSH2_SFTP *sftp,
|
| 330 |
+
const char *path,
|
| 331 |
+
unsigned int path_len, long mode);
|
| 332 |
+
#define libssh2_sftp_mkdir(sftp, path, mode) \
|
| 333 |
+
libssh2_sftp_mkdir_ex((sftp), (path), (unsigned int)strlen(path), (mode))
|
| 334 |
+
|
| 335 |
+
LIBSSH2_API int libssh2_sftp_rmdir_ex(LIBSSH2_SFTP *sftp,
|
| 336 |
+
const char *path,
|
| 337 |
+
unsigned int path_len);
|
| 338 |
+
#define libssh2_sftp_rmdir(sftp, path) \
|
| 339 |
+
libssh2_sftp_rmdir_ex((sftp), (path), (unsigned int)strlen(path))
|
| 340 |
+
|
| 341 |
+
LIBSSH2_API int libssh2_sftp_stat_ex(LIBSSH2_SFTP *sftp,
|
| 342 |
+
const char *path,
|
| 343 |
+
unsigned int path_len,
|
| 344 |
+
int stat_type,
|
| 345 |
+
LIBSSH2_SFTP_ATTRIBUTES *attrs);
|
| 346 |
+
#define libssh2_sftp_stat(sftp, path, attrs) \
|
| 347 |
+
libssh2_sftp_stat_ex((sftp), (path), (unsigned int)strlen(path), \
|
| 348 |
+
LIBSSH2_SFTP_STAT, (attrs))
|
| 349 |
+
#define libssh2_sftp_lstat(sftp, path, attrs) \
|
| 350 |
+
libssh2_sftp_stat_ex((sftp), (path), (unsigned int)strlen(path), \
|
| 351 |
+
LIBSSH2_SFTP_LSTAT, (attrs))
|
| 352 |
+
#define libssh2_sftp_setstat(sftp, path, attrs) \
|
| 353 |
+
libssh2_sftp_stat_ex((sftp), (path), (unsigned int)strlen(path), \
|
| 354 |
+
LIBSSH2_SFTP_SETSTAT, (attrs))
|
| 355 |
+
|
| 356 |
+
LIBSSH2_API int libssh2_sftp_symlink_ex(LIBSSH2_SFTP *sftp,
|
| 357 |
+
const char *path,
|
| 358 |
+
unsigned int path_len,
|
| 359 |
+
char *target,
|
| 360 |
+
unsigned int target_len,
|
| 361 |
+
int link_type);
|
| 362 |
+
#define libssh2_sftp_symlink(sftp, orig, linkpath) \
|
| 363 |
+
libssh2_sftp_symlink_ex((sftp), \
|
| 364 |
+
(orig), (unsigned int)strlen(orig), \
|
| 365 |
+
(linkpath), (unsigned int)strlen(linkpath), \
|
| 366 |
+
LIBSSH2_SFTP_SYMLINK)
|
| 367 |
+
#define libssh2_sftp_readlink(sftp, path, target, maxlen) \
|
| 368 |
+
libssh2_sftp_symlink_ex((sftp), \
|
| 369 |
+
(path), (unsigned int)strlen(path), \
|
| 370 |
+
(target), (maxlen), \
|
| 371 |
+
LIBSSH2_SFTP_READLINK)
|
| 372 |
+
#define libssh2_sftp_realpath(sftp, path, target, maxlen) \
|
| 373 |
+
libssh2_sftp_symlink_ex((sftp), \
|
| 374 |
+
(path), (unsigned int)strlen(path), \
|
| 375 |
+
(target), (maxlen), \
|
| 376 |
+
LIBSSH2_SFTP_REALPATH)
|
| 377 |
+
|
| 378 |
+
#ifdef __cplusplus
|
| 379 |
+
} /* extern "C" */
|
| 380 |
+
#endif
|
| 381 |
+
|
| 382 |
+
#endif /* LIBSSH2_SFTP_H */
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/about.json
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"channels": [
|
| 3 |
+
"https://repo.anaconda.com/pkgs/main"
|
| 4 |
+
],
|
| 5 |
+
"conda_build_version": "24.1.2",
|
| 6 |
+
"conda_version": "24.1.2",
|
| 7 |
+
"description": "libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.\n",
|
| 8 |
+
"dev_url": "https://github.com/libssh2/libssh2",
|
| 9 |
+
"doc_url": "https://www.libssh2.org/docs.html",
|
| 10 |
+
"env_vars": {
|
| 11 |
+
"CIO_TEST": "<not set>"
|
| 12 |
+
},
|
| 13 |
+
"extra": {
|
| 14 |
+
"copy_test_source_files": true,
|
| 15 |
+
"final": true,
|
| 16 |
+
"flow_run_id": "4b0cea38-9e15-42af-bd4a-1ec053c9b0d5",
|
| 17 |
+
"recipe-maintainers": [
|
| 18 |
+
"shadowwalkersb"
|
| 19 |
+
],
|
| 20 |
+
"remote_url": "git@github.com:AnacondaRecipes/libssh2-feedstock.git",
|
| 21 |
+
"sha": "ccf17c18a57eafac668302e8b68bd89ce4526611"
|
| 22 |
+
},
|
| 23 |
+
"home": "https://www.libssh2.org/",
|
| 24 |
+
"identifiers": [],
|
| 25 |
+
"keywords": [],
|
| 26 |
+
"license": "BSD-3-Clause",
|
| 27 |
+
"license_family": "BSD",
|
| 28 |
+
"license_file": "COPYING",
|
| 29 |
+
"root_pkgs": [
|
| 30 |
+
"_libgcc_mutex 0.1 main",
|
| 31 |
+
"_openmp_mutex 5.1 1_gnu",
|
| 32 |
+
"archspec 0.2.1 pyhd3eb1b0_0",
|
| 33 |
+
"boltons 23.0.0 py39h06a4308_0",
|
| 34 |
+
"brotli-python 1.0.9 py39h6a678d5_7",
|
| 35 |
+
"bzip2 1.0.8 h7b6447c_0",
|
| 36 |
+
"c-ares 1.19.1 h5eee18b_0",
|
| 37 |
+
"charset-normalizer 2.0.4 pyhd3eb1b0_0",
|
| 38 |
+
"conda-content-trust 0.2.0 py39h06a4308_0",
|
| 39 |
+
"conda-package-handling 2.2.0 py39h06a4308_0",
|
| 40 |
+
"conda-package-streaming 0.9.0 py39h06a4308_0",
|
| 41 |
+
"fmt 9.1.0 hdb19cb5_0",
|
| 42 |
+
"icu 73.1 h6a678d5_0",
|
| 43 |
+
"idna 3.4 py39h06a4308_0",
|
| 44 |
+
"jsonpatch 1.32 pyhd3eb1b0_0",
|
| 45 |
+
"jsonpointer 2.1 pyhd3eb1b0_0",
|
| 46 |
+
"krb5 1.20.1 h143b758_1",
|
| 47 |
+
"ld_impl_linux-64 2.38 h1181459_1",
|
| 48 |
+
"libarchive 3.6.2 h6ac8c49_2",
|
| 49 |
+
"libev 4.33 h7f8727e_1",
|
| 50 |
+
"libffi 3.4.4 h6a678d5_0",
|
| 51 |
+
"libgcc-ng 11.2.0 h1234567_1",
|
| 52 |
+
"libgomp 11.2.0 h1234567_1",
|
| 53 |
+
"libnghttp2 1.57.0 h2d74bed_0",
|
| 54 |
+
"libsolv 0.7.24 he621ea3_0",
|
| 55 |
+
"libssh2 1.10.0 hdbd6064_2",
|
| 56 |
+
"libstdcxx-ng 11.2.0 h1234567_1",
|
| 57 |
+
"libxml2 2.10.4 hf1b16e4_1",
|
| 58 |
+
"lz4-c 1.9.4 h6a678d5_0",
|
| 59 |
+
"ncurses 6.4 h6a678d5_0",
|
| 60 |
+
"packaging 23.1 py39h06a4308_0",
|
| 61 |
+
"pcre2 10.42 hebb0a14_0",
|
| 62 |
+
"pluggy 1.0.0 py39h06a4308_1",
|
| 63 |
+
"pybind11-abi 4 hd3eb1b0_1",
|
| 64 |
+
"pycosat 0.6.6 py39h5eee18b_0",
|
| 65 |
+
"pycparser 2.21 pyhd3eb1b0_0",
|
| 66 |
+
"pysocks 1.7.1 py39h06a4308_0",
|
| 67 |
+
"python 3.9.18 h955ad1f_0",
|
| 68 |
+
"readline 8.2 h5eee18b_0",
|
| 69 |
+
"reproc 14.2.4 h295c915_1",
|
| 70 |
+
"reproc-cpp 14.2.4 h295c915_1",
|
| 71 |
+
"ruamel.yaml 0.17.21 py39h5eee18b_0",
|
| 72 |
+
"ruamel.yaml.clib 0.2.6 py39h5eee18b_1",
|
| 73 |
+
"sqlite 3.41.2 h5eee18b_0",
|
| 74 |
+
"tk 8.6.12 h1ccaba5_0",
|
| 75 |
+
"tqdm 4.65.0 py39hb070fc8_0",
|
| 76 |
+
"wheel 0.41.2 py39h06a4308_0",
|
| 77 |
+
"yaml-cpp 0.8.0 h6a678d5_0",
|
| 78 |
+
"zlib 1.2.13 h5eee18b_0",
|
| 79 |
+
"zstandard 0.19.0 py39h5eee18b_0",
|
| 80 |
+
"zstd 1.5.5 hc292b87_0",
|
| 81 |
+
"attrs 23.1.0 py39h06a4308_0",
|
| 82 |
+
"beautifulsoup4 4.12.2 py39h06a4308_0",
|
| 83 |
+
"ca-certificates 2023.12.12 h06a4308_0",
|
| 84 |
+
"certifi 2024.2.2 py39h06a4308_0",
|
| 85 |
+
"cffi 1.16.0 py39h5eee18b_0",
|
| 86 |
+
"chardet 4.0.0 py39h06a4308_1003",
|
| 87 |
+
"click 8.1.7 py39h06a4308_0",
|
| 88 |
+
"conda 24.1.2 py39h06a4308_0",
|
| 89 |
+
"conda-build 24.1.2 py39h06a4308_0",
|
| 90 |
+
"conda-index 0.4.0 pyhd3eb1b0_0",
|
| 91 |
+
"conda-libmamba-solver 24.1.0 pyhd3eb1b0_0",
|
| 92 |
+
"cryptography 42.0.2 py39hdda0065_0",
|
| 93 |
+
"distro 1.8.0 py39h06a4308_0",
|
| 94 |
+
"filelock 3.13.1 py39h06a4308_0",
|
| 95 |
+
"jinja2 3.1.3 py39h06a4308_0",
|
| 96 |
+
"jsonschema 4.19.2 py39h06a4308_0",
|
| 97 |
+
"jsonschema-specifications 2023.7.1 py39h06a4308_0",
|
| 98 |
+
"libcurl 8.5.0 h251f7ec_0",
|
| 99 |
+
"libedit 3.1.20230828 h5eee18b_0",
|
| 100 |
+
"liblief 0.12.3 h6a678d5_0",
|
| 101 |
+
"libmamba 1.5.6 haf1ee3a_0",
|
| 102 |
+
"libmambapy 1.5.6 py39h2dafd23_0",
|
| 103 |
+
"markupsafe 2.1.3 py39h5eee18b_0",
|
| 104 |
+
"menuinst 2.0.2 py39h06a4308_0",
|
| 105 |
+
"more-itertools 10.1.0 py39h06a4308_0",
|
| 106 |
+
"openssl 3.0.13 h7f8727e_0",
|
| 107 |
+
"patch 2.7.6 h7b6447c_1001",
|
| 108 |
+
"patchelf 0.17.2 h6a678d5_0",
|
| 109 |
+
"pip 23.3.1 py39h06a4308_0",
|
| 110 |
+
"pkginfo 1.9.6 py39h06a4308_0",
|
| 111 |
+
"platformdirs 3.10.0 py39h06a4308_0",
|
| 112 |
+
"psutil 5.9.0 py39h5eee18b_0",
|
| 113 |
+
"py-lief 0.12.3 py39h6a678d5_0",
|
| 114 |
+
"pyopenssl 24.0.0 py39h06a4308_0",
|
| 115 |
+
"python-libarchive-c 2.9 pyhd3eb1b0_1",
|
| 116 |
+
"pytz 2023.3.post1 py39h06a4308_0",
|
| 117 |
+
"pyyaml 6.0.1 py39h5eee18b_0",
|
| 118 |
+
"referencing 0.30.2 py39h06a4308_0",
|
| 119 |
+
"requests 2.31.0 py39h06a4308_1",
|
| 120 |
+
"rpds-py 0.10.6 py39hb02cf49_0",
|
| 121 |
+
"setuptools 68.2.2 py39h06a4308_0",
|
| 122 |
+
"soupsieve 2.5 py39h06a4308_0",
|
| 123 |
+
"tomli 2.0.1 py39h06a4308_0",
|
| 124 |
+
"tzdata 2023d h04d1e81_0",
|
| 125 |
+
"urllib3 2.1.0 py39h06a4308_1",
|
| 126 |
+
"xz 5.4.5 h5eee18b_0",
|
| 127 |
+
"yaml 0.2.5 h7b6447c_0"
|
| 128 |
+
],
|
| 129 |
+
"summary": "the SSH library",
|
| 130 |
+
"tags": []
|
| 131 |
+
}
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/files
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
include/libssh2.h
|
| 2 |
+
include/libssh2_publickey.h
|
| 3 |
+
include/libssh2_sftp.h
|
| 4 |
+
lib/cmake/libssh2/FindLibgcrypt.cmake
|
| 5 |
+
lib/cmake/libssh2/FindMbedTLS.cmake
|
| 6 |
+
lib/cmake/libssh2/FindWolfSSL.cmake
|
| 7 |
+
lib/cmake/libssh2/libssh2-config-version.cmake
|
| 8 |
+
lib/cmake/libssh2/libssh2-config.cmake
|
| 9 |
+
lib/cmake/libssh2/libssh2-targets-noconfig.cmake
|
| 10 |
+
lib/cmake/libssh2/libssh2-targets.cmake
|
| 11 |
+
lib/libssh2.so
|
| 12 |
+
lib/libssh2.so.1
|
| 13 |
+
lib/libssh2.so.1.0.1
|
| 14 |
+
lib/pkgconfig/libssh2.pc
|
| 15 |
+
share/doc/libssh2/AUTHORS
|
| 16 |
+
share/doc/libssh2/BINDINGS.md
|
| 17 |
+
share/doc/libssh2/COPYING
|
| 18 |
+
share/doc/libssh2/HACKING.md
|
| 19 |
+
share/doc/libssh2/NEWS
|
| 20 |
+
share/doc/libssh2/README
|
| 21 |
+
share/doc/libssh2/RELEASE-NOTES
|
| 22 |
+
share/man/man3/libssh2_agent_connect.3
|
| 23 |
+
share/man/man3/libssh2_agent_disconnect.3
|
| 24 |
+
share/man/man3/libssh2_agent_free.3
|
| 25 |
+
share/man/man3/libssh2_agent_get_identity.3
|
| 26 |
+
share/man/man3/libssh2_agent_get_identity_path.3
|
| 27 |
+
share/man/man3/libssh2_agent_init.3
|
| 28 |
+
share/man/man3/libssh2_agent_list_identities.3
|
| 29 |
+
share/man/man3/libssh2_agent_set_identity_path.3
|
| 30 |
+
share/man/man3/libssh2_agent_sign.3
|
| 31 |
+
share/man/man3/libssh2_agent_userauth.3
|
| 32 |
+
share/man/man3/libssh2_banner_set.3
|
| 33 |
+
share/man/man3/libssh2_base64_decode.3
|
| 34 |
+
share/man/man3/libssh2_channel_close.3
|
| 35 |
+
share/man/man3/libssh2_channel_direct_streamlocal_ex.3
|
| 36 |
+
share/man/man3/libssh2_channel_direct_tcpip.3
|
| 37 |
+
share/man/man3/libssh2_channel_direct_tcpip_ex.3
|
| 38 |
+
share/man/man3/libssh2_channel_eof.3
|
| 39 |
+
share/man/man3/libssh2_channel_exec.3
|
| 40 |
+
share/man/man3/libssh2_channel_flush.3
|
| 41 |
+
share/man/man3/libssh2_channel_flush_ex.3
|
| 42 |
+
share/man/man3/libssh2_channel_flush_stderr.3
|
| 43 |
+
share/man/man3/libssh2_channel_forward_accept.3
|
| 44 |
+
share/man/man3/libssh2_channel_forward_cancel.3
|
| 45 |
+
share/man/man3/libssh2_channel_forward_listen.3
|
| 46 |
+
share/man/man3/libssh2_channel_forward_listen_ex.3
|
| 47 |
+
share/man/man3/libssh2_channel_free.3
|
| 48 |
+
share/man/man3/libssh2_channel_get_exit_signal.3
|
| 49 |
+
share/man/man3/libssh2_channel_get_exit_status.3
|
| 50 |
+
share/man/man3/libssh2_channel_handle_extended_data.3
|
| 51 |
+
share/man/man3/libssh2_channel_handle_extended_data2.3
|
| 52 |
+
share/man/man3/libssh2_channel_ignore_extended_data.3
|
| 53 |
+
share/man/man3/libssh2_channel_open_ex.3
|
| 54 |
+
share/man/man3/libssh2_channel_open_session.3
|
| 55 |
+
share/man/man3/libssh2_channel_process_startup.3
|
| 56 |
+
share/man/man3/libssh2_channel_read.3
|
| 57 |
+
share/man/man3/libssh2_channel_read_ex.3
|
| 58 |
+
share/man/man3/libssh2_channel_read_stderr.3
|
| 59 |
+
share/man/man3/libssh2_channel_receive_window_adjust.3
|
| 60 |
+
share/man/man3/libssh2_channel_receive_window_adjust2.3
|
| 61 |
+
share/man/man3/libssh2_channel_request_auth_agent.3
|
| 62 |
+
share/man/man3/libssh2_channel_request_pty.3
|
| 63 |
+
share/man/man3/libssh2_channel_request_pty_ex.3
|
| 64 |
+
share/man/man3/libssh2_channel_request_pty_size.3
|
| 65 |
+
share/man/man3/libssh2_channel_request_pty_size_ex.3
|
| 66 |
+
share/man/man3/libssh2_channel_send_eof.3
|
| 67 |
+
share/man/man3/libssh2_channel_set_blocking.3
|
| 68 |
+
share/man/man3/libssh2_channel_setenv.3
|
| 69 |
+
share/man/man3/libssh2_channel_setenv_ex.3
|
| 70 |
+
share/man/man3/libssh2_channel_shell.3
|
| 71 |
+
share/man/man3/libssh2_channel_signal_ex.3
|
| 72 |
+
share/man/man3/libssh2_channel_subsystem.3
|
| 73 |
+
share/man/man3/libssh2_channel_wait_closed.3
|
| 74 |
+
share/man/man3/libssh2_channel_wait_eof.3
|
| 75 |
+
share/man/man3/libssh2_channel_window_read.3
|
| 76 |
+
share/man/man3/libssh2_channel_window_read_ex.3
|
| 77 |
+
share/man/man3/libssh2_channel_window_write.3
|
| 78 |
+
share/man/man3/libssh2_channel_window_write_ex.3
|
| 79 |
+
share/man/man3/libssh2_channel_write.3
|
| 80 |
+
share/man/man3/libssh2_channel_write_ex.3
|
| 81 |
+
share/man/man3/libssh2_channel_write_stderr.3
|
| 82 |
+
share/man/man3/libssh2_channel_x11_req.3
|
| 83 |
+
share/man/man3/libssh2_channel_x11_req_ex.3
|
| 84 |
+
share/man/man3/libssh2_crypto_engine.3
|
| 85 |
+
share/man/man3/libssh2_exit.3
|
| 86 |
+
share/man/man3/libssh2_free.3
|
| 87 |
+
share/man/man3/libssh2_hostkey_hash.3
|
| 88 |
+
share/man/man3/libssh2_init.3
|
| 89 |
+
share/man/man3/libssh2_keepalive_config.3
|
| 90 |
+
share/man/man3/libssh2_keepalive_send.3
|
| 91 |
+
share/man/man3/libssh2_knownhost_add.3
|
| 92 |
+
share/man/man3/libssh2_knownhost_addc.3
|
| 93 |
+
share/man/man3/libssh2_knownhost_check.3
|
| 94 |
+
share/man/man3/libssh2_knownhost_checkp.3
|
| 95 |
+
share/man/man3/libssh2_knownhost_del.3
|
| 96 |
+
share/man/man3/libssh2_knownhost_free.3
|
| 97 |
+
share/man/man3/libssh2_knownhost_get.3
|
| 98 |
+
share/man/man3/libssh2_knownhost_init.3
|
| 99 |
+
share/man/man3/libssh2_knownhost_readfile.3
|
| 100 |
+
share/man/man3/libssh2_knownhost_readline.3
|
| 101 |
+
share/man/man3/libssh2_knownhost_writefile.3
|
| 102 |
+
share/man/man3/libssh2_knownhost_writeline.3
|
| 103 |
+
share/man/man3/libssh2_poll.3
|
| 104 |
+
share/man/man3/libssh2_poll_channel_read.3
|
| 105 |
+
share/man/man3/libssh2_publickey_add.3
|
| 106 |
+
share/man/man3/libssh2_publickey_add_ex.3
|
| 107 |
+
share/man/man3/libssh2_publickey_init.3
|
| 108 |
+
share/man/man3/libssh2_publickey_list_fetch.3
|
| 109 |
+
share/man/man3/libssh2_publickey_list_free.3
|
| 110 |
+
share/man/man3/libssh2_publickey_remove.3
|
| 111 |
+
share/man/man3/libssh2_publickey_remove_ex.3
|
| 112 |
+
share/man/man3/libssh2_publickey_shutdown.3
|
| 113 |
+
share/man/man3/libssh2_scp_recv.3
|
| 114 |
+
share/man/man3/libssh2_scp_recv2.3
|
| 115 |
+
share/man/man3/libssh2_scp_send.3
|
| 116 |
+
share/man/man3/libssh2_scp_send64.3
|
| 117 |
+
share/man/man3/libssh2_scp_send_ex.3
|
| 118 |
+
share/man/man3/libssh2_session_abstract.3
|
| 119 |
+
share/man/man3/libssh2_session_banner_get.3
|
| 120 |
+
share/man/man3/libssh2_session_banner_set.3
|
| 121 |
+
share/man/man3/libssh2_session_block_directions.3
|
| 122 |
+
share/man/man3/libssh2_session_callback_set.3
|
| 123 |
+
share/man/man3/libssh2_session_callback_set2.3
|
| 124 |
+
share/man/man3/libssh2_session_disconnect.3
|
| 125 |
+
share/man/man3/libssh2_session_disconnect_ex.3
|
| 126 |
+
share/man/man3/libssh2_session_flag.3
|
| 127 |
+
share/man/man3/libssh2_session_free.3
|
| 128 |
+
share/man/man3/libssh2_session_get_blocking.3
|
| 129 |
+
share/man/man3/libssh2_session_get_read_timeout.3
|
| 130 |
+
share/man/man3/libssh2_session_get_timeout.3
|
| 131 |
+
share/man/man3/libssh2_session_handshake.3
|
| 132 |
+
share/man/man3/libssh2_session_hostkey.3
|
| 133 |
+
share/man/man3/libssh2_session_init.3
|
| 134 |
+
share/man/man3/libssh2_session_init_ex.3
|
| 135 |
+
share/man/man3/libssh2_session_last_errno.3
|
| 136 |
+
share/man/man3/libssh2_session_last_error.3
|
| 137 |
+
share/man/man3/libssh2_session_method_pref.3
|
| 138 |
+
share/man/man3/libssh2_session_methods.3
|
| 139 |
+
share/man/man3/libssh2_session_set_blocking.3
|
| 140 |
+
share/man/man3/libssh2_session_set_last_error.3
|
| 141 |
+
share/man/man3/libssh2_session_set_read_timeout.3
|
| 142 |
+
share/man/man3/libssh2_session_set_timeout.3
|
| 143 |
+
share/man/man3/libssh2_session_startup.3
|
| 144 |
+
share/man/man3/libssh2_session_supported_algs.3
|
| 145 |
+
share/man/man3/libssh2_sftp_close.3
|
| 146 |
+
share/man/man3/libssh2_sftp_close_handle.3
|
| 147 |
+
share/man/man3/libssh2_sftp_closedir.3
|
| 148 |
+
share/man/man3/libssh2_sftp_fsetstat.3
|
| 149 |
+
share/man/man3/libssh2_sftp_fstat.3
|
| 150 |
+
share/man/man3/libssh2_sftp_fstat_ex.3
|
| 151 |
+
share/man/man3/libssh2_sftp_fstatvfs.3
|
| 152 |
+
share/man/man3/libssh2_sftp_fsync.3
|
| 153 |
+
share/man/man3/libssh2_sftp_get_channel.3
|
| 154 |
+
share/man/man3/libssh2_sftp_init.3
|
| 155 |
+
share/man/man3/libssh2_sftp_last_error.3
|
| 156 |
+
share/man/man3/libssh2_sftp_lstat.3
|
| 157 |
+
share/man/man3/libssh2_sftp_mkdir.3
|
| 158 |
+
share/man/man3/libssh2_sftp_mkdir_ex.3
|
| 159 |
+
share/man/man3/libssh2_sftp_open.3
|
| 160 |
+
share/man/man3/libssh2_sftp_open_ex.3
|
| 161 |
+
share/man/man3/libssh2_sftp_open_ex_r.3
|
| 162 |
+
share/man/man3/libssh2_sftp_open_r.3
|
| 163 |
+
share/man/man3/libssh2_sftp_opendir.3
|
| 164 |
+
share/man/man3/libssh2_sftp_posix_rename.3
|
| 165 |
+
share/man/man3/libssh2_sftp_posix_rename_ex.3
|
| 166 |
+
share/man/man3/libssh2_sftp_read.3
|
| 167 |
+
share/man/man3/libssh2_sftp_readdir.3
|
| 168 |
+
share/man/man3/libssh2_sftp_readdir_ex.3
|
| 169 |
+
share/man/man3/libssh2_sftp_readlink.3
|
| 170 |
+
share/man/man3/libssh2_sftp_realpath.3
|
| 171 |
+
share/man/man3/libssh2_sftp_rename.3
|
| 172 |
+
share/man/man3/libssh2_sftp_rename_ex.3
|
| 173 |
+
share/man/man3/libssh2_sftp_rewind.3
|
| 174 |
+
share/man/man3/libssh2_sftp_rmdir.3
|
| 175 |
+
share/man/man3/libssh2_sftp_rmdir_ex.3
|
| 176 |
+
share/man/man3/libssh2_sftp_seek.3
|
| 177 |
+
share/man/man3/libssh2_sftp_seek64.3
|
| 178 |
+
share/man/man3/libssh2_sftp_setstat.3
|
| 179 |
+
share/man/man3/libssh2_sftp_shutdown.3
|
| 180 |
+
share/man/man3/libssh2_sftp_stat.3
|
| 181 |
+
share/man/man3/libssh2_sftp_stat_ex.3
|
| 182 |
+
share/man/man3/libssh2_sftp_statvfs.3
|
| 183 |
+
share/man/man3/libssh2_sftp_symlink.3
|
| 184 |
+
share/man/man3/libssh2_sftp_symlink_ex.3
|
| 185 |
+
share/man/man3/libssh2_sftp_tell.3
|
| 186 |
+
share/man/man3/libssh2_sftp_tell64.3
|
| 187 |
+
share/man/man3/libssh2_sftp_unlink.3
|
| 188 |
+
share/man/man3/libssh2_sftp_unlink_ex.3
|
| 189 |
+
share/man/man3/libssh2_sftp_write.3
|
| 190 |
+
share/man/man3/libssh2_sign_sk.3
|
| 191 |
+
share/man/man3/libssh2_trace.3
|
| 192 |
+
share/man/man3/libssh2_trace_sethandler.3
|
| 193 |
+
share/man/man3/libssh2_userauth_authenticated.3
|
| 194 |
+
share/man/man3/libssh2_userauth_banner.3
|
| 195 |
+
share/man/man3/libssh2_userauth_hostbased_fromfile.3
|
| 196 |
+
share/man/man3/libssh2_userauth_hostbased_fromfile_ex.3
|
| 197 |
+
share/man/man3/libssh2_userauth_keyboard_interactive.3
|
| 198 |
+
share/man/man3/libssh2_userauth_keyboard_interactive_ex.3
|
| 199 |
+
share/man/man3/libssh2_userauth_list.3
|
| 200 |
+
share/man/man3/libssh2_userauth_password.3
|
| 201 |
+
share/man/man3/libssh2_userauth_password_ex.3
|
| 202 |
+
share/man/man3/libssh2_userauth_publickey.3
|
| 203 |
+
share/man/man3/libssh2_userauth_publickey_fromfile.3
|
| 204 |
+
share/man/man3/libssh2_userauth_publickey_fromfile_ex.3
|
| 205 |
+
share/man/man3/libssh2_userauth_publickey_frommemory.3
|
| 206 |
+
share/man/man3/libssh2_userauth_publickey_sk.3
|
| 207 |
+
share/man/man3/libssh2_version.3
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/git
ADDED
|
File without changes
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/has_prefix
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
/croot/libssh2_1732891098804/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold text lib/pkgconfig/libssh2.pc
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/hash_input.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"channel_targets": "defaults",
|
| 3 |
+
"zlib": "1.2",
|
| 4 |
+
"c_compiler_version": "11.2.0",
|
| 5 |
+
"c_compiler": "gcc",
|
| 6 |
+
"openssl": "3.0",
|
| 7 |
+
"target_platform": "linux-64"
|
| 8 |
+
}
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/index.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch": "x86_64",
|
| 3 |
+
"build": "h251f7ec_0",
|
| 4 |
+
"build_number": 0,
|
| 5 |
+
"depends": [
|
| 6 |
+
"libgcc-ng >=11.2.0",
|
| 7 |
+
"openssl >=3.0.15,<4.0a0",
|
| 8 |
+
"zlib >=1.2.13,<1.3.0a0"
|
| 9 |
+
],
|
| 10 |
+
"license": "BSD-3-Clause",
|
| 11 |
+
"license_family": "BSD",
|
| 12 |
+
"name": "libssh2",
|
| 13 |
+
"platform": "linux",
|
| 14 |
+
"subdir": "linux-64",
|
| 15 |
+
"timestamp": 1732891131339,
|
| 16 |
+
"version": "1.11.1"
|
| 17 |
+
}
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/licenses/COPYING
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Copyright (C) 2004-2007 Sara Golemon <sarag@libssh2.org>
|
| 2 |
+
* Copyright (C) 2005,2006 Mikhail Gusarov <dottedmag@dottedmag.net>
|
| 3 |
+
* Copyright (C) 2006-2007 The Written Word, Inc.
|
| 4 |
+
* Copyright (C) 2007 Eli Fant <elifantu@mail.ru>
|
| 5 |
+
* Copyright (C) 2009-2023 Daniel Stenberg
|
| 6 |
+
* Copyright (C) 2008, 2009 Simon Josefsson
|
| 7 |
+
* Copyright (C) 2000 Markus Friedl
|
| 8 |
+
* Copyright (C) 2015 Microsoft Corp.
|
| 9 |
+
* All rights reserved.
|
| 10 |
+
*
|
| 11 |
+
* Redistribution and use in source and binary forms,
|
| 12 |
+
* with or without modification, are permitted provided
|
| 13 |
+
* that the following conditions are met:
|
| 14 |
+
*
|
| 15 |
+
* Redistributions of source code must retain the above
|
| 16 |
+
* copyright notice, this list of conditions and the
|
| 17 |
+
* following disclaimer.
|
| 18 |
+
*
|
| 19 |
+
* Redistributions in binary form must reproduce the above
|
| 20 |
+
* copyright notice, this list of conditions and the following
|
| 21 |
+
* disclaimer in the documentation and/or other materials
|
| 22 |
+
* provided with the distribution.
|
| 23 |
+
*
|
| 24 |
+
* Neither the name of the copyright holder nor the names
|
| 25 |
+
* of any other contributors may be used to endorse or
|
| 26 |
+
* promote products derived from this software without
|
| 27 |
+
* specific prior written permission.
|
| 28 |
+
*
|
| 29 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
| 30 |
+
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
| 31 |
+
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
| 32 |
+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 33 |
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 34 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 35 |
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
| 36 |
+
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 37 |
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 38 |
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 39 |
+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 40 |
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
| 41 |
+
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
| 42 |
+
* OF SUCH DAMAGE.
|
| 43 |
+
*/
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/paths.json
ADDED
|
@@ -0,0 +1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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paths": [
|
| 3 |
+
{
|
| 4 |
+
"_path": "include/libssh2.h",
|
| 5 |
+
"path_type": "hardlink",
|
| 6 |
+
"sha256": "86cc9fcfd0daa10ba25442e5ecea23db618027362bc85fdc591ec7f5d9d39a91",
|
| 7 |
+
"size_in_bytes": 60665
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"_path": "include/libssh2_publickey.h",
|
| 11 |
+
"path_type": "hardlink",
|
| 12 |
+
"sha256": "f1cd086f3950e65635827ee3332c1c6ca62887c0f84369ec58e31974debb36e9",
|
| 13 |
+
"size_in_bytes": 4942
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"_path": "include/libssh2_sftp.h",
|
| 17 |
+
"path_type": "hardlink",
|
| 18 |
+
"sha256": "b5d864f19af69521278ed953b20b76a32cfdc08014da81d38f59964e7e2e2575",
|
| 19 |
+
"size_in_bytes": 17369
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"_path": "lib/cmake/libssh2/FindLibgcrypt.cmake",
|
| 23 |
+
"path_type": "hardlink",
|
| 24 |
+
"sha256": "a4641a39678e9aeebeee6fa05541511c6f97abfc14be8b79790c09f8cff3bdec",
|
| 25 |
+
"size_in_bytes": 2088
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"_path": "lib/cmake/libssh2/FindMbedTLS.cmake",
|
| 29 |
+
"path_type": "hardlink",
|
| 30 |
+
"sha256": "09ea2a361669f33f1e430a84f30cfdb7c0729bba1265d86967592cc1e17c775c",
|
| 31 |
+
"size_in_bytes": 2400
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"_path": "lib/cmake/libssh2/FindWolfSSL.cmake",
|
| 35 |
+
"path_type": "hardlink",
|
| 36 |
+
"sha256": "6bbf71ce848edbdc5c6f95144994d1cb3ca041f06e18f485e2e391876ff0d022",
|
| 37 |
+
"size_in_bytes": 2029
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"_path": "lib/cmake/libssh2/libssh2-config-version.cmake",
|
| 41 |
+
"path_type": "hardlink",
|
| 42 |
+
"sha256": "6bb00f14fe78109fa5658af18840ca56218beeb444ad8835ca44bc6504c9f4a4",
|
| 43 |
+
"size_in_bytes": 2881
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"_path": "lib/cmake/libssh2/libssh2-config.cmake",
|
| 47 |
+
"path_type": "hardlink",
|
| 48 |
+
"sha256": "ade41cd19daf6952cf76d90cbb685ff68d434fd47ea083dfe2b3e66caff045db",
|
| 49 |
+
"size_in_bytes": 830
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"_path": "lib/cmake/libssh2/libssh2-targets-noconfig.cmake",
|
| 53 |
+
"path_type": "hardlink",
|
| 54 |
+
"sha256": "e2df2354bce3ee7ce69e6c6f10f8bb50afc8c397e7beecf2562318dd3de41c11",
|
| 55 |
+
"size_in_bytes": 857
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"_path": "lib/cmake/libssh2/libssh2-targets.cmake",
|
| 59 |
+
"path_type": "hardlink",
|
| 60 |
+
"sha256": "de733bd4140632d25e49ffc5cbdba01b86f25d9978c42634460b935fb6e7730c",
|
| 61 |
+
"size_in_bytes": 3936
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"_path": "lib/libssh2.so",
|
| 65 |
+
"path_type": "softlink",
|
| 66 |
+
"sha256": "40d7337e163108c07a261ca5fd825513063c9c3e7b5c748207892c981be6e32c",
|
| 67 |
+
"size_in_bytes": 331760
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"_path": "lib/libssh2.so.1",
|
| 71 |
+
"path_type": "softlink",
|
| 72 |
+
"sha256": "40d7337e163108c07a261ca5fd825513063c9c3e7b5c748207892c981be6e32c",
|
| 73 |
+
"size_in_bytes": 331760
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"_path": "lib/libssh2.so.1.0.1",
|
| 77 |
+
"path_type": "hardlink",
|
| 78 |
+
"sha256": "40d7337e163108c07a261ca5fd825513063c9c3e7b5c748207892c981be6e32c",
|
| 79 |
+
"size_in_bytes": 331760
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"_path": "lib/pkgconfig/libssh2.pc",
|
| 83 |
+
"file_mode": "text",
|
| 84 |
+
"path_type": "hardlink",
|
| 85 |
+
"prefix_placeholder": "/croot/libssh2_1732891098804/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold",
|
| 86 |
+
"sha256": "7599f3f5f4d469e8493513823568d030d7ab7b061fd7e3d2bc5c94966f518836",
|
| 87 |
+
"size_in_bytes": 851
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"_path": "share/doc/libssh2/AUTHORS",
|
| 91 |
+
"path_type": "hardlink",
|
| 92 |
+
"sha256": "e161024bacda626cc77bc905db2fcfb0870e83f53b98f9b8b736f22cb48ab862",
|
| 93 |
+
"size_in_bytes": 1219
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"_path": "share/doc/libssh2/BINDINGS.md",
|
| 97 |
+
"path_type": "hardlink",
|
| 98 |
+
"sha256": "6f5d5dfe5bb5959b3af90df4cd22bcfeec353245c2903a40461305d5739b86f3",
|
| 99 |
+
"size_in_bytes": 847
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"_path": "share/doc/libssh2/COPYING",
|
| 103 |
+
"path_type": "hardlink",
|
| 104 |
+
"sha256": "f7f9633cf9ff2f1333f3d7ce46973a8716a4d2a2815ad56f30d437d5fea7bafe",
|
| 105 |
+
"size_in_bytes": 1959
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"_path": "share/doc/libssh2/HACKING.md",
|
| 109 |
+
"path_type": "hardlink",
|
| 110 |
+
"sha256": "cda7b055bd392dc9f3456185496803851c0df5fa910a65c2e7811b29c3dbc361",
|
| 111 |
+
"size_in_bytes": 267
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"_path": "share/doc/libssh2/NEWS",
|
| 115 |
+
"path_type": "hardlink",
|
| 116 |
+
"sha256": "334d5208024793131fb980a2c0bff33d3cbd3b3a9bf46b24f81df4751a3e00c6",
|
| 117 |
+
"size_in_bytes": 345188
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"_path": "share/doc/libssh2/README",
|
| 121 |
+
"path_type": "hardlink",
|
| 122 |
+
"sha256": "1fc0694bbd85f7411852c56d5d922da629f55d61a9129dbe0e71c8eb5d1d619d",
|
| 123 |
+
"size_in_bytes": 465
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"_path": "share/doc/libssh2/RELEASE-NOTES",
|
| 127 |
+
"path_type": "hardlink",
|
| 128 |
+
"sha256": "a7cf482e7dbaa852e8ff8b961f3b9a56b02b0592800718c78886fc9bd65aebd8",
|
| 129 |
+
"size_in_bytes": 21060
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"_path": "share/man/man3/libssh2_agent_connect.3",
|
| 133 |
+
"path_type": "hardlink",
|
| 134 |
+
"sha256": "93827b7162acf620ad800e371056ab4cb17454adcc92e8cd191e6ecaca6e2ec2",
|
| 135 |
+
"size_in_bytes": 620
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"_path": "share/man/man3/libssh2_agent_disconnect.3",
|
| 139 |
+
"path_type": "hardlink",
|
| 140 |
+
"sha256": "7028321d0bb037abc36039420505876a2ce32b81aea12e1cbcb89ed5ab4d747e",
|
| 141 |
+
"size_in_bytes": 533
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"_path": "share/man/man3/libssh2_agent_free.3",
|
| 145 |
+
"path_type": "hardlink",
|
| 146 |
+
"sha256": "241b81cd1418d72201e43780851046d34ec578e3fe1bd9a0667513fd0f3e7de5",
|
| 147 |
+
"size_in_bytes": 514
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"_path": "share/man/man3/libssh2_agent_get_identity.3",
|
| 151 |
+
"path_type": "hardlink",
|
| 152 |
+
"sha256": "b97ca25673cabcd45769ab2ff18dd70f2f8226c354c27c8b94136400102768d4",
|
| 153 |
+
"size_in_bytes": 1215
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"_path": "share/man/man3/libssh2_agent_get_identity_path.3",
|
| 157 |
+
"path_type": "hardlink",
|
| 158 |
+
"sha256": "f8b8e3cbe18dd8345550e3709e29b4e573df04c0af360451394ba8f0146aad70",
|
| 159 |
+
"size_in_bytes": 613
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"_path": "share/man/man3/libssh2_agent_init.3",
|
| 163 |
+
"path_type": "hardlink",
|
| 164 |
+
"sha256": "e8cf378d2303b292b73fbfe26d174531f6eb34331c12f5e366cfeb0a506cd7a5",
|
| 165 |
+
"size_in_bytes": 902
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"_path": "share/man/man3/libssh2_agent_list_identities.3",
|
| 169 |
+
"path_type": "hardlink",
|
| 170 |
+
"sha256": "79ff942a7adc94c4c86647d2436c116286baf9008d314e1abdaecec1186a9330",
|
| 171 |
+
"size_in_bytes": 714
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"_path": "share/man/man3/libssh2_agent_set_identity_path.3",
|
| 175 |
+
"path_type": "hardlink",
|
| 176 |
+
"sha256": "e241293b8c89244089a824905822c20b1ea89ad8cd237a786941df8ec7a01a95",
|
| 177 |
+
"size_in_bytes": 599
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"_path": "share/man/man3/libssh2_agent_sign.3",
|
| 181 |
+
"path_type": "hardlink",
|
| 182 |
+
"sha256": "3f4e2813629fb4aa9a3603abd160dd0854116148feaf992a65b3fbb93ffd6d78",
|
| 183 |
+
"size_in_bytes": 1855
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"_path": "share/man/man3/libssh2_agent_userauth.3",
|
| 187 |
+
"path_type": "hardlink",
|
| 188 |
+
"sha256": "6783589ea41ff4a361b1472621cdbe2c8868ac8cefb2163d2f93af9615a099a8",
|
| 189 |
+
"size_in_bytes": 955
|
| 190 |
+
},
|
| 191 |
+
{
|
| 192 |
+
"_path": "share/man/man3/libssh2_banner_set.3",
|
| 193 |
+
"path_type": "hardlink",
|
| 194 |
+
"sha256": "c6c3f293a3dd2b398b44e7c2416476a57d026be5bae4f9bf8893cdc2a76fd255",
|
| 195 |
+
"size_in_bytes": 1221
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"_path": "share/man/man3/libssh2_base64_decode.3",
|
| 199 |
+
"path_type": "hardlink",
|
| 200 |
+
"sha256": "c80f58e6bdec085c9b8e3cd28d9c99d3e904b5f11df0d33c11a3a51937c15a22",
|
| 201 |
+
"size_in_bytes": 1062
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"_path": "share/man/man3/libssh2_channel_close.3",
|
| 205 |
+
"path_type": "hardlink",
|
| 206 |
+
"sha256": "45b59eaed23c9562deb277b17af369b846b975b855a19e86528ba968bd954392",
|
| 207 |
+
"size_in_bytes": 1105
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"_path": "share/man/man3/libssh2_channel_direct_streamlocal_ex.3",
|
| 211 |
+
"path_type": "hardlink",
|
| 212 |
+
"sha256": "de469186cbc24ce959dde046cc7cf6d4cc1b3f3d7f76301a03b0ba88c51de524",
|
| 213 |
+
"size_in_bytes": 1324
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"_path": "share/man/man3/libssh2_channel_direct_tcpip.3",
|
| 217 |
+
"path_type": "hardlink",
|
| 218 |
+
"sha256": "cad3486819b2ffbd7af4d6f3fc887e66fdb53604124e1835802e050fe75e861e",
|
| 219 |
+
"size_in_bytes": 782
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"_path": "share/man/man3/libssh2_channel_direct_tcpip_ex.3",
|
| 223 |
+
"path_type": "hardlink",
|
| 224 |
+
"sha256": "b08869117adea9a2cfc5a3afaa3d1bbf674791e9405e43b703b94fcbfe8fcdcb",
|
| 225 |
+
"size_in_bytes": 1465
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"_path": "share/man/man3/libssh2_channel_eof.3",
|
| 229 |
+
"path_type": "hardlink",
|
| 230 |
+
"sha256": "9131535247fa0077e678281bb567325f528d719ab621631bfc0c097b878ce8d5",
|
| 231 |
+
"size_in_bytes": 609
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"_path": "share/man/man3/libssh2_channel_exec.3",
|
| 235 |
+
"path_type": "hardlink",
|
| 236 |
+
"sha256": "6ff96d543eb614ab2d32e4cf5cc344a08daf0a3c540b92c3edd78e6c3fb21c8f",
|
| 237 |
+
"size_in_bytes": 708
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"_path": "share/man/man3/libssh2_channel_flush.3",
|
| 241 |
+
"path_type": "hardlink",
|
| 242 |
+
"sha256": "3ebec0573f4fc88eb8e31b470c8de6fb2a3e846312f49ae0397c2065dea2b595",
|
| 243 |
+
"size_in_bytes": 655
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"_path": "share/man/man3/libssh2_channel_flush_ex.3",
|
| 247 |
+
"path_type": "hardlink",
|
| 248 |
+
"sha256": "0c8804c128f2429e64ab5879277750ea232f66af846e9b10df76570a37ccd327",
|
| 249 |
+
"size_in_bytes": 1147
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"_path": "share/man/man3/libssh2_channel_flush_stderr.3",
|
| 253 |
+
"path_type": "hardlink",
|
| 254 |
+
"sha256": "ef92cda4fbf06ddf6cc0e053dad1b2dbaf7ec2d2ef13123365098aa28e736763",
|
| 255 |
+
"size_in_bytes": 676
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"_path": "share/man/man3/libssh2_channel_forward_accept.3",
|
| 259 |
+
"path_type": "hardlink",
|
| 260 |
+
"sha256": "cf9bf54321891b7cbab4c661e7f6499f5abdcf1b8e8a0c53d913edf4775568cf",
|
| 261 |
+
"size_in_bytes": 839
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"_path": "share/man/man3/libssh2_channel_forward_cancel.3",
|
| 265 |
+
"path_type": "hardlink",
|
| 266 |
+
"sha256": "f5569b644400cd29afc4d5937e9adc515b607fb33c50e981afc15196ac7836db",
|
| 267 |
+
"size_in_bytes": 983
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"_path": "share/man/man3/libssh2_channel_forward_listen.3",
|
| 271 |
+
"path_type": "hardlink",
|
| 272 |
+
"sha256": "3ea7b9b6b10dfbda16e92f922b186c89157f8cbdecfc49b1ed8da5dd2a3aca07",
|
| 273 |
+
"size_in_bytes": 737
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"_path": "share/man/man3/libssh2_channel_forward_listen_ex.3",
|
| 277 |
+
"path_type": "hardlink",
|
| 278 |
+
"sha256": "522d2ae9c54c670ac7055ff4a5c10c1d6fe4bdeb2c838d8535e92fd32c0e3961",
|
| 279 |
+
"size_in_bytes": 1950
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"_path": "share/man/man3/libssh2_channel_free.3",
|
| 283 |
+
"path_type": "hardlink",
|
| 284 |
+
"sha256": "39cef9c879895b449f67efd2e92a2aa8f35b0930bc3ee1bc64253bf8716ddd81",
|
| 285 |
+
"size_in_bytes": 884
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"_path": "share/man/man3/libssh2_channel_get_exit_signal.3",
|
| 289 |
+
"path_type": "hardlink",
|
| 290 |
+
"sha256": "524b77c54892022e6211cac5cc2a7df844a8416fa11b65d2b9dcfdf72b4310cc",
|
| 291 |
+
"size_in_bytes": 1657
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"_path": "share/man/man3/libssh2_channel_get_exit_status.3",
|
| 295 |
+
"path_type": "hardlink",
|
| 296 |
+
"sha256": "a7cd643bef8d656bf17a02132201fd150bc9e45830f7a455211e004d28c7d992",
|
| 297 |
+
"size_in_bytes": 744
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"_path": "share/man/man3/libssh2_channel_handle_extended_data.3",
|
| 301 |
+
"path_type": "hardlink",
|
| 302 |
+
"sha256": "c251b94d551613f04fe0699c96d44a93c5147101aaeb864380ac3adff9e00d19",
|
| 303 |
+
"size_in_bytes": 1377
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"_path": "share/man/man3/libssh2_channel_handle_extended_data2.3",
|
| 307 |
+
"path_type": "hardlink",
|
| 308 |
+
"sha256": "bf629df753b284399874b0623e0f1877e9c3e4c6bfa6309ea17d72d02ab4d482",
|
| 309 |
+
"size_in_bytes": 1326
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"_path": "share/man/man3/libssh2_channel_ignore_extended_data.3",
|
| 313 |
+
"path_type": "hardlink",
|
| 314 |
+
"sha256": "8b19e077449a9fddf72868b65c5b3a27ec1a9735fe10f2a20132004366c234c4",
|
| 315 |
+
"size_in_bytes": 933
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"_path": "share/man/man3/libssh2_channel_open_ex.3",
|
| 319 |
+
"path_type": "hardlink",
|
| 320 |
+
"sha256": "9fdb17360f2ef469ce9a578b5467985161e935ef4e995874390520a1122d130f",
|
| 321 |
+
"size_in_bytes": 2056
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"_path": "share/man/man3/libssh2_channel_open_session.3",
|
| 325 |
+
"path_type": "hardlink",
|
| 326 |
+
"sha256": "b3b5b64d5714cc0703e2ca808843193395b0eae7ec191f4b72d966d9c7ca83ca",
|
| 327 |
+
"size_in_bytes": 685
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"_path": "share/man/man3/libssh2_channel_process_startup.3",
|
| 331 |
+
"path_type": "hardlink",
|
| 332 |
+
"sha256": "95a310714f0e202f875bc97b4bdbbb6216aa89765e6a27c79ac2b2ae5eb267ab",
|
| 333 |
+
"size_in_bytes": 1483
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"_path": "share/man/man3/libssh2_channel_read.3",
|
| 337 |
+
"path_type": "hardlink",
|
| 338 |
+
"sha256": "b52bc537e8bec5566aa706f01292914fa790c37e045636ab283ffc2feb899c48",
|
| 339 |
+
"size_in_bytes": 698
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"_path": "share/man/man3/libssh2_channel_read_ex.3",
|
| 343 |
+
"path_type": "hardlink",
|
| 344 |
+
"sha256": "700615851d254e330390d42ebc97ab29f1c3c8903db743680667cca36df785f5",
|
| 345 |
+
"size_in_bytes": 1793
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"_path": "share/man/man3/libssh2_channel_read_stderr.3",
|
| 349 |
+
"path_type": "hardlink",
|
| 350 |
+
"sha256": "fce9ea31abd23989c2063ad3b694dd2d54b211f61daaa82ca2e0e5664e3cce5d",
|
| 351 |
+
"size_in_bytes": 726
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"_path": "share/man/man3/libssh2_channel_receive_window_adjust.3",
|
| 355 |
+
"path_type": "hardlink",
|
| 356 |
+
"sha256": "4fc34c2faf70f591b30d96588608d519ad667c45e854f20d7a24bcc6f1b2957f",
|
| 357 |
+
"size_in_bytes": 1407
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"_path": "share/man/man3/libssh2_channel_receive_window_adjust2.3",
|
| 361 |
+
"path_type": "hardlink",
|
| 362 |
+
"sha256": "f1dfc59194c428bf1948f2c126fb9ad15ded5a5f896e4ac239cd7273d6b7d0f2",
|
| 363 |
+
"size_in_bytes": 1206
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"_path": "share/man/man3/libssh2_channel_request_auth_agent.3",
|
| 367 |
+
"path_type": "hardlink",
|
| 368 |
+
"sha256": "3062be3a71e1c21267201908b0395470dccf304576bc5fde44fc938de99b370f",
|
| 369 |
+
"size_in_bytes": 966
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"_path": "share/man/man3/libssh2_channel_request_pty.3",
|
| 373 |
+
"path_type": "hardlink",
|
| 374 |
+
"sha256": "fd3c13f1ab9cffa56087d252e3017caa4809e0ac6d8e01dd7269e4393bc2f8e3",
|
| 375 |
+
"size_in_bytes": 721
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"_path": "share/man/man3/libssh2_channel_request_pty_ex.3",
|
| 379 |
+
"path_type": "hardlink",
|
| 380 |
+
"sha256": "bcaf00ddd6f5929e2131cb78562e141ea93dd4bf69695a3c3730ddce4c90e2b1",
|
| 381 |
+
"size_in_bytes": 1776
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"_path": "share/man/man3/libssh2_channel_request_pty_size.3",
|
| 385 |
+
"path_type": "hardlink",
|
| 386 |
+
"sha256": "dd9b7e546fd19286d3bf54c32e2a7bed51daf22fd9b379ddecced0107ed8cb40",
|
| 387 |
+
"size_in_bytes": 799
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"_path": "share/man/man3/libssh2_channel_request_pty_size_ex.3",
|
| 391 |
+
"path_type": "hardlink",
|
| 392 |
+
"sha256": "5340603fdaa4e9a865a6f48820a257f32893c2343469489f67fd11a01dd19e78",
|
| 393 |
+
"size_in_bytes": 307
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"_path": "share/man/man3/libssh2_channel_send_eof.3",
|
| 397 |
+
"path_type": "hardlink",
|
| 398 |
+
"sha256": "2083e91a3dc0d52a3054ca772a1a0e62152eacac4bb10d116e3b310ff0a9ef27",
|
| 399 |
+
"size_in_bytes": 850
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"_path": "share/man/man3/libssh2_channel_set_blocking.3",
|
| 403 |
+
"path_type": "hardlink",
|
| 404 |
+
"sha256": "3a9a03ec5619963174cd14dd6a6601a5a5644a0d217e4980a5543a04e697b58b",
|
| 405 |
+
"size_in_bytes": 821
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"_path": "share/man/man3/libssh2_channel_setenv.3",
|
| 409 |
+
"path_type": "hardlink",
|
| 410 |
+
"sha256": "0af379f819b71ab4e6b92831579ba3e79626acb844e4c04a64e29e2c76da2959",
|
| 411 |
+
"size_in_bytes": 726
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"_path": "share/man/man3/libssh2_channel_setenv_ex.3",
|
| 415 |
+
"path_type": "hardlink",
|
| 416 |
+
"sha256": "78c6e4d474b844e69618a2c3933dc636a5249006f3325cfd7d696f3cc423d962",
|
| 417 |
+
"size_in_bytes": 1578
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"_path": "share/man/man3/libssh2_channel_shell.3",
|
| 421 |
+
"path_type": "hardlink",
|
| 422 |
+
"sha256": "97c2bea5f05e2effd3e55b7bad3c063100e9cc43c801c2288682c56ada7e96b6",
|
| 423 |
+
"size_in_bytes": 690
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"_path": "share/man/man3/libssh2_channel_signal_ex.3",
|
| 427 |
+
"path_type": "hardlink",
|
| 428 |
+
"sha256": "96c69093e70e4f605cb80142729f17ce6a5569adf877e86de6d5871cff5a4126",
|
| 429 |
+
"size_in_bytes": 1153
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"_path": "share/man/man3/libssh2_channel_subsystem.3",
|
| 433 |
+
"path_type": "hardlink",
|
| 434 |
+
"sha256": "9cca5a0d01f6edd429fbe05c9fd9680f61317440136c538428e6d7f7f3f921ea",
|
| 435 |
+
"size_in_bytes": 725
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"_path": "share/man/man3/libssh2_channel_wait_closed.3",
|
| 439 |
+
"path_type": "hardlink",
|
| 440 |
+
"sha256": "43439c25c43c80f041b194f30167b7db9b13d43709d8be880f9c7afc917ad6ac",
|
| 441 |
+
"size_in_bytes": 856
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"_path": "share/man/man3/libssh2_channel_wait_eof.3",
|
| 445 |
+
"path_type": "hardlink",
|
| 446 |
+
"sha256": "e37d262ac8d104cd138c4b44ee04bc68a95ef4a483b96e22c7f41d89a6374409",
|
| 447 |
+
"size_in_bytes": 687
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"_path": "share/man/man3/libssh2_channel_window_read.3",
|
| 451 |
+
"path_type": "hardlink",
|
| 452 |
+
"sha256": "be884015a9faef4f26628fb1e2ec2730675e8d25f0e925d992a84bc017b2f3ca",
|
| 453 |
+
"size_in_bytes": 713
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"_path": "share/man/man3/libssh2_channel_window_read_ex.3",
|
| 457 |
+
"path_type": "hardlink",
|
| 458 |
+
"sha256": "865415960ee08b0c8e9e1c2ffa29e7c4a39df87e8eac888e10c09c971555f96a",
|
| 459 |
+
"size_in_bytes": 1069
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"_path": "share/man/man3/libssh2_channel_window_write.3",
|
| 463 |
+
"path_type": "hardlink",
|
| 464 |
+
"sha256": "8c51bee7d07b75cb07c22335aa925368b4c9a2f35b1f66e4d1ca9372a7a99608",
|
| 465 |
+
"size_in_bytes": 721
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"_path": "share/man/man3/libssh2_channel_window_write_ex.3",
|
| 469 |
+
"path_type": "hardlink",
|
| 470 |
+
"sha256": "dafddb8638409f4adec136c82bd9647fe00d5e7094f028ed75471a59a6cfff31",
|
| 471 |
+
"size_in_bytes": 912
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"_path": "share/man/man3/libssh2_channel_write.3",
|
| 475 |
+
"path_type": "hardlink",
|
| 476 |
+
"sha256": "29ce3458a50de3e5b73e57acaefc7f0e902f685db942c6e4726e9752951cb16e",
|
| 477 |
+
"size_in_bytes": 707
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"_path": "share/man/man3/libssh2_channel_write_ex.3",
|
| 481 |
+
"path_type": "hardlink",
|
| 482 |
+
"sha256": "97e64829d9bd098fb1ac6ed3f1d12ed63c1d93fc910505b45ce9f186f8205cdf",
|
| 483 |
+
"size_in_bytes": 2132
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"_path": "share/man/man3/libssh2_channel_write_stderr.3",
|
| 487 |
+
"path_type": "hardlink",
|
| 488 |
+
"sha256": "6dcb91efa84c3dbe59fb7ed06a2cf433f713a99f8e45f9e8d21fbc5818199048",
|
| 489 |
+
"size_in_bytes": 735
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"_path": "share/man/man3/libssh2_channel_x11_req.3",
|
| 493 |
+
"path_type": "hardlink",
|
| 494 |
+
"sha256": "2667bda07c882236c6ec4eae4709c71b959e71cd0fb93fa50ff7bcecda9910a5",
|
| 495 |
+
"size_in_bytes": 690
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"_path": "share/man/man3/libssh2_channel_x11_req_ex.3",
|
| 499 |
+
"path_type": "hardlink",
|
| 500 |
+
"sha256": "9a02fa5e8a38713fa583cc9fa5cf91d5546f90448eff67a30cf365e946d589e1",
|
| 501 |
+
"size_in_bytes": 1663
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"_path": "share/man/man3/libssh2_crypto_engine.3",
|
| 505 |
+
"path_type": "hardlink",
|
| 506 |
+
"sha256": "8db24bb99f7bce69a94f8c85ce76e64ad1cd174ae44793e286b3043043f86931",
|
| 507 |
+
"size_in_bytes": 432
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"_path": "share/man/man3/libssh2_exit.3",
|
| 511 |
+
"path_type": "hardlink",
|
| 512 |
+
"sha256": "b931d250f2c41ad4a2894fed09b339b052e65a20e56a6310d80a105719b17a8d",
|
| 513 |
+
"size_in_bytes": 431
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"_path": "share/man/man3/libssh2_free.3",
|
| 517 |
+
"path_type": "hardlink",
|
| 518 |
+
"sha256": "aa87afcc3571e9b6121220c68937bf168d52f944b999106b1fd11fdd4fbb17b5",
|
| 519 |
+
"size_in_bytes": 706
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"_path": "share/man/man3/libssh2_hostkey_hash.3",
|
| 523 |
+
"path_type": "hardlink",
|
| 524 |
+
"sha256": "2c56b05777ad6387814c3a4177ad1e945610cf9bd084b7314ad7ff65302830cd",
|
| 525 |
+
"size_in_bytes": 1086
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"_path": "share/man/man3/libssh2_init.3",
|
| 529 |
+
"path_type": "hardlink",
|
| 530 |
+
"sha256": "c8cc5bbdf16c243e7a02fe044c18f788df1319f8e7d43e8014e2d63d9c8e7a6a",
|
| 531 |
+
"size_in_bytes": 672
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"_path": "share/man/man3/libssh2_keepalive_config.3",
|
| 535 |
+
"path_type": "hardlink",
|
| 536 |
+
"sha256": "5c5513a4a288a8cb95b38b9c62a18895c0550ec67ec1e84adda4b10a6a1bf6d4",
|
| 537 |
+
"size_in_bytes": 1025
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"_path": "share/man/man3/libssh2_keepalive_send.3",
|
| 541 |
+
"path_type": "hardlink",
|
| 542 |
+
"sha256": "9f07814934ad8f9cddc443e9cebeed4e4d75121133a252b0ededa79a030a6afb",
|
| 543 |
+
"size_in_bytes": 701
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"_path": "share/man/man3/libssh2_knownhost_add.3",
|
| 547 |
+
"path_type": "hardlink",
|
| 548 |
+
"sha256": "e898eab196bfddf086761b4bcd142fb017bf9cb8fb3b6034481b4d1ae92a7cf8",
|
| 549 |
+
"size_in_bytes": 2525
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"_path": "share/man/man3/libssh2_knownhost_addc.3",
|
| 553 |
+
"path_type": "hardlink",
|
| 554 |
+
"sha256": "b9bcaa30e01f10368e63b9ff7f19330693dcfbaab261279b1791a2789c39cb43",
|
| 555 |
+
"size_in_bytes": 2694
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"_path": "share/man/man3/libssh2_knownhost_check.3",
|
| 559 |
+
"path_type": "hardlink",
|
| 560 |
+
"sha256": "c431ac72025bab6b6ae3cd6c4fb28677e9d9c33cad09852adae300a896901007",
|
| 561 |
+
"size_in_bytes": 2220
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"_path": "share/man/man3/libssh2_knownhost_checkp.3",
|
| 565 |
+
"path_type": "hardlink",
|
| 566 |
+
"sha256": "2dea57c285e9a9a5841be67fa0ab2da7f66cf942bb9541d32c5f402c3a2fd3aa",
|
| 567 |
+
"size_in_bytes": 2487
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"_path": "share/man/man3/libssh2_knownhost_del.3",
|
| 571 |
+
"path_type": "hardlink",
|
| 572 |
+
"sha256": "fde5313aa61c12e4aaf3552f22a9268a1d19dbaab88a71caf1e0c9487dd8dd61",
|
| 573 |
+
"size_in_bytes": 848
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"_path": "share/man/man3/libssh2_knownhost_free.3",
|
| 577 |
+
"path_type": "hardlink",
|
| 578 |
+
"sha256": "3d3caf0b0da87bad1df2fe4d20a2a984be292ec4d6de6aa2dd1f7b45eba77432",
|
| 579 |
+
"size_in_bytes": 519
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"_path": "share/man/man3/libssh2_knownhost_get.3",
|
| 583 |
+
"path_type": "hardlink",
|
| 584 |
+
"sha256": "50564dc7885ec5df4b7cee2e74b5ddaf155dd2e70b32ffd16cd5316539449f29",
|
| 585 |
+
"size_in_bytes": 1160
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"_path": "share/man/man3/libssh2_knownhost_init.3",
|
| 589 |
+
"path_type": "hardlink",
|
| 590 |
+
"sha256": "7dbdb1018502111d9bfd0d4560067a2ec36fd98a3f66c474d613db40d750d442",
|
| 591 |
+
"size_in_bytes": 874
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"_path": "share/man/man3/libssh2_knownhost_readfile.3",
|
| 595 |
+
"path_type": "hardlink",
|
| 596 |
+
"sha256": "cf9c4812973f5de4e67fad368d77c98b6e048baf48773cb698f392bbb881a716",
|
| 597 |
+
"size_in_bytes": 1005
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"_path": "share/man/man3/libssh2_knownhost_readline.3",
|
| 601 |
+
"path_type": "hardlink",
|
| 602 |
+
"sha256": "2da45696dbc997372e5b77899d46a3c39c4072b6a989f41b1bcad6af43918b47",
|
| 603 |
+
"size_in_bytes": 998
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"_path": "share/man/man3/libssh2_knownhost_writefile.3",
|
| 607 |
+
"path_type": "hardlink",
|
| 608 |
+
"sha256": "1524691730cfe60d088ba458307220446c4d802cab6ccc92a46b452e6d16aeca",
|
| 609 |
+
"size_in_bytes": 895
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"_path": "share/man/man3/libssh2_knownhost_writeline.3",
|
| 613 |
+
"path_type": "hardlink",
|
| 614 |
+
"sha256": "6d3dddd11fc676ebe402c49495f6032918b29ca2d62591e703c056a2fd500e30",
|
| 615 |
+
"size_in_bytes": 1650
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"_path": "share/man/man3/libssh2_poll.3",
|
| 619 |
+
"path_type": "hardlink",
|
| 620 |
+
"sha256": "5160ef5ebac05380d91772bd689b33847d4aa6d0b746ff987c1110ea0af62304",
|
| 621 |
+
"size_in_bytes": 1069
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"_path": "share/man/man3/libssh2_poll_channel_read.3",
|
| 625 |
+
"path_type": "hardlink",
|
| 626 |
+
"sha256": "2097a4ea857e90f877ccd9ea35aeb29aee4fa8e7963a96d5a95e38020c308280",
|
| 627 |
+
"size_in_bytes": 754
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"_path": "share/man/man3/libssh2_publickey_add.3",
|
| 631 |
+
"path_type": "hardlink",
|
| 632 |
+
"sha256": "212ba84ec3cd37e4b5ff3c7d19782aab169432a2cab7874afdcea2f0cb5cf100",
|
| 633 |
+
"size_in_bytes": 904
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"_path": "share/man/man3/libssh2_publickey_add_ex.3",
|
| 637 |
+
"path_type": "hardlink",
|
| 638 |
+
"sha256": "7234d3f36a4bd6d1a27418eab82ade7b0b6a69be805cee0752a5f41c360b339c",
|
| 639 |
+
"size_in_bytes": 867
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"_path": "share/man/man3/libssh2_publickey_init.3",
|
| 643 |
+
"path_type": "hardlink",
|
| 644 |
+
"sha256": "299dfff668d2a62a9215973547283bbcbf1b2448512fa526290359fcb3f326ba",
|
| 645 |
+
"size_in_bytes": 321
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"_path": "share/man/man3/libssh2_publickey_list_fetch.3",
|
| 649 |
+
"path_type": "hardlink",
|
| 650 |
+
"sha256": "cbe5bb557f335a10ff9ea672728c63f4abce53fff14cabe87c3c2f5ee3047750",
|
| 651 |
+
"size_in_bytes": 333
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"_path": "share/man/man3/libssh2_publickey_list_free.3",
|
| 655 |
+
"path_type": "hardlink",
|
| 656 |
+
"sha256": "f7d0dc0d31fd988870c9e864c309002bb3b0b3218ffb0422fccf23c325ee4564",
|
| 657 |
+
"size_in_bytes": 331
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"_path": "share/man/man3/libssh2_publickey_remove.3",
|
| 661 |
+
"path_type": "hardlink",
|
| 662 |
+
"sha256": "3f2fda646a360833b2625429d7d3fba7a6d8ad79f398fb721db354e531c01c1c",
|
| 663 |
+
"size_in_bytes": 830
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"_path": "share/man/man3/libssh2_publickey_remove_ex.3",
|
| 667 |
+
"path_type": "hardlink",
|
| 668 |
+
"sha256": "dd9ac968662346fc162815f2f537b689e2050eea3a7529208ec636675a947a3d",
|
| 669 |
+
"size_in_bytes": 346
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"_path": "share/man/man3/libssh2_publickey_shutdown.3",
|
| 673 |
+
"path_type": "hardlink",
|
| 674 |
+
"sha256": "5194f43e8e6c6c01cb5a351cc941b38aed1d6e2cb251eee5d25b775c2a29ce7e",
|
| 675 |
+
"size_in_bytes": 334
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"_path": "share/man/man3/libssh2_scp_recv.3",
|
| 679 |
+
"path_type": "hardlink",
|
| 680 |
+
"sha256": "370b13f05104f981b5efdabfa0e8d431767d9a8d06845f5ef36b3eadfc44906f",
|
| 681 |
+
"size_in_bytes": 1126
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"_path": "share/man/man3/libssh2_scp_recv2.3",
|
| 685 |
+
"path_type": "hardlink",
|
| 686 |
+
"sha256": "3156aa814da8eb0e0f6fa22c01a206e9a077812eeed5ec76e2cfbefe0ae1b1c2",
|
| 687 |
+
"size_in_bytes": 1033
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"_path": "share/man/man3/libssh2_scp_send.3",
|
| 691 |
+
"path_type": "hardlink",
|
| 692 |
+
"sha256": "c5beb0633903ecbd93edecc515b610ae737d9fbf4da11caad90b2e2726c265e1",
|
| 693 |
+
"size_in_bytes": 687
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"_path": "share/man/man3/libssh2_scp_send64.3",
|
| 697 |
+
"path_type": "hardlink",
|
| 698 |
+
"sha256": "da4bc3e826a1a038d5b291af53596d644b7ef65bd16c1731fe9bcc5ecc518e50",
|
| 699 |
+
"size_in_bytes": 1627
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"_path": "share/man/man3/libssh2_scp_send_ex.3",
|
| 703 |
+
"path_type": "hardlink",
|
| 704 |
+
"sha256": "b4cb7b4f00d1b7ada3865a23cd7064f17c6119683829896b501d7a4ddafbb36b",
|
| 705 |
+
"size_in_bytes": 1601
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"_path": "share/man/man3/libssh2_session_abstract.3",
|
| 709 |
+
"path_type": "hardlink",
|
| 710 |
+
"sha256": "5d5233b403c34aa09f8cc65f811962ec59f4e7c08a6536258795c6887994f1df",
|
| 711 |
+
"size_in_bytes": 832
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"_path": "share/man/man3/libssh2_session_banner_get.3",
|
| 715 |
+
"path_type": "hardlink",
|
| 716 |
+
"sha256": "4b79daf9b7fbf5aa17244ea299174ad0866f713086943af468fba3d7e08ea771",
|
| 717 |
+
"size_in_bytes": 897
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"_path": "share/man/man3/libssh2_session_banner_set.3",
|
| 721 |
+
"path_type": "hardlink",
|
| 722 |
+
"sha256": "fd93549e5eff89d85f5730e7453a62e454e86d14c70af7f0acb368e9fffb3311",
|
| 723 |
+
"size_in_bytes": 1252
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"_path": "share/man/man3/libssh2_session_block_directions.3",
|
| 727 |
+
"path_type": "hardlink",
|
| 728 |
+
"sha256": "f91f9140e2410276dcdaac2aed1e0188cbba8b9bfcc1776fc38cccd22d938300",
|
| 729 |
+
"size_in_bytes": 1281
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"_path": "share/man/man3/libssh2_session_callback_set.3",
|
| 733 |
+
"path_type": "hardlink",
|
| 734 |
+
"sha256": "c3bc97d958cfd74b89165773db7ae40890627244dc25ccad123182b04ce3fcfe",
|
| 735 |
+
"size_in_bytes": 1005
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"_path": "share/man/man3/libssh2_session_callback_set2.3",
|
| 739 |
+
"path_type": "hardlink",
|
| 740 |
+
"sha256": "dc6d9afea574a0ae1f4a723d8d5cf20b9d363ac6a9ad32dcacce7c8d6d92cb2f",
|
| 741 |
+
"size_in_bytes": 5167
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"_path": "share/man/man3/libssh2_session_disconnect.3",
|
| 745 |
+
"path_type": "hardlink",
|
| 746 |
+
"sha256": "cb8aa74719f83be841d766ef7c4437e37d405beed26d39685ed8a1392b634c6e",
|
| 747 |
+
"size_in_bytes": 720
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"_path": "share/man/man3/libssh2_session_disconnect_ex.3",
|
| 751 |
+
"path_type": "hardlink",
|
| 752 |
+
"sha256": "637f34bf4c9a0d078a5becf2544b541fc6ceddec8acc61b61f9359d7da699231",
|
| 753 |
+
"size_in_bytes": 1493
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"_path": "share/man/man3/libssh2_session_flag.3",
|
| 757 |
+
"path_type": "hardlink",
|
| 758 |
+
"sha256": "74dc8b50e12ca91fcf44b891783c540907a99f293c236f392f80fa7bc4c0f92f",
|
| 759 |
+
"size_in_bytes": 1024
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"_path": "share/man/man3/libssh2_session_free.3",
|
| 763 |
+
"path_type": "hardlink",
|
| 764 |
+
"sha256": "8777fc5b7b86992585184fe3ee5615dd28afd596753aca62c5aff964e627e0f5",
|
| 765 |
+
"size_in_bytes": 766
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"_path": "share/man/man3/libssh2_session_get_blocking.3",
|
| 769 |
+
"path_type": "hardlink",
|
| 770 |
+
"sha256": "4255ecd0ca8f643932178ef3b48a6d33118e8a9eff0af3480fd3577d3eb94042",
|
| 771 |
+
"size_in_bytes": 578
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"_path": "share/man/man3/libssh2_session_get_read_timeout.3",
|
| 775 |
+
"path_type": "hardlink",
|
| 776 |
+
"sha256": "77acd1cc9eaf0735d964f4e5cf05965e7d036a437aae0d1e255dc325ddc81b5d",
|
| 777 |
+
"size_in_bytes": 738
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"_path": "share/man/man3/libssh2_session_get_timeout.3",
|
| 781 |
+
"path_type": "hardlink",
|
| 782 |
+
"sha256": "323b635352abe27e70e88b596151b280a5659b72e9c41c8e6f24984923768258",
|
| 783 |
+
"size_in_bytes": 744
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"_path": "share/man/man3/libssh2_session_handshake.3",
|
| 787 |
+
"path_type": "hardlink",
|
| 788 |
+
"sha256": "add4bebbb400a8cef8e71e08a1f2eb87b69218ccc893783f546f0afb56e85143",
|
| 789 |
+
"size_in_bytes": 1405
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"_path": "share/man/man3/libssh2_session_hostkey.3",
|
| 793 |
+
"path_type": "hardlink",
|
| 794 |
+
"sha256": "5074d9024f23b2d7f1f2c6d99d1a8c5ebd37f765ca5f5fd41ec6f1642b7864c9",
|
| 795 |
+
"size_in_bytes": 802
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"_path": "share/man/man3/libssh2_session_init.3",
|
| 799 |
+
"path_type": "hardlink",
|
| 800 |
+
"sha256": "bdc2dd76cbad53c198905343ef6336270ed8a79a6dee7abc226cd7803a5201cd",
|
| 801 |
+
"size_in_bytes": 641
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"_path": "share/man/man3/libssh2_session_init_ex.3",
|
| 805 |
+
"path_type": "hardlink",
|
| 806 |
+
"sha256": "bfae417a7d7592787c473ad1262037951399cc35a05b0f8c1dded4ecd7738c3b",
|
| 807 |
+
"size_in_bytes": 1914
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"_path": "share/man/man3/libssh2_session_last_errno.3",
|
| 811 |
+
"path_type": "hardlink",
|
| 812 |
+
"sha256": "f6cfe1343ae78277bb50faa9d934e946497b361940bf549454947f4eb5519405",
|
| 813 |
+
"size_in_bytes": 652
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"_path": "share/man/man3/libssh2_session_last_error.3",
|
| 817 |
+
"path_type": "hardlink",
|
| 818 |
+
"sha256": "3e4997a53e16bc8033076fd23320fddd0f4da5ae3e985dc84b812ccf80fc13d4",
|
| 819 |
+
"size_in_bytes": 1209
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"_path": "share/man/man3/libssh2_session_method_pref.3",
|
| 823 |
+
"path_type": "hardlink",
|
| 824 |
+
"sha256": "42a8339eda08ad1c32835daeb91d1474bbc5351728bc2a87efc6447e9a338a31",
|
| 825 |
+
"size_in_bytes": 1530
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"_path": "share/man/man3/libssh2_session_methods.3",
|
| 829 |
+
"path_type": "hardlink",
|
| 830 |
+
"sha256": "0928a7f07f2aee734bba1d965af2986bdeafeebe83a611d53e11756b4820589e",
|
| 831 |
+
"size_in_bytes": 1120
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"_path": "share/man/man3/libssh2_session_set_blocking.3",
|
| 835 |
+
"path_type": "hardlink",
|
| 836 |
+
"sha256": "f4784231a26bfcf6e60c73b691ae2a8af2d59275aa5449e1feb484597ed1d26b",
|
| 837 |
+
"size_in_bytes": 1157
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"_path": "share/man/man3/libssh2_session_set_last_error.3",
|
| 841 |
+
"path_type": "hardlink",
|
| 842 |
+
"sha256": "f6705fe44254f554648806eda9c8597cc6bbfa4a60065b1afc63fe0fd020b238",
|
| 843 |
+
"size_in_bytes": 1109
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"_path": "share/man/man3/libssh2_session_set_read_timeout.3",
|
| 847 |
+
"path_type": "hardlink",
|
| 848 |
+
"sha256": "ebff1cbf648090f9924eaf43b6996c4afe2ad84607d09a756e60e6fec3589ebb",
|
| 849 |
+
"size_in_bytes": 759
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"_path": "share/man/man3/libssh2_session_set_timeout.3",
|
| 853 |
+
"path_type": "hardlink",
|
| 854 |
+
"sha256": "17d1bdbc6d8991708d7daf8b057e568fd514058b005ee1ba7f1e0ebf1699f3b4",
|
| 855 |
+
"size_in_bytes": 750
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"_path": "share/man/man3/libssh2_session_startup.3",
|
| 859 |
+
"path_type": "hardlink",
|
| 860 |
+
"sha256": "426b4349acc1243528d8239d8d48c6de45d9be4a068a7837528f1dd7ff215ec3",
|
| 861 |
+
"size_in_bytes": 1478
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"_path": "share/man/man3/libssh2_session_supported_algs.3",
|
| 865 |
+
"path_type": "hardlink",
|
| 866 |
+
"sha256": "661400b9ca027be9e227499b56fa79731a4f9d3fdc87a8b6edd42e8af028c07c",
|
| 867 |
+
"size_in_bytes": 2818
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"_path": "share/man/man3/libssh2_sftp_close.3",
|
| 871 |
+
"path_type": "hardlink",
|
| 872 |
+
"sha256": "30aefd27e163afa34bdbd2633b618d6ade18d29aa95998700c7c65032d08f777",
|
| 873 |
+
"size_in_bytes": 680
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"_path": "share/man/man3/libssh2_sftp_close_handle.3",
|
| 877 |
+
"path_type": "hardlink",
|
| 878 |
+
"sha256": "e6a199552547975799b04a8801f413717ae68bd24cf0034fd0e92d6e55f6df02",
|
| 879 |
+
"size_in_bytes": 1486
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"_path": "share/man/man3/libssh2_sftp_closedir.3",
|
| 883 |
+
"path_type": "hardlink",
|
| 884 |
+
"sha256": "57f072d8173d88278887203b1adb2f05f5c75a5abb33acb906bd7444385a4d8e",
|
| 885 |
+
"size_in_bytes": 688
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"_path": "share/man/man3/libssh2_sftp_fsetstat.3",
|
| 889 |
+
"path_type": "hardlink",
|
| 890 |
+
"sha256": "7dd3fc191da3e7eed4cdf5f988d8a5236253551c7b926d5654b8f1edea8cff1c",
|
| 891 |
+
"size_in_bytes": 723
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"_path": "share/man/man3/libssh2_sftp_fstat.3",
|
| 895 |
+
"path_type": "hardlink",
|
| 896 |
+
"sha256": "fbb4b3f44da6190ba908d5fa707e15de9a5e1fb64cc33ed64b6bf92caa4fba95",
|
| 897 |
+
"size_in_bytes": 711
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"_path": "share/man/man3/libssh2_sftp_fstat_ex.3",
|
| 901 |
+
"path_type": "hardlink",
|
| 902 |
+
"sha256": "9af9a671cee0e1ffc02d62e98cde6a08ea460b75439ce9a12c36a812febe00c8",
|
| 903 |
+
"size_in_bytes": 3653
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"_path": "share/man/man3/libssh2_sftp_fstatvfs.3",
|
| 907 |
+
"path_type": "hardlink",
|
| 908 |
+
"sha256": "19d6350659e80542d169bc4aacde4280a212f06fe5cc3be747e02669c6f6ecc3",
|
| 909 |
+
"size_in_bytes": 134
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"_path": "share/man/man3/libssh2_sftp_fsync.3",
|
| 913 |
+
"path_type": "hardlink",
|
| 914 |
+
"sha256": "f82380b11e162cbf944761439be62605d1b35462ee37d13a3fdea0d3598dc3df",
|
| 915 |
+
"size_in_bytes": 1414
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"_path": "share/man/man3/libssh2_sftp_get_channel.3",
|
| 919 |
+
"path_type": "hardlink",
|
| 920 |
+
"sha256": "991acd8157f64be22e795eb8451c1d7e0557599362d07cd47b8845426b8a2ac4",
|
| 921 |
+
"size_in_bytes": 649
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"_path": "share/man/man3/libssh2_sftp_init.3",
|
| 925 |
+
"path_type": "hardlink",
|
| 926 |
+
"sha256": "a4b9dbee2b1bca53149b9df9da4acace640a2efffefcabed34aa7b6afbb217f4",
|
| 927 |
+
"size_in_bytes": 1454
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"_path": "share/man/man3/libssh2_sftp_last_error.3",
|
| 931 |
+
"path_type": "hardlink",
|
| 932 |
+
"sha256": "cc531f8c4e631ee87c0c6919bc23aa9b798b2fde5319f9f6336f0aefe28d800a",
|
| 933 |
+
"size_in_bytes": 851
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"_path": "share/man/man3/libssh2_sftp_lstat.3",
|
| 937 |
+
"path_type": "hardlink",
|
| 938 |
+
"sha256": "5bd4a798b13fe424f40a63c1a7b92e20c2b7cad4b39ac552ca1e729bca44e48a",
|
| 939 |
+
"size_in_bytes": 715
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"_path": "share/man/man3/libssh2_sftp_mkdir.3",
|
| 943 |
+
"path_type": "hardlink",
|
| 944 |
+
"sha256": "3b13853d28b91b3526fd2788bc41bf869774042a7421775b4f8d5de2da773932",
|
| 945 |
+
"size_in_bytes": 699
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"_path": "share/man/man3/libssh2_sftp_mkdir_ex.3",
|
| 949 |
+
"path_type": "hardlink",
|
| 950 |
+
"sha256": "12db10abe8a010a23c158baec03eb873ef27b18de0a5b725c6e2c1a492f58fc0",
|
| 951 |
+
"size_in_bytes": 1555
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"_path": "share/man/man3/libssh2_sftp_open.3",
|
| 955 |
+
"path_type": "hardlink",
|
| 956 |
+
"sha256": "4d3c35cc6eeb58cf7c1b943e1a8bbac7cfd3e705f6b6f2bc2cbd2c5472d36e86",
|
| 957 |
+
"size_in_bytes": 751
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"_path": "share/man/man3/libssh2_sftp_open_ex.3",
|
| 961 |
+
"path_type": "hardlink",
|
| 962 |
+
"sha256": "0ffb026f78bd57ba71ef10e51644c0f49f9fa3271eb5be100c979abb43379b7a",
|
| 963 |
+
"size_in_bytes": 2508
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"_path": "share/man/man3/libssh2_sftp_open_ex_r.3",
|
| 967 |
+
"path_type": "hardlink",
|
| 968 |
+
"sha256": "642b805e54883c8aa90674e616aeff9e9f0fe255baeb4a71268432df8b6342b9",
|
| 969 |
+
"size_in_bytes": 2742
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"_path": "share/man/man3/libssh2_sftp_open_r.3",
|
| 973 |
+
"path_type": "hardlink",
|
| 974 |
+
"sha256": "d58ebd2914c12f005e7e884860edb9d564609464a62ef7981f68bb20ce0de25b",
|
| 975 |
+
"size_in_bytes": 824
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"_path": "share/man/man3/libssh2_sftp_opendir.3",
|
| 979 |
+
"path_type": "hardlink",
|
| 980 |
+
"sha256": "86c3cb7f8bd19010588fb928095e81ab9b736ba6f6f562eb2d010e7d334fef9c",
|
| 981 |
+
"size_in_bytes": 688
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"_path": "share/man/man3/libssh2_sftp_posix_rename.3",
|
| 985 |
+
"path_type": "hardlink",
|
| 986 |
+
"sha256": "af5d09b04b92169edf9f973834632844859fb4c491608e172d5163ceb0431991",
|
| 987 |
+
"size_in_bytes": 816
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"_path": "share/man/man3/libssh2_sftp_posix_rename_ex.3",
|
| 991 |
+
"path_type": "hardlink",
|
| 992 |
+
"sha256": "e76dc9650db7bdde52eb59a8a52c01e6fb0356ccc3af6e43d6da8f2b0e3a074f",
|
| 993 |
+
"size_in_bytes": 2141
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"_path": "share/man/man3/libssh2_sftp_read.3",
|
| 997 |
+
"path_type": "hardlink",
|
| 998 |
+
"sha256": "25fd0d134f1874927a88308a046e556a9b5dadf792ab247cdd9cfb4220f81e5b",
|
| 999 |
+
"size_in_bytes": 1610
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"_path": "share/man/man3/libssh2_sftp_readdir.3",
|
| 1003 |
+
"path_type": "hardlink",
|
| 1004 |
+
"sha256": "f53f2850afbe38cf7ccbdca8ad6c2fbad82dca58567c466ce1ae42b42ad231da",
|
| 1005 |
+
"size_in_bytes": 786
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"_path": "share/man/man3/libssh2_sftp_readdir_ex.3",
|
| 1009 |
+
"path_type": "hardlink",
|
| 1010 |
+
"sha256": "cef4a5038188aedb0dd7d73e89c80d9615a37501c2914ddabc4b2349832c56df",
|
| 1011 |
+
"size_in_bytes": 2781
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"_path": "share/man/man3/libssh2_sftp_readlink.3",
|
| 1015 |
+
"path_type": "hardlink",
|
| 1016 |
+
"sha256": "ac85251703acaae076551d72f8b75e239136c30915adefda15dd218e5095113a",
|
| 1017 |
+
"size_in_bytes": 841
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"_path": "share/man/man3/libssh2_sftp_realpath.3",
|
| 1021 |
+
"path_type": "hardlink",
|
| 1022 |
+
"sha256": "991cfa58e620bd327c3453e137632d73b83808226efde411285b593153fe560b",
|
| 1023 |
+
"size_in_bytes": 841
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"_path": "share/man/man3/libssh2_sftp_rename.3",
|
| 1027 |
+
"path_type": "hardlink",
|
| 1028 |
+
"sha256": "79b3266bfd7c9e511509a1f57738c271af636ffdd5ac1b2e6bfabc06a217d215",
|
| 1029 |
+
"size_in_bytes": 762
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"_path": "share/man/man3/libssh2_sftp_rename_ex.3",
|
| 1033 |
+
"path_type": "hardlink",
|
| 1034 |
+
"sha256": "6b7f1d47835534b202abf17163cd5af9148e246b11853f3a2a82ee5d4cf7aea2",
|
| 1035 |
+
"size_in_bytes": 2273
|
| 1036 |
+
},
|
| 1037 |
+
{
|
| 1038 |
+
"_path": "share/man/man3/libssh2_sftp_rewind.3",
|
| 1039 |
+
"path_type": "hardlink",
|
| 1040 |
+
"sha256": "5dc88e0e443e013f8dc93135cb2c054ea3a386afd9945dce005a9c4dc15a594e",
|
| 1041 |
+
"size_in_bytes": 653
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"_path": "share/man/man3/libssh2_sftp_rmdir.3",
|
| 1045 |
+
"path_type": "hardlink",
|
| 1046 |
+
"sha256": "b044b93bea87d7f0a1a9bdb417c1b9d51b71af6cc2605fd7e453803937c17807",
|
| 1047 |
+
"size_in_bytes": 699
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"_path": "share/man/man3/libssh2_sftp_rmdir_ex.3",
|
| 1051 |
+
"path_type": "hardlink",
|
| 1052 |
+
"sha256": "347ab2145dc11f5bc2c0606bdffde4d48190a80dfad1ed83e7cc7afa61ad7a86",
|
| 1053 |
+
"size_in_bytes": 1291
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"_path": "share/man/man3/libssh2_sftp_seek.3",
|
| 1057 |
+
"path_type": "hardlink",
|
| 1058 |
+
"sha256": "9cf9e18d5223fe74089de905b5bd5f85c6af8404d2f036d0e8c26e5eb6fb2227",
|
| 1059 |
+
"size_in_bytes": 1027
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"_path": "share/man/man3/libssh2_sftp_seek64.3",
|
| 1063 |
+
"path_type": "hardlink",
|
| 1064 |
+
"sha256": "b2213bd874a4f7dae7d1adc5b6e009fbd855beb0629ba389484ea1e6c24b0e22",
|
| 1065 |
+
"size_in_bytes": 1136
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"_path": "share/man/man3/libssh2_sftp_setstat.3",
|
| 1069 |
+
"path_type": "hardlink",
|
| 1070 |
+
"sha256": "68ed4b14c9c7e1469110a697269f5425e486865bb345aedba5193d0350550b95",
|
| 1071 |
+
"size_in_bytes": 722
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"_path": "share/man/man3/libssh2_sftp_shutdown.3",
|
| 1075 |
+
"path_type": "hardlink",
|
| 1076 |
+
"sha256": "db9269bef0cf8083e498126bbb589ef7ab1735daa6c3533f6d71237901955ca3",
|
| 1077 |
+
"size_in_bytes": 764
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"_path": "share/man/man3/libssh2_sftp_stat.3",
|
| 1081 |
+
"path_type": "hardlink",
|
| 1082 |
+
"sha256": "c58253aa8d0130d9828b66c0fc048d0b17cd323f88945343e7a2d468629b9704",
|
| 1083 |
+
"size_in_bytes": 716
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"_path": "share/man/man3/libssh2_sftp_stat_ex.3",
|
| 1087 |
+
"path_type": "hardlink",
|
| 1088 |
+
"sha256": "a75b72b3a630be833ffe0ee520c90de3daf5a0549483e3c67107e6ac13dfbbb0",
|
| 1089 |
+
"size_in_bytes": 2417
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"_path": "share/man/man3/libssh2_sftp_statvfs.3",
|
| 1093 |
+
"path_type": "hardlink",
|
| 1094 |
+
"sha256": "49bc4561fdfd1a7a967f5361821cc9271d23a422c781f3cfe547bc9e69dd0638",
|
| 1095 |
+
"size_in_bytes": 2813
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"_path": "share/man/man3/libssh2_sftp_symlink.3",
|
| 1099 |
+
"path_type": "hardlink",
|
| 1100 |
+
"sha256": "166a69b8888e716d35f58585b8e5d7c38b25f375f2a6133fa46a7338f24e7d01",
|
| 1101 |
+
"size_in_bytes": 810
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"_path": "share/man/man3/libssh2_sftp_symlink_ex.3",
|
| 1105 |
+
"path_type": "hardlink",
|
| 1106 |
+
"sha256": "99688bb027725a7616cfd3864401bfb571dbd6b4c4e64475dce8c6846a21e9d1",
|
| 1107 |
+
"size_in_bytes": 2895
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"_path": "share/man/man3/libssh2_sftp_tell.3",
|
| 1111 |
+
"path_type": "hardlink",
|
| 1112 |
+
"sha256": "997093bf15033ba12e0d492e5168b5abc7714c61ad16adb5dd13814824188f46",
|
| 1113 |
+
"size_in_bytes": 755
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"_path": "share/man/man3/libssh2_sftp_tell64.3",
|
| 1117 |
+
"path_type": "hardlink",
|
| 1118 |
+
"sha256": "a9528d4cfb07191c6e964f7451bd5ea24a1cd21306aaba89a77cbad1cc585fa7",
|
| 1119 |
+
"size_in_bytes": 721
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"_path": "share/man/man3/libssh2_sftp_unlink.3",
|
| 1123 |
+
"path_type": "hardlink",
|
| 1124 |
+
"sha256": "47fb4511fc65ae3accd55630db74a47c1343d024e0c79400081eaa97efdee28e",
|
| 1125 |
+
"size_in_bytes": 681
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"_path": "share/man/man3/libssh2_sftp_unlink_ex.3",
|
| 1129 |
+
"path_type": "hardlink",
|
| 1130 |
+
"sha256": "44b089c206b2a40c8571244ef6d50b15a840b9e0cb8d96854d839fe3a00c69cc",
|
| 1131 |
+
"size_in_bytes": 1342
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"_path": "share/man/man3/libssh2_sftp_write.3",
|
| 1135 |
+
"path_type": "hardlink",
|
| 1136 |
+
"sha256": "e2e53bb3099c438ba12757e0fb2c9b363a7eb579f456f695c5b7b03367ae7a2a",
|
| 1137 |
+
"size_in_bytes": 3080
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"_path": "share/man/man3/libssh2_sign_sk.3",
|
| 1141 |
+
"path_type": "hardlink",
|
| 1142 |
+
"sha256": "5743fdcbb209cc0e5082e366764229661a4b268f93da05774099475fc1ea54e4",
|
| 1143 |
+
"size_in_bytes": 3171
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"_path": "share/man/man3/libssh2_trace.3",
|
| 1147 |
+
"path_type": "hardlink",
|
| 1148 |
+
"sha256": "95432f298aab883ad52984527059619814d4f6ed2b51ea68242b2f7d85eadb0e",
|
| 1149 |
+
"size_in_bytes": 1123
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"_path": "share/man/man3/libssh2_trace_sethandler.3",
|
| 1153 |
+
"path_type": "hardlink",
|
| 1154 |
+
"sha256": "1cbc4fb7d2dafb33dd83f43665b041ea567b69ab7bd0840586fbc467dbdf044a",
|
| 1155 |
+
"size_in_bytes": 1406
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"_path": "share/man/man3/libssh2_userauth_authenticated.3",
|
| 1159 |
+
"path_type": "hardlink",
|
| 1160 |
+
"sha256": "36f943511f320e72ae3e58c8d4c1c34de8d40052a38e360bc892661a696b6f25",
|
| 1161 |
+
"size_in_bytes": 631
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"_path": "share/man/man3/libssh2_userauth_banner.3",
|
| 1165 |
+
"path_type": "hardlink",
|
| 1166 |
+
"sha256": "ce53486fa574dc8963823fe45fc6bcd1b0784bfa60eb4c5b4e27294a28a6fc53",
|
| 1167 |
+
"size_in_bytes": 1198
|
| 1168 |
+
},
|
| 1169 |
+
{
|
| 1170 |
+
"_path": "share/man/man3/libssh2_userauth_hostbased_fromfile.3",
|
| 1171 |
+
"path_type": "hardlink",
|
| 1172 |
+
"sha256": "a8bc73ec12de2eb9fbdda4a4650d9ec0930973ce344319c4211300e46e48e1ae",
|
| 1173 |
+
"size_in_bytes": 1062
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"_path": "share/man/man3/libssh2_userauth_hostbased_fromfile_ex.3",
|
| 1177 |
+
"path_type": "hardlink",
|
| 1178 |
+
"sha256": "99d9d87ccb9bcd513ce12927066b3bb1ccef1468a51819fa1e0d9f325a492ed4",
|
| 1179 |
+
"size_in_bytes": 318
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"_path": "share/man/man3/libssh2_userauth_keyboard_interactive.3",
|
| 1183 |
+
"path_type": "hardlink",
|
| 1184 |
+
"sha256": "286256d30eabaddbfea956c71560f693ffdcaf30595cbaeb3cf002c068e3f270",
|
| 1185 |
+
"size_in_bytes": 921
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"_path": "share/man/man3/libssh2_userauth_keyboard_interactive_ex.3",
|
| 1189 |
+
"path_type": "hardlink",
|
| 1190 |
+
"sha256": "6f5f59facf7221417ab19d55c3188ef13ab41691799b88a9a680ae13c8e05fc7",
|
| 1191 |
+
"size_in_bytes": 2444
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"_path": "share/man/man3/libssh2_userauth_list.3",
|
| 1195 |
+
"path_type": "hardlink",
|
| 1196 |
+
"sha256": "d261efe75b56449123f45929ea41d60da39c3c375dcee87d7238eda9a70dc442",
|
| 1197 |
+
"size_in_bytes": 1727
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"_path": "share/man/man3/libssh2_userauth_password.3",
|
| 1201 |
+
"path_type": "hardlink",
|
| 1202 |
+
"sha256": "1f3955b0503ffa39f6cff55a1ddd2283c6b0b183ecd2da2089815f9edd7f9c91",
|
| 1203 |
+
"size_in_bytes": 783
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"_path": "share/man/man3/libssh2_userauth_password_ex.3",
|
| 1207 |
+
"path_type": "hardlink",
|
| 1208 |
+
"sha256": "e90b6ad0c2a4bc406e748319849cf147ba3b326fc77eb331fcab6d8e252862e1",
|
| 1209 |
+
"size_in_bytes": 2325
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"_path": "share/man/man3/libssh2_userauth_publickey.3",
|
| 1213 |
+
"path_type": "hardlink",
|
| 1214 |
+
"sha256": "f690a31d61110b656610f257fe0609b5b6e59529c247b7fa866f31a07c4a8a45",
|
| 1215 |
+
"size_in_bytes": 1007
|
| 1216 |
+
},
|
| 1217 |
+
{
|
| 1218 |
+
"_path": "share/man/man3/libssh2_userauth_publickey_fromfile.3",
|
| 1219 |
+
"path_type": "hardlink",
|
| 1220 |
+
"sha256": "3e2f767ff85f3e69baab1d6a26f38cb6b9e614f9d3c9ea9ea4b281774e0da1d7",
|
| 1221 |
+
"size_in_bytes": 1004
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"_path": "share/man/man3/libssh2_userauth_publickey_fromfile_ex.3",
|
| 1225 |
+
"path_type": "hardlink",
|
| 1226 |
+
"sha256": "ec140c49395f21372077ea929740c72259d9ec40c15042fa13d90657489a0516",
|
| 1227 |
+
"size_in_bytes": 2203
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"_path": "share/man/man3/libssh2_userauth_publickey_frommemory.3",
|
| 1231 |
+
"path_type": "hardlink",
|
| 1232 |
+
"sha256": "68c340ccf9a45c38d90fb9099e15d474b3b1df22fcba995f0713c3974586edd5",
|
| 1233 |
+
"size_in_bytes": 2412
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"_path": "share/man/man3/libssh2_userauth_publickey_sk.3",
|
| 1237 |
+
"path_type": "hardlink",
|
| 1238 |
+
"sha256": "3172feca0991e9ea79fdc9dc98f894f53c73bba2347bf3ea9650ad26ec32ce43",
|
| 1239 |
+
"size_in_bytes": 5459
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"_path": "share/man/man3/libssh2_version.3",
|
| 1243 |
+
"path_type": "hardlink",
|
| 1244 |
+
"sha256": "b345a7bb83082bfb168a8372a8a5e05a7dc50a31a1f765b95fb0d35ca7a0f49f",
|
| 1245 |
+
"size_in_bytes": 1334
|
| 1246 |
+
}
|
| 1247 |
+
],
|
| 1248 |
+
"paths_version": 1
|
| 1249 |
+
}
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/bld.bat
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
set PATH=%PREFIX%\cmake-bin\bin;%PATH%
|
| 2 |
+
|
| 3 |
+
set CFLAGS=
|
| 4 |
+
set CXXFLAGS=
|
| 5 |
+
|
| 6 |
+
mkdir build
|
| 7 |
+
pushd build
|
| 8 |
+
cmake .. -GNinja ^
|
| 9 |
+
-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
|
| 10 |
+
-DCMAKE_BUILD_TYPE=Release ^
|
| 11 |
+
-DBUILD_SHARED_LIBS=ON ^
|
| 12 |
+
-DBUILD_STATIC_LIBS=OFF ^
|
| 13 |
+
-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
|
| 14 |
+
-DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^
|
| 15 |
+
-DENABLE_ZLIB_COMPRESSION=ON ^
|
| 16 |
+
-DCRYPTO_BACKEND=OpenSSL ^
|
| 17 |
+
-DBUILD_EXAMPLES=OFF ^
|
| 18 |
+
-DBUILD_TESTING=ON ^
|
| 19 |
+
-DRUN_DOCKER_TESTS=OFF ^
|
| 20 |
+
-DRUN_SSHD_TESTS=OFF ^
|
| 21 |
+
%CMAKE_ARGS%
|
| 22 |
+
|
| 23 |
+
ninja -j%CPU_COUNT%
|
| 24 |
+
IF %ERRORLEVEL% NEQ 0 exit 1
|
| 25 |
+
REM Skip Docker and SSHD tests (see above) because they involve external dependencies
|
| 26 |
+
ctest --output-on-failure
|
| 27 |
+
IF %ERRORLEVEL% NEQ 0 exit 1
|
| 28 |
+
ninja install
|
| 29 |
+
IF %ERRORLEVEL% NEQ 0 exit 1
|
| 30 |
+
popd
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/build.sh
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
if [[ $target_platform =~ linux.* ]]; then
|
| 4 |
+
export LDFLAGS="$LDFLAGS -Wl,-rpath-link,$PREFIX/lib"
|
| 5 |
+
fi
|
| 6 |
+
|
| 7 |
+
# linux-aarch64 activations fails to set `ar` tool. This can be
|
| 8 |
+
# removed when ctng-compiler-activation is corrected.
|
| 9 |
+
if [[ "${target_platform}" == linux-aarch64 ]]; then
|
| 10 |
+
if [[ -n "$AR" ]]; then
|
| 11 |
+
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_AR=${AR}"
|
| 12 |
+
fi
|
| 13 |
+
fi
|
| 14 |
+
|
| 15 |
+
mkdir build-shared
|
| 16 |
+
pushd build-shared || exit
|
| 17 |
+
cmake -GNinja \
|
| 18 |
+
${CMAKE_ARGS} \
|
| 19 |
+
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
|
| 20 |
+
-DBUILD_SHARED_LIBS=ON \
|
| 21 |
+
-DBUILD_STATIC_LIBS=OFF \
|
| 22 |
+
-DCMAKE_INSTALL_LIBDIR=lib \
|
| 23 |
+
-DCRYPTO_BACKEND=OpenSSL \
|
| 24 |
+
-DENABLE_ZLIB_COMPRESSION=ON \
|
| 25 |
+
-DBUILD_EXAMPLES=OFF \
|
| 26 |
+
-DBUILD_TESTING=ON \
|
| 27 |
+
-DRUN_DOCKER_TESTS=OFF \
|
| 28 |
+
-DRUN_SSHD_TESTS=OFF \
|
| 29 |
+
..
|
| 30 |
+
|
| 31 |
+
ninja -j${CPU_COUNT}
|
| 32 |
+
# Skip Docker and SSHD tests (see above) because they involve external dependencies
|
| 33 |
+
ctest --output-on-failure
|
| 34 |
+
ninja install
|
| 35 |
+
# ctest fails on the docker image 'sh: docker: command not found'
|
| 36 |
+
popd || exit
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/conda_build_config.yaml
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
VERBOSE_AT: V=1
|
| 2 |
+
VERBOSE_CM: VERBOSE=1
|
| 3 |
+
blas_impl: openblas
|
| 4 |
+
boost: '1.82'
|
| 5 |
+
boost_cpp: '1.82'
|
| 6 |
+
bzip2: '1.0'
|
| 7 |
+
c_compiler: gcc
|
| 8 |
+
c_compiler_version: 11.2.0
|
| 9 |
+
cairo: '1.16'
|
| 10 |
+
cgo_compiler: go-cgo
|
| 11 |
+
cgo_compiler_version: '1.21'
|
| 12 |
+
channel_targets: defaults
|
| 13 |
+
clang_variant: clang
|
| 14 |
+
cpu_optimization_target: nocona
|
| 15 |
+
cran_mirror: https://mran.microsoft.com/snapshot/2018-01-01
|
| 16 |
+
cuda_compiler: cuda-nvcc
|
| 17 |
+
cuda_compiler_version: '12.4'
|
| 18 |
+
cxx_compiler: gxx
|
| 19 |
+
cxx_compiler_version: 11.2.0
|
| 20 |
+
cyrus_sasl: 2.1.28
|
| 21 |
+
dbus: '1'
|
| 22 |
+
expat: '2'
|
| 23 |
+
extend_keys:
|
| 24 |
+
- pin_run_as_build
|
| 25 |
+
- extend_keys
|
| 26 |
+
- ignore_build_only_deps
|
| 27 |
+
- ignore_version
|
| 28 |
+
fontconfig: '2.14'
|
| 29 |
+
fortran_compiler: gfortran
|
| 30 |
+
fortran_compiler_version: 11.2.0
|
| 31 |
+
freetype: '2.10'
|
| 32 |
+
g2clib: '1.6'
|
| 33 |
+
geos: 3.8.0
|
| 34 |
+
giflib: '5'
|
| 35 |
+
glib: '2'
|
| 36 |
+
gmp: '6.2'
|
| 37 |
+
gnu: 2.12.2
|
| 38 |
+
go_compiler: go-nocgo
|
| 39 |
+
go_compiler_version: '1.21'
|
| 40 |
+
gst_plugins_base: '1.14'
|
| 41 |
+
gstreamer: '1.14'
|
| 42 |
+
harfbuzz: 4.3.0
|
| 43 |
+
hdf4: '4.2'
|
| 44 |
+
hdf5: 1.12.1
|
| 45 |
+
hdfeos2: '2.20'
|
| 46 |
+
hdfeos5: '5.1'
|
| 47 |
+
icu: '73'
|
| 48 |
+
ignore_build_only_deps:
|
| 49 |
+
- python
|
| 50 |
+
- numpy
|
| 51 |
+
jpeg: '9'
|
| 52 |
+
libabseil: '20240116.2'
|
| 53 |
+
libcurl: 8.1.1
|
| 54 |
+
libdap4: '3.19'
|
| 55 |
+
libffi: '3.4'
|
| 56 |
+
libgd: 2.3.3
|
| 57 |
+
libgdal: 3.6.2
|
| 58 |
+
libgrpc: 1.62.2
|
| 59 |
+
libgsasl: '1.10'
|
| 60 |
+
libkml: '1.3'
|
| 61 |
+
libnetcdf: '4.8'
|
| 62 |
+
libpng: '1.6'
|
| 63 |
+
libprotobuf: 4.25.3
|
| 64 |
+
libtiff: 4.5.0
|
| 65 |
+
libwebp: 1.3.2
|
| 66 |
+
libxml2: '2.13'
|
| 67 |
+
libxslt: '1.1'
|
| 68 |
+
llvm_variant: llvm
|
| 69 |
+
lua: '5'
|
| 70 |
+
lzo: '2'
|
| 71 |
+
mkl: 2023.*
|
| 72 |
+
mpfr: '4'
|
| 73 |
+
numpy: '1.26'
|
| 74 |
+
openblas: 0.3.21
|
| 75 |
+
openjpeg: '2.3'
|
| 76 |
+
openssl: '3.0'
|
| 77 |
+
perl: '5.34'
|
| 78 |
+
pin_run_as_build:
|
| 79 |
+
python:
|
| 80 |
+
max_pin: x.x
|
| 81 |
+
min_pin: x.x
|
| 82 |
+
r-base:
|
| 83 |
+
max_pin: x.x
|
| 84 |
+
min_pin: x.x
|
| 85 |
+
libboost:
|
| 86 |
+
max_pin: x.x.x
|
| 87 |
+
pixman: '0.40'
|
| 88 |
+
proj: 9.3.1
|
| 89 |
+
proj4: 5.2.0
|
| 90 |
+
python: '3.12'
|
| 91 |
+
python_impl: cpython
|
| 92 |
+
python_implementation: cpython
|
| 93 |
+
r_base: '3.5'
|
| 94 |
+
r_implementation: mro-base
|
| 95 |
+
r_version: 3.5.0
|
| 96 |
+
readline: '8.1'
|
| 97 |
+
rust_compiler: rust
|
| 98 |
+
rust_compiler_version: 1.82.0
|
| 99 |
+
sqlite: '3'
|
| 100 |
+
target_platform: linux-64
|
| 101 |
+
tk: '8.6'
|
| 102 |
+
xz: '5'
|
| 103 |
+
zip_keys:
|
| 104 |
+
- - python
|
| 105 |
+
- numpy
|
| 106 |
+
zlib: '1.2'
|
| 107 |
+
zstd: 1.5.2
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/meta.yaml
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file created by conda-build 24.1.2
|
| 2 |
+
# meta.yaml template originally from:
|
| 3 |
+
# /feedstock/recipe, last modified Fri Nov 29 14:38:06 2024
|
| 4 |
+
# ------------------------------------------------
|
| 5 |
+
|
| 6 |
+
package:
|
| 7 |
+
name: libssh2
|
| 8 |
+
version: 1.11.1
|
| 9 |
+
source:
|
| 10 |
+
sha256: d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7
|
| 11 |
+
url: https://www.libssh2.org/download/libssh2-1.11.1.tar.gz
|
| 12 |
+
build:
|
| 13 |
+
number: '0'
|
| 14 |
+
run_exports:
|
| 15 |
+
- libssh2 >=1.11.1,<2.0a0
|
| 16 |
+
string: h251f7ec_0
|
| 17 |
+
requirements:
|
| 18 |
+
build:
|
| 19 |
+
- _libgcc_mutex 0.1 main
|
| 20 |
+
- _openmp_mutex 5.1 1_gnu
|
| 21 |
+
- _sysroot_linux-64_curr_repodata_hack 3 haa98f57_10
|
| 22 |
+
- binutils_impl_linux-64 2.40 h5293946_0
|
| 23 |
+
- binutils_linux-64 2.40.0 hc2dff05_1
|
| 24 |
+
- cmake-no-system 3.25.3 h6a678d5_0
|
| 25 |
+
- gcc_impl_linux-64 11.2.0 h1234567_1
|
| 26 |
+
- gcc_linux-64 11.2.0 h5c386dc_1
|
| 27 |
+
- kernel-headers_linux-64 3.10.0 h57e8cba_10
|
| 28 |
+
- ld_impl_linux-64 2.40 h12ee557_0
|
| 29 |
+
- libgcc-devel_linux-64 11.2.0 h1234567_1
|
| 30 |
+
- libgcc-ng 11.2.0 h1234567_1
|
| 31 |
+
- libgomp 11.2.0 h1234567_1
|
| 32 |
+
- libstdcxx-ng 11.2.0 h1234567_1
|
| 33 |
+
- ninja-base 1.12.1 hdb19cb5_0
|
| 34 |
+
- sysroot_linux-64 2.17 h57e8cba_10
|
| 35 |
+
host:
|
| 36 |
+
- _libgcc_mutex 0.1 main
|
| 37 |
+
- _openmp_mutex 5.1 1_gnu
|
| 38 |
+
- ca-certificates 2024.11.26 h06a4308_0
|
| 39 |
+
- libgcc-ng 11.2.0 h1234567_1
|
| 40 |
+
- libgomp 11.2.0 h1234567_1
|
| 41 |
+
- openssl 3.0.15 h5eee18b_0
|
| 42 |
+
- zlib 1.2.13 h5eee18b_1
|
| 43 |
+
run:
|
| 44 |
+
- libgcc-ng >=11.2.0
|
| 45 |
+
- openssl >=3.0.15,<4.0a0
|
| 46 |
+
- zlib >=1.2.13,<1.3.0a0
|
| 47 |
+
test:
|
| 48 |
+
commands:
|
| 49 |
+
- test -f $PREFIX/include/libssh2.h
|
| 50 |
+
- test -f $PREFIX/include/libssh2_publickey.h
|
| 51 |
+
- test -f $PREFIX/include/libssh2_sftp.h
|
| 52 |
+
- test -f $PREFIX/lib/libssh2${SHLIB_EXT}
|
| 53 |
+
- test -f $PREFIX/lib/pkgconfig/libssh2.pc
|
| 54 |
+
about:
|
| 55 |
+
description: 'libssh2 is a library implementing the SSH2 protocol, available under
|
| 56 |
+
the revised BSD license.
|
| 57 |
+
|
| 58 |
+
'
|
| 59 |
+
dev_url: https://github.com/libssh2/libssh2
|
| 60 |
+
doc_url: https://www.libssh2.org/docs.html
|
| 61 |
+
home: https://www.libssh2.org/
|
| 62 |
+
license: BSD-3-Clause
|
| 63 |
+
license_family: BSD
|
| 64 |
+
license_file: COPYING
|
| 65 |
+
summary: the SSH library
|
| 66 |
+
extra:
|
| 67 |
+
copy_test_source_files: true
|
| 68 |
+
final: true
|
| 69 |
+
flow_run_id: 4b0cea38-9e15-42af-bd4a-1ec053c9b0d5
|
| 70 |
+
recipe-maintainers:
|
| 71 |
+
- shadowwalkersb
|
| 72 |
+
remote_url: git@github.com:AnacondaRecipes/libssh2-feedstock.git
|
| 73 |
+
sha: ccf17c18a57eafac668302e8b68bd89ce4526611
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/meta.yaml.template
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% set name = "libssh2" %}
|
| 2 |
+
{% set version = "1.11.1" %}
|
| 3 |
+
|
| 4 |
+
package:
|
| 5 |
+
name: {{ name }}
|
| 6 |
+
version: {{ version }}
|
| 7 |
+
|
| 8 |
+
source:
|
| 9 |
+
url: https://www.libssh2.org/download/{{ name }}-{{ version }}.tar.gz
|
| 10 |
+
sha256: d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7
|
| 11 |
+
|
| 12 |
+
build:
|
| 13 |
+
number: 0
|
| 14 |
+
run_exports:
|
| 15 |
+
- {{ pin_subpackage('libssh2') }}
|
| 16 |
+
|
| 17 |
+
requirements:
|
| 18 |
+
build:
|
| 19 |
+
- {{ compiler('c') }}
|
| 20 |
+
# This breaks a dependency cycle:
|
| 21 |
+
# curl->libssh2->cmake->curl
|
| 22 |
+
- cmake-no-system
|
| 23 |
+
- ninja-base
|
| 24 |
+
host:
|
| 25 |
+
- openssl {{ openssl }}
|
| 26 |
+
- zlib {{ zlib }}
|
| 27 |
+
run:
|
| 28 |
+
# exact pin handled through openssl and zlib run_exports
|
| 29 |
+
- openssl
|
| 30 |
+
- zlib
|
| 31 |
+
|
| 32 |
+
test:
|
| 33 |
+
commands:
|
| 34 |
+
- test -f $PREFIX/include/libssh2.h # [not win]
|
| 35 |
+
- test -f $PREFIX/include/libssh2_publickey.h # [not win]
|
| 36 |
+
- test -f $PREFIX/include/libssh2_sftp.h # [not win]
|
| 37 |
+
|
| 38 |
+
- test -f $PREFIX/lib/libssh2${SHLIB_EXT} # [not win]
|
| 39 |
+
- test -f $PREFIX/lib/pkgconfig/libssh2.pc # [not win]
|
| 40 |
+
|
| 41 |
+
- if not exist %LIBRARY_INC%\\libssh2.h exit 1 # [win]
|
| 42 |
+
- if not exist %LIBRARY_INC%\\libssh2_publickey.h exit 1 # [win]
|
| 43 |
+
- if not exist %LIBRARY_INC%\\libssh2_sftp.h exit 1 # [win]
|
| 44 |
+
- if not exist %LIBRARY_LIB%\\libssh2.lib exit 1 # [win]
|
| 45 |
+
- if not exist %LIBRARY_LIB%\\pkgconfig\\libssh2.pc exit 1 # [win]
|
| 46 |
+
- if not exist %LIBRARY_BIN%\\libssh2.dll exit 1 # [win]
|
| 47 |
+
|
| 48 |
+
about:
|
| 49 |
+
home: https://www.libssh2.org/
|
| 50 |
+
license: BSD-3-Clause
|
| 51 |
+
license_family: BSD
|
| 52 |
+
license_file: COPYING
|
| 53 |
+
summary: 'the SSH library'
|
| 54 |
+
description: |
|
| 55 |
+
libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.
|
| 56 |
+
doc_url: https://www.libssh2.org/docs.html
|
| 57 |
+
dev_url: https://github.com/libssh2/libssh2
|
| 58 |
+
|
| 59 |
+
extra:
|
| 60 |
+
recipe-maintainers:
|
| 61 |
+
- shadowwalkersb
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/repodata_record.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch": "x86_64",
|
| 3 |
+
"build": "h251f7ec_0",
|
| 4 |
+
"build_number": 0,
|
| 5 |
+
"channel": "https://repo.anaconda.com/pkgs/main/linux-64/",
|
| 6 |
+
"constrains": [],
|
| 7 |
+
"depends": [
|
| 8 |
+
"libgcc-ng >=11.2.0",
|
| 9 |
+
"openssl >=3.0.15,<4.0a0",
|
| 10 |
+
"zlib >=1.2.13,<2.0.0a0"
|
| 11 |
+
],
|
| 12 |
+
"fn": "libssh2-1.11.1-h251f7ec_0.conda",
|
| 13 |
+
"license": "BSD-3-Clause",
|
| 14 |
+
"license_family": "BSD",
|
| 15 |
+
"md5": "dd68c24355431c0543339dda1404129d",
|
| 16 |
+
"name": "libssh2",
|
| 17 |
+
"platform": "linux",
|
| 18 |
+
"sha256": "57da13c06557d7d6f21a0ac6d1e83a3e990d2217adcc4dc395009eb56ed040a2",
|
| 19 |
+
"size": 315187,
|
| 20 |
+
"subdir": "linux-64",
|
| 21 |
+
"timestamp": 1732891131000,
|
| 22 |
+
"url": "https://repo.anaconda.com/pkgs/main/linux-64/libssh2-1.11.1-h251f7ec_0.conda",
|
| 23 |
+
"version": "1.11.1"
|
| 24 |
+
}
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/run_exports.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"weak": ["libssh2 >=1.11.1,<2.0a0"]}
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/test/run_test.sh
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
set -ex
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
test -f $PREFIX/include/libssh2.h
|
| 8 |
+
test -f $PREFIX/include/libssh2_publickey.h
|
| 9 |
+
test -f $PREFIX/include/libssh2_sftp.h
|
| 10 |
+
test -f $PREFIX/lib/libssh2${SHLIB_EXT}
|
| 11 |
+
test -f $PREFIX/lib/pkgconfig/libssh2.pc
|
| 12 |
+
exit 0
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindLibgcrypt.cmake
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) The libssh2 project and its contributors.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
#
|
| 4 |
+
###########################################################################
|
| 5 |
+
# Find the libgcrypt library
|
| 6 |
+
#
|
| 7 |
+
# Input variables:
|
| 8 |
+
#
|
| 9 |
+
# LIBGCRYPT_INCLUDE_DIR The libgcrypt include directory
|
| 10 |
+
# LIBGCRYPT_LIBRARY Path to libgcrypt library
|
| 11 |
+
#
|
| 12 |
+
# Result variables:
|
| 13 |
+
#
|
| 14 |
+
# LIBGCRYPT_FOUND System has libgcrypt
|
| 15 |
+
# LIBGCRYPT_INCLUDE_DIRS The libgcrypt include directories
|
| 16 |
+
# LIBGCRYPT_LIBRARIES The libgcrypt library names
|
| 17 |
+
# LIBGCRYPT_LIBRARY_DIRS The libgcrypt library directories
|
| 18 |
+
# LIBGCRYPT_CFLAGS Required compiler flags
|
| 19 |
+
# LIBGCRYPT_VERSION Version of libgcrypt
|
| 20 |
+
|
| 21 |
+
if((UNIX OR VCPKG_TOOLCHAIN OR (MINGW AND NOT CMAKE_CROSSCOMPILING)) AND
|
| 22 |
+
NOT DEFINED LIBGCRYPT_INCLUDE_DIR AND
|
| 23 |
+
NOT DEFINED LIBGCRYPT_LIBRARY)
|
| 24 |
+
find_package(PkgConfig QUIET)
|
| 25 |
+
pkg_check_modules(LIBGCRYPT "libgcrypt")
|
| 26 |
+
endif()
|
| 27 |
+
|
| 28 |
+
if(LIBGCRYPT_FOUND)
|
| 29 |
+
string(REPLACE ";" " " LIBGCRYPT_CFLAGS "${LIBGCRYPT_CFLAGS}")
|
| 30 |
+
message(STATUS "Found Libgcrypt (via pkg-config): ${LIBGCRYPT_INCLUDE_DIRS} (found version \"${LIBGCRYPT_VERSION}\")")
|
| 31 |
+
else()
|
| 32 |
+
find_path(LIBGCRYPT_INCLUDE_DIR NAMES "gcrypt.h")
|
| 33 |
+
find_library(LIBGCRYPT_LIBRARY NAMES "gcrypt" "libgcrypt")
|
| 34 |
+
|
| 35 |
+
if(LIBGCRYPT_INCLUDE_DIR AND EXISTS "${LIBGCRYPT_INCLUDE_DIR}/gcrypt.h")
|
| 36 |
+
set(_version_regex "#[\t ]*define[\t ]+GCRYPT_VERSION[\t ]+\"([^\"]*)\"")
|
| 37 |
+
file(STRINGS "${LIBGCRYPT_INCLUDE_DIR}/gcrypt.h" _version_str REGEX "${_version_regex}")
|
| 38 |
+
string(REGEX REPLACE "${_version_regex}" "\\1" _version_str "${_version_str}")
|
| 39 |
+
set(LIBGCRYPT_VERSION "${_version_str}")
|
| 40 |
+
unset(_version_regex)
|
| 41 |
+
unset(_version_str)
|
| 42 |
+
endif()
|
| 43 |
+
|
| 44 |
+
include(FindPackageHandleStandardArgs)
|
| 45 |
+
find_package_handle_standard_args(Libgcrypt
|
| 46 |
+
REQUIRED_VARS
|
| 47 |
+
LIBGCRYPT_INCLUDE_DIR
|
| 48 |
+
LIBGCRYPT_LIBRARY
|
| 49 |
+
VERSION_VAR
|
| 50 |
+
LIBGCRYPT_VERSION
|
| 51 |
+
)
|
| 52 |
+
|
| 53 |
+
if(LIBGCRYPT_FOUND)
|
| 54 |
+
set(LIBGCRYPT_INCLUDE_DIRS ${LIBGCRYPT_INCLUDE_DIR})
|
| 55 |
+
set(LIBGCRYPT_LIBRARIES ${LIBGCRYPT_LIBRARY})
|
| 56 |
+
endif()
|
| 57 |
+
|
| 58 |
+
mark_as_advanced(LIBGCRYPT_INCLUDE_DIR LIBGCRYPT_LIBRARY)
|
| 59 |
+
endif()
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindMbedTLS.cmake
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) The libssh2 project and its contributors.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
#
|
| 4 |
+
###########################################################################
|
| 5 |
+
# Find the mbedtls library
|
| 6 |
+
#
|
| 7 |
+
# Input variables:
|
| 8 |
+
#
|
| 9 |
+
# MBEDTLS_INCLUDE_DIR The mbedtls include directory
|
| 10 |
+
# MBEDCRYPTO_LIBRARY Path to mbedcrypto library
|
| 11 |
+
#
|
| 12 |
+
# Result variables:
|
| 13 |
+
#
|
| 14 |
+
# MBEDTLS_FOUND System has mbedtls
|
| 15 |
+
# MBEDTLS_INCLUDE_DIRS The mbedtls include directories
|
| 16 |
+
# MBEDTLS_LIBRARIES The mbedtls library names
|
| 17 |
+
# MBEDTLS_LIBRARY_DIRS The mbedtls library directories
|
| 18 |
+
# MBEDTLS_CFLAGS Required compiler flags
|
| 19 |
+
# MBEDTLS_VERSION Version of mbedtls
|
| 20 |
+
|
| 21 |
+
if((UNIX OR VCPKG_TOOLCHAIN OR (MINGW AND NOT CMAKE_CROSSCOMPILING)) AND
|
| 22 |
+
NOT DEFINED MBEDTLS_INCLUDE_DIR AND
|
| 23 |
+
NOT DEFINED MBEDCRYPTO_LIBRARY)
|
| 24 |
+
find_package(PkgConfig QUIET)
|
| 25 |
+
pkg_check_modules(MBEDTLS "mbedcrypto")
|
| 26 |
+
endif()
|
| 27 |
+
|
| 28 |
+
if(MBEDTLS_FOUND)
|
| 29 |
+
string(REPLACE ";" " " MBEDTLS_CFLAGS "${MBEDTLS_CFLAGS}")
|
| 30 |
+
message(STATUS "Found MbedTLS (via pkg-config): ${MBEDTLS_INCLUDE_DIRS} (found version \"${MBEDTLS_VERSION}\")")
|
| 31 |
+
else()
|
| 32 |
+
find_path(MBEDTLS_INCLUDE_DIR NAMES "mbedtls/version.h")
|
| 33 |
+
find_library(MBEDCRYPTO_LIBRARY NAMES "mbedcrypto" "libmbedcrypto")
|
| 34 |
+
|
| 35 |
+
if(MBEDTLS_INCLUDE_DIR)
|
| 36 |
+
if(EXISTS "${MBEDTLS_INCLUDE_DIR}/mbedtls/build_info.h") # 3.x
|
| 37 |
+
set(_version_header "${MBEDTLS_INCLUDE_DIR}/mbedtls/build_info.h")
|
| 38 |
+
elseif(EXISTS "${MBEDTLS_INCLUDE_DIR}/mbedtls/version.h") # 2.x
|
| 39 |
+
set(_version_header "${MBEDTLS_INCLUDE_DIR}/mbedtls/version.h")
|
| 40 |
+
else()
|
| 41 |
+
unset(_version_header)
|
| 42 |
+
endif()
|
| 43 |
+
if(_version_header)
|
| 44 |
+
set(_version_regex "#[\t ]*define[\t ]+MBEDTLS_VERSION_STRING[\t ]+\"([0-9.]+)\"")
|
| 45 |
+
file(STRINGS "${_version_header}" _version_str REGEX "${_version_regex}")
|
| 46 |
+
string(REGEX REPLACE "${_version_regex}" "\\1" _version_str "${_version_str}")
|
| 47 |
+
set(MBEDTLS_VERSION "${_version_str}")
|
| 48 |
+
unset(_version_regex)
|
| 49 |
+
unset(_version_str)
|
| 50 |
+
unset(_version_header)
|
| 51 |
+
endif()
|
| 52 |
+
endif()
|
| 53 |
+
|
| 54 |
+
include(FindPackageHandleStandardArgs)
|
| 55 |
+
find_package_handle_standard_args(MbedTLS
|
| 56 |
+
REQUIRED_VARS
|
| 57 |
+
MBEDTLS_INCLUDE_DIR
|
| 58 |
+
MBEDCRYPTO_LIBRARY
|
| 59 |
+
VERSION_VAR
|
| 60 |
+
MBEDTLS_VERSION
|
| 61 |
+
)
|
| 62 |
+
|
| 63 |
+
if(MBEDTLS_FOUND)
|
| 64 |
+
set(MBEDTLS_INCLUDE_DIRS ${MBEDTLS_INCLUDE_DIR})
|
| 65 |
+
set(MBEDTLS_LIBRARIES ${MBEDCRYPTO_LIBRARY})
|
| 66 |
+
endif()
|
| 67 |
+
|
| 68 |
+
mark_as_advanced(MBEDTLS_INCLUDE_DIR MBEDCRYPTO_LIBRARY)
|
| 69 |
+
endif()
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindWolfSSL.cmake
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) The libssh2 project and its contributors.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
#
|
| 4 |
+
###########################################################################
|
| 5 |
+
# Find the wolfssl library
|
| 6 |
+
#
|
| 7 |
+
# Input variables:
|
| 8 |
+
#
|
| 9 |
+
# WOLFSSL_INCLUDE_DIR The wolfssl include directory
|
| 10 |
+
# WOLFSSL_LIBRARY Path to wolfssl library
|
| 11 |
+
#
|
| 12 |
+
# Result variables:
|
| 13 |
+
#
|
| 14 |
+
# WOLFSSL_FOUND System has wolfssl
|
| 15 |
+
# WOLFSSL_INCLUDE_DIRS The wolfssl include directories
|
| 16 |
+
# WOLFSSL_LIBRARIES The wolfssl library names
|
| 17 |
+
# WOLFSSL_LIBRARY_DIRS The wolfssl library directories
|
| 18 |
+
# WOLFSSL_CFLAGS Required compiler flags
|
| 19 |
+
# WOLFSSL_VERSION Version of wolfssl
|
| 20 |
+
|
| 21 |
+
if((UNIX OR VCPKG_TOOLCHAIN OR (MINGW AND NOT CMAKE_CROSSCOMPILING)) AND
|
| 22 |
+
NOT DEFINED WOLFSSL_INCLUDE_DIR AND
|
| 23 |
+
NOT DEFINED WOLFSSL_LIBRARY)
|
| 24 |
+
find_package(PkgConfig QUIET)
|
| 25 |
+
pkg_check_modules(WOLFSSL "wolfssl")
|
| 26 |
+
endif()
|
| 27 |
+
|
| 28 |
+
if(WOLFSSL_FOUND)
|
| 29 |
+
string(REPLACE ";" " " WOLFSSL_CFLAGS "${WOLFSSL_CFLAGS}")
|
| 30 |
+
message(STATUS "Found WolfSSL (via pkg-config): ${WOLFSSL_INCLUDE_DIRS} (found version \"${WOLFSSL_VERSION}\")")
|
| 31 |
+
else()
|
| 32 |
+
find_path(WOLFSSL_INCLUDE_DIR NAMES "wolfssl/options.h")
|
| 33 |
+
find_library(WOLFSSL_LIBRARY NAMES "wolfssl")
|
| 34 |
+
|
| 35 |
+
if(WOLFSSL_INCLUDE_DIR AND EXISTS "${WOLFSSL_INCLUDE_DIR}/wolfssl/version.h")
|
| 36 |
+
set(_version_regex "#[\t ]*define[\t ]+LIBWOLFSSL_VERSION_STRING[\t ]+\"([^\"]*)\"")
|
| 37 |
+
file(STRINGS "${WOLFSSL_INCLUDE_DIR}/wolfssl/version.h" _version_str REGEX "${_version_regex}")
|
| 38 |
+
string(REGEX REPLACE "${_version_regex}" "\\1" _version_str "${_version_str}")
|
| 39 |
+
set(WOLFSSL_VERSION "${_version_str}")
|
| 40 |
+
unset(_version_regex)
|
| 41 |
+
unset(_version_str)
|
| 42 |
+
endif()
|
| 43 |
+
|
| 44 |
+
include(FindPackageHandleStandardArgs)
|
| 45 |
+
find_package_handle_standard_args(WolfSSL
|
| 46 |
+
REQUIRED_VARS
|
| 47 |
+
WOLFSSL_INCLUDE_DIR
|
| 48 |
+
WOLFSSL_LIBRARY
|
| 49 |
+
VERSION_VAR
|
| 50 |
+
WOLFSSL_VERSION
|
| 51 |
+
)
|
| 52 |
+
|
| 53 |
+
if(WOLFSSL_FOUND)
|
| 54 |
+
set(WOLFSSL_INCLUDE_DIRS ${WOLFSSL_INCLUDE_DIR})
|
| 55 |
+
set(WOLFSSL_LIBRARIES ${WOLFSSL_LIBRARY})
|
| 56 |
+
endif()
|
| 57 |
+
|
| 58 |
+
mark_as_advanced(WOLFSSL_INCLUDE_DIR WOLFSSL_LIBRARY)
|
| 59 |
+
endif()
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-config-version.cmake
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This is a basic version file for the Config-mode of find_package().
|
| 2 |
+
# It is used by write_basic_package_version_file() as input file for configure_file()
|
| 3 |
+
# to create a version-file which can be installed along a config.cmake file.
|
| 4 |
+
#
|
| 5 |
+
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
|
| 6 |
+
# the requested version string are exactly the same and it sets
|
| 7 |
+
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
|
| 8 |
+
# but only if the requested major version is the same as the current one.
|
| 9 |
+
# The variable CVF_VERSION must be set before calling configure_file().
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
set(PACKAGE_VERSION "1.11.1")
|
| 13 |
+
|
| 14 |
+
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
| 15 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 16 |
+
else()
|
| 17 |
+
|
| 18 |
+
if("1.11.1" MATCHES "^([0-9]+)\\.")
|
| 19 |
+
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
| 20 |
+
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
| 21 |
+
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
| 22 |
+
endif()
|
| 23 |
+
else()
|
| 24 |
+
set(CVF_VERSION_MAJOR "1.11.1")
|
| 25 |
+
endif()
|
| 26 |
+
|
| 27 |
+
if(PACKAGE_FIND_VERSION_RANGE)
|
| 28 |
+
# both endpoints of the range must have the expected major version
|
| 29 |
+
math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
|
| 30 |
+
if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
| 31 |
+
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
| 32 |
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
|
| 33 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 34 |
+
elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
| 35 |
+
AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
|
| 36 |
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
|
| 37 |
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
| 38 |
+
else()
|
| 39 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 40 |
+
endif()
|
| 41 |
+
else()
|
| 42 |
+
if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
| 43 |
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
| 44 |
+
else()
|
| 45 |
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
| 46 |
+
endif()
|
| 47 |
+
|
| 48 |
+
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
| 49 |
+
set(PACKAGE_VERSION_EXACT TRUE)
|
| 50 |
+
endif()
|
| 51 |
+
endif()
|
| 52 |
+
endif()
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
# if the installed project requested no architecture check, don't perform the check
|
| 56 |
+
if("FALSE")
|
| 57 |
+
return()
|
| 58 |
+
endif()
|
| 59 |
+
|
| 60 |
+
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
|
| 61 |
+
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
|
| 62 |
+
return()
|
| 63 |
+
endif()
|
| 64 |
+
|
| 65 |
+
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
|
| 66 |
+
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
|
| 67 |
+
math(EXPR installedBits "8 * 8")
|
| 68 |
+
set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
|
| 69 |
+
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
| 70 |
+
endif()
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-config.cmake
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) The libssh2 project and its contributors.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
include(CMakeFindDependencyMacro)
|
| 5 |
+
list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
|
| 6 |
+
|
| 7 |
+
if("OpenSSL" STREQUAL "OpenSSL")
|
| 8 |
+
find_dependency(OpenSSL)
|
| 9 |
+
elseif("OpenSSL" STREQUAL "wolfSSL")
|
| 10 |
+
find_dependency(WolfSSL)
|
| 11 |
+
elseif("OpenSSL" STREQUAL "Libgcrypt")
|
| 12 |
+
find_dependency(Libgcrypt)
|
| 13 |
+
elseif("OpenSSL" STREQUAL "mbedTLS")
|
| 14 |
+
find_dependency(MbedTLS)
|
| 15 |
+
endif()
|
| 16 |
+
|
| 17 |
+
if(TRUE)
|
| 18 |
+
find_dependency(ZLIB)
|
| 19 |
+
endif()
|
| 20 |
+
|
| 21 |
+
include("${CMAKE_CURRENT_LIST_DIR}/libssh2-targets.cmake")
|
| 22 |
+
|
| 23 |
+
# Alias for either shared or static library
|
| 24 |
+
if(NOT TARGET libssh2::libssh2)
|
| 25 |
+
add_library(libssh2::libssh2 ALIAS libssh2::libssh2_shared)
|
| 26 |
+
endif()
|
| 27 |
+
|
| 28 |
+
# Compatibility alias
|
| 29 |
+
if(NOT TARGET Libssh2::libssh2)
|
| 30 |
+
add_library(Libssh2::libssh2 ALIAS libssh2::libssh2_shared)
|
| 31 |
+
endif()
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-targets-noconfig.cmake
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#----------------------------------------------------------------
|
| 2 |
+
# Generated CMake target import file.
|
| 3 |
+
#----------------------------------------------------------------
|
| 4 |
+
|
| 5 |
+
# Commands may need to know the format version.
|
| 6 |
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
| 7 |
+
|
| 8 |
+
# Import target "libssh2::libssh2_shared" for configuration ""
|
| 9 |
+
set_property(TARGET libssh2::libssh2_shared APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
|
| 10 |
+
set_target_properties(libssh2::libssh2_shared PROPERTIES
|
| 11 |
+
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libssh2.so.1.0.1"
|
| 12 |
+
IMPORTED_SONAME_NOCONFIG "libssh2.so.1"
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
list(APPEND _cmake_import_check_targets libssh2::libssh2_shared )
|
| 16 |
+
list(APPEND _cmake_import_check_files_for_libssh2::libssh2_shared "${_IMPORT_PREFIX}/lib/libssh2.so.1.0.1" )
|
| 17 |
+
|
| 18 |
+
# Commands beyond this point should not need to know the version.
|
| 19 |
+
set(CMAKE_IMPORT_FILE_VERSION)
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-targets.cmake
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Generated by CMake
|
| 2 |
+
|
| 3 |
+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
| 4 |
+
message(FATAL_ERROR "CMake >= 2.8.0 required")
|
| 5 |
+
endif()
|
| 6 |
+
if(CMAKE_VERSION VERSION_LESS "2.8.3")
|
| 7 |
+
message(FATAL_ERROR "CMake >= 2.8.3 required")
|
| 8 |
+
endif()
|
| 9 |
+
cmake_policy(PUSH)
|
| 10 |
+
cmake_policy(VERSION 2.8.3...3.23)
|
| 11 |
+
#----------------------------------------------------------------
|
| 12 |
+
# Generated CMake target import file.
|
| 13 |
+
#----------------------------------------------------------------
|
| 14 |
+
|
| 15 |
+
# Commands may need to know the format version.
|
| 16 |
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
| 17 |
+
|
| 18 |
+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
| 19 |
+
set(_cmake_targets_defined "")
|
| 20 |
+
set(_cmake_targets_not_defined "")
|
| 21 |
+
set(_cmake_expected_targets "")
|
| 22 |
+
foreach(_cmake_expected_target IN ITEMS libssh2::libssh2_shared)
|
| 23 |
+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
| 24 |
+
if(TARGET "${_cmake_expected_target}")
|
| 25 |
+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
| 26 |
+
else()
|
| 27 |
+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
|
| 28 |
+
endif()
|
| 29 |
+
endforeach()
|
| 30 |
+
unset(_cmake_expected_target)
|
| 31 |
+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
|
| 32 |
+
unset(_cmake_targets_defined)
|
| 33 |
+
unset(_cmake_targets_not_defined)
|
| 34 |
+
unset(_cmake_expected_targets)
|
| 35 |
+
unset(CMAKE_IMPORT_FILE_VERSION)
|
| 36 |
+
cmake_policy(POP)
|
| 37 |
+
return()
|
| 38 |
+
endif()
|
| 39 |
+
if(NOT _cmake_targets_defined STREQUAL "")
|
| 40 |
+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
|
| 41 |
+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
|
| 42 |
+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
|
| 43 |
+
endif()
|
| 44 |
+
unset(_cmake_targets_defined)
|
| 45 |
+
unset(_cmake_targets_not_defined)
|
| 46 |
+
unset(_cmake_expected_targets)
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
# Compute the installation prefix relative to this file.
|
| 50 |
+
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
| 51 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 52 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 53 |
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
| 54 |
+
if(_IMPORT_PREFIX STREQUAL "/")
|
| 55 |
+
set(_IMPORT_PREFIX "")
|
| 56 |
+
endif()
|
| 57 |
+
|
| 58 |
+
# Create imported target libssh2::libssh2_shared
|
| 59 |
+
add_library(libssh2::libssh2_shared SHARED IMPORTED)
|
| 60 |
+
|
| 61 |
+
set_target_properties(libssh2::libssh2_shared PROPERTIES
|
| 62 |
+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
|
| 63 |
+
)
|
| 64 |
+
|
| 65 |
+
# Load information for each installed configuration.
|
| 66 |
+
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/libssh2-targets-*.cmake")
|
| 67 |
+
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
| 68 |
+
include("${_cmake_config_file}")
|
| 69 |
+
endforeach()
|
| 70 |
+
unset(_cmake_config_file)
|
| 71 |
+
unset(_cmake_config_files)
|
| 72 |
+
|
| 73 |
+
# Cleanup temporary variables.
|
| 74 |
+
set(_IMPORT_PREFIX)
|
| 75 |
+
|
| 76 |
+
# Loop over all imported files and verify that they actually exist
|
| 77 |
+
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
| 78 |
+
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
| 79 |
+
if(NOT EXISTS "${_cmake_file}")
|
| 80 |
+
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
| 81 |
+
\"${_cmake_file}\"
|
| 82 |
+
but this file does not exist. Possible reasons include:
|
| 83 |
+
* The file was deleted, renamed, or moved to another location.
|
| 84 |
+
* An install or uninstall procedure did not complete successfully.
|
| 85 |
+
* The installation package was faulty and contained
|
| 86 |
+
\"${CMAKE_CURRENT_LIST_FILE}\"
|
| 87 |
+
but not all the files it references.
|
| 88 |
+
")
|
| 89 |
+
endif()
|
| 90 |
+
endforeach()
|
| 91 |
+
unset(_cmake_file)
|
| 92 |
+
unset("_cmake_import_check_files_for_${_cmake_target}")
|
| 93 |
+
endforeach()
|
| 94 |
+
unset(_cmake_target)
|
| 95 |
+
unset(_cmake_import_check_targets)
|
| 96 |
+
|
| 97 |
+
# This file does not depend on other imported targets which have
|
| 98 |
+
# been exported from the same project but in a separate export set.
|
| 99 |
+
|
| 100 |
+
# Commands beyond this point should not need to know the version.
|
| 101 |
+
set(CMAKE_IMPORT_FILE_VERSION)
|
| 102 |
+
cmake_policy(POP)
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/pkgconfig/libssh2.pc
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
###########################################################################
|
| 2 |
+
# libssh2 installation details
|
| 3 |
+
#
|
| 4 |
+
# Copyright (C) The libssh2 project and its contributors.
|
| 5 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 6 |
+
###########################################################################
|
| 7 |
+
|
| 8 |
+
prefix=/croot/libssh2_1732891098804/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold
|
| 9 |
+
exec_prefix=${prefix}
|
| 10 |
+
libdir=${exec_prefix}/lib
|
| 11 |
+
includedir=${prefix}/include
|
| 12 |
+
|
| 13 |
+
Name: libssh2
|
| 14 |
+
URL: https://libssh2.org/
|
| 15 |
+
Description: Library for SSH-based communication
|
| 16 |
+
Version: 1.11.1
|
| 17 |
+
Requires:
|
| 18 |
+
Requires.private: libcrypto,zlib
|
| 19 |
+
Libs: -L${libdir} -lssh2
|
| 20 |
+
Libs.private: -lcrypto -lz
|
| 21 |
+
Cflags: -I${includedir}
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/AUTHORS
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
libssh2 is the result of many friendly people. This list is an attempt to
|
| 2 |
+
mention all contributors. If we have missed anyone, tell us!
|
| 3 |
+
|
| 4 |
+
This list of names is a-z sorted.
|
| 5 |
+
|
| 6 |
+
Adam Gobiowski
|
| 7 |
+
Alexander Holyapin
|
| 8 |
+
Alexander Lamaison
|
| 9 |
+
Alfred Gebert
|
| 10 |
+
Ben Kibbey
|
| 11 |
+
Bjorn Stenborg
|
| 12 |
+
Carlo Bramini
|
| 13 |
+
Cristian Rodríguez
|
| 14 |
+
Daiki Ueno
|
| 15 |
+
Dan Casey
|
| 16 |
+
Dan Fandrich
|
| 17 |
+
Daniel Stenberg
|
| 18 |
+
Dave Hayden
|
| 19 |
+
Dave McCaldon
|
| 20 |
+
David J Sullivan
|
| 21 |
+
David Robins
|
| 22 |
+
Dmitry Smirnov
|
| 23 |
+
Douglas Masterson
|
| 24 |
+
Edink Kadribasic
|
| 25 |
+
Erik Brossler
|
| 26 |
+
Francois Dupoux
|
| 27 |
+
Gellule Xg
|
| 28 |
+
Grubsky Grigory
|
| 29 |
+
Guenter Knauf
|
| 30 |
+
Heiner Steven
|
| 31 |
+
Henrik Nordstrom
|
| 32 |
+
James Housleys
|
| 33 |
+
Jasmeet Bagga
|
| 34 |
+
Jean-Louis Charton
|
| 35 |
+
Jernej Kovacic
|
| 36 |
+
Joey Degges
|
| 37 |
+
John Little
|
| 38 |
+
Jose Baars
|
| 39 |
+
Jussi Mononen
|
| 40 |
+
Kamil Dudka
|
| 41 |
+
Lars Nordin
|
| 42 |
+
Mark McPherson
|
| 43 |
+
Mark Smith
|
| 44 |
+
Markus Moeller
|
| 45 |
+
Matt Lilley
|
| 46 |
+
Matthew Booth
|
| 47 |
+
Maxime Larocque
|
| 48 |
+
Mike Protts
|
| 49 |
+
Mikhail Gusarov
|
| 50 |
+
Neil Gierman
|
| 51 |
+
Olivier Hervieu
|
| 52 |
+
Paul Howarth
|
| 53 |
+
Paul Querna
|
| 54 |
+
Paul Veldkamp
|
| 55 |
+
Peter Krempa
|
| 56 |
+
Peter O'Gorman
|
| 57 |
+
Peter Stuge
|
| 58 |
+
Pierre Joye
|
| 59 |
+
Rafael Kitover
|
| 60 |
+
Romain Bondue
|
| 61 |
+
Sara Golemon
|
| 62 |
+
Satish Mittal
|
| 63 |
+
Sean Peterson
|
| 64 |
+
Selcuk Gueney
|
| 65 |
+
Simon Hart
|
| 66 |
+
Simon Josefsson
|
| 67 |
+
Sofian Brabez
|
| 68 |
+
Steven Ayre
|
| 69 |
+
Steven Dake
|
| 70 |
+
Steven Van Ingelgem
|
| 71 |
+
TJ Saunders
|
| 72 |
+
Tommy Lindgren
|
| 73 |
+
Tor Arntsen
|
| 74 |
+
Viktor Szakats
|
| 75 |
+
Vincent Jaulin
|
| 76 |
+
Vincent Torri
|
| 77 |
+
Vlad Grachov
|
| 78 |
+
Wez Furlong
|
| 79 |
+
Yang Tse
|
| 80 |
+
Zl Liu
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/BINDINGS.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
libssh2 bindings
|
| 2 |
+
================
|
| 3 |
+
|
| 4 |
+
Creative people have written bindings or interfaces for various environments
|
| 5 |
+
and programming languages. Using one of these bindings allows you to take
|
| 6 |
+
advantage of libssh2 directly from within your favourite language.
|
| 7 |
+
|
| 8 |
+
The bindings listed below are not part of the libssh2 distribution archives,
|
| 9 |
+
but must be downloaded and installed separately.
|
| 10 |
+
|
| 11 |
+
<!-- markdown-link-check-disable -->
|
| 12 |
+
|
| 13 |
+
[Cocoa/Objective-C](https://github.com/karelia/libssh2_sftp-Cocoa-wrapper)
|
| 14 |
+
|
| 15 |
+
[Haskell FFI bindings](https://hackage.haskell.org/package/libssh2)
|
| 16 |
+
|
| 17 |
+
[Perl Net::SSH2](https://metacpan.org/pod/Net::SSH2)
|
| 18 |
+
|
| 19 |
+
[PHP ssh2](https://pecl.php.net/package/ssh2)
|
| 20 |
+
|
| 21 |
+
[Python pylibssh2](https://pypi.python.org/pypi/pylibssh2)
|
| 22 |
+
|
| 23 |
+
[Python-ctypes PySsh2](https://github.com/gellule/PySsh2)
|
| 24 |
+
|
| 25 |
+
[Ruby libssh2-ruby](https://github.com/mitchellh/libssh2-ruby)
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/COPYING
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Copyright (C) 2004-2007 Sara Golemon <sarag@libssh2.org>
|
| 2 |
+
* Copyright (C) 2005,2006 Mikhail Gusarov <dottedmag@dottedmag.net>
|
| 3 |
+
* Copyright (C) 2006-2007 The Written Word, Inc.
|
| 4 |
+
* Copyright (C) 2007 Eli Fant <elifantu@mail.ru>
|
| 5 |
+
* Copyright (C) 2009-2023 Daniel Stenberg
|
| 6 |
+
* Copyright (C) 2008, 2009 Simon Josefsson
|
| 7 |
+
* Copyright (C) 2000 Markus Friedl
|
| 8 |
+
* Copyright (C) 2015 Microsoft Corp.
|
| 9 |
+
* All rights reserved.
|
| 10 |
+
*
|
| 11 |
+
* Redistribution and use in source and binary forms,
|
| 12 |
+
* with or without modification, are permitted provided
|
| 13 |
+
* that the following conditions are met:
|
| 14 |
+
*
|
| 15 |
+
* Redistributions of source code must retain the above
|
| 16 |
+
* copyright notice, this list of conditions and the
|
| 17 |
+
* following disclaimer.
|
| 18 |
+
*
|
| 19 |
+
* Redistributions in binary form must reproduce the above
|
| 20 |
+
* copyright notice, this list of conditions and the following
|
| 21 |
+
* disclaimer in the documentation and/or other materials
|
| 22 |
+
* provided with the distribution.
|
| 23 |
+
*
|
| 24 |
+
* Neither the name of the copyright holder nor the names
|
| 25 |
+
* of any other contributors may be used to endorse or
|
| 26 |
+
* promote products derived from this software without
|
| 27 |
+
* specific prior written permission.
|
| 28 |
+
*
|
| 29 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
| 30 |
+
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
| 31 |
+
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
| 32 |
+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 33 |
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
| 34 |
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 35 |
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
| 36 |
+
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 37 |
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 38 |
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 39 |
+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 40 |
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
| 41 |
+
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
| 42 |
+
* OF SUCH DAMAGE.
|
| 43 |
+
*/
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/HACKING.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# libssh2 source code style guide
|
| 2 |
+
|
| 3 |
+
- 4 level indent
|
| 4 |
+
- spaces-only (no tabs)
|
| 5 |
+
- open braces on the if/for line:
|
| 6 |
+
|
| 7 |
+
```
|
| 8 |
+
if (banana) {
|
| 9 |
+
go_nuts();
|
| 10 |
+
}
|
| 11 |
+
```
|
| 12 |
+
|
| 13 |
+
- keep source lines shorter than 80 columns
|
| 14 |
+
- See `libssh2-style.el` for how to achieve this within Emacs
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/NEWS
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/README
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
libssh2 - SSH2 library
|
| 2 |
+
======================
|
| 3 |
+
|
| 4 |
+
libssh2 is a library implementing the SSH2 protocol, available under
|
| 5 |
+
the revised BSD license.
|
| 6 |
+
|
| 7 |
+
Web site: https://libssh2.org/
|
| 8 |
+
|
| 9 |
+
Mailing list: https://lists.haxx.se/listinfo/libssh2-devel
|
| 10 |
+
|
| 11 |
+
License: see COPYING
|
| 12 |
+
|
| 13 |
+
Source code: https://github.com/libssh2/libssh2
|
| 14 |
+
|
| 15 |
+
Web site source code: https://github.com/libssh2/www
|
| 16 |
+
|
| 17 |
+
Installation instructions are in:
|
| 18 |
+
- docs/INSTALL_CMAKE for CMake
|
| 19 |
+
- docs/INSTALL_AUTOTOOLS for Autotools
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/RELEASE-NOTES
ADDED
|
@@ -0,0 +1,325 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
libssh2 1.11.1
|
| 2 |
+
|
| 3 |
+
Deprecation notices:
|
| 4 |
+
|
| 5 |
+
- Starting October 2024, the following algos go deprecated and will be
|
| 6 |
+
disabled in default builds (with an option to enable them):
|
| 7 |
+
|
| 8 |
+
- DSA: `ssh-dss` hostkeys.
|
| 9 |
+
You can enable it now with `-DLIBSSH2_DSA_ENABLE`.
|
| 10 |
+
Disabled by default in OpenSSH 7.0 (2015-08-11).
|
| 11 |
+
Support to be removed by early 2025 from OpenSSH.
|
| 12 |
+
- MD5-based MACs and hashes: `hmac-md5`, `hmac-md5-96`,
|
| 13 |
+
`LIBSSH2_HOSTKEY_HASH_MD5`
|
| 14 |
+
You can disable it now with `-DLIBSSH2_NO_MD5`.
|
| 15 |
+
Disabled by default since OpenSSH 7.2 (2016-02-29).
|
| 16 |
+
- 3DES cipher: `3des-cbc`
|
| 17 |
+
You can disable it now with `-DLIBSSH2_NO_3DES`.
|
| 18 |
+
Disabled by default since OpenSSH 7.4 (2016-12-19).
|
| 19 |
+
- RIPEMD-160 MACs: `hmac-ripemd160`, `hmac-ripemd160@openssh.com`
|
| 20 |
+
You can disable it now with `-DLIBSSH2_NO_HMAC_RIPEMD`.
|
| 21 |
+
Removed in OpenSSH 7.6 (2017-10-03).
|
| 22 |
+
- Blowfish cipher: `blowfish-cbc`
|
| 23 |
+
You can disable it now with `-DLIBSSH2_NO_BLOWFISH`.
|
| 24 |
+
Removed in OpenSSH 7.6 (2017-10-03).
|
| 25 |
+
- RC4 ciphers: `arcfour`, `arcfour128`
|
| 26 |
+
You can disable it now with `-DLIBSSH2_NO_RC4`.
|
| 27 |
+
Removed in OpenSSH 7.6 (2017-10-03).
|
| 28 |
+
- CAST cipher: `cast128-cbc`
|
| 29 |
+
You can disable it now with `-DLIBSSH2_NO_CAST`.
|
| 30 |
+
Removed in OpenSSH 7.6 (2017-10-03).
|
| 31 |
+
|
| 32 |
+
- Starting April 2025, above options will be deleted from the
|
| 33 |
+
libssh2 codebase.
|
| 34 |
+
|
| 35 |
+
- Default builds will also disable support for old-style, MD5-based
|
| 36 |
+
encrypted private keys.
|
| 37 |
+
You can disable it now with `-DLIBSSH2_NO_MD5_PEM`.
|
| 38 |
+
|
| 39 |
+
This release includes the following enhancements and bugfixes:
|
| 40 |
+
|
| 41 |
+
- autotools: fix to update `LDFLAGS` for each detected dependency (d19b6190 #1384 #1381 #1377)
|
| 42 |
+
- autotools: delete `--disable-tests` option, fix CI tests (e051ae34 #1271 #715 revert: 7483edfa)
|
| 43 |
+
- autotools: show the default for `hidden-symbols` option (a3f5594a #1269)
|
| 44 |
+
- autotools: enable `-Wunused-macros` with gcc (ecdf5199 #1262 #1227 #1224)
|
| 45 |
+
- autotools: fix dotless gcc and Apple clang version detections (89ccc83c #1232 #1187)
|
| 46 |
+
- autotools: show more clang/gcc version details (fb580161 #1230)
|
| 47 |
+
- autotools: avoid warnings in libtool stub code (96682bd5 #1227 #1224)
|
| 48 |
+
- autotools: sync warning enabler code with curl (5996fefe #1223)
|
| 49 |
+
- autotools: rename variable (ce5f208a #1222)
|
| 50 |
+
- autotools: picky warning options tidy-up (cdca8cff #1221)
|
| 51 |
+
- autotools: fix `cp` to preserve attributes and timestamp in `Makefile.am` (f64e6318)
|
| 52 |
+
- autotools: fix selecting WinCNG in cross-builds (and more) (00a3b88c #1187 #1186)
|
| 53 |
+
- autotools: use comma separator in `Requires.private` of `libssh2.pc` (7f83de14 #1124)
|
| 54 |
+
- autotools: remove `AB_INIT` from `configure.ac` (f4f52ccc)
|
| 55 |
+
- autotools: improve libz position (c89174a7 #1077 #941 #1075 #1013 regr: 4f0f4bff)
|
| 56 |
+
- autotools: skip tests requiring static lib if `--disable-static` (572c57c9 #1072 #663 #1056 regr: 83853f8a)
|
| 57 |
+
- build: stop detecting `sys/param.h` header (2677d3b0 #1418 #1415)
|
| 58 |
+
- build: silence warnings inside `FD_SET()`/`FD_ISSET()` macros (323a14b2 #1379)
|
| 59 |
+
- build: drop `-Wformat-nonliteral` warning suppressions (c452c5cc #1342)
|
| 60 |
+
- build: enable `-pedantic-errors` (3ec53f3e #1286)
|
| 61 |
+
- build: add mingw-w64 support to `LIBSSH2_PRINTF()` attribute (f8c45794 #1287)
|
| 62 |
+
- build: add `LIBSSH2_NO_DEPRECATED` option (b1414503 #1267 #1266 #1260 #1259)
|
| 63 |
+
- build: enable missing OpenSSF-recommended warnings, with fixes (afa6b865 #1257)
|
| 64 |
+
- build: enable more compiler warnings and fix them (7ecc309c #1224)
|
| 65 |
+
- build: picky warning updates (328a96b3 #1219)
|
| 66 |
+
- build: revert: respect autotools `DLL_EXPORT` in `libssh2.h` (481be044 #1141 #917 revert: fb1195cf)
|
| 67 |
+
- build: stop requiring libssl from openssl (c84745e3 #1128)
|
| 68 |
+
- build: tidy-up `libssh2.pc.in` variable names (5720dd9f #1125)
|
| 69 |
+
- build: add/fix `Requires.private` packages in `libssh2.pc` (ef538069 #1123)
|
| 70 |
+
- buildconf: drop (814a850c #1441 follow: fc5d7788)
|
| 71 |
+
- checksrc: update, check all sources, fix fallouts (1117b677 #1457)
|
| 72 |
+
- checksrc: sync with curl (8cd473c9 #1272)
|
| 73 |
+
- checksrc: fix spelling in comment (a95d401f)
|
| 74 |
+
- checksrc: modernise Perl file open (3d309f9b)
|
| 75 |
+
- checksrc: switch to dot file (d67a91aa #1052)
|
| 76 |
+
- ci: use Ninja with cmake (20ad047d #1458)
|
| 77 |
+
- ci: disable dependency tracking in autotools builds (e44f0418 #1396)
|
| 78 |
+
- ci: fix mbedtls runners on macOS (84411539 #1381)
|
| 79 |
+
- ci: enable Unity mode for most CMake builds (1bfae57b #1367 #1034)
|
| 80 |
+
- ci: add shellcheck job and script (d88b9bcd)
|
| 81 |
+
- ci: verify build and install from tarball (a86e27e8 #1362)
|
| 82 |
+
- ci: add reproducibility test for `maketgz` (2d765e45 #1360)
|
| 83 |
+
- ci: use Linux runner for BSDs, add arm64 FreeBSD 14 job (6f86b196 #1343)
|
| 84 |
+
- ci: do not parallelize `distcheck` job (5e65dd87 #1339)
|
| 85 |
+
- ci: add FreeBSD 14 job, fix issues (46333adf #1277)
|
| 86 |
+
- ci: add OmniOS job, fix issues (5e0ec991)
|
| 87 |
+
- ci: show compiler in cross/cygwin job names (c9124088)
|
| 88 |
+
- ci: add OpenBSD (v7.4) job + fix build error in example (0c9a8e35 #1250)
|
| 89 |
+
- ci: add NetBSD (v9.3) job (65c7a7a5)
|
| 90 |
+
- ci: update and speed up FreeBSD job (eee4e805)
|
| 91 |
+
- ci: use absolute path in `CMAKE_INSTALL_PREFIX` (74948816 #1247)
|
| 92 |
+
- ci: boost mbedTLS build speed (236e79a1 #1245)
|
| 93 |
+
- ci: add BoringSSL job (cmake, gcc, amd64) (c9dd3566 #1233)
|
| 94 |
+
- ci: fixup FreeBSD version, bump mbedTLS (fea6664e #1217)
|
| 95 |
+
- ci: add FreeBSD 13.2 job (a7d2a573 #1215)
|
| 96 |
+
- ci: mbedTLS 3.5.0 (5e190442 #1202)
|
| 97 |
+
- ci: update actions, use shallow clones with appveyor (d468a33f #1199)
|
| 98 |
+
- ci: replace `mv` + `chmod` with `install` in `Dockerfile` (5754fed6 #1175)
|
| 99 |
+
- ci: set file mode early in `appveyor_docker.yml` (633db55f)
|
| 100 |
+
- ci: add spellcheck (codespell) (a79218d3)
|
| 101 |
+
- ci: add MSYS builds (autotools and cmake) (d43b8d9b #1162)
|
| 102 |
+
- ci: add Cygwin builds (autotools and cmake) (f1e96e73 #1161)
|
| 103 |
+
- ci: add mingw-w64 UWP build (1215aa5f #1155 #1147)
|
| 104 |
+
- ci: add missing timeout to 'autotools distcheck' step (6265ffdb)
|
| 105 |
+
- ci: add non-static autotools i386 build, ignore GHA updates on AppVeyor (c6e137f7 #1074 #1072)
|
| 106 |
+
- ci: prefer `=` operator in shell snippets (e5c03043 #1073)
|
| 107 |
+
- ci: drop redundant/unused vars, sync var names (ab8e95bc #1059)
|
| 108 |
+
- ci: add i386 Linux build (with mbedTLS) (abdf40c7 #1057 #1053)
|
| 109 |
+
- ci/appveyor: reduce test runs (workaround for infrastructure permafails) (b5e68bdc #1461)
|
| 110 |
+
- ci/appveyor: increase wait for SSH server on GHA (bf3af90b)
|
| 111 |
+
- ci/appveyor: bump to OpenSSL 3.2.1 (53d9c1a6 #1363 #1348)
|
| 112 |
+
- ci/appveyor: re-enable parallel mode (e190e5b2 #1294 #884 #867)
|
| 113 |
+
- ci/appveyor: delete UWP job broken since Visual Studio upgrade (d0a7f1da #1275)
|
| 114 |
+
- ci/appveyor: YAML/PowerShell formatting, shorten variable name (06fd721f #1200)
|
| 115 |
+
- ci/appveyor: move to pure PowerShell (8a081fd9 #1197)
|
| 116 |
+
- ci/GHA: revert concurrency and improve permissions (e4c042f6)
|
| 117 |
+
- ci/GHA: FreeBSD 14.1, actions bump (ae04b1b9 #1424)
|
| 118 |
+
- ci/GHA: fix wolfSSL-from-source AES-GCM tests (1c0b07a7 #1409 #1408)
|
| 119 |
+
- ci/GHA: add Linux job with latest wolfSSL built from source (d4cea53f #1408 #1299 #1020)
|
| 120 |
+
- ci/GHA: tidy up build-from-source steps (2c633033)
|
| 121 |
+
- ci/GHA: show configure logs on failure and other tidy-ups (dab48398 #1403)
|
| 122 |
+
- ci/GHA: bump parallel jobs to nproc+1 (6f3d3bc8 #1402)
|
| 123 |
+
- ci/GHA: show test logs on failure (b8ffa7a5 #1401)
|
| 124 |
+
- ci/GHA: fix `Dockerfile` failing after Ubuntu package update (839bb84e #1400)
|
| 125 |
+
- ci/GHA: use ubuntu-latest with OmniOS job (50143d58)
|
| 126 |
+
- ci/GHA: shell syntax tidy-up (3b23e039 #1390)
|
| 127 |
+
- ci/GHA: bump NetBSD/OpenBSD, add NetBSD arm64 job (e980af72 #1388)
|
| 128 |
+
- ci/GHA: tidy up wolfSSL autotools config on macOS (5953c1f1 #1383)
|
| 129 |
+
- ci/GHA: shorter mbedTLS autotools workaround (736e3d7d #1382 #1381)
|
| 130 |
+
- ci/GHA: fix gcrypt with autotools/macOS/Homebrew/ARM64 (ae2770de #1377)
|
| 131 |
+
- ci/GHA: fix verbose option for autotools jobs (499b27ae #1376)
|
| 132 |
+
- ci/GHA: dump `config.log` on failure for macOS autotools jobs (4fa69214 #1375)
|
| 133 |
+
- ci/GHA: fix `autoreconf` failure on macOS/Homebrew (0b64b30b #1374)
|
| 134 |
+
- ci/GHA: fixup Homebrew location (for ARM runners) (6128aee0 #1373)
|
| 135 |
+
- ci/GHA: review/fixup auto-cancel settings (b08cfbc9 #1292)
|
| 136 |
+
- ci/GHA: restore curly braces in `if` (36748270 #1145)
|
| 137 |
+
- ci/GHA: simplify `if` strings (cab3db58 #1140)
|
| 138 |
+
- cmake: sync and improve Find modules, add `pkg-config` native detection (45064137 #1445 #1420)
|
| 139 |
+
- cmake: generate `LIBSSH2_PC_LIBS_PRIVATE` dynamically (c87f1296 #1466)
|
| 140 |
+
- cmake: add comment about `ibssh2.pc.in` variables (14b1b9d0)
|
| 141 |
+
- cmake: support absolute `CMAKE_INSTALL_INCLUDEDIR`/`CMAKE_INSTALL_LIBDIR` (d70cee36 #1465)
|
| 142 |
+
- cmake: rename two variables and initialize them (0fce9dcc #1464)
|
| 143 |
+
- cmake: prefer `find_dependency()` in `libssh2-config.cmake` (d9c2e550 #1460)
|
| 144 |
+
- cmake: tidy up syntax, minor improvements (9d9ee780 #1446)
|
| 145 |
+
- cmake: rename mbedTLS and wolfSSL Find modules (570de0f2)
|
| 146 |
+
- cmake: fixup version detection in mbedTLS Find module (8e3c40b2 #1444)
|
| 147 |
+
- cmake: mbedTLS detection tidy-ups (6d1d13c2 #1438)
|
| 148 |
+
- cmake: add quotes, delete ending dirseps (2bb46d44 #1437 #1166)
|
| 149 |
+
- cmake: sync formatting in `cmake/Find*` modules (a0310699)
|
| 150 |
+
- cmake: tidy up function name casing in `CopyRuntimeDependencies.cmake` (03547cb8)
|
| 151 |
+
- cmake: use the imported target of FindOpenSSL module (82b09f9b #1322)
|
| 152 |
+
- cmake: rename picky warnings script (64d6789f #1225)
|
| 153 |
+
- cmake: fix multiple include of libssh2 package (932d6a32 #1216)
|
| 154 |
+
- cmake: show crypto backend in feature summary (20387285 #1211)
|
| 155 |
+
- cmake: simplify showing CMake version (fc00bdd7 #1203)
|
| 156 |
+
- cmake: cleanup mbedTLS version detection more (4c241d5c #1196 #1192)
|
| 157 |
+
- cmake: delete duplicate `include()` (30eef0a6)
|
| 158 |
+
- cmake: improve/fix mbedTLS detection (41594675 #1192 #1191)
|
| 159 |
+
- cmake: tidy-up `foreach()` syntax (4a64ca14 #1180)
|
| 160 |
+
- cmake: verify `libssh2_VERSION` in integration tests (a20572e9)
|
| 161 |
+
- cmake: show cmake versions in ci (87f5769b)
|
| 162 |
+
- cmake: quote more strings (e9c7d3af #1173)
|
| 163 |
+
- cmake: add `ExternalProject` integration test (aeaefaf6 #1171)
|
| 164 |
+
- cmake: add integration tests (8715c3d5 #1170)
|
| 165 |
+
- cmake: (re-)add aliases for `add_subdirectory()` builds (4ff64ae3 #1169)
|
| 166 |
+
- cmake: style tidy-up (3fa5282d #1166)
|
| 167 |
+
- cmake: add `LIB_NAME` variable (5453fc80 #1159)
|
| 168 |
+
- cmake: tidy-up concatenation in `CMAKE_MODULE_PATH` (ae7d5108 #1157)
|
| 169 |
+
- cmake: replace `libssh2` literals with `PROJECT_NAME` variable (72fd2595 #1152)
|
| 170 |
+
- cmake: fix `STREQUAL` check in error branch (42d3bf13 #1151)
|
| 171 |
+
- cmake: cache more config values on Windows (11a03690 #1142)
|
| 172 |
+
- cmake: streamline invocation (f58f77b5 #1138)
|
| 173 |
+
- cmake: merge `set_target_properties()` calls (a9091007 #1132)
|
| 174 |
+
- cmake: (re-)add zlib to `Libs.private` in `libssh2.pc` (64643018 #1131)
|
| 175 |
+
- cmake: use `wolfssl/options.h` for detection, like autotools (c5ec6c49 #1130)
|
| 176 |
+
- cmake: add openssl libs to `Libs.private` in `libssh2.pc` (5cfa59d3 #1127)
|
| 177 |
+
- cmake: bump minimum CMake version to v3.7.0 (9cd18f45 #1126)
|
| 178 |
+
- cmake: CMAKE_SOURCE_DIR -> PROJECT_SOURCE_DIR (0f396aa9 #1121)
|
| 179 |
+
- cmake: tidy-ups (2fc36790 #1122)
|
| 180 |
+
- cmake: re-add `Libssh2:libssh2` for compatibility + lowercase namespace (2da13c13 #1104 #731 #1103)
|
| 181 |
+
- copyright: remove years from copyright headers (187d89bb #1082)
|
| 182 |
+
- disable DSA by default (b7ab0faa #1435 #1433)
|
| 183 |
+
- docs: update `INSTALL_AUTOTOOLS` (2f0efde3 #1316)
|
| 184 |
+
- docs: replace SHA1 with SHA256 in CMake example (766bde9f)
|
| 185 |
+
- example: restore `sys/time.h` for AIX (24503cb9 #1340 #1335 #1334 #1001 regr: e53aae0e)
|
| 186 |
+
- example: use `libssh2_socket_t` in X11 example (3f60ccb7)
|
| 187 |
+
- example: replace remaining libssh2_scp_recv with libssh2_scp_recv2 in output messages (8d69e63d #1258 follow: 6c84a426)
|
| 188 |
+
- example: fix regression in `ssh2_exec.c` (279a2e57 #1106 #861 #846 #1105 regr: b13936bd)
|
| 189 |
+
- example, tests: call `WSACleanup()` for each `WSAStartup()` (94b6bad3 #1283)
|
| 190 |
+
- example, tests: fix/silence `-Wformat-truncation=2` gcc warnings (744e059f)
|
| 191 |
+
- hostkey: do not advertise ssh-rsa when SHA1 is disabled (82d1b8ff #1093 #1092)
|
| 192 |
+
- kex: prevent possible double free of hostkey (b3465418 #1452)
|
| 193 |
+
- kex: always check for null pointers before calling _libssh2_bn_set_word (9f23a3bb #1423)
|
| 194 |
+
- kex: fix a memory leak in key exchange (19101843 #1412 #1404)
|
| 195 |
+
- kex: always add extension indicators to kex_algorithms (00e2a07e #1327 #1326)
|
| 196 |
+
- libssh2.h: add deprecated function warnings (9839ebe5 #1289 #1260)
|
| 197 |
+
- libssh2.h: add portable `LIBSSH2_SOCKET_CLOSE()` macro (28dbf016 #1278)
|
| 198 |
+
- libssh2.h: use `_WIN32` for Windows detection instead of rolling our own (631e7734 #1238)
|
| 199 |
+
- libssh2.pc: reference mbedcrypto pkgconfig (c149a127 #1405)
|
| 200 |
+
- libssh2.pc: re-add & extend support for static-only libssh2 builds (624abe27 #1119 #1114)
|
| 201 |
+
- libssh2.pc: don't put `@LIBS@` in pc file (1209c16d)
|
| 202 |
+
- mac: add empty hash functions for `mac_method_hmac_aesgcm` to not crash when e.g. setting `LIBSSH2_METHOD_CRYPT_CS` (b2738391 #1321)
|
| 203 |
+
- mac: handle low-level errors (f64885b6 #1297)
|
| 204 |
+
- Makefile.mk: delete Windows-focused raw GNU Make build (43485579 #1204)
|
| 205 |
+
- maketgz: reproducible tarballs/zip, display tarball hashes (d52fe1b4 #1357 #1359)
|
| 206 |
+
- maketgz: `set -eu`, reproducibility, improve zip, add CI test (cba7f975 #1353)
|
| 207 |
+
- man: improve `libssh2_userauth_publickey_from*` manpages (581b72aa #1347 #1308 #652)
|
| 208 |
+
- man: fix double spaces and dash escaping (a3ffc422 #1210)
|
| 209 |
+
- man: add description to `libssh2_session_get_blocking.3` (67e39091 #1185)
|
| 210 |
+
- mbedtls: always init ECDSA mbedtls_pk_context (a50d7deb #1430)
|
| 211 |
+
- mbedtls: correctly initialize values (ECDSA) (1701d5c0 #1428 #1421)
|
| 212 |
+
- mbedtls: expose `mbedtls_pk_load_file()` for our use (1628f6ca #1421 #1393 #1349 follow: e973493f)
|
| 213 |
+
- mbedtls: add workaround + FIXME to build with 3.6.0 (2e4c5ec4 #1349)
|
| 214 |
+
- mbedtls: improve disabling `-Wredundant-decls` (ecec68a2 #1226 #1224)
|
| 215 |
+
- mbedtls: include `version.h` for `MBEDTLS_VERSION_NUMBER` (9d7bc253 #1095 #1094)
|
| 216 |
+
- mbedtls: use more `size_t` to sync up with `crypto.h` (1153ebde #1054 #879 #846 #1053)
|
| 217 |
+
- md5: allow disabling old-style encrypted private keys at build-time (eb9f9de2 #1181)
|
| 218 |
+
- mingw: fix printf mask for 64-bit integers (36c1e1d1 #1091 #876 #846 #1090)
|
| 219 |
+
- misc: flatten `_libssh2_explicit_zero` if tree (74e74288 #1149)
|
| 220 |
+
- NMakefile: delete (c515eed3 #1134 #1129)
|
| 221 |
+
- openssl: free allocated resources when using openssl3 (b942bad1 #1459)
|
| 222 |
+
- openssl: fix memory leaks in `_libssh2_ecdsa_curve_name_with_octal_new` and `_libssh2_ecdsa_verify` (8d3bc19b #1449)
|
| 223 |
+
- openssl: fix calculating DSA public key with OpenSSL 3 (8b3c6e9d #1380)
|
| 224 |
+
- openssl: initialize BIGNUMs to NULL in `gen_publickey_from_dsa` for OpenSSL 3 (f1133c75 #1320)
|
| 225 |
+
- openssl: fix cppcheck found NULL dereferences (f2945905 #1304)
|
| 226 |
+
- openssl: delete internal `read_openssh_private_key_from_memory()` (34aff5ff #1306)
|
| 227 |
+
- openssl: use OpenSSL 3 HMAC API, add `no-deprecated` CI job (363dcbf4 #1243 #1235 #1207)
|
| 228 |
+
- openssl: make a function static, add `#ifdef` comments (efee9133 #1246 #248 follow: 03092292)
|
| 229 |
+
- openssl: fix DSA code to use OpenSSL 3 API (82581941 #1244 #1207)
|
| 230 |
+
- openssl: fix `EC_KEY` reference with OpenSSL 3 `no-deprecated` build (487152f4 #1236 #1235 #1207)
|
| 231 |
+
- openssl: use non-deprecated APIs with OpenSSL 3.x (b0ab005f #1207)
|
| 232 |
+
- openssl: silence `-Wunused-value` warnings (bf285500 #1205)
|
| 233 |
+
- openssl: use automatic initialization with LibreSSL 2.7.0+ (d79047c9 #1146 #302)
|
| 234 |
+
- openssl: add missing check for `LIBRESSL_VERSION_NUMBER` before use (4a42f42e #1117 #1115)
|
| 235 |
+
- os400: drop vsprintf() use (40e817ff #1462 #1457)
|
| 236 |
+
- os400: Add two recent files to the distribution (e4c65e5b #1364)
|
| 237 |
+
- os400: fix shellcheck warnings in scripts (fixups) (81341e1e #1366 #1364 #1358)
|
| 238 |
+
- os400: fix shellcheck warnings in scripts (c6625707 #1358)
|
| 239 |
+
- os400: maintain up to date (8457c37a #1309)
|
| 240 |
+
- packet: properly bounds check packet_authagent_open() (88a960a8 #1179)
|
| 241 |
+
- pem: fix private keys encrypted with AES-GCM methods (e87bdefa #1133)
|
| 242 |
+
- reuse: upgrade to `REUSE.toml` (70b8bf31 #1419)
|
| 243 |
+
- reuse: fix duplicate copyright warning (b9a4ed83)
|
| 244 |
+
- reuse: comply with 3.1 spec and 2.0.0 checker (fe6239a1 #1102 #1101 #1098)
|
| 245 |
+
- reuse: provide SPDX identifiers (f6aa31f4 #1084)
|
| 246 |
+
- scp: fix missing cast for targets without large file support (c317e06f #1060 #1057 #1002 regr: 5db836b2)
|
| 247 |
+
- session: support server banners up to 8192 bytes (was: 256) (1a9e8811 #1443 #1442)
|
| 248 |
+
- session: add `libssh2_session_callback_set2()` (c0f69548 #1285)
|
| 249 |
+
- session: handle EINTR from send/recv/poll/select to try again as the error is not fatal (798ed4a7 #1058 #955)
|
| 250 |
+
- sftp: increase SFTP_HANDLE_MAXLEN back to 4092 (75de6a37 #1422)
|
| 251 |
+
- sftp: implement posix-rename@openssh.com (fb652746 #1386)
|
| 252 |
+
- src: implement chacha20-poly1305@openssh.com (492bc543 #1426 #584)
|
| 253 |
+
- src: use `UINT32_MAX` (dc206408 #1413)
|
| 254 |
+
- src: fix type warning in `libssh2_sftp_unlink` macro (ac2e8c73 #1406)
|
| 255 |
+
- src: check the return value from `_libssh2_bn_*()` functions (95c824d5 #1354)
|
| 256 |
+
- src: support RSA-SHA2 cert-based authentication (rsa-sha2-512_cert and rsa-sha2-256_cert) (3a6ab70d #1314)
|
| 257 |
+
- src: check hash update/final success (4718ede4 #1303 #1301)
|
| 258 |
+
- src: check hash init success (2ed9eb92 #1301)
|
| 259 |
+
- src: add 'strict KEX' to fix CVE-2023-48795 "Terrapin Attack" (d34d9258 #1291 #1290)
|
| 260 |
+
- src: disable `-Wsign-conversion` warnings, add option to re-enable (6e451669 #1284 #1257)
|
| 261 |
+
- src: fix gcc 13 `-Wconversion` warning on Darwin (8cca7b77 #1209 follow: 08354e0a)
|
| 262 |
+
- src: drop a redundant `#include` (1f0174d0 #1153)
|
| 263 |
+
- src: improve MSVC C4701 warning fix (8b924999 #1086 #876 #1083)
|
| 264 |
+
- src: bump `hash_len` to `size_t` in `LIBSSH2_HOSTKEY_METHOD` (8b917d76 #1076)
|
| 265 |
+
- src: bump DSA and ECDSA sign `hash_len` to `size_t` (7b8e0225 #1055)
|
| 266 |
+
- tests: avoid using `MAXPATHLEN`, for portability (12427f4f #1415 #198 #1414)
|
| 267 |
+
- tests: fix excluding AES-GCM tests (fbd9d192 #1410)
|
| 268 |
+
- tests: drop default cygpath option `-u` (38e50aa0)
|
| 269 |
+
- tests: fix shellcheck issues in `test_sshd.test` (a2ac8c55)
|
| 270 |
+
- tests: sync port number type with the rest of codebase (eb996af8)
|
| 271 |
+
- tests: fall back to `$LOGNAME` for username (5326a5ce #1241 #1240)
|
| 272 |
+
- tests: show cmake version used in integration tests (2cd2f40e #1201)
|
| 273 |
+
- tests: formatting and tidy-ups (e61987a3)
|
| 274 |
+
- tests: replace FIXME with comments (1a99a86a)
|
| 275 |
+
- tests: add aes256-gcm encrypted key test (802336cf #1135 #1133)
|
| 276 |
+
- tests: trap signals in scripts (b2916b28 #1098)
|
| 277 |
+
- tests: cast to avoid `-Wchar-subscripts` with Cygwin (43df6a46 #1081 #1080)
|
| 278 |
+
- test_read: make it run without Docker (57e9d18e #1139)
|
| 279 |
+
- test_sshd.test: show sshd and test connect logs on harness failure (299c2040 #1097)
|
| 280 |
+
- test_sshd.test: set a safe PID directory (e8cabdcf #1089)
|
| 281 |
+
- test_sshd.test: minor cleanups (d29eea1d)
|
| 282 |
+
- tidy-up: link updates (c905bfd2 #1434)
|
| 283 |
+
- tidy-up: typo in comment (792e1b6f)
|
| 284 |
+
- tidy-up: fix typo found by codespell (706ec36d)
|
| 285 |
+
- tidy-up: bump casts from int to long for large C99 types in printfs (2e5a8719 #1264 #1257)
|
| 286 |
+
- tidy-up: `unsigned` -> `unsigned int` (b136c379)
|
| 287 |
+
- tidy-up: stop using leading underscores in macro names (c6589b88 #1248)
|
| 288 |
+
- tidy-up: around `stdint.h` (bfa00f1b #1212)
|
| 289 |
+
- tidy-up: fix typo in `readme.vms` (a9a79e7a)
|
| 290 |
+
- tidy-up: use built-in `_WIN32` macro to detect Windows (6fbc9505 #1195)
|
| 291 |
+
- tidy-up: drop `www.` from `www.libssh2.org` (6e3e8839 #1172)
|
| 292 |
+
- tidy-up: delete duplicate word from comment (76307435)
|
| 293 |
+
- tidy-up: avoid exclamations, prefer single quotes, in outputs (003fb454 #1079)
|
| 294 |
+
- TODO: disable or drop weak algos (0b4bdc85 #1261)
|
| 295 |
+
- transport: fix unstable connections over non-blocking sockets (de004875 #1454 #720 #1431 #1397)
|
| 296 |
+
- transport: check ETM on remote end when receiving (bde10825 #1332 #1331)
|
| 297 |
+
- transport: fix incorrect byte offset in debug message (2388a3aa #1096)
|
| 298 |
+
- userauth: avoid oob with huge interactive kbd response (f3a85cad #1337)
|
| 299 |
+
- userauth: add a new structure to separate memory read and file read (63b4c20e #773)
|
| 300 |
+
- userauth: check whether `*key_method` is a NULL pointer instead of `key_method` (bec57c40)
|
| 301 |
+
- wincng: fix `DH_GEX_MAXGROUP` set higher than supported (48584671 #1372 #493)
|
| 302 |
+
- wincng: add to ci/GHA, add `./configure` option `--enable-ecdsa-wincng` (3f98bfb0 #1368 #1315)
|
| 303 |
+
- wincng: add ECDSA support for host and user authentication (3e723437 #1315)
|
| 304 |
+
- wincng: prefer `ULONG`/`DWORD` over `unsigned long` (186c1d63 #1165)
|
| 305 |
+
- wincng: tidy-ups (7bb669b5 #1164)
|
| 306 |
+
- wolfssl: drop header path hack (8ae1b2d7 #1439)
|
| 307 |
+
- wolfssl: fix `EVP_Cipher()` use with v5.6.0 and older (a5b0fac2 #1407 #1394 #797 #1299 #1020)
|
| 308 |
+
- wolfssl: bump version in upstream issue comment (5cab802c)
|
| 309 |
+
- wolfssl: require v5.4.0 for AES-GCM (260a721c #1411 #1299 #1020)
|
| 310 |
+
- wolfssl: enable debug logging in wolfSSL when compiled in (76e7a68a #1310)
|
| 311 |
+
|
| 312 |
+
This release would not have looked like this without help, code, reports and
|
| 313 |
+
advice from friends like these:
|
| 314 |
+
|
| 315 |
+
Viktor Szakats, Michael Buckley, Patrick Monnerat, Ren Mingshuai,
|
| 316 |
+
Will Cosgrove, Daniel Stenberg, Josef Cejka, Nicolas Mora, Ryan Kelley,
|
| 317 |
+
Aaron Stone, Adam, Anders Borum, András Fekete, Andrei Augustin, binary1248,
|
| 318 |
+
Brian Inglis, brucsc on GitHub, concussious on github, Dan Fandrich,
|
| 319 |
+
dksslq on github, Haowei Hsu, Harmen Stoppels, Harry Mallon, Jack L,
|
| 320 |
+
Jakob Egger, Jiwoo Park, João M. S. Silva, Joel Depooter, Johannes Passing,
|
| 321 |
+
Jose Quaresma, Juliusz Sosinowicz, Kai Pastor, Kenneth Davidson,
|
| 322 |
+
klux21 on github, Lyndon Brown, Marc Hoersken, mike-jumper, naddy,
|
| 323 |
+
Nursan Valeyev, Paul Howarth, PewPewPew, Radek Brich, rahmanih on github,
|
| 324 |
+
rolag on github, Seo Suchan, shubhamhii on github, Steve McIntyre,
|
| 325 |
+
Tejaswi Kandula, Tobias Stoeckmann, Trzik, Xi Ruoyao
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_connect.3
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.\" Copyright (C) Daiki Ueno
|
| 2 |
+
.\" SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
.TH libssh2_agent_connect 3 "23 Dec 2009" "libssh2" "libssh2"
|
| 4 |
+
.SH NAME
|
| 5 |
+
libssh2_agent_connect - connect to an ssh-agent
|
| 6 |
+
.SH SYNOPSIS
|
| 7 |
+
.nf
|
| 8 |
+
#include <libssh2.h>
|
| 9 |
+
|
| 10 |
+
int
|
| 11 |
+
libssh2_agent_connect(LIBSSH2_AGENT *agent);
|
| 12 |
+
.fi
|
| 13 |
+
.SH DESCRIPTION
|
| 14 |
+
Connect to an ssh-agent running on the system.
|
| 15 |
+
|
| 16 |
+
Call \fBlibssh2_agent_disconnect(3)\fP to close the connection after
|
| 17 |
+
you are doing using it.
|
| 18 |
+
.SH RETURN VALUE
|
| 19 |
+
Returns 0 if succeeded, or a negative value for error.
|
| 20 |
+
.SH AVAILABILITY
|
| 21 |
+
Added in libssh2 1.2
|
| 22 |
+
.SH SEE ALSO
|
| 23 |
+
.BR libssh2_agent_init(3)
|
| 24 |
+
.BR libssh2_agent_disconnect(3)
|
miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_disconnect.3
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.\" Copyright (C) Daiki Ueno
|
| 2 |
+
.\" SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
.TH libssh2_agent_disconnect 3 "23 Dec 2009" "libssh2" "libssh2"
|
| 4 |
+
.SH NAME
|
| 5 |
+
libssh2_agent_disconnect - close a connection to an ssh-agent
|
| 6 |
+
.SH SYNOPSIS
|
| 7 |
+
.nf
|
| 8 |
+
#include <libssh2.h>
|
| 9 |
+
|
| 10 |
+
int
|
| 11 |
+
libssh2_agent_disconnect(LIBSSH2_AGENT *agent);
|
| 12 |
+
.fi
|
| 13 |
+
.SH DESCRIPTION
|
| 14 |
+
Close a connection to an ssh-agent.
|
| 15 |
+
|
| 16 |
+
.SH RETURN VALUE
|
| 17 |
+
Returns 0 if succeeded, or a negative value for error.
|
| 18 |
+
.SH AVAILABILITY
|
| 19 |
+
Added in libssh2 1.2
|
| 20 |
+
.SH SEE ALSO
|
| 21 |
+
.BR libssh2_agent_connect(3)
|
| 22 |
+
.BR libssh2_agent_free(3)
|