summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-06-04 14:16:00 +0000
committerryoon <ryoon@pkgsrc.org>2014-06-04 14:16:00 +0000
commitb9ec6bc71ee8a850af888cbe9de52750d6117720 (patch)
treec24815dc2aaf072b8afb9865a5b247fa58849b94
parentdb95d6d78b879dd2eac21d9de3d189166e4d6f68 (diff)
downloadpkgsrc-b9ec6bc71ee8a850af888cbe9de52750d6117720.tar.gz
Update to 20140604
* Enable for CentOS/RHEL, fix su(1) path.
-rw-r--r--pkgtools/rc.subr/Makefile4
-rw-r--r--pkgtools/rc.subr/files/rc.subr5
2 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/rc.subr/Makefile b/pkgtools/rc.subr/Makefile
index a51a145d666..74c1d1793e2 100644
--- a/pkgtools/rc.subr/Makefile
+++ b/pkgtools/rc.subr/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2014/03/03 05:12:35 obache Exp $
+# $NetBSD: Makefile,v 1.28 2014/06/04 14:16:00 ryoon Exp $
#
-PKGNAME= rc.subr-20090118
+PKGNAME= rc.subr-20140604
CATEGORIES= pkgtools
MAINTAINER= sbd@NetBSD.org
diff --git a/pkgtools/rc.subr/files/rc.subr b/pkgtools/rc.subr/files/rc.subr
index e7f806f43d9..660bc0af5ad 100644
--- a/pkgtools/rc.subr/files/rc.subr
+++ b/pkgtools/rc.subr/files/rc.subr
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.10 2009/01/18 22:35:35 shattered Exp $
+# $NetBSD: rc.subr,v 1.11 2014/06/04 14:16:00 ryoon Exp $
#
# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -112,6 +112,9 @@ case $_osname in
# _RCCMD_rcs="/usr/bin/rcs" # not in Slackware 8.1
# _RCCMD_systrace="/bin/systrace" # not in Slackware 8.1
_RCARG_ps="ax"
+ if [ -e /etc/redhat-release ]; then
+ _RCCMD_su="/bin/su" # for CentOS/RHEL
+ fi
;;
QNX)
_RCCMD_chown="/bin/chown"