Add package 'remmina' and 'libssh'
v3 cover Add package 'remmina' and 'libssh'
Remmina is a remote desktop client written in GTK+, which currently support RDP, VNC, NX, XDMCP and SSH.
Libssh is a multiplatform C library implementing the SSHv2 and SSHv1 protocol on client and server side.
Remmina package depends on package libssh, NOT the libssh2 package.
Changes v2 -> v3:
1) pick the first patch 'libssh' from the 'next' tree.
2) fix the dependencies of package remmina.
Changes v1 -> v2:
1) fix the dependencies of package remmina.
2) fix the license of package remmina.
3) wrap lines at 72 characters.
Scott Fan (2):
libssh: new package
Remmina: new package
package/Config.in | 2 ++ package/libssh/Config.in | 11 +++++++++++ package/libssh/libssh.hash | 4 ++++ package/libssh/libssh.mk | 36 ++++++++++++++++++++++++++++++++++++ package/remmina/Config.in | 28 ++++++++++++++++++++++++++++ package/remmina/remmina.mk | 34 ++++++++++++++++++++++++++++++++++ 6 files changed, 115 insertions(+) create mode 100644 package/libssh/Config.in create mode 100644 package/libssh/libssh.hash create mode 100644 package/libssh/libssh.mk create mode 100644 package/remmina/Config.in create mode 100644 package/remmina/remmina.mk
Signature · 1 line
2.5.1
PATCH v3 1/2 libssh: new package
libssh2 and libssh both implement SSH and provide a library API for apps. Both support SSH, SFTP, auth, channels etc. Both are 25K-30K lines of code.
[libssh2 vs libssh - A comparison]
http://www.libssh2.org/libssh2-vs-libssh.html
--- package/Config.in | 1 + package/libssh/Config.in | 11 +++++++++++ package/libssh/libssh.hash | 4 ++++ package/libssh/libssh.mk | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 package/libssh/Config.in create mode 100644 package/libssh/libssh.hash create mode 100644 package/libssh/libssh.mk
package/Config.in +1 -0
@@ -749,6 +749,7 @@ menu "Crypto" source "package/libsecret/Config.in" source "package/libsha1/Config.in" source "package/libsodium/Config.in" + source "package/libssh/Config.in" source "package/libssh2/Config.in" source "package/nettle/Config.in" source "package/openssl/Config.in"
package/libssh/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_LIBSSH + bool "libssh" + # Either OpenSSL or libgcrypt are mandatory + select BR2_PACKAGE_LIBGCRYPT if !BR2_PACKAGE_OPENSSL + help + libssh is a multiplatform C library implementing the SSHv2 + and SSHv1 protocol on client and server side. With libssh, + you can remotely execute programs, transfer files, use a + secure and transparent tunnel for your remote applications. + + http://www.libssh.org/
package/libssh/libssh.hash new file +4 -0
@@ -0,0 +1,4 @@ +# from https://red.libssh.org/projects/libssh/files/ +md5 bffc9dc548c3bae3a3afc5ac1654b272 libssh-0.7.1.tar.xz +# Locally calculated +sha256 2fc7ccf96d3263cbd8ab520118cb94d9a2e11714c61e22b3f761fc5352fd046d libssh-0.7.1.tar.xz
package/libssh/libssh.mk new file +36 -0
@@ -0,0 +1,36 @@ +################################################################################ +# +## libssh +# +################################################################################# + +LIBSSH_VERSION = 0.7.1 +LIBSSH_SOURCE = libssh-$(LIBSSH_VERSION).tar.xz +LIBSSH_SITE = https://red.libssh.org/attachments/download/154 +LIBSSH_LICENSE = LGPLv2.1 +LIBSSH_LICENSE_FILES = COPYING +LIBSSH_INSTALL_STAGING = YES +LIBSSH_SUPPORTS_IN_SOURCE_BUILD = NO +LIBSSH_CONF_OPTS = \ + -DWITH_STACK_PROTECTOR=OFF \ + -DWITH_SERVER=OFF \ + -DWITH_EXAMPLES=OFF + +ifeq ($(BR2_PACKAGE_ZLIB),y) +LIBSSH_CONF_OPTS += -DWITH_ZLIB=ON +LIBSSH_DEPENDENCIES += zlib +else +LIBSSH_CONF_OPTS += -DWITH_ZLIB=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +LIBSSH_CONF_OPTS += -DWITH_GCRYPT=ON +LIBSSH_DEPENDENCIES += libgcrypt +else +LIBSSH_CONF_OPTS += -DWITH_GCRYPT=OFF +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBSSH_DEPENDENCIES += openssl +endif +endif + +$(eval $(cmake-package))
Signature · 1 line
2.5.1
PATCH v3 1/2 libssh: new package
Am Mon, 31 Aug 2015 20:59:04 +0800 schrieb Scott Fan:
Quoted 4 lines
libssh2 and libssh both implement SSH and provide a library API for apps.
Both support SSH, SFTP, auth, channels etc. Both are 25K-30K lines of code.
(only compile tested and linked with Kodi using this
patch: http://patchwork.ozlabs.org/patch/512504/)
This defconfig was used:
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_KODI=y
BR2_PACKAGE_KODI_LIBSSH=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I915=y
BR2_PACKAGE_XORG7=y
Please note that OpenELEC carries a patch to fix compilation problems with gcc5: https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/network/libssh/patches/libssh-gcc-5-fix.patch
I did not try to compile libssh with gcc5...
Regards, Bernd
PATCH v3 1/2 libssh: new package
Am Mon, 31 Aug 2015 16:38:43 +0200 schrieb Bernd Kuhls:
Quoted 11 lines
Am Mon, 31 Aug 2015 20:59:04 +0800 schrieb Scott Fan:
Quoted 4 lines
libssh2 and libssh both implement SSH and provide a library API for apps.
Both support SSH, SFTP, auth, channels etc. Both are 25K-30K lines of code.Tested-by: Bernd Kuhls <[email protected]>
(only compile tested and linked with Kodi using this
patch: http://patchwork.ozlabs.org/patch/512504/)
Correction: I used this patch for Kodi support:
http://patchwork.ozlabs.org/patch/512505/
PATCH v3 2/2 Remmina: new package
In reply to Scott FanRemmina is a remote desktop client written in GTK+. Currently RDP, VNC, NX, XDMCP and SSH are supported.
http://remmina.sourceforge.net/
--- package/Config.in | 1 + package/remmina/Config.in | 28 ++++++++++++++++++++++++++++ package/remmina/remmina.mk | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 package/remmina/Config.in create mode 100644 package/remmina/remmina.mk
package/Config.in +1 -0
@@ -239,6 +239,7 @@ endif source "package/fbterm/Config.in" source "package/fbv/Config.in" source "package/freerdp/Config.in" + source "package/remmina/Config.in" source "package/imagemagick/Config.in" source "package/linux-fusion/Config.in" source "package/lite/Config.in"
package/remmina/Config.in new file +28 -0
@@ -0,0 +1,28 @@ +config BR2_PACKAGE_REMMINA + bool "remmina" + depends on BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_LIBGTK3 + depends on BR2_USE_MMU # libvncserver depends on BR2_USE_MMU + depends on BR2_USE_WCHAR # freerdp + depends on !BR2_STATIC_LIBS # freerdp + depends on BR2_TOOLCHAIN_HAS_THREADS # freerdp + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXKBFILE + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_LIBSSH + select BR2_PACKAGE_LIBVNCSERVER + select BR2_PACKAGE_FREERDP + select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT + help + Remmina is a remote desktop client written in GTK+, aiming to be + useful for system administrators and travellers, who need to work + with lots of remote computers in front of either large monitors + or tiny netbooks. + + Remmina supports multiple network protocols in an integrated and + consistent user interface. + + Currently RDP, VNC, NX, XDMCP and SSH are supported. + + http://remmina.sourceforge.net/
package/remmina/remmina.mk new file +34 -0
@@ -0,0 +1,34 @@ +################################################################################ +# +# remmina +# +################################################################################ + +REMMINA_VERSION = v1.1.2 +REMMINA_SITE = $(call github,FreeRDP,Remmina,$(REMMINA_VERSION)) +REMMINA_LICENSE = GPLv2+ with OpenSSL exception +REMMINA_LICENSE_FILES = COPYING LICENSE LICENSE.OpenSSL + +REMMINA_CONF_OPTS = \ + -DWITH_AVAHI=OFF \ + -DWITH_APPINDICATOR=OFF \ + -DWITH_GNOMEKEYRING=OFF \ + -DWITH_TELEPATHY=OFF \ + -DWITH_VTE=OFF + +REMMINA_DEPENDENCIES = \ + libgtk3 libgcrypt libssh libvncserver freerdp \ + xlib_libX11 xlib_libXext xlib_libxkbfile + +ifeq ($(BR2_NEEDS_GETTEXT),y) +REMMINA_DEPENDENCIES += gettext + +define REMMINA_POST_PATCH_FIXINTL + $(SED) 's/$${GTK_LIBRARIES}/$${GTK_LIBRARIES} -lintl/' \ + $(@D)/remmina/CMakeLists.txt +endef + +REMMINA_POST_PATCH_HOOKS += REMMINA_POST_PATCH_FIXINTL +endif + +$(eval $(cmake-package))
Signature · 1 line
2.5.1