From ba1e6f3ae4b84743cd15e3414ca824ac062ec6d2 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 23 Apr 2008 11:54:53 +0000 Subject: rc.subr-20080423: Add QNX support. From Christian Leutloff on tech-pkg. --- pkgtools/rc.subr/Makefile | 6 +++--- pkgtools/rc.subr/files/rc.subr | 12 +++++++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/pkgtools/rc.subr/Makefile b/pkgtools/rc.subr/Makefile index e59fec8b9e5..5f059722417 100644 --- a/pkgtools/rc.subr/Makefile +++ b/pkgtools/rc.subr/Makefile @@ -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 @@ COMMENT= Portable NetBSD rc.subr implementation for pkgsrc ONLY_FOR_PLATFORM= Darwin-*-* FreeBSD-[0-4].*-* Interix-*-* ONLY_FOR_PLATFORM+= Linux-*-* SunOS-*-* +ONLY_FOR_PLATFORM+= QNX-*-* NO_BUILD= yes NO_CHECKSUM= yes diff --git a/pkgtools/rc.subr/files/rc.subr b/pkgtools/rc.subr/files/rc.subr index 1914c881777..1a870586bfa 100644 --- a/pkgtools/rc.subr/files/rc.subr +++ b/pkgtools/rc.subr/files/rc.subr @@ -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 @@ case $_osname in # _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 # -- cgit v1.2.3