remote-support-mambasoft: added remote support menu entry to activate a ssh tunnel with mambaSoft

This commit is contained in:
Silvan Calarco 2014-12-19 18:55:39 +01:00
parent 7eeb69d8d4
commit 5e3bfd017e
9 changed files with 26 additions and 0 deletions

View File

@ -47,6 +47,11 @@ sysconfdir = /etc
sbindir = ${exec_prefix}/sbin sbindir = ${exec_prefix}/sbin
bindir = ${exec_prefix}/bin bindir = ${exec_prefix}/bin
datadir = ${prefix}/share datadir = ${prefix}/share
ifeq ($(ARCH), x86_64)
libexecdir = ${prefix}/libexec64
else
libexecdir = ${prefix}/libexec
endif
initrddir = ${sysconfdir}/rc.d/init.d initrddir = ${sysconfdir}/rc.d/init.d
mandir = ${prefix}/usr/share/man mandir = ${prefix}/usr/share/man
sysconfigdir= ${sysconfdir}/sysconfig sysconfigdir= ${sysconfdir}/sysconfig
@ -91,6 +96,7 @@ pck_infiles := $(wildcard kde/config/*.in \
kde/wallpapers/*.in \ kde/wallpapers/*.in \
menu/*.in menu/applications/*.in menu/applications/*/*.in \ menu/*.in menu/applications/*.in menu/applications/*/*.in \
SRPMS/*/*.in \ SRPMS/*/*.in \
remote-support-mambasoft/*.in \
desktop/*.in) desktop/*.in)
pck_sysconfigfile := distroutils.sysconfig pck_sysconfigfile := distroutils.sysconfig
@ -118,6 +124,7 @@ pck_catalogs3 := $(wildcard openmamba-update/po/*.po)
s,@sysconfigfile@,$(SYSCONFIGFILE),g;\ s,@sysconfigfile@,$(SYSCONFIGFILE),g;\
s,@datadir@,${datadir},g;\ s,@datadir@,${datadir},g;\
s,@bindir@,$(bindir),g;\ s,@bindir@,$(bindir),g;\
s,@libexecdir@,$(libexecdir),g;\
s,@distrobindir@,$(distrobindir),g;\ s,@distrobindir@,$(distrobindir),g;\
s,@distrodesktopdir@,$(distrodesktopdir),g;\ s,@distrodesktopdir@,$(distrodesktopdir),g;\
s,@distrosrpmsdir@,$(distrosrpmsdir),g;\ s,@distrosrpmsdir@,$(distrosrpmsdir),g;\
@ -232,6 +239,7 @@ install-icons:
@for i in 16x16 22x22 32x32 48x48 64x64 128x128; do \ @for i in 16x16 22x22 32x32 48x48 64x64 128x128; do \
$(INSTALL_DIR) $(DESTDIR)$(iconsdir)/$$i/apps/; \ $(INSTALL_DIR) $(DESTDIR)$(iconsdir)/$$i/apps/; \
$(INSTALL_DATA) mambabase/mamba-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/mamba.png; \ $(INSTALL_DATA) mambabase/mamba-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/mamba.png; \
$(INSTALL_DATA) remote-support-mambasoft/mambasoft-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/mambasoft.png; \
done done
ifeq ($(WITHKDE3TOOLS),1) ifeq ($(WITHKDE3TOOLS),1)
@for i in 16x16 22x22 32x32 48x48 64x64 128x128; do \ @for i in 16x16 22x22 32x32 48x48 64x64 128x128; do \
@ -275,6 +283,10 @@ ifeq ($(WITHKDE3TOOLS),1)
$(INSTALL_DATA) mambawelcome/mambawelcome.target $(DESTDIR)$(systemdsystemdir)/mambawelcome.target $(INSTALL_DATA) mambawelcome/mambawelcome.target $(DESTDIR)$(systemdsystemdir)/mambawelcome.target
endif endif
install-remote-support-mambasoft:
$(INSTALL_SCRIPT) remote-support-mambasoft/remote-support-mambasoft.sh $(DESTDIR)$(bindir)/remote-support-mambasoft
$(INSTALL_DATA) remote-support-mambasoft/remote-support-mambasoft.desktop $(DESTDIR)$(xdg_appsdir)
install-xramdr: install-xramdr:
@$(INSTALL_DIR) $(DESTDIR)$(xramdrdatadir) @$(INSTALL_DIR) $(DESTDIR)$(xramdrdatadir)
$(INSTALL_SCRIPT) xramdr/70521-xramdr.kmdr $(DESTDIR)$(xramdrdatadir)/xramdr.kmdr $(INSTALL_SCRIPT) xramdr/70521-xramdr.kmdr $(DESTDIR)$(xramdrdatadir)/xramdr.kmdr
@ -307,6 +319,7 @@ install: $(pck_infiles:.in=) \
install-mambabase \ install-mambabase \
install-mambawelcome \ install-mambawelcome \
install-mambareport \ install-mambareport \
install-remote-support-mambasoft \
install-bootrecover \ install-bootrecover \
install-locales \ install-locales \
install-icons install-icons

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Name=mambaSoft remote support
Name[it]=Supporto remoto mambaSoft
GenericName=Remote assistance
GenericName[it]=Assistenza remota
Exec=/usr/bin/remote-support-mambasoft < /dev/null
Icon=mambasoft
Terminal=0
Type=Application
Categories=X-openmamba;

View File

@ -0,0 +1,3 @@
#!/bin/bash
export SSH_ASKPASS=@libexecdir@/openssh/ssh-askpass
ssh -p 4424 -N -R 45678:localhost:22 assistenza@services.mambasoft.it