summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2015-11-17 10:45:24 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2015-11-17 10:45:24 +0100
commit856fc5152a06f93a7fbef0764ca9243d8fb90d4c (patch)
tree35aec6bce28eca64ed0497cbfe964d32e4b6062b /net-misc/nxserver-freeedition/files
parentRefresh cache (diff)
downloadnx-856fc5152a06f93a7fbef0764ca9243d8fb90d4c.tar.gz
nx-856fc5152a06f93a7fbef0764ca9243d8fb90d4c.tar.bz2
nx-856fc5152a06f93a7fbef0764ca9243d8fb90d4c.zip
net-misc: drop binary NX 3 packages
Upstream removed access to the source files nxserver-freenx should still work with qtnx or nxplayer
Diffstat (limited to 'net-misc/nxserver-freeedition/files')
-rw-r--r--net-misc/nxserver-freeedition/files/nxserver-2.1.0-init31
-rw-r--r--net-misc/nxserver-freeedition/files/nxserver-3.3.0-dontupdatekeys.patch11
-rw-r--r--net-misc/nxserver-freeedition/files/nxserver-3.5.0.11-setup.patch79
3 files changed, 0 insertions, 121 deletions
diff --git a/net-misc/nxserver-freeedition/files/nxserver-2.1.0-init b/net-misc/nxserver-freeedition/files/nxserver-2.1.0-init
deleted file mode 100644
index e133d85..0000000
--- a/net-misc/nxserver-freeedition/files/nxserver-2.1.0-init
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# opts="${opts} reload configtest"
-
-NX_SERVER_CMD="/usr/NX/bin/nxserver"
-
-depend()
-{
- need net
- use nxsensor
-}
-
-start() {
- ebegin "Starting nxserver"
- $NX_SERVER_CMD --start
- if [ $? = 0 ]; then
- $NX_SERVER_CMD --statistics start
- eend $?
- else
- eend 1
- fi
-}
-
-stop() {
- ebegin "Stopping nxserver"
- $NX_SERVER_CMD --stop
- $NX_SERVER_CMD --statistics stop
- eend 0
-}
diff --git a/net-misc/nxserver-freeedition/files/nxserver-3.3.0-dontupdatekeys.patch b/net-misc/nxserver-freeedition/files/nxserver-3.3.0-dontupdatekeys.patch
deleted file mode 100644
index ff9d2b3..0000000
--- a/net-misc/nxserver-freeedition/files/nxserver-3.3.0-dontupdatekeys.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- scripts/setup/nxserver.orig 2008-11-24 10:24:26.000000000 +0100
-+++ scripts/setup/nxserver 2008-11-24 10:27:38.000000000 +0100
-@@ -3149,8 +3149,6 @@
- # addNXinit
- startNXStat
-
-- updateAutorizedKey
--
- checkStr=`$NXSHELL --upgradecheck 2>&1`
- result=`echo "$checkStr" | grep -c "expired" 2>&1`
- if [ "$result" != "0" ];
diff --git a/net-misc/nxserver-freeedition/files/nxserver-3.5.0.11-setup.patch b/net-misc/nxserver-freeedition/files/nxserver-3.5.0.11-setup.patch
deleted file mode 100644
index cf8e24e..0000000
--- a/net-misc/nxserver-freeedition/files/nxserver-3.5.0.11-setup.patch
+++ /dev/null
@@ -1,79 +0,0 @@
---- scripts/setup/nxserver.orig 2012-05-19 11:45:03.000000000 +0200
-+++ scripts/setup/nxserver 2013-01-21 22:40:41.958166294 +0100
-@@ -679,6 +679,10 @@
-
- printMsg "Verifying that all init scripts have been removed"
-
-+ if [ "$system" = "gentoo" ]; then
-+ return
-+ fi
-+
- runCommand "$RMCOMMAND -f /etc/init.d/nxserver" "Unable to remove '/etc/init.d/nxserver'" "warn"
-
- if [ "$system" = "solaris" ];
-@@ -853,6 +857,10 @@
-
- addNXinit () {
-
-+ if [ "$system" = "gentoo" ]; then
-+ return
-+ fi
-+
- runCommand "cat $NODE_ROOT/scripts/init/nxserver > /etc/init.d/nxserver" "Unable to create: '/etc/init.d/nxserver'" "warn"
- runCommand "chmod +x /etc/init.d/nxserver" "Cannot set permissions of '/etc/init.d/nxserver' file" "warn"
-
-@@ -967,6 +975,12 @@
- }
-
- addNXUserLinux () {
-+
-+ # does the NX user already exist?
-+ if id nx > /dev/null 2>&1 ; then
-+ return
-+ fi
-+
- if [ "x$system" != "xdebian" ]
- then
- sysuser=`useradd --help 2>&1|grep "\-r"`;
-@@ -2679,6 +2693,11 @@
- system=fedora
- fi
-
-+if grep -q "ID=gentoo" /etc/os-release || [ -f /etc/gentoo-release ];
-+then
-+ system=gentoo
-+fi
-+
- if [ "x$system" = "x" -a -f /etc/release ];
- then
- system=solaris
-@@ -2713,6 +2732,7 @@
- "mandrake" ) ;;
- "fedora" ) ;;
- "debian" ) ;;
-+ "gentoo" ) ;;
- "solaris" ) ;;
- "" ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unable to autodetect the operating system type, please specify it" ;;
- * ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unsupported operating system '$system'" ;;
-@@ -2892,21 +2912,6 @@
- fi
- fi
-
--
-- result=`id nx 2>&1`
-- if [ $? = 0 ];
-- then
--# printMsg "Cannot add user: nx. User: nx already exists" "error"
--# printMsg "Please try to fix the problem by reinstalling the server" "error"
-- printMsg "Cannot add user: nx" "error"
-- printMsg "User: nx already exists" "error"
-- printMsgNoDot "To fix the problem, you may try to completely uninstall NX"
-- printMsgNoDot "Server and install it from scratch. If this is not enough,"
-- printMsgNoDot "please delete the nx user by using the system commands and"
-- printMsg "proceed with a new installation of NX Server"
-- exit 1
-- fi
--
- LOGFILE="$INSTALLOG"
- createLogdirectory
- startLog