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: irix-pkg-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed May 14 10:00:00 +0000 2008
>Closed-Date: Mon Oct 17 01:23:05 +0000 2016
>Last-Modified: Mon Oct 17 01:23:05 +0000 2016
>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.
Responsible-Changed-From-To: sbd->pkg-manager
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sun, 26 Jun 2016 04:38:30 +0000
Responsible-Changed-Why:
sbd resigned and shouldn't own PRs
(note: I don't see any reason this can't just be committed once we thaw
pkgsrc)
Responsible-Changed-From-To: pkg-manager->irix-pkg-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sun, 26 Jun 2016 04:49:25 +0000
Responsible-Changed-Why:
use right role account
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38656 CVS commit: pkgsrc/pkgtools/rc.subr
Date: Mon, 17 Oct 2016 01:11:30 +0000
Module Name: pkgsrc
Committed By: dholland
Date: Mon Oct 17 01:11:30 UTC 2016
Modified Files:
pkgsrc/pkgtools/rc.subr: Makefile
pkgsrc/pkgtools/rc.subr/files: rc.subr
Log Message:
Add IRIX support from Stuart Shelton in PR 38656.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/pkgtools/rc.subr/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/pkgtools/rc.subr/files/rc.subr
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 17 Oct 2016 01:23:05 +0000
State-Changed-Why:
committed, finally.
if you're still there and are in a position to test that it still works
and/or I didn't mess up when committing it, that would be great. let me/us
know if any problems show up.
>Unformatted:
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.