Skip to content

Commit

Permalink
Shifting from libssh2 to libssh.
Browse files Browse the repository at this point in the history
  • Loading branch information
RockfordWei committed Nov 27, 2017
1 parent 4cd05d6 commit 7e08c32
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 207 deletions.
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import PackageDescription

let package = Package(
name: "SSHApi",
pkgConfig: "libssh2",
pkgConfig: "libssh",
providers:[
.Apt("libssh2-1-dev"),
.Brew("libssh2")
.Apt("libssh-dev"),
.Brew("libssh")
]
)
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,14 @@



This project is a wrapper of libssh2 in Swift.
This project is a wrapper of libssh in Swift.

This package builds with Swift Package Manager and is part of the [Perfect](https://github.com/PerfectlySoft/Perfect) project and is not suggested to use as an independent module.

## License

Agree to [libssh's license](https://www.libssh.org/development/)

## Issues

We are transitioning to using JIRA for all bugs and support related issues, therefore the GitHub issues has been disabled.
Expand Down
4 changes: 2 additions & 2 deletions SSHApi.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef __SSHAPI__
#define __SSHAPI__
#ifdef __APPLE__
#include "/usr/local/include/libssh2.h"
#include "/usr/local/include/libssh/libssh.h"
#else
#include "/usr/include/libssh2.h"
#include "/usr/include/libssh/libssh.h"
#endif
#endif

0 comments on commit 7e08c32

Please sign in to comment.