summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2008-04-23 11:54:53 +0000
committerjoerg <joerg>2008-04-23 11:54:53 +0000
commit2ecd09958d36b6e19785f604b3e29f657e5757e3 (patch)
treeca537982f21637cbf19c3de8616335a09c320d6c
parentb380d69f0f23d171e23aec5fc9cd6656f80cc750 (diff)
downloadpkgsrc-2ecd09958d36b6e19785f604b3e29f657e5757e3.tar.gz
rc.subr-20080423: Add QNX support.
From Christian Leutloff on tech-pkg.
-rw-r--r--pkgtools/rc.subr/Makefile6
-rw-r--r--pkgtools/rc.subr/files/rc.subr12
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
#