pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38656: Changes to allow rc.subr-20080423 to work on IRIX



>Number:         38656
>Category:       pkg
>Synopsis:       Changes to allow rc.subr-20080423 to work on IRIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 14 10:00:00 +0000 2008
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX64 octane 6.5 07202013 IP30; IRIX 6.5.30
>Description:

As supplied, rc.subr doesn't want to install on IRIX as support is lacking.  
However, the following change to /etc/rc.subr should fix this:

 _RCARG_su="-m"
 
 _osname=$(uname -s)
 case $_osname in
+        IRIX*)
+                _RCCMD_chown="/sbin/chown"
+                _RCCMD_ci="/usr/sbin/ci"
+                _RCCMD_co="/usr/sbin/co"
+                _RCCMD_cp="/sbin/cp"
+                _RCCMD_kill="kill"                      # use sh builtin
+#               _RCCMD_logger="/usr/bin/logger"         # not in IRIX
+                _RCCMD_mv="/sbin/mv"
+                _RCCMD_nice="/sbin/nice"
+                _RCCMD_ps="/sbin/ps"
+                _RCCMD_rcs="/usr/sbin/rcs"
+                _RCCMD_rm="/sbin/rm"
+                _RCCMD_sh="/sbin/sh"
+                _RCCMD_su="/sbin/su"
+#               _RCCMD_systrace="/bin/systrace"         # not in IRIX
+                _RCCMD_whoami="/bin/whoami"
+                _RCARG_psformat="-o pid,comm=12345678901234567890"
+                                                        # widen column to try 
to get full command-name
+                _RCARG_ps="-ef"
+                _RCARG_su=""
+                ;;
         SunOS)
                 _RCCMD_chown="/bin/chown"
 #               _RCCMD_ci="/usr/bin/ci"                 # not in Solaris 9

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index