pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/rc.subr Add IRIX support from Stuart Shelton ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ecc15f6c15be
branches: trunk
changeset: 353876:ecc15f6c15be
user: dholland <dholland%pkgsrc.org@localhost>
date: Mon Oct 17 01:11:30 2016 +0000
description:
Add IRIX support from Stuart Shelton in PR 38656.
diffstat:
pkgtools/rc.subr/Makefile | 6 +++---
pkgtools/rc.subr/files/rc.subr | 23 ++++++++++++++++++++++-
2 files changed, 25 insertions(+), 4 deletions(-)
diffs (59 lines):
diff -r ce850e1f4eba -r ecc15f6c15be pkgtools/rc.subr/Makefile
--- a/pkgtools/rc.subr/Makefile Sun Oct 16 17:10:49 2016 +0000
+++ b/pkgtools/rc.subr/Makefile Mon Oct 17 01:11:30 2016 +0000
@@ -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@localhost
@@ -9,7 +9,7 @@
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 -r ce850e1f4eba -r ecc15f6c15be pkgtools/rc.subr/files/rc.subr
--- a/pkgtools/rc.subr/files/rc.subr Sun Oct 16 17:10:49 2016 +0000
+++ b/pkgtools/rc.subr/files/rc.subr Mon Oct 17 01:11:30 2016 +0000
@@ -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 @@
_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
Home |
Main Index |
Thread Index |
Old Index