Correct build scripts

This commit is contained in:
geos_one 2025-08-09 10:02:15 +02:00
parent 91e762eecd
commit abcb5199a5
4 changed files with 67 additions and 66 deletions

2
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: nxclient
Section: base Section: base
Priority: optional Priority: optional
Maintainer: NoMachine NX <info@nomachine.com> Maintainer: NoMachine NX <info@nomachine.com>
Build-Depends: debhelper (>= 5), build-essential, rsync Build-Depends: debhelper (>= 5), build-essential, rsync, libxft2
Standards-Version: 3.9.5 Standards-Version: 3.9.5
Homepage: https://ftp.disconnected-by-peer.at/NX/ Homepage: https://ftp.disconnected-by-peer.at/NX/

124
debian/copyright vendored
View File

@ -2,67 +2,67 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nomachine Upstream-Name: nomachine
Source: https://www.nomachine.com/licensing/nomachine-end-user-license-agreement Source: https://www.nomachine.com/licensing/nomachine-end-user-license-agreement
Files: amd64/* i386/* Files: amd64/* i386/*
Copyright: Copyright (c) 2002-2011 NoMachine Copyright: Copyright (c) 2002-2011 NoMachine
License: Proprietary License: Proprietary
End-User License Agreement End-User License Agreement
.
NoMachine - Rome - Italy NoMachine - Rome - Italy
.
NoMachine NX Products License NoMachine NX Products License
.
Copyright (c) 2002-2011 NoMachine. All Rights Reserved. Copyright (c) 2002-2011 NoMachine. All Rights Reserved.
.
Do not install or use NX products until you have read and accepted this Do not install or use NX products until you have read and accepted this
Agreement. By installing or using NX products you accept this Agreement. Agreement. By installing or using NX products you accept this Agreement.
.
If you do not agree to the terms of this license, you must not install If you do not agree to the terms of this license, you must not install
or use the NoMachine NX products. When applicable you may return NX or use the NoMachine NX products. When applicable you may return NX
product you purchased, including all packaging, media, and documentation, product you purchased, including all packaging, media, and documentation,
to the place of purchase for a refund, provided that the return is made to the place of purchase for a refund, provided that the return is made
within ten days of the date of purchase. within ten days of the date of purchase.
.
1. Licensee 1. Licensee
.
"Licensee" is the person, company or entity who uses this NX Product. "Licensee" is the person, company or entity who uses this NX Product.
The Licensee must accept and agree to this Agreement before installing The Licensee must accept and agree to this Agreement before installing
or using the NX Product. or using the NX Product.
.
2. License of NoMachine NX Product 2. License of NoMachine NX Product
.
Subject to the other provisions of this Agreement, NoMachine grants to Subject to the other provisions of this Agreement, NoMachine grants to
Licensee a nonexclusive, nontransferable license ("the License") to use Licensee a nonexclusive, nontransferable license ("the License") to use
the NX Product on a single computer system. Additionally, this product the NX Product on a single computer system. Additionally, this product
may be installed on more than one computer system in a non-commercial may be installed on more than one computer system in a non-commercial
setting. Rights to NoMachine not expressly granted to Licensee in this setting. Rights to NoMachine not expressly granted to Licensee in this
Agreement are reserved by NoMachine. Agreement are reserved by NoMachine.
.
3. NX Product 3. NX Product
.
The "NX Product" includes the NX Software (NX Client, NX Server, NX The "NX Product" includes the NX Software (NX Client, NX Server, NX
Server Manager, NX Web Companion any edition and add-on software) and, Server Manager, NX Web Companion any edition and add-on software) and,
depending on the product, a License Certificate. depending on the product, a License Certificate.
.
4. NX Software 4. NX Software
.
The "NX Software" includes three categories of computer programs: The "NX Software" includes three categories of computer programs:
Commercial Software developed by NoMachine, Open Source Software Commercial Software developed by NoMachine, Open Source Software
developed by NoMachine, Third Party Open Source Software. The term developed by NoMachine, Third Party Open Source Software. The term
"Software" is used to mean any or all of the Commercial, Open Source, "Software" is used to mean any or all of the Commercial, Open Source,
and Third Party Software. and Third Party Software.
.
4.1 Commercial NoMachine Software 4.1 Commercial NoMachine Software
.
NoMachine Commercial Software consists of the following computer programs NoMachine Commercial Software consists of the following computer programs
that have been developed by NoMachine: that have been developed by NoMachine:
.
- nxserver - nxserver
- nxnode - nxnode
- nxmanager - nxmanager
- nxclient - nxclient
- nxapplet - nxapplet
- nxstat - nxstat
.
NoMachine owns the copyrights and intellectual property in and to each NoMachine owns the copyrights and intellectual property in and to each
item of NoMachine Commercial Software. Redistribution of NX Server item of NoMachine Commercial Software. Redistribution of NX Server
software is forbidden without written permission by NoMachine. software is forbidden without written permission by NoMachine.
@ -70,17 +70,17 @@ License: Proprietary
packages, is allowed, free of charge, for commercial and non-commercial packages, is allowed, free of charge, for commercial and non-commercial
use providing any copyright notices that pertain to the origins of the use providing any copyright notices that pertain to the origins of the
Software are not altered in any way or removed. Software are not altered in any way or removed.
.
You may not copy the Software except for a reasonable number of machine- You may not copy the Software except for a reasonable number of machine-
readable copies of the Software for backup or archival purposes and except readable copies of the Software for backup or archival purposes and except
as expressly permitted in this EULA. as expressly permitted in this EULA.
.
No modification, adaptation, translation of the software is permitted, No modification, adaptation, translation of the software is permitted,
including modification to the graphical contents, without specific and including modification to the graphical contents, without specific and
prior permission from NoMachine. prior permission from NoMachine.
.
4.2 Open Source NoMachine Software 4.2 Open Source NoMachine Software
.
Open Source NoMachine Software consists of packages developed by NoMachine Open Source NoMachine Software consists of packages developed by NoMachine
for inclusion in NX products. NoMachine Open Source software packages for inclusion in NX products. NoMachine Open Source software packages
and modifications to existing Open Source packages are released by and modifications to existing Open Source packages are released by
@ -92,7 +92,7 @@ License: Proprietary
is owned by NoMachine and distributed by NoMachine to Licensee for use is owned by NoMachine and distributed by NoMachine to Licensee for use
by Licensee. NoMachine releases as Open Source software the following by Licensee. NoMachine releases as Open Source software the following
packages: packages:
.
- nxproxy - nxproxy
- nxcomp - nxcomp
- nxcompext - nxcompext
@ -112,9 +112,9 @@ License: Proprietary
- nxkill - nxkill
- nxservice - nxservice
- nxbuilder - nxbuilder
.
4.3 Third Party Open Source Software 4.3 Third Party Open Source Software
.
Many of the Software Programs included in the Software are distributed Many of the Software Programs included in the Software are distributed
under the terms of agreements with third parties ("Third Party Agreements") under the terms of agreements with third parties ("Third Party Agreements")
which may expand or limit your rights to use certain Software Programs which may expand or limit your rights to use certain Software Programs
@ -128,7 +128,7 @@ License: Proprietary
under terms stricter than those set forth in Section 2. The Third Party under terms stricter than those set forth in Section 2. The Third Party
Agreements, related online documentation, source code, and other information Agreements, related online documentation, source code, and other information
about such Software Programs are available at the relevant websites: about such Software Programs are available at the relevant websites:
.
- Cygwin [Cygwin License, http://www.cygwin.com/] - Cygwin [Cygwin License, http://www.cygwin.com/]
- XFree86 [XFree86 License, http://www.xfree.org/] - XFree86 [XFree86 License, http://www.xfree.org/]
- X.Org [X.org License, ftp://www.x.org/pub/X11R6.9.0/doc/LICENSE] - X.Org [X.org License, ftp://www.x.org/pub/X11R6.9.0/doc/LICENSE]
@ -138,11 +138,11 @@ License: Proprietary
- ESD [GPL, http://www.tux.org/~ricdude/EsounD.html] - ESD [GPL, http://www.tux.org/~ricdude/EsounD.html]
- GKrellM [GPL, http://www.gkrellm.net/] - GKrellM [GPL, http://www.gkrellm.net/]
- SQLite [SQLite License, http://www.sqlite.org/] - SQLite [SQLite License, http://www.sqlite.org/]
.
Upon request NoMachine will deliver all the relative third-party source Upon request NoMachine will deliver all the relative third-party source
code, consistent with the licensing terms of the original software, and code, consistent with the licensing terms of the original software, and
documentation at the cost of the postage charges incurred. documentation at the cost of the postage charges incurred.
.
You acknowledge that you have read, understood and agreed to the terms You acknowledge that you have read, understood and agreed to the terms
and conditions of each such Third Party Agreement. To the extent any and conditions of each such Third Party Agreement. To the extent any
Third Party Agreements require that Licensor provide rights to use, copy Third Party Agreements require that Licensor provide rights to use, copy
@ -150,7 +150,7 @@ License: Proprietary
in Section 2, then such rights shall take precedence over the rights in Section 2, then such rights shall take precedence over the rights
and restrictions granted in this Agreement solely for such Software and restrictions granted in this Agreement solely for such Software
Programs. Programs.
.
Licensed, Not Sold Open Source Software, NoMachine Software and Third Licensed, Not Sold Open Source Software, NoMachine Software and Third
Party Software are not sold, but are licensed and distributed to Licensee. Party Software are not sold, but are licensed and distributed to Licensee.
Any reference to the purchase or sale of the NX Product means, with respect Any reference to the purchase or sale of the NX Product means, with respect
@ -161,7 +161,7 @@ License: Proprietary
or copies to Licensee) is included in the NX product purchase price. or copies to Licensee) is included in the NX product purchase price.
Ownership of copies of Open Source Software, NoMachine Software and Third Ownership of copies of Open Source Software, NoMachine Software and Third
Party Software is governed by the applicable license agreement. Party Software is governed by the applicable license agreement.
.
Maintenance Releases All maintenance releases, fixes, patches, work-around Maintenance Releases All maintenance releases, fixes, patches, work-around
solutions, upgrades, and updates for or to the Open Source Software, solutions, upgrades, and updates for or to the Open Source Software,
NoMachine Software and Third Party Software made available by NoMachine NoMachine Software and Third Party Software made available by NoMachine
@ -171,9 +171,9 @@ License: Proprietary
and the license agreements referred to herein, unless a different license and the license agreements referred to herein, unless a different license
agreement is provided with or made applicable to such maintenance releases, agreement is provided with or made applicable to such maintenance releases,
fixes, patches, work-around solutions, upgrades, and updates. fixes, patches, work-around solutions, upgrades, and updates.
.
5. Documentation 5. Documentation
.
"Documentation" means the online documentation and printed documentation, "Documentation" means the online documentation and printed documentation,
if any, provided to Licensee in connection with NX, except for documentation if any, provided to Licensee in connection with NX, except for documentation
provided under third party or open source licenses as provided in Sections provided under third party or open source licenses as provided in Sections
@ -181,21 +181,21 @@ License: Proprietary
in this Agreement to NoMachine Software shall also apply to Documentation. in this Agreement to NoMachine Software shall also apply to Documentation.
The Documentation may be used by Licensee, but only in connection with The Documentation may be used by Licensee, but only in connection with
this NX Product. this NX Product.
.
6. NoMachine Artwork 6. NoMachine Artwork
.
"NoMachine Artwork" includes the [!M] logo, the NoMachine and NX logos, "NoMachine Artwork" includes the [!M] logo, the NoMachine and NX logos,
included icon sets, and other trademarks. NoMachine holds all rights, included icon sets, and other trademarks. NoMachine holds all rights,
including the right of distribution, to NoMachine Artwork. including the right of distribution, to NoMachine Artwork.
.
7. Limited Warranty 7. Limited Warranty
.
Media And Documentation. NoMachine warrants that if the NX Product media Media And Documentation. NoMachine warrants that if the NX Product media
or printed documentation, if any, provided by NoMachine are in a damaged or printed documentation, if any, provided by NoMachine are in a damaged
or physically defective condition when delivered and if they are returned or physically defective condition when delivered and if they are returned
to NoMachine (postage prepaid) within 30 days of the date of purchase, to NoMachine (postage prepaid) within 30 days of the date of purchase,
then NoMachine will provide Licensee with replacements at no charge. then NoMachine will provide Licensee with replacements at no charge.
.
NoMachine Software. NoMachine warrants that if the NoMachne Software NoMachine Software. NoMachine warrants that if the NoMachne Software
fails to substantially conform to the specifications in the Documentation fails to substantially conform to the specifications in the Documentation
or to any other NoMachine Software specifications published by NoMachine or to any other NoMachine Software specifications published by NoMachine
@ -205,16 +205,16 @@ License: Proprietary
price to Licensee upon a return of the NX Product (including all packaging, price to Licensee upon a return of the NX Product (including all packaging,
media, and documentation) to NoMachine. In the event of a refund, the media, and documentation) to NoMachine. In the event of a refund, the
License shall terminate. License shall terminate.
.
Third Party Software. Warranties, if any, applicable to Third Party Third Party Software. Warranties, if any, applicable to Third Party
Software will be the warranties made by the third party licensors in Software will be the warranties made by the third party licensors in
the applicable license agreements. the applicable license agreements.
.
Open Source Software. Pursuant to the various open source licenses Open Source Software. Pursuant to the various open source licenses
there is no warranty applicable to Open Source Software. there is no warranty applicable to Open Source Software.
.
8. Disclaimers And Limitations 8. Disclaimers And Limitations
.
Disclaimer Of Warranties. NOMACHINE MAKES NO WARRANTY, PROMISE OR Disclaimer Of Warranties. NOMACHINE MAKES NO WARRANTY, PROMISE OR
REPRESENTATION NOT EXPRESSLY SET FORTH IN THIS AGREEMENT. EXCEPT AS REPRESENTATION NOT EXPRESSLY SET FORTH IN THIS AGREEMENT. EXCEPT AS
EXPRESSLY WARRANTED HEREIN, THE NX SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESSLY WARRANTED HEREIN, THE NX SOFTWARE IS PROVIDED "AS IS" WITHOUT
@ -228,7 +228,7 @@ License: Proprietary
WITHOUT DEFECT OR ERROR OR THAT THE OPERATION THEREOF WILL BE UNINTERRUPTED. WITHOUT DEFECT OR ERROR OR THAT THE OPERATION THEREOF WILL BE UNINTERRUPTED.
THIS AGREEMENT GIVES LICENSEE SPECIFIC LEGAL RIGHTS. LICENSEE MIGHT THIS AGREEMENT GIVES LICENSEE SPECIFIC LEGAL RIGHTS. LICENSEE MIGHT
HAVE OTHER RIGHTS, WHICH VARY FROM STATE/JURISDICTION TO STATE/JURISDICTION. HAVE OTHER RIGHTS, WHICH VARY FROM STATE/JURISDICTION TO STATE/JURISDICTION.
.
Limitation On Liability. THE AGGREGATE LIABILITY OF NOMACHINE ARISING Limitation On Liability. THE AGGREGATE LIABILITY OF NOMACHINE ARISING
FROM OR RELATING TO THIS AGREEMENT OR ANY OF THE SOFTWARE (REGARDLESS FROM OR RELATING TO THIS AGREEMENT OR ANY OF THE SOFTWARE (REGARDLESS
OF THE FORM OF ACTION OR CLAIM - E.G., CONTRACT, WARRANTY, TORT, STRICT OF THE FORM OF ACTION OR CLAIM - E.G., CONTRACT, WARRANTY, TORT, STRICT
@ -239,40 +239,40 @@ License: Proprietary
PROGRAMS, EVEN IF NoMachine HAS BEEN ADVISED OF THE POSSIBILITY THEREOF. PROGRAMS, EVEN IF NoMachine HAS BEEN ADVISED OF THE POSSIBILITY THEREOF.
Because some states/jurisdictions do not allow the exclusion or limitation Because some states/jurisdictions do not allow the exclusion or limitation
of liability, the above limitation might not apply. of liability, the above limitation might not apply.
.
Responsibility For Decisions. Licensee is responsible for decisions Responsibility For Decisions. Licensee is responsible for decisions
made and actions taken based on the Software. made and actions taken based on the Software.
.
Non-Parties. The officers, directors, employees, shareholders and Non-Parties. The officers, directors, employees, shareholders and
representatives of NoMachine are not parties to this Agreement and shall representatives of NoMachine are not parties to this Agreement and shall
have no obligation or liability to Licensee relating to this Agreement have no obligation or liability to Licensee relating to this Agreement
or the Software. or the Software.
.
9. Sole Remedy And Allocation Of Risk 9. Sole Remedy And Allocation Of Risk
.
LICENSEE'S SOLE AND EXCLUSIVE REMEDY IS SET FORTH IN THIS AGREEMENT. LICENSEE'S SOLE AND EXCLUSIVE REMEDY IS SET FORTH IN THIS AGREEMENT.
This Agreement defines a mutually agreed-upon allocation of risk and This Agreement defines a mutually agreed-upon allocation of risk and
the License fees reflect such allocation of risk. the License fees reflect such allocation of risk.
.
10. Support 10. Support
.
Nothing in this Agreement entitles Licensee to any support, maintenance Nothing in this Agreement entitles Licensee to any support, maintenance
or new versions or distributions of any Software. Licensee may contact or new versions or distributions of any Software. Licensee may contact
NoMachine to determine the availability of support, maintenance and new NoMachine to determine the availability of support, maintenance and new
versions and distributions of Software, and the fees, terms and conditions versions and distributions of Software, and the fees, terms and conditions
applicable there to. applicable there to.
.
11. Governing Law 11. Governing Law
.
This Agreement shall be governed by the laws of the state of Italy without This Agreement shall be governed by the laws of the state of Italy without
giving effect to conflict or choice of law principles. The parties agree giving effect to conflict or choice of law principles. The parties agree
to exclude application of the "United Nations Convention on Contracts to exclude application of the "United Nations Convention on Contracts
for the International Sale of Goods" to this Agreement. Any litigation for the International Sale of Goods" to this Agreement. Any litigation
between the parties shall be conducted exclusively in Rome state courts. between the parties shall be conducted exclusively in Rome state courts.
The parties agree and submit to such exclusive jurisdiction and venue. The parties agree and submit to such exclusive jurisdiction and venue.
.
12. Entire Agreement 12. Entire Agreement
.
This Agreement sets forth the entire understanding and agreement between This Agreement sets forth the entire understanding and agreement between
the parties relating to the subject matter of this Agreement and may be the parties relating to the subject matter of this Agreement and may be
amended only in a writing signed by both parties. No vendor, distributor, amended only in a writing signed by both parties. No vendor, distributor,
@ -280,37 +280,37 @@ License: Proprietary
authorized by NoMachine to modify this Agreement or to make any warranty, authorized by NoMachine to modify this Agreement or to make any warranty,
representation or promise which is different than, or in addition to, representation or promise which is different than, or in addition to,
the warranties, representations and promises of this Agreement. the warranties, representations and promises of this Agreement.
.
13. Termination 13. Termination
.
The License shall automatically terminate if Licensee materially breaches The License shall automatically terminate if Licensee materially breaches
this Agreement. Upon termination of the License, Licensee shall cease this Agreement. Upon termination of the License, Licensee shall cease
all use of the NX Software and shall destroy all copies of the NX Software all use of the NX Software and shall destroy all copies of the NX Software
within the possession or control of Licensee and shall return the original within the possession or control of Licensee and shall return the original
NX Software media and Documentation, if any, to NoMachine. NX Software media and Documentation, if any, to NoMachine.
.
14. Export Laws 14. Export Laws
.
Licensee shall not export, disclose or distribute any Software in violation Licensee shall not export, disclose or distribute any Software in violation
of any applicable laws or regulations, including the export laws and of any applicable laws or regulations, including the export laws and
regulations of Italy, and shall comply with all such laws and regulations. regulations of Italy, and shall comply with all such laws and regulations.
.
15. Construction 15. Construction
.
In the construction and interpretation of this Agreement, no rule of In the construction and interpretation of this Agreement, no rule of
strict construction shall apply against either party. strict construction shall apply against either party.
.
16. Severability 16. Severability
.
If any provision in this Agreement is invalid or unenforceable or contrary If any provision in this Agreement is invalid or unenforceable or contrary
to applicable law, such provision shall be construed, limited, or altered, to applicable law, such provision shall be construed, limited, or altered,
as necessary, to eliminate the invalidity or unenforceability or the as necessary, to eliminate the invalidity or unenforceability or the
conflict with applicable law, and all other provisions of this Agreement conflict with applicable law, and all other provisions of this Agreement
shall remain in effect. shall remain in effect.
.
NoMachine's End User License Agreement is subject to revisions. Please NoMachine's End User License Agreement is subject to revisions. Please
see http://www.nomachine.com for any updates see http://www.nomachine.com for any updates
Files: debian/* Files: debian/*
Copyright: Copyright (C) 2014-2025 Mario Fetka (geos_one) Copyright: Copyright (C) 2014-2025 Mario Fetka (geos_one)
License: GPL-2.0+ License: GPL-2.0+

3
debian/dirs vendored
View File

@ -1 +1,2 @@
usr/NX usr/NX/lib
usr/NX/bin

4
debian/rules vendored
View File

@ -25,7 +25,7 @@ endif
ifeq ($(DEB_BUILD_ARCH),i386) ifeq ($(DEB_BUILD_ARCH),i386)
rsync -avr $(CURDIR)/i386/NX $(CURDIR)/debian/nxclient/usr/ rsync -avr $(CURDIR)/i386/NX $(CURDIR)/debian/nxclient/usr/
endif endif
$(CC) -shared -ldl -fPIC $(CURDIR)/glibc/nxfixglibc1190/libfix1190.c -o $(CURDIR)/debian/nxclient/usr/NX/lib/libfix1190.so $(CC) -shared -ldl -fPIC $(CURDIR)/glibc/nxfixglibc1190/nxfixglibc1190.c -o $(CURDIR)/debian/nxclient/usr/NX/lib/nxfixglibc1190.so
mv $(CURDIR)/debian/nxclient/usr/NX/bin/nxclient $(CURDIR)/debian/nxclient/usr/NX/bin/nxclient.bin mv $(CURDIR)/debian/nxclient/usr/NX/bin/nxclient $(CURDIR)/debian/nxclient/usr/NX/bin/nxclient.bin
install $(CURDIR)/debian/nxclient.wrapper $(CURDIR)/debian/nxclient/usr/NX/bin/nxclient install $(CURDIR)/debian/nxclient.wrapper $(CURDIR)/debian/nxclient/usr/NX/bin/nxclient
@ -38,7 +38,7 @@ binary-arch: build install
dh_compress dh_compress
dh_fixperms dh_fixperms
dh_installdeb dh_installdeb
dh_shlibdeps dh_shlibdeps -l$(DESTDIR)/usr/NX/lib/
dh_gencontrol dh_gencontrol
dh_md5sums dh_md5sums
dh_builddeb dh_builddeb