pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/rc.subr



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.

Modified files:

Index: pkgsrc/pkgtools/rc.subr/Makefile
diff -u pkgsrc/pkgtools/rc.subr/Makefile:1.29 pkgsrc/pkgtools/rc.subr/Makefile:1.30
--- pkgsrc/pkgtools/rc.subr/Makefile:1.29       Sun May 10 19:20:09 2015
+++ pkgsrc/pkgtools/rc.subr/Makefile    Mon Oct 17 01:11:30 2016
@@ -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 @@ 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-*-*
 

Index: pkgsrc/pkgtools/rc.subr/files/rc.subr
diff -u pkgsrc/pkgtools/rc.subr/files/rc.subr:1.12 pkgsrc/pkgtools/rc.subr/files/rc.subr:1.13
--- pkgsrc/pkgtools/rc.subr/files/rc.subr:1.12  Sun May 10 19:20:09 2015
+++ pkgsrc/pkgtools/rc.subr/files/rc.subr       Mon Oct 17 01:11:30 2016
@@ -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



Home | Main Index | Thread Index | Old Index