pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/rc.subr rc.subr-20080423: Add QNX support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7befc61b8818
branches:  trunk
changeset: 541471:7befc61b8818
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Apr 23 11:54:53 2008 +0000

description:
rc.subr-20080423: Add QNX support.
>From Christian Leutloff on tech-pkg.

diffstat:

 pkgtools/rc.subr/Makefile      |   6 +++---
 pkgtools/rc.subr/files/rc.subr |  12 +++++++++++-
 2 files changed, 14 insertions(+), 4 deletions(-)

diffs (48 lines):

diff -r 091184a86696 -r 7befc61b8818 pkgtools/rc.subr/Makefile
--- a/pkgtools/rc.subr/Makefile Wed Apr 23 11:08:22 2008 +0000
+++ b/pkgtools/rc.subr/Makefile Wed Apr 23 11:54:53 2008 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2007/06/02 07:49:18 schmonz Exp $
+# $NetBSD: Makefile,v 1.16 2008/04/23 11:54:53 joerg Exp $
 #
 
-DISTNAME=              rc.subr-20041011
-PKGREVISION=           1
+DISTNAME=              rc.subr-20080423
 CATEGORIES=            pkgtools
 MASTER_SITES=          # empty
 DISTFILES=             # empty
@@ -13,6 +12,7 @@
 
 ONLY_FOR_PLATFORM=     Darwin-*-* FreeBSD-[0-4].*-* Interix-*-*
 ONLY_FOR_PLATFORM+=    Linux-*-* SunOS-*-*
+ONLY_FOR_PLATFORM+=    QNX-*-*
 
 NO_BUILD=              yes
 NO_CHECKSUM=           yes
diff -r 091184a86696 -r 7befc61b8818 pkgtools/rc.subr/files/rc.subr
--- a/pkgtools/rc.subr/files/rc.subr    Wed Apr 23 11:08:22 2008 +0000
+++ b/pkgtools/rc.subr/files/rc.subr    Wed Apr 23 11:54:53 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.6 2006/02/17 15:15:56 sketch Exp $
+# $NetBSD: rc.subr,v 1.7 2008/04/23 11:54:54 joerg Exp $
 #
 # Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -101,6 +101,16 @@
 #              _RCCMD_systrace="/bin/systrace"         # not in Slackware 8.1
                _RCARG_ps="ax"
                ;;
+       QNX)
+               _RCCMD_chown="/bin/chown"
+#              _RCCMD_ci="/usr/bin/ci"                 # not in QNX
+#              _RCCMD_co="/usr/bin/co"                 # not in QNX
+#              _RCCMD_systrace="/bin/systrace"         # not in QNX
+#              _RCCMD_whoami="/usr/ucb/whoami"         # not in QNX
+               _RCARG_psformat="-o pid,comm"
+               _RCARG_ps="-ef"
+               _RCARG_su=""
+               ;;
 esac
 
 #



Home | Main Index | Thread Index | Old Index