summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/libssh/.footprint12
-rw-r--r--extra/libssh/.md5sum1
-rwxr-xr-xextra/libssh/Pkgfile21
3 files changed, 34 insertions, 0 deletions
diff --git a/extra/libssh/.footprint b/extra/libssh/.footprint
new file mode 100644
index 000000000..d33e7e10a
--- /dev/null
+++ b/extra/libssh/.footprint
@@ -0,0 +1,12 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/libssh/
+-rw-r--r-- root/root usr/include/libssh/callbacks.h
+-rw-r--r-- root/root usr/include/libssh/libssh.h
+-rw-r--r-- root/root usr/include/libssh/server.h
+-rw-r--r-- root/root usr/include/libssh/sftp.h
+-rw-r--r-- root/root usr/include/libssh/ssh2.h
+drwxr-xr-x root/root usr/lib/
+lrwxrwxrwx root/root usr/lib/libssh.so -> libssh.so.4
+lrwxrwxrwx root/root usr/lib/libssh.so.4 -> libssh.so.4.0.1
+-rwxr-xr-x root/root usr/lib/libssh.so.4.0.1
diff --git a/extra/libssh/.md5sum b/extra/libssh/.md5sum
new file mode 100644
index 000000000..b56ca2808
--- /dev/null
+++ b/extra/libssh/.md5sum
@@ -0,0 +1 @@
+258402bf1fabf664daeba4e5fc7a8d09 libssh-0.4.1.tar.gz
diff --git a/extra/libssh/Pkgfile b/extra/libssh/Pkgfile
new file mode 100755
index 000000000..e6f65fd0e
--- /dev/null
+++ b/extra/libssh/Pkgfile
@@ -0,0 +1,21 @@
+# Description: Librairie permettant l'usage de ssh dans des client à travers la librairie C
+# URL: http://www.libssh.org/
+# Maintainer: NuTyX
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: cmake
+
+name=libssh
+version=0.4.1
+release=1
+source=(http://www.libssh.org/files/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ mkdir build
+ cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+ make DESTDIR=$PKG install
+}