diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2007-09-20 23:18:38 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2007-09-20 23:18:38 +0000 |
commit | 62ff013e4d80035e9123ea931446273f6fe4176d (patch) | |
tree | b0a9c24258a4ef8dcf13e6c26e124e2f3f608913 /net-misc/nxnode/files | |
parent | dev-lang/mono-1.2.5.1: version bump (diff) | |
download | gentoo-2-62ff013e4d80035e9123ea931446273f6fe4176d.tar.gz gentoo-2-62ff013e4d80035e9123ea931446273f6fe4176d.tar.bz2 gentoo-2-62ff013e4d80035e9123ea931446273f6fe4176d.zip |
Remove vulnerable NX 2.1 versions, security bug #192712
(Portage version: 2.1.3.9)
Diffstat (limited to 'net-misc/nxnode/files')
-rw-r--r-- | net-misc/nxnode/files/digest-nxnode-2.1.0 | 3 | ||||
-rw-r--r-- | net-misc/nxnode/files/digest-nxnode-3.0.0-r2 | 6 | ||||
-rw-r--r-- | net-misc/nxnode/files/nxnode-2.1.0-init | 70 | ||||
-rw-r--r-- | net-misc/nxnode/files/nxnode-2.1.0-setup.patch | 43 |
4 files changed, 0 insertions, 122 deletions
diff --git a/net-misc/nxnode/files/digest-nxnode-2.1.0 b/net-misc/nxnode/files/digest-nxnode-2.1.0 deleted file mode 100644 index d3e948e36bb4..000000000000 --- a/net-misc/nxnode/files/digest-nxnode-2.1.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b82273cd26d6dd708529f24296bd2ec0 nxnode-2.1.0-22.i386.tar.gz 5185601 -RMD160 dc25e4c2ef8b05cedac1b5cb78ec06f4b2263e5e nxnode-2.1.0-22.i386.tar.gz 5185601 -SHA256 a333ef9efc80c6346e0646b2298f4c113276c44325aff095882da420454b21e7 nxnode-2.1.0-22.i386.tar.gz 5185601 diff --git a/net-misc/nxnode/files/digest-nxnode-3.0.0-r2 b/net-misc/nxnode/files/digest-nxnode-3.0.0-r2 deleted file mode 100644 index 49667b663490..000000000000 --- a/net-misc/nxnode/files/digest-nxnode-3.0.0-r2 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 ce86c244e0808531965576c177f70829 nxnode-3.0.0-76.i386.tar.gz 6232522 -RMD160 93bd7948d473fc5991cda04df43b90cbb2925c5b nxnode-3.0.0-76.i386.tar.gz 6232522 -SHA256 93a1561a2757b5374bd2d6597c818e0da48e307393cf427ffdd0ab076a0a8b09 nxnode-3.0.0-76.i386.tar.gz 6232522 -MD5 363679293d36b79777156285dae876ea nxnode-3.0.0-76.x86_64.tar.gz 6909045 -RMD160 c9656103ba426a8515a42c3e4f2d0890d1d4d328 nxnode-3.0.0-76.x86_64.tar.gz 6909045 -SHA256 76b61b2d711f9a15948cfcf0cedd08e60fcfd39467a0494b7b5988f248ac1865 nxnode-3.0.0-76.x86_64.tar.gz 6909045 diff --git a/net-misc/nxnode/files/nxnode-2.1.0-init b/net-misc/nxnode/files/nxnode-2.1.0-init deleted file mode 100644 index e3b1f8fd67d1..000000000000 --- a/net-misc/nxnode/files/nxnode-2.1.0-init +++ /dev/null @@ -1,70 +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_NODE_CFG="/usr/NX/etc/node.cfg" -NX_SENSOR_CMD="/usr/NX/bin/nxsensor" -NX_SENSOR_PID="/usr/NX/var/run/nxsensor.pid" -NX_SENSOR_HOST="127.0.0.1" -NX_SENSOR_PORT="19250" - -depend() -{ - need net -} - -is_enabled() -{ - local tmp - - if ! [[ -x $NX_SENSOR_CMD ]] ; then - eerror "$NX_SENSOR_CMD not found" - return 1 - fi - - tmp=`/usr/bin/awk -F'"' '/^ENABLE_SENSOR/ {print $2}' $NX_NODE_CFG` - if [[ $tmp != "1" ]]; then - eerror "nxsensor is disabled in $NX_NODE_CFG" - return 1 - fi - - tmp=`/usr/bin/awk -F'"' '/^NODE_SENSOR_HOST/ {print $2}' $NX_NODE_CFG` - if [[ -n $tmp ]] ; then - NX_SENSOR_HOST="$tmp" - fi - - tmp=`/usr/bin/awk -F'"' '/^NODE_SENSOR_PORT/ {print $2}' $NX_NODE_CFG` - if [[ -n $tmp ]] ; then - NX_SENSOR_PORT="$tmp" - fi - - return 0 -} - -start() { - is_enabled || return 1 - ebegin "Starting nxsensor" - $NX_SENSOR_CMD -a $NX_SENSOR_HOST -a "::ffff:$NX_SENSOR_HOST" -P $NX_SENSOR_PORT -d - PID=`ps -ef | grep $NX_SENSOR_CMD | grep -v grep | awk '{print $2}'` - if [[ -z $PID ]] ; then - eend 1 - else - echo $PID > $NX_SENSOR_PID - eend 0 - fi -} - -stop() { - ebegin "Stopping nxsensor" - PID=`cat $NX_SENSOR_PID` - if [[ -z $PID ]] ; then - eerror "nxsensor not started" - eend 1 - else - kill $PID - rm -f $NX_SENSOR_PID - eend 0 - fi -} diff --git a/net-misc/nxnode/files/nxnode-2.1.0-setup.patch b/net-misc/nxnode/files/nxnode-2.1.0-setup.patch deleted file mode 100644 index 34382342b863..000000000000 --- a/net-misc/nxnode/files/nxnode-2.1.0-setup.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- scripts/setup/nxnode.orig 2006-11-05 13:37:07.000000000 +0000 -+++ scripts/setup/nxnode 2006-11-05 16:02:31.000000000 +0000 -@@ -1167,7 +1167,9 @@ - then - runCommand "$RMCOMMAND -f /etc/rc0.d/K01nxsensor" "Unable to remove '/etc/rc0.d/K01nxsensor'" "warn" - fi -- -+ elif [ "$system" = "gentoo" ]; then -+ # do nothing; this is handled by Gentoo ebuild -+ echo > /dev/null - else - if [ -h /etc/rc.d/rc3.d/S99nxsensor ]; - then -@@ -1212,6 +1214,10 @@ - - addNXinit () { - -+ if [ "$system" = "gentoo" ] ; then -+ return; -+ fi -+ - runCommand "cat /usr/NX/scripts/init/nxsensor > /etc/init.d/nxsensor" "Unable to create: '/etc/init.d/nxsensor'" "warn" - runCommand "chmod +x /etc/init.d/nxsensor" "Cannot set permissions of '/etc/init.d/nxsensor' file" "warn" - -@@ -1778,6 +1784,10 @@ - system=fedora - fi - -+if [ -d /usr/portage ]; then -+ system=gentoo -+fi -+ - if [ "x$system" = "x" -a -f /etc/release ]; - then - system=solaris -@@ -1812,6 +1822,7 @@ - "fedora" ) ;; - "debian" ) ;; - "solaris" ) ;; -+ "gentoo" );; - "" ) 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'" ;; - esac |