diff options
author | dholland <dholland@pkgsrc.org> | 2016-10-17 01:11:30 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2016-10-17 01:11:30 +0000 |
commit | 1dd87a8f5bc9c3430944ddaa0dd617cad6004407 (patch) | |
tree | 1bf2dd636e633e2f0b6892ffc828b1feb42b1ac7 /pkgtools/rc.subr | |
parent | af3f8987e11c8f2640755e49843c29b5576e138c (diff) | |
download | pkgsrc-1dd87a8f5bc9c3430944ddaa0dd617cad6004407.tar.gz |
Add IRIX support from Stuart Shelton in PR 38656.
Diffstat (limited to 'pkgtools/rc.subr')
-rw-r--r-- | pkgtools/rc.subr/Makefile | 6 | ||||
-rw-r--r-- | pkgtools/rc.subr/files/rc.subr | 23 |
2 files changed, 25 insertions, 4 deletions
diff --git a/pkgtools/rc.subr/Makefile b/pkgtools/rc.subr/Makefile index 224d002cddf..5ce0ddc6c2c 100644 --- a/pkgtools/rc.subr/Makefile +++ b/pkgtools/rc.subr/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.29 2015/05/10 19:20:09 bsiegert Exp $ +# $NetBSD: Makefile,v 1.30 2016/10/17 01:11:30 dholland Exp $ # -PKGNAME= rc.subr-20150510 +PKGNAME= rc.subr-20161016 CATEGORIES= pkgtools MAINTAINER= sbd@NetBSD.org @@ -9,7 +9,7 @@ HOMEPAGE= http://www.NetBSD.org/ COMMENT= Portable NetBSD rc.subr implementation for pkgsrc LICENSE= original-bsd -ONLY_FOR_PLATFORM= Darwin-*-* FreeBSD-[0-4].*-* Interix-*-* +ONLY_FOR_PLATFORM= Darwin-*-* FreeBSD-[0-4].*-* Interix-*-* IRIX*-*-* ONLY_FOR_PLATFORM+= Linux-*-* SunOS-*-* ONLY_FOR_PLATFORM+= QNX-*-* diff --git a/pkgtools/rc.subr/files/rc.subr b/pkgtools/rc.subr/files/rc.subr index d0110df43b2..a3d7925c30b 100644 --- a/pkgtools/rc.subr/files/rc.subr +++ b/pkgtools/rc.subr/files/rc.subr @@ -1,4 +1,4 @@ -# $NetBSD: rc.subr,v 1.12 2015/05/10 19:20:09 bsiegert Exp $ +# $NetBSD: rc.subr,v 1.13 2016/10/17 01:11:30 dholland Exp $ # # Copyright (c) 1997-2002 The NetBSD Foundation, Inc. # All rights reserved. @@ -107,6 +107,27 @@ case $_osname in _RCCMD_rcs="/usr/contrib/bin/rcs" _RCARG_psformat="-wwo pid,comm" ;; + 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="" + ;; Linux) _RCCMD_chown="/bin/chown" # _RCCMD_ci="/usr/bin/ci" # not in Slackware 8.1 |