debian/0000755000000000000000000000000011565477257007211 5ustar debian/patches/0000755000000000000000000000000011565477256010637 5ustar debian/patches/0002-x2go-patchset-stdin.patch0000644000000000000000000000306311565267574016050 0ustar Description: Patch to take input on stdin (from x2go's git, initially from Debian) Author: Fabian Franz =================================================================== --- nxproxy.orig/Main.c 2011-03-17 11:10:09 +0000 +++ nxproxy/Main.c 2011-05-19 18:50:59 +0000 @@ -36,28 +36,48 @@ int result = -1; char *options = NULL; - + + char *nx_commfd_str = NULL; + options = getenv("NX_DISPLAY"); - - if (NXTransParseCommandLine(argc, argv) < 0) - { - NXTransCleanup(); - } - - if (NXTransParseEnvironment(options, 0) < 0) - { - NXTransCleanup(); - } - - /* - * This should not return... - */ - - #ifdef TEST - fprintf(stderr, "Main: Yielding control to NX entry point.\n"); - #endif - - result = NXTransProxy(NX_FD_ANY, NX_MODE_ANY, NX_DISPLAY_ANY); + + if ((nx_commfd_str = getenv("NX_COMMFD")) != NULL) + { + int nx_commfd = atoi(nx_commfd_str); + + if (result) + result = NXTransCreate(nx_commfd, NX_MODE_SERVER, options); + + // go into endless loop + + if (result) + { + while (NXTransRunning(NX_FD_ANY)) + result = NXTransContinue(NULL); + } + } + else + { + if (NXTransParseCommandLine(argc, argv) < 0) + { + NXTransCleanup(); + } + + if (NXTransParseEnvironment(options, 0) < 0) + { + NXTransCleanup(); + } + + /* + * This should not return... + */ + + #ifdef TEST + fprintf(stderr, "Main: Yielding control to NX entry point.\n"); + #endif + + result = NXTransProxy(NX_FD_ANY, NX_MODE_ANY, NX_DISPLAY_ANY); + } /* * ...So these should not be called. debian/patches/0004-x2go-patchset-makefile-uninstall.patch0000644000000000000000000000214611565270451020502 0ustar Description: adds make install/uninstall functionality (from x2go's git) Author: Mike Gabriel =================================================================== --- nxproxy.orig/Makefile.in 2011-04-20 08:07:49 +0000 +++ nxproxy/Makefile.in 2011-05-19 12:18:47 +0000 @@ -41,6 +41,8 @@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ +DESTDIR = +RM_FILE = rm -f # # This should be autodetected. @@ -88,10 +90,19 @@ install.bin: $(PROGRAM) $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) - $(INSTALL) $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM) + $(INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM) install.man: - $(srcdir)/mkinstalldirs $(man1dir) + $(srcdir)/mkinstalldirs $(DESTDIR)$(man1dir) + $(INSTALL_DATA) man/$(PROGRAM).1 $(DESTDIR)$(man1dir)/$(PROGRAM).1 + +uninstall: uninstall.bin uninstall.man + +uninstall.bin: + $(RM_FILE) $(DESTDIR)$(bindir)/$(PROGRAM) + +uninstall.man: + $(RM_FILE) $(DESTDIR)$(man1dir)/nxproxy.1 clean: -rm -f *~ *.o *.bak st?????? core core.* *.out.* \ debian/patches/0003-x2go-patchset-makefile-destdir.patch0000644000000000000000000000114311565270315020121 0ustar Description: Add DESTDIR support to MakeFile (from x2go's git) Author: Marcelo Boveto Shima =================================================================== --- nxproxy.orig/Makefile.in 2011-03-17 11:08:43 +0000 +++ nxproxy/Makefile.in 2011-05-19 18:50:59 +0000 @@ -87,8 +87,8 @@ install: install.bin install.man install.bin: $(PROGRAM) - $(srcdir)/mkinstalldirs $(bindir) - $(INSTALL) $(PROGRAM) $(bindir)/$(PROGRAM) + $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) + $(INSTALL) $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM) install.man: $(srcdir)/mkinstalldirs $(man1dir) debian/patches/0001-x2go-patchset-manpage.patch0000644000000000000000000000206211565270004016312 0ustar Description: Add manpage for nxproxy (from x2go's git branch) Author: Mike Gabriel =================================================================== --- nxproxy.orig/man/nxproxy.1 1970-01-01 00:00:00 +0000 +++ nxproxy/man/nxproxy.1 2011-05-19 18:50:59 +0000 @@ -0,0 +1,27 @@ +'\" -*- coding: utf-8 -*- +.if \n(.g .ds T< \\FC +.if \n(.g .ds T> \\F[\n[.fam]] +.de URL +\\$2 \(la\\$1\(ra\\$3 +.. +.if \n(.g .mso www.tmac +.TH nxproxy 1 "19 May 2011" "Version 3.4.0.x" "NX Proxy" +.SH NAME +nxproxy \- NX Proxy Tool +.SH SYNOPSIS +'nh +.fi +.ad l +\fBnxproxy\fR + +.SH DESCRIPTION +\fBnxproxy\fR is a tool that allows to tunnel X sessions through +the NX compression libraries. \fBnxproxy\fR is a backend application +utilized by the X2goClient GUI and some other NX/X2go clients. +.PP +.SH OPTIONS +For an insight in \fBnxproxy\fR options use \fBnxproxy --help\fR on the command line. +.PP +.SH AUTHOR +This manual has been written by Mike Gabriel for the X2go project +(http://www.x2go.org). debian/patches/series0000644000000000000000000000022611565477242012047 0ustar 0001-x2go-patchset-manpage.patch 0002-x2go-patchset-stdin.patch 0003-x2go-patchset-makefile-destdir.patch 0004-x2go-patchset-makefile-uninstall.patch debian/copyright0000644000000000000000000000350111565476004011130 0ustar This package was created by Matthew Johnson on Fri Mar 7 11:53:56 GMT 2008 The software was downloaded from http://www.nomachine.com/sources.php Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Parts of this software are derived from DXPC project. These copyright notices apply to original DXPC code: Redistribution and use in source and binary forms are permitted provi- ded that the above copyright notice and this paragraph are duplicated in all such forms. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. Copyright (c) 1995,1996 Brian Pane Copyright (c) 1996,1997 Zachary Vonler and Brian Pane Copyright (c) 1999 Kevin Vigor and Brian Pane Copyright (c) 2000,2006 Gian Filippo Pinzari and Brian Pane The packaging for Debian is copyright 2007 Matthew Johnson and is released under the GPL version 2. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/rules0000755000000000000000000000012611565263223010252 0ustar #!/usr/bin/make -f %: dh --with autoreconf --parallel $@ override_dh_auto_install:debian/source/0000755000000000000000000000000011565477256010510 5ustar debian/source/format0000644000000000000000000000001411565216356011706 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000013411565216356010227 0ustar version=3 http://www.nomachine.com/sources.php \ http://[^"]*/nxproxy-([\d\.-]*)\.tar\.gz debian/compat0000644000000000000000000000000211565216356010376 0ustar 7 debian/README.Debian0000644000000000000000000000067511565216264011247 0ustar nxproxy for Debian ------------------ nxproxy is part of the NX X compression system. It is part of the GPL NX components provided by NoMachine, but does not comprise a complete NX solution. It merely provides a binary to be called by NX clients. nxcl and qtnx provide the NX client solution in Debian and unless you know what you are doing, you should not call nxproxy directly, but use qtnx instead. -- Matthew Johnson debian/nxproxy.manpages0000644000000000000000000000001611565263223012434 0ustar man/nxproxy.1 debian/nxproxy.install0000644000000000000000000000002011565263223012302 0ustar nxproxy usr/bin debian/control0000644000000000000000000000105011565266054010577 0ustar Source: nxproxy Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Matthew Johnson Build-Depends: debhelper (>= 7.0.50~), automake, autoconf, libxcomp-dev, dh-autoreconf Standards-Version: 3.9.2 Section: x11 Package: nxproxy Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: qtnx, x2goclient Description: NX X compression library NX provides a differential X compression library for X11. . This package provides the NX proxy (client) binary. debian/changelog0000644000000000000000000000242211565476032011051 0ustar nxproxy (3.5.0-1-0ubuntu1) oneiric; urgency=low * New upstream release (3.5.0-1) * Add patches from x2go's nxproxy fork - Manpage for nxproxy - Improved MakeFile - Apply former debian patch (debian/patches/stdin) inline * Merge packaging changes from the x2go team - Convert to source format 3.0 - Bump standards version - Move qtnx from recommends to suggests and add x2goclient as suggests - Fix typo in package description - Switch to dh7 * Additional packaging changes - Add build-dep on dh-autoreconf - Update build-dep on debhelper - Add debian/watch file - Document existing patches - Remove duplicate section field - Drop build-dep on libstdc++-dev (virtual only and not necessary) - Update copyright year -- Stéphane Graber Thu, 19 May 2011 09:31:20 -0400 nxproxy (3.2.0-1-1) unstable; urgency=low * New Upstream Release * Recommend qtnx * Provide README.Debian (Closes: #474368) -- Matthew Johnson Mon, 16 Jun 2008 12:21:25 +0100 nxproxy (3.1.0-2-1) unstable; urgency=low * Initial packaging for Debian (Closes: #470623) * Patch to take input on stdin (from Fabian Franz ) -- Matthew Johnson Wed, 12 Mar 2008 11:00:53 +0000