summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscruggsj <scruggsj@localhost>2006-07-11 03:03:50 +0000
committerscruggsj <scruggsj@localhost>2006-07-11 03:03:50 +0000
commitd28cc20b9f2c3be003394155e54be3eaf58db568 (patch)
tree2b1c552356d3a892fd613c1387d2fa079a5b5e5e /net-misc/nxclient-base
parent* Fix a type with the RESTRICT options. (diff)
downloadnx-d28cc20b9f2c3be003394155e54be3eaf58db568.tar.gz
nx-d28cc20b9f2c3be003394155e54be3eaf58db568.tar.bz2
nx-d28cc20b9f2c3be003394155e54be3eaf58db568.zip
* Initial import of the nxclient 2.0.0 series of ebuilds.
* NOTE: These may not have all the depends and blockers in yet. * Will work for the most part. :P Well, should work for the most part. * There are too many patches, so I may roll them up all in to one, I haven't decided yet. * Hopefully this will give some indication on how I will do the nxnode ebuilds as well and the direction I want to go with these. * Also, some of the code needs to be reduced. * I know that amd64 users are marked as -amd64 for the nxclient-base ebuild because I don't know how compatible amd64 is when compiling. It hasn't been very friendly in the past, so I am being very leary with it this time around. * Just be careful using these for now. :) * Those patches were largely made by me with suggestions from others on how to fix nxcompsh from not compiling. :) Thanks to all those that pointed me in the right direction. * As always, please tell me about any errors these ebuilds give. I mainly only tested the compiling part because it's late and I am tired, and I wanted people to see my ideas in the form of ebuilds. Like I said before, I will fix these ebuilds up more after work. :) I am just glad they work as is. :P It's been a pain to get it some things to work out as planned. Cheers. svn path=/testing/; revision=81
Diffstat (limited to 'net-misc/nxclient-base')
-rw-r--r--net-misc/nxclient-base/Manifest29
-rw-r--r--net-misc/nxclient-base/files/2.0.0/nxcomp-2.0.0-makefile.patch21
-rw-r--r--net-misc/nxclient-base/files/2.0.0/nxcompsh-2.0.0-makefile.patch39
-rw-r--r--net-misc/nxclient-base/files/2.0.0/nxkill-2.0.0-makefile.patch12
-rw-r--r--net-misc/nxclient-base/files/2.0.0/nxservice-2.0.0-makefile.patch12
-rw-r--r--net-misc/nxclient-base/files/digest-nxclient-base-2.0.018
-rw-r--r--net-misc/nxclient-base/nxclient-base-2.0.0.ebuild136
7 files changed, 267 insertions, 0 deletions
diff --git a/net-misc/nxclient-base/Manifest b/net-misc/nxclient-base/Manifest
new file mode 100644
index 0000000..82f418a
--- /dev/null
+++ b/net-misc/nxclient-base/Manifest
@@ -0,0 +1,29 @@
+AUX 2.0.0/nxcomp-2.0.0-makefile.patch 610 RMD160 c14dab1615eb9f71f8cc4325420c19b9ca38b067 SHA1 016750ce855040d4c489692e96a64b85bb1b53a7 SHA256 b7cca3103b2a4da6412c2065f83450cbd5b38ac5f86999ae4fe0281739b660ca
+MD5 2e3930d3a8339b0d98af9d838ec56cb7 files/2.0.0/nxcomp-2.0.0-makefile.patch 610
+RMD160 c14dab1615eb9f71f8cc4325420c19b9ca38b067 files/2.0.0/nxcomp-2.0.0-makefile.patch 610
+SHA256 b7cca3103b2a4da6412c2065f83450cbd5b38ac5f86999ae4fe0281739b660ca files/2.0.0/nxcomp-2.0.0-makefile.patch 610
+AUX 2.0.0/nxcompsh-2.0.0-makefile.patch 1258 RMD160 4ffa2cf3d942f150fe009102f34606b144f3d85e SHA1 3320a1788aee40383095dec58cd8bfc4a6d22772 SHA256 5581fc12145eb8257b9652a5797d9b1d0b348aabc00b76eba6e18764afefe49b
+MD5 21330e2ed31b7747adfd99585737e458 files/2.0.0/nxcompsh-2.0.0-makefile.patch 1258
+RMD160 4ffa2cf3d942f150fe009102f34606b144f3d85e files/2.0.0/nxcompsh-2.0.0-makefile.patch 1258
+SHA256 5581fc12145eb8257b9652a5797d9b1d0b348aabc00b76eba6e18764afefe49b files/2.0.0/nxcompsh-2.0.0-makefile.patch 1258
+AUX 2.0.0/nxkill-2.0.0-makefile.patch 478 RMD160 a4cb7f50ecbc2717866c2d479f5e2bb5b216c209 SHA1 d0042b16107eb31f9a7447a525baf47322be814e SHA256 b97c35b9278f591208d94a945ad309e9645a73da8eea0a230886d2cff653ae90
+MD5 9c38dbcfc4d461b121a88ae27def093d files/2.0.0/nxkill-2.0.0-makefile.patch 478
+RMD160 a4cb7f50ecbc2717866c2d479f5e2bb5b216c209 files/2.0.0/nxkill-2.0.0-makefile.patch 478
+SHA256 b97c35b9278f591208d94a945ad309e9645a73da8eea0a230886d2cff653ae90 files/2.0.0/nxkill-2.0.0-makefile.patch 478
+AUX 2.0.0/nxservice-2.0.0-makefile.patch 420 RMD160 ff4bdc3c764f65054d73c6b02e854a8c893edefb SHA1 d97f3f106311f957d388e27100c595f2005d9358 SHA256 a014b6596b410b6c3517b44e7e05e577579ba45e7995949eb0384f809f782744
+MD5 298b65e493b2dd40be7eb21e3c770690 files/2.0.0/nxservice-2.0.0-makefile.patch 420
+RMD160 ff4bdc3c764f65054d73c6b02e854a8c893edefb files/2.0.0/nxservice-2.0.0-makefile.patch 420
+SHA256 a014b6596b410b6c3517b44e7e05e577579ba45e7995949eb0384f809f782744 files/2.0.0/nxservice-2.0.0-makefile.patch 420
+DIST nxcomp-2.0.0-81.tar.gz 549185 RMD160 20ead9c63428b3235c78e16477dd7cc06bae7420 SHA1 a9768df585a1fbf6db9e561ad44d53e6af42c35c SHA256 21c33334443886cb1ec6bc70e548647ea58464afc32dbe7009a3ee37fdc338e0
+DIST nxcompsh-2.0.0-4.tar.gz 68285 RMD160 50dcf2020138daf304af9396d88e45883861c4e0 SHA1 0eeb9a5869b4c93691ecb1cc7769810406da30f4 SHA256 2554347d336bc0e42705e9c5d4a8791c694fe8e194326a898ef9164c95fc3e6c
+DIST nxesd-2.0.0-3.tar.gz 663633 RMD160 bde4e7fd0fefcba231180f4cb654a360d4cdd41a SHA1 96dfb511cfef374eaaa80d865b6a6c23b360dfb4 SHA256 f11b252489a743e3d27407d3113a6f130ccb5d99d6d0e7b12e492c2f2078def4
+DIST nxkill-2.0.0-3.tar.gz 43941 RMD160 834c4322e2813603b107b848e492eae8dfaf35f5 SHA1 404dc6157db99f17e0881115bb46b75d0dc4973d SHA256 f298ea4692cb3c30cf0d7a9b5f6ff5ef81ea8e088a45ad3673157f4f7ed263d3
+DIST nxservice-2.0.0-24.tar.gz 45953 RMD160 1372b57d9a7862ac1a81faedbe06dacec2811e8f SHA1 4a2b0e73e32b69234949444c0ef4bdb9ce6ee342 SHA256 e4a107bea361ddddabe68a1fdd6c4878a5c634e3808c5955f762afa412d2f2ca
+DIST nxssh-2.0.0-12.tar.gz 921462 RMD160 7a23d572a253e65e339011d48cc6fffa856e4688 SHA1 bb9abbc2d0d383e15537163b4ec16556a89db676 SHA256 0eaa90b659dbd3d15da9d92eb02a86aec117b759be848dd13578bbfe1857a3ee
+EBUILD nxclient-base-2.0.0.ebuild 3410 RMD160 76adcfedf892c9469999d4a7cc59a110288fd4be SHA1 4f55324c4cef6faf589f2bc5b429a3592eb472a5 SHA256 24b5ecae9c625c0b30fb3859692304a26d69127bb1a6ce638f9220f5e904ff13
+MD5 6d2fc709de051bddd27c314b4df7b027 nxclient-base-2.0.0.ebuild 3410
+RMD160 76adcfedf892c9469999d4a7cc59a110288fd4be nxclient-base-2.0.0.ebuild 3410
+SHA256 24b5ecae9c625c0b30fb3859692304a26d69127bb1a6ce638f9220f5e904ff13 nxclient-base-2.0.0.ebuild 3410
+MD5 8e98277dd4e28f7e11fe4ac28be5e801 files/digest-nxclient-base-2.0.0 1473
+RMD160 54e42bb04636907c75c19c6d8b6ba4490ee8fed0 files/digest-nxclient-base-2.0.0 1473
+SHA256 327c709fdc702eac59898776cf5ad1f6c8efdf2e1c26c65b7b50adf5ab4a6111 files/digest-nxclient-base-2.0.0 1473
diff --git a/net-misc/nxclient-base/files/2.0.0/nxcomp-2.0.0-makefile.patch b/net-misc/nxclient-base/files/2.0.0/nxcomp-2.0.0-makefile.patch
new file mode 100644
index 0000000..4f3a207
--- /dev/null
+++ b/net-misc/nxclient-base/files/2.0.0/nxcomp-2.0.0-makefile.patch
@@ -0,0 +1,21 @@
+diff -purN nxcomp.orig/Makefile.in nxcomp/Makefile.in
+--- nxcomp.orig/Makefile.in 2006-06-19 12:57:55.000000000 -0500
++++ nxcomp/Makefile.in 2006-07-08 19:40:30.000000000 -0500
+@@ -37,7 +37,7 @@ LIBVERSION=@LIBVERSION@
+
+ CXX = @CXX@
+ CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
+- -Wall -Wpointer-arith
++ -Wall -Wpointer-arith -fPIC
+ CXXINCLUDES =
+ CXXDEFINES =
+
+@@ -47,7 +47,7 @@ CXXDEFINES =
+
+ CC = @CC@
+ CCFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ \
+- -Wall -Wpointer-arith
++ -Wall -Wpointer-arith -fPIC
+ CCINCLUDES =
+ CCDEFINES =
+
diff --git a/net-misc/nxclient-base/files/2.0.0/nxcompsh-2.0.0-makefile.patch b/net-misc/nxclient-base/files/2.0.0/nxcompsh-2.0.0-makefile.patch
new file mode 100644
index 0000000..fa2319a
--- /dev/null
+++ b/net-misc/nxclient-base/files/2.0.0/nxcompsh-2.0.0-makefile.patch
@@ -0,0 +1,39 @@
+diff -purN nxcompsh.orig/Makefile.in nxcompsh/Makefile.in
+--- nxcompsh.orig/Makefile.in 2006-01-23 11:50:44.000000000 -0600
++++ nxcompsh/Makefile.in 2006-07-10 17:26:49.000000000 -0500
+@@ -32,7 +32,7 @@ LIBVERSION=@LIBVERSION@
+
+ CXX = @CXX@
+ CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
+- -Wall -Wpointer-arith
++ -Wall -Wpointer-arith -fPIC
+ CXXINCLUDES =
+ CXXDEFINES =
+
+@@ -43,7 +43,7 @@ CXXDEFINES =
+
+ CC = @CC@
+ CCFLAGS = @X_CFLAGS@ @DEFS@ \
+- -Wall -Wpointer-arith
++ -Wall -Wpointer-arith -fPIC
+ CCINCLUDES =
+ CCDEFINES =
+
+@@ -106,7 +106,7 @@ LIBCYGARCHIVE = lib$(LIBRARY).dll.a
+
+ PROGRAM = test-nxcompsh
+
+-all: depend $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE) $(LIBCYGSHARED) $(LIBCYGARCHIVE)
++all: depend $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE)
+
+ MSRC = Main.cpp
+
+@@ -178,7 +178,7 @@ install.man:
+
+ clean:
+ -rm -f *~ *.o *.bak st?????? core core.* *.out.* \
+- $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE) $(PROGRAM) $(PROGRAM).exe $(LIBCYGSHARED) $(LIBCYGARCHIVE)
++ $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE) $(PROGRAM) $(PROGRAM).exe
+
+ distclean: clean
+ -rm -f config.status config.log config.cache depend.status Makefile tags
diff --git a/net-misc/nxclient-base/files/2.0.0/nxkill-2.0.0-makefile.patch b/net-misc/nxclient-base/files/2.0.0/nxkill-2.0.0-makefile.patch
new file mode 100644
index 0000000..fdf2c65
--- /dev/null
+++ b/net-misc/nxclient-base/files/2.0.0/nxkill-2.0.0-makefile.patch
@@ -0,0 +1,12 @@
+diff -purN nxkill.orig/Makefile.in nxkill/Makefile.in
+--- nxkill.orig/Makefile.in 2005-02-10 18:03:16.000000000 -0600
++++ nxkill/Makefile.in 2006-07-10 18:31:26.000000000 -0500
+@@ -12,7 +12,7 @@ LIBVERSION=@LIBVERSION@
+ #
+ CXX = @CXX@
+ CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
+- -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
++ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -fPIC \
+
+ CXXINCLUDES = -I. -I../nxcomp
+
diff --git a/net-misc/nxclient-base/files/2.0.0/nxservice-2.0.0-makefile.patch b/net-misc/nxclient-base/files/2.0.0/nxservice-2.0.0-makefile.patch
new file mode 100644
index 0000000..846154b
--- /dev/null
+++ b/net-misc/nxclient-base/files/2.0.0/nxservice-2.0.0-makefile.patch
@@ -0,0 +1,12 @@
+diff -purN nxservice.orig/Makefile.in nxservice/Makefile.in
+--- nxservice.orig/Makefile.in 2006-03-30 08:23:34.000000000 -0600
++++ nxservice/Makefile.in 2006-07-10 18:56:36.000000000 -0500
+@@ -12,7 +12,7 @@ LIBVERSION=@LIBVERSION@
+ #
+ CXX = @CXX@
+ CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
+- -Wall -Wpointer-arith
++ -Wall -Wpointer-arith -fPIC
+
+ CXXINCLUDES = -I. -I../nxcomp -I../nxcompsh
+
diff --git a/net-misc/nxclient-base/files/digest-nxclient-base-2.0.0 b/net-misc/nxclient-base/files/digest-nxclient-base-2.0.0
new file mode 100644
index 0000000..68693db
--- /dev/null
+++ b/net-misc/nxclient-base/files/digest-nxclient-base-2.0.0
@@ -0,0 +1,18 @@
+MD5 fa6663ef31787d2a49982450928bf0cd nxcomp-2.0.0-81.tar.gz 549185
+RMD160 20ead9c63428b3235c78e16477dd7cc06bae7420 nxcomp-2.0.0-81.tar.gz 549185
+SHA256 21c33334443886cb1ec6bc70e548647ea58464afc32dbe7009a3ee37fdc338e0 nxcomp-2.0.0-81.tar.gz 549185
+MD5 e39e728cd05fa2aadef197a3e68c70ac nxcompsh-2.0.0-4.tar.gz 68285
+RMD160 50dcf2020138daf304af9396d88e45883861c4e0 nxcompsh-2.0.0-4.tar.gz 68285
+SHA256 2554347d336bc0e42705e9c5d4a8791c694fe8e194326a898ef9164c95fc3e6c nxcompsh-2.0.0-4.tar.gz 68285
+MD5 8f5e8dc9a63bc39b07dfd6944483a4b7 nxesd-2.0.0-3.tar.gz 663633
+RMD160 bde4e7fd0fefcba231180f4cb654a360d4cdd41a nxesd-2.0.0-3.tar.gz 663633
+SHA256 f11b252489a743e3d27407d3113a6f130ccb5d99d6d0e7b12e492c2f2078def4 nxesd-2.0.0-3.tar.gz 663633
+MD5 d116fcd45cf9916da512f1aff79581a7 nxkill-2.0.0-3.tar.gz 43941
+RMD160 834c4322e2813603b107b848e492eae8dfaf35f5 nxkill-2.0.0-3.tar.gz 43941
+SHA256 f298ea4692cb3c30cf0d7a9b5f6ff5ef81ea8e088a45ad3673157f4f7ed263d3 nxkill-2.0.0-3.tar.gz 43941
+MD5 7e023fa8d103e76d0c3727ab197b9861 nxservice-2.0.0-24.tar.gz 45953
+RMD160 1372b57d9a7862ac1a81faedbe06dacec2811e8f nxservice-2.0.0-24.tar.gz 45953
+SHA256 e4a107bea361ddddabe68a1fdd6c4878a5c634e3808c5955f762afa412d2f2ca nxservice-2.0.0-24.tar.gz 45953
+MD5 a651351524f0c146794f403632b6b401 nxssh-2.0.0-12.tar.gz 921462
+RMD160 7a23d572a253e65e339011d48cc6fffa856e4688 nxssh-2.0.0-12.tar.gz 921462
+SHA256 0eaa90b659dbd3d15da9d92eb02a86aec117b759be848dd13578bbfe1857a3ee nxssh-2.0.0-12.tar.gz 921462
diff --git a/net-misc/nxclient-base/nxclient-base-2.0.0.ebuild b/net-misc/nxclient-base/nxclient-base-2.0.0.ebuild
new file mode 100644
index 0000000..cfd7c10
--- /dev/null
+++ b/net-misc/nxclient-base/nxclient-base-2.0.0.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="A special version of the X11 libraries supporting NX compression technology"
+HOMEPAGE="http://www.nomachine.com/developers.php"
+
+URI_BASE="http://web04.nomachine.com/download/2.0.0/sources"
+SRC_NXCOMP="nxcomp-$PV-81.tar.gz"
+SRC_NXCOMPSH="nxcompsh-$PV-4.tar.gz"
+SRC_NXESD="nxesd-$PV-3.tar.gz"
+SRC_NXKILL="nxkill-$PV-3.tar.gz"
+SRC_NXSERVICE="nxservice-$PV-24.tar.gz"
+SRC_NXSSH="nxssh-$PV-12.tar.gz"
+
+SRC_URI="$URI_BASE/$SRC_NXCOMP $URI_BASE/$SRC_NXCOMPSH
+ $URI_BASE/$SRC_NXKILL $URI_BASE/$SRC_NXSERVICE $URI_BASE/$SRC_NXSSH
+ esd? ( $URI_BASE/$SRC_NXESD )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-amd64 ~ppc ~x86"
+RESTRICT="mirror"
+IUSE="alsa debug esd ipv6 pam tcpd"
+
+DEPEND=">=media-libs/jpeg-6b-r7
+ >=media-libs/libpng-1.2.8
+ net-analyzer/gnu-netcat
+ >=sys-libs/zlib-1.2.3
+ >=dev-libs/openssl-0.9.7
+
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
+ pam? ( >=sys-libs/pam-0.77 )
+
+ esd? ( >=media-libs/audiofile-0.2.6
+ >=media-sound/esound-0.2.36
+ alsa? ( >=media-libs/alsa-lib-0.5.10b ) )
+
+ amd64? (
+ app-emulation/emul-linux-x86-compat
+ >=app-emulation/emul-linux-x86-baselibs-2.1.4
+ )
+
+ x86? ( >=sys-libs/lib-compat-1.4 )
+
+ || ( app-text/rman
+ virtual/x11 )"
+
+RDEPEND="${DEPEND}
+ !net-misc/nx-x11
+ !net-misc/nx-x11-bin
+ !net-misc/nxcomp
+ !net-misc/nxesd
+ !net-misc/nxproxy
+ !net-misc/nxserver-business
+ !net-misc/nxserver-enterprise
+ !net-misc/nxserver-personal
+ !net-misc/nxssh"
+
+S=${WORKDIR}
+
+src_unpack() {
+ # we can't use ${A} because of bug #61977
+ unpack ${SRC_NXCOMP}
+ unpack ${SRC_NXCOMPSH}
+ unpack ${SRC_NXKILL}
+ unpack ${SRC_NXSERVICE}
+ unpack ${SRC_NXSSH}
+ use esd && unpack ${SRC_NXESD}
+
+ cd ${S}
+ epatch ${FILESDIR}/2.0.0/nxcomp-2.0.0-makefile.patch
+ epatch ${FILESDIR}/2.0.0/nxcompsh-2.0.0-makefile.patch
+ epatch ${FILESDIR}/2.0.0/nxkill-2.0.0-makefile.patch
+ epatch ${FILESDIR}/2.0.0/nxservice-2.0.0-makefile.patch
+}
+
+src_compile() {
+ cd nxcomp
+ econf --prefix="/usr/NX/" || die "Unable to configure nxcomp"
+ emake || die "emake for nxcomp failed"
+
+ cd ../nxcompsh
+ econf --prefix="/usr/NX/" || die "Unable to configure nxcompsh"
+ emake || die "emake for nxcompsh failed"
+
+ cd ../nxkill
+ econf --prefix="/usr/NX/" || die "Unable to configure nxkill"
+ emake || die "emake for nxkill failed"
+
+ cd ../nxservice
+ econf --prefix="/usr/NX/" || die "Unable to configure nxservice"
+ emake || die "emake for nxservice failed"
+
+ cd ../nxssh
+ econf --prefix="/usr/NX/" \
+ --sysconfdir=/etc/ssh \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib/misc \
+ --datadir=/usr/share/openssh \
+ --disable-suid-ssh \
+ --with-privsep-path=/var/empty \
+ --with-privsep-user=sshd \
+ --with-md5-passwords \
+ $(use_with tcpd tcp-wrappers) \
+ $(use_with pam) \
+ $(use_with !ipv6 ipv4-default) \
+ || die "Unable to configure nxssh"
+ emake || die "emake for nxssh failed"
+
+ if use esd ; then
+ cd ../nxesd
+ econf --prefix=/usr/NX --sysconfdir=/etc/esd \
+ $(use_enable ipv6) $(use_enable debug debugging) \
+ $(use_enable alsa) $(use_with tcpd libwrap) \
+ || die "configure nxssh failed"
+ emake || die "emake nxssh failed"
+ fi
+}
+
+src_install() {
+ into /usr/NX
+
+ dobin nxkill/nxkill
+ dobin nxservice/nxservice
+ dobin nxssh/nxssh
+
+ if use esd ; then
+ dobin nxesd/nxesd
+ fi
+
+ dolib.so nxcomp/libXcomp.so*
+ dolib.so nxcompsh/libXcompsh.so*
+}