NetBSD Problem Report #38656

From martin@duskware.de  Wed May 14 09:55:11 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id C913763B293
	for <gnats-bugs@gnats.netbsd.org>; Wed, 14 May 2008 09:55:11 +0000 (UTC)
Message-Id: <20080514095445.065DD63B293@narn.NetBSD.org>
Date: Wed, 14 May 2008 09:54:45 +0000 (UTC)
From: srcshelton@gmail.com
Reply-To: srcshelton@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: Changes to allow rc.subr-20080423 to work on IRIX
X-Send-Pr-Version: www-1.0

>Number:         38656
>Category:       pkg
>Synopsis:       Changes to allow rc.subr-20080423 to work on IRIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sbd
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 14 10:00:00 +0000 2008
>Last-Modified:  Wed Mar 24 20:30:06 +0000 2010
>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:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->irix-pkg-people
Responsible-Changed-By: reed@NetBSD.org
Responsible-Changed-When: Tue, 20 May 2008 01:20:33 +0000
Responsible-Changed-Why:
Assign to IRIX pkgsrc workers.


Responsible-Changed-From-To: irix-pkg-people->sbd
Responsible-Changed-By: sbd@NetBSD.org
Responsible-Changed-When: Wed, 24 Mar 2010 20:30:06 +0000
Responsible-Changed-Why:
Over to maintainer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.