Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:please_try_again
NX
NX.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File NX.spec of Package NX
# # spec file for package NX (Version 3.5.0) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: NX BuildRequires: gcc-c++ libjpeg62-devel libpng14-compat-devel libopenssl-devel BuildRequires: libexpat-devel libstdc++-devel fontconfig-devel BuildRequires: xorg-x11-devel xorg-x11-util-devel xorg-x11-libXt-devel xorg-x11-libXp-devel xorg-x11-proto-devel BuildRequires: fdupes License: LGPL v2.1 or later; Other uncritical OpenSource License URL: http://www.nomachine.com Group: System/X11/Servers/XF86_4 Version: 3.5.0 Release: 118.1 Summary: Proxy System for X11 Requires: tightvnc rdesktop Source0: http://64.34.161.181/download/%{version}/sources/nxproxy-%{version}-1.tar.gz Source1: http://64.34.161.181/download/%{version}/sources/nxcomp-%{version}-2.tar.gz Source2: http://64.34.161.181/download/%{version}/sources/nxcompext-%{version}-1.tar.gz Source3: http://64.34.161.181/download/%{version}/sources/nxssh-%{version}-2.tar.gz # Shadowing Libraries Source4: http://64.34.161.181/download/%{version}/sources/nxcompshad-%{version}-2.tar.gz # X11 Support Programs and Libraries Source5: http://64.34.161.181/download/%{version}/sources/nx-X11-%{version}-2.tar.gz Source6: http://64.34.161.181/download/%{version}/sources/nxauth-%{version}-1.tar.gz # X11 Agent Sources Source7: http://64.34.161.181/download/%{version}/sources/nxagent-%{version}-9.tar.gz # NX Example Scripts Source8: http://64.34.161.181/download/%{version}/sources/nxscripts-%{version}-1.tar.gz Source10: docs.tar.bz2 Patch0: nx-3.5.0-optflags.patch Patch1: nx-3.5.0-syslibs.patch Patch2: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-misc/nx/files/nx-3.5.0-libpng15.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define nxdir %{_prefix}/lib/NX %description NX provides a proxy system for the X Window System. Authors: -------- Nomachine <www.nomachine.com> %prep %setup -q -c %{name}-%{version} -T -a0 -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 %patch0 -p1 %patch1 -p1 %patch2 -p0 cat <<EOF >>nx-X11/config/cf/host.def #define UseRpath YES #define UsrLibDir %{nxdir}/lib EOF find nx-X11 -name "*.[ch]" -print0 | xargs -0 chmod -c -x %build export CFLAGS="%{optflags}" %ifarch x86_64 ppc64 export CFLAGS="$CFLAGS -fPIC -DPIC" %endif export CXXFLAGS="$CFLAGS" export RPM_OPT_FLAGS="$CFLAGS" export LDFLAGS="%{?__global_ldflags} -Wl,-rpath,%{nxdir}/lib" # The commented parts show how the build would proceed step by step. # This information is important in case someone wants to split this package # (which would be the proper thing to do). # Within the commented area the make World invocation does all for # you. It isn't placed by accident in the middle of the commented # build instructions, as this is where the X11 libs would be built # build Compression Library and Proxy for i in nxcomp nxcompshad nxproxy; do pushd $i; ./configure; make %{?_smp_mflags} CCFLAGS="$CFLAGS"; popd done # build X11 Support Libraries and Agents SHLIBGLOBALSFLAGS="$LDFLAGS" make %{?_smp_mflags} -C nx-X11 World %if 0 # build Extended Compression Library pushd nxcompext ./configure; make %{?_smp_mflags} popd %endif pushd nxssh ./configure --without-zlib-version-check make %{?_smp_mflags} nxssh popd %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{nxdir}/lib mkdir -p %{buildroot}%{_docdir}/NX # install X11 Support Libraries and Agents install -p -m 0755 nx-X11/lib/X11/libX11.so.*.* \ nx-X11/lib/Xcomposite/libXcomposite.so.*.* \ nx-X11/lib/Xdamage/libXdamage.so.*.* \ nx-X11/lib/Xext/libXext.so.*.* \ nx-X11/lib/Xfixes/libXfixes.so.*.* \ nx-X11/lib/Xpm/libXpm.so.*.* \ nx-X11/lib/Xrandr/libXrandr.so.*.* \ nx-X11/lib/Xrender/libXrender.so.*.* \ nx-X11/lib/Xtst/libXtst.so.*.* \ %{buildroot}%{nxdir}/lib install -p -m 0755 nx-X11/programs/Xserver/nxagent %{buildroot}%{nxdir} install -p -m 0755 nxssh/nxssh %{buildroot}%{nxdir} install -p -m 0755 nxproxy/nxproxy %{buildroot}%{nxdir} %fdupes %{buildroot}%{_bindir} for file in nxagent nxssh nxproxy ; do ln -sf %{nxdir}/$file %{buildroot}%{_bindir}/$file done # install Compression Libraries and Proxy install -p -m 0755 nxcomp/libXcomp.so.*.* \ nxcompext/libXcompext.so.*.* \ nxcompshad/libXcompshad.so.*.* \ %{buildroot}%{nxdir}/lib # set up shared lib symlinks /sbin/ldconfig -n %{buildroot}%{nxdir}/lib # install scripts %{__mkdir_p} %{buildroot}%{_docdir}/NX/examples # Bug #156308 %{__chmod} 755 nxscripts/{run-nxproxy-reversed,run-nxproxy-server} %{__cp} -r nxscripts %{buildroot}%{_docdir}/NX/examples # documentation and license # TODO: docs tarball contains dupes wrt nxscripts tar xjf %{SOURCE10} -C %{buildroot}%{_docdir}/NX for i in nxcomp nxcompext nxcompshad nxproxy nxssh nx-X11 \ nx-X11/programs/nxauth nx-X11/programs/Xserver/hw/nxagent; do for j in CHANGELOG COPYING LICENSE; do [ -f $i/$j ] && install -Dpm 0644 $i/$j %{buildroot}%{_docdir}/NX/${i##*/}/$j done done %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc %{_docdir}/NX %dir %{nxdir} %dir %{nxdir}/lib %{_bindir}/nxagent %{_bindir}/nxproxy %{_bindir}/nxssh %{nxdir}/nxagent %{nxdir}/nxproxy %{nxdir}/nxssh %{nxdir}/lib/* %changelog * Sun Nov 04 2012 agnelo@unixversal.com - nx-agent-3.5.0-.7 -> nx-agent-3.5.0.9 * Sun Jul 01 2011 agnelo@unixversal.com - update to 3.5.0 (from Fedora package) * Fri Mar 25 2011 agnelo@unixversal.com - add dependencies for 11.3 & 11.4 * Sat Jul 31 2010 pascal.bleser@opensuse.org - update to 3.4.0 * Tue Mar 30 2010 sndirsch@suse.de - unfuzzed xorg7.diff * Sat May 23 2009 sndirsch@suse.de - nxcompshad.diff * fixes build on factory/x86_64 * Thu Nov 27 2008 sbogner@suse.de - include required libs for SLES9 * Mon Nov 3 2008 sndirsch@suse.de - memset.diff * fixes fatal build error * Thu Sep 11 2008 sndirsch@suse.de - nxagent 3.2.0-10 (bugfix release) * Fri Aug 8 2008 sndirsch@suse.de - fixed build on SLE10-x86_64 * Sun Jul 20 2008 sndirsch@suse.de - update NX to release 3.2.0 (bnc #61220) * Sat Apr 26 2008 coolo@suse.de - fix build * Tue Apr 8 2008 sndirsch@suse.de - nxproxy.diff * obsoletes nxssh (bnc #375246) * Mon Mar 17 2008 sndirsch@suse.de - no longer build nxpasswd; obsoleted by a fork in FreeNX * Fri Feb 29 2008 dmueller@suse.de - add missing %%postun /sbin/ldconfig call * Sun Jan 27 2008 sndirsch@suse.de - X.Org security update (Bug #355629) * CVE-2007-6427 - Xinput extension memory corruption. * CVE-2007-6428 - TOG-cup extension memory corruption. * CVE-2007-6429 - MIT-SHM and EVI extensions integer overflows. * CVE-2008-0006 - PCF Font parser buffer overflow. * Tue Dec 4 2007 ro@suse.de - fix build with gcc-4.3 * Mon Oct 15 2007 sndirsch@suse.de - Bug #332445: * handle malformed pcf files (Bug #190902) * fix several integer overflows. (Bug #154928) * Thu Jul 5 2007 sndirsch@suse.de - added build of nxssh (again); required by qtnx * Mon Jun 18 2007 sndirsch@suse.de - avoid string compare with char literal * Thu May 31 2007 sndirsch@suse.de - make rpmlint happy (spurious-executable-perm) * Tue May 29 2007 sndirsch@suse.de - added "%%post -p /sbin/ldconfig" to specfile to make rpmlint happy * Wed May 2 2007 sndirsch@suse.de - fixed run-nxagent-client in samples script (-nolimit option for nxagent no longer available) * Wed May 2 2007 sndirsch@suse.de - updated NX to 2.1.0 (Bug #203197) * Wed Apr 11 2007 sndirsch@suse.de - no longer mark nx-X11 tarball as NoSource (Bug #263352) * Thu Jan 25 2007 sndirsch@suse.de - fixed "comparison with string literal" warning * Mon Dec 18 2006 sndirsch@suse.de - xorg7.diff: * finally fixed xkb path (Bug #228516) * Wed Dec 13 2006 sndirsch@suse.de - finally added ExcludeArch for ia64, ppc64, s390x and x86_64 * Mon Nov 6 2006 ro@suse.de - fix perms in docfile keymap-names.txt * Wed Oct 18 2006 sndirsch@suse.de - removed bogus libX11/libXext/libXrender provides (Bug #212276) * Fri Sep 8 2006 sndirsch@suse.de - fixed libX11 locale support * Mon Sep 4 2006 sndirsch@suse.de - tried to fix locale support for X.Org 7; disabled for now due to linking issues (see host.def in specfile) - fixed default font path for X.Org 7 - sample scripts: * fixed nxproxy host:port options in run-nxagent-server * Mon Sep 4 2006 sndirsch@suse.de - host.def: fixed rgb and SecurityPolicy path for nxagent - sample scripts: * removed no longer available "-D" (desktop) nxagent option * removed no longer available log option for $NX_HOST * Fri Sep 1 2006 sndirsch@suse.de - hopefully fixed build cycle by replacing xorg-x11-devel with xorg-x11-proto-devel/xorg-x11-util-devel * Thu Aug 17 2006 sndirsch@suse.de - fixed build for X11R6 * Fri Aug 11 2006 sndirsch@suse.de - xorg7.diff: adjusted paths to X.Org 7 * Mon Jul 31 2006 sndirsch@suse.de - fixed build * Sun Jul 23 2006 sndirsch@suse.de - fixed build for X.Org 7 * Fri Jun 16 2006 sndirsch@suse.de - fixed build for SLES9 * Wed Apr 19 2006 sndirsch@suse.de - removed XLC_LOCALE files with critical license (Bug #153744) * Tue Mar 28 2006 sndirsch@suse.de - nxcompext: * use shared system libz for linking * also set CFLAGS/CCFLAGS ("-fPIC") to fix build on s390 * Fri Mar 24 2006 sndirsch@suse.de - enabled nxdesktop build on ppc/ppc64 and s390/s390x * Fri Mar 17 2006 sndirsch@suse.de - next try to fix permissions of sample scripts (Bug #156308) * Thu Mar 9 2006 sndirsch@suse.de - fixed permissions of sample scripts (Bug #156308) * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Dec 14 2005 sndirsch@suse.de - updated to third maintenance release of 1.5.0 * nxagent: 1.5.0-93 --> 1.5.0-112 * nxcompext: 1.5.0-18 --> 1.5.0-20 * nxdesktop: 1.5.0-75 --> 1.5.0-78 * nxviewer: 1.5.0-14 --> 1.5.0-15 * Fri Dec 9 2005 sndirsch@suse.de - updated to the latest stable 1.5.0 release of nx-X11/nxcomp * nx-X11: 1.5.0-15 --> 1.5.0-21 * nxcomp: 1.5.0-65 --> 1.5.0-80 * nxcompext: 1.5.0-16 --> 1.5.0-18 * Thu Oct 13 2005 sndirsch@suse.de - xorg-CAN-2005-2495.patch: * This patch fixes an integer overflow in the pixmap handling. (CAN-2005-2495) An attacker may be able to exploit this bug to execute code remotely. (#113227) * Sat Oct 8 2005 sndirsch@suse.de - updated nxagent/nxdesktop * Fri Sep 30 2005 sndirsch@suse.de - README.SuSE: * NX needs to be the same version on client and server (#119296) * Wed Sep 21 2005 sndirsch@suse.de - nxagent: set LD_LIBRARY_PATH correctly * Wed Aug 17 2005 sndirsch@suse.de - updated to the latest stable 1.5.0 release of nxagent/nxdesktop * nxagent: 1.5.0-87 --> 1.5.0-90 * nxdesktop: 1.5.0-59 --> 1.5.0-61 * Mon Aug 15 2005 sndirsch@suse.de - NX-data-range.patch: * fixes serious compiler warnings (Bug #104610) * Fri Aug 12 2005 sndirsch@suse.de - updated to first maintenance release of NX 1.5.0 (nxcomp 1.5.0-63 --> nxcomp 1.5.0-65) * nxcomp-1.5.0-65 - Removed the warning issued on parsing the agent option 'rootless'. Solves the TR08C00959. - MacOSX 10.4 defines socklen_t. Made the definition conditional so that we can still support older versions. Solves the TR07C00926. - Updated the ChangeLog to include references to the solved TRs. * nxcomp-1.5.0-64 - Imported the 1.6.0 changes in the maintenance 1.5.0. - Removed a wrong assertion that might cause the session to fail when the software was compiled with TEST enabled in Proxy.cpp. - The nxclient dialog process is signaled with SIGKILL on Windows, as the SIGTERM is ignored. This solves the TR07C00929. - Ensured the JPEG error flag is always set before jumping out of the Jpeg decompression. - Skipped errors encontered setting the TCP_NODELAY flag on Mac. Solves TR08C00940. - Few cosmetic changes. * Tue Jul 26 2005 sndirsch@suse.de - update nxproxy to stable 1.5.0 version * Sat Jul 23 2005 sndirsch@suse.de - removed obsolete 1.4.0 patches - updated to stable 1.5.0 release * Fri Jul 22 2005 sndirsch@suse.de - removed patch for non-fatal build warnings, which were never reviewed by anyone and nobody is interested in upstream * Wed Jul 13 2005 sndirsch@suse.de - updated to fourth development snapshot of NX 1.5.0 * Tue Jun 28 2005 sndirsch@suse.de - ppc-no-signed-char.diff: * removed "-fsigned-char" (Bug #93869) * Fri Jun 24 2005 sndirsch@suse.de - updated to third development snapshot of NX 1.5.0 * Mon Jun 6 2005 sndirsch@suse.de - updated to second development snapshot of NX 1.5.0 * support for the GLX extension * support for the RANDR extension, to allow users to fully manage the geometry of the desktop at run-time * fixes related to XDMCP session startup * initial support for the shadow framebuffer * a new control flow system in the nxcomp library * initial integration of the RDP agent with the new NX transport - obsoletes nx-X11-1.5.0-4-nx-X11-1.5.0-4-GFP1.ksh / nxagent-1.5.0-23-nxagent-1.5.0-23-GFP1.ksh - adjusted NX-1.5.diff * Fri Jun 3 2005 sndirsch@suse.de - nx-X11-1.5.0-4-nx-X11-1.5.0-4-GFP1.ksh/ nxagent-1.5.0-23-nxagent-1.5.0-23-GFP1.ksh * adds support for GLX (unaccelerated) * Mon May 23 2005 sndirsch@suse.de - gcc4-friends.patch * fixes new gcc build error: "ISO C++ forbids declaration of 'xxx' with no type" * Sat May 14 2005 sndirsch@suse.de - fixed fatal "uninitialized" warnings * Thu May 12 2005 sndirsch@suse.de - use norootforbuild * Thu May 5 2005 sndirsch@suse.de - #neededforbuild: audiofile, audiofile-devel not required * Thu Apr 28 2005 sndirsch@suse.de - update to snapshot 1.5.0 release nx-X11-1.4.0-10.tar.gz --> nx-X11-1.5.0-4.tar.gz nxagent-1.4.0-65.tar.gz --> nxagent-1.5.0-23.tar.gz nxcomp-1.4.0-31.tar.gz --> nxcomp-1.5.0-20.tar.gz nxcompext-1.4.0-3.tar.gz --> nxcompext-1.5.0-4.tar.gz nxdesktop-1.4.0-61.tar.gz --> nxdesktop-1.5.0-34.tar.gz nxproxy-1.4.0-2.tar.gz --> nxproxy-1.5.0-5.tar.gz nxscripts-1.4.0-3.tar.gz --> nxscripts-1.5.0-9.tar.gz nxviewer-1.4.0-4.tar.gz --> nxviewer-1.5.0-1.tar.gz - obsoletes NX-no-strict-aliasing.diff - adjusted NX.diff - NX-1.5.diff: fixed build * Mon Apr 25 2005 sndirsch@suse.de - NX-bufferoverflow.diff: * fixes buffer overflow * Thu Apr 14 2005 sbrabec@suse.cz - Added audiofile-devel to neededforbuild. * Sun Apr 3 2005 schwab@suse.de - Build with -fno-strict-aliasing. * Fri Feb 11 2005 sndirsch@suse.de - update to latest 1.4.0 sources: * nx-X11-1.4.0-7.tar.gz --> nx-X11-1.4.0-10.tar.gz * Tue Feb 8 2005 sndirsch@suse.de - update to latest 1.4.0 sources: * nxagent-1.4.0-64.tar.gz --> nxagent-1.4.0-65.tar.gz * nxcomp-1.4.0-30.tar.gz --> nxcomp-1.4.0-31.tar.gz * Sun Jan 2 2005 sndirsch@suse.de - update to latest 1.4.0 sources: * nx-X11-1.4.0-6.tar.gz --> nx-X11-1.4.0-7.tar.gz * nxagent-1.4.0-63.tar.gz --> nxagent-1.4.0-64.tar.gz * nxcomp-1.4.0-29.tar.gz --> nxcomp-1.4.0-30.tar.gz * nxdesktop-1.4.0-57.tar.gz --> nxdesktop-1.4.0-61.tar.gz * Fri Nov 5 2004 sndirsch@suse.de - updated to 1.4.0 final release (nx-X11, nxagent, nxcomp, nxdesktop, nxviewer) * Sat Sep 25 2004 sndirsch@suse.de - updated to 1.4.0 snapshot release 6 (nx-X11, nxagent, nxcomp, nxdesktop): * the protocol errors Error: Failure decoding data in context [N]. Error: Please report this problem to support personnel don't occur as long as you don't use different NX (snapshot) releases on client and server * Tue Sep 14 2004 sndirsch@suse.de - downgraded to 1.4.0 snaphot release 4 again (nxagent, nxcomp) as I could reproduce the protocol errors, which prevent nxproxy from working: Error: Failure decoding data in context [N]. Error: Please report this problem to support personnel. * Sat Sep 11 2004 sndirsch@suse.de - updated to 1.4.0 snaphot release 5 (nxagent, nxcomp) * Sat Sep 11 2004 sndirsch@suse.de - removed no longer required sources/patches (nxauth, nxcompsh, nxssh, NX-conf.diff) - adjusted NX.diff - removed dummy config tool NXDialog * Tue Sep 7 2004 sndirsch@suse.de - removed stuff, which isn't used by FreeNX/knx (nxdarwin, nxesd, nxkbd, nxkdrive, nxrun, nxuexec, nxwin) * Tue Sep 7 2004 sndirsch@suse.de - removed dummy config tool nxclient (provided by FreeNX now) * Mon Sep 6 2004 sndirsch@suse.de - downgraded to 1.4.0 snaphot release 4 (backward compatibility problems in snapshot release 5) * Sat Sep 4 2004 sndirsch@suse.de - update to latest 1.4.0 snapshot release * Thu Sep 2 2004 sndirsch@suse.de - README.SuSE: * added link to NX interview with Fabian Franz/Kurt Pfeifle (english version on OSnews) * nxsamples --> nxscripts * Thu Aug 19 2004 sndirsch@suse.de - README.SuSE: * added link to NX interview with Fabian Franz/Kurt Pfeifle * Wed Aug 18 2004 sndirsch@suse.de - enabled build of nxkbd, nxuexec * Wed Aug 18 2004 sndirsch@suse.de - updated to 1.4.0 snapshot release * disabled build of nxdesktop for ppc/ppc64, s390/s390x * added sources for nxkbd, nxkdrive, nxuexec - enabled build of nxesd (requires audiofile in #neededforbuild) * Mon Jul 26 2004 sndirsch@suse.de - docs.tar.bz2 * run-nxapp: DISPLAY needs to be set to ":$NX_PORT" * run-nxagent-client/run-nxagent-server: use of cookies * README: nxproxy/nxagent connection works now with Xserver access control restrictions * Tue Jul 20 2004 schwab@suse.de - Use autoreconf. * Wed Jun 30 2004 sndirsch@suse.de - improved documentation and sample scripts for nxproxy/nxproxy and nxproxy/nxagent connections * Mon Jun 28 2004 sndirsch@suse.de - added dummy config tools nxclient/NXdialog - added more documentation and some sample scripts * Mon May 31 2004 sndirsch@suse.de - NX.diff/p_XFree86-4.3-ppc64.diff: * fixed build on ppc64 * Mon May 24 2004 sndirsch@suse.de - fixed nxviewer build * Fri May 21 2004 sndirsch@suse.de - added presentation about NX by Kurt Pfeifle - install X11 libs correctly (symlinks should remain symlinks) * Wed May 19 2004 sndirsch@suse.de - added README, which includes some NX related links * Wed May 19 2004 sndirsch@suse.de - removed some duplicate or useless documentation * Tue May 18 2004 sndirsch@suse.de - added documentation * Tue May 18 2004 sndirsch@suse.de - using wrapper scripts for nxagent, nxdesktop, nxproxy, nxviewer; binaries moved to /usr/lib/NX - using /usr/share/NX/keymaps-windows/ for keyboard tables now - included X11, Xext, Xrender libs (/usr/lib/NX/lib) - moved libXcomp, libXcompext to /usr/lib/NX/lib - moved nxauth, nxpasswd to /usr/bin - moved nxauth manual page to /usr/share/man/man1 - removed shared libXcompsh (nxrun is statically linked) * Mon May 17 2004 sndirsch@suse.de - fix build on non-i386 archs * Fri May 14 2004 sndirsch@suse.de - created package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor