OSSP CVS Repository

ossp - Difference in ossp-pkg/platform/platform.sh versions 1.9 and 1.10
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/platform/platform.sh 1.9 -> 1.10

--- platform.sh  2003/09/13 18:17:49     1.9
+++ platform.sh  2003/09/28 12:17:08     1.10
@@ -429,6 +429,54 @@
         esac
         ;;
 
+    #   SCO UnixWare
+    *:UnixWare:* )
+        #   determine architecture
+        AT="${UNAME_MACHINE}"
+        case "${AT}" in
+            i[3-6]86 | ix86at ) AT="iX86" ;; 
+        esac
+        AP="${AT}"
+        #   determine system
+        v=`/sbin/uname -v`
+        ST="[SCO ]UnixWare ${v}"
+        SP="${ST}"
+        SC="SVR${UNAME_RELEASE}"
+        ;;
+
+    #   QNX
+    *:QNX:* )
+        #   determine architecture
+        AT="${UNAME_MACHINE}"
+        case "${AT}" in
+            x86pc ) AT="iX86" ;; 
+        esac
+        AP="${AT}"
+        #   determine system
+        v="${UNAME_RELEASE}"
+        ST="QNX[ Neutrino RTOS] ${v}"
+        v=`echo "${v}" | sed -e 's;^\([0-9][0-9]*\.[0-9][0-9]*\).*$;\1;'`
+        SP="QNX[ Neutrino RTOS] ${v}"
+        SC="QNX"
+        ;;
+
+    #   SGI IRIX
+    *:IRIX*:* )
+        #   determine architecture
+        AT="${UNAME_MACHINE}"
+        AP="${AT}"
+        case "${AP}:${UNAME_SYSTEM}" in
+            IP*:IRIX64 ) AP="MIPS64" ;; 
+            IP*:*      ) AP="MIPS"   ;; 
+        esac
+        AC="${AP}"
+        #   determine system
+        v=`(/bin/uname -R || /bin/uname -r) 2>/dev/null | sed -e 's;[0-9.]* ;;'`
+        ST="[SGI ]IRIX ${v}"
+        v="${UNAME_RELEASE}"
+        SP="[SGI ]IRIX ${v}"
+        SC="BSD"
+        ;;
 
     #   TODO ...ADD YOUR NEW PLATFORM CHECK HERE... TODO
     # *:XXX:* )

CVSTrac 2.0.1