pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/rc.subr Update to 20140604



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f99b3f3f077c
branches:  trunk
changeset: 635387:f99b3f3f077c
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Jun 04 14:16:00 2014 +0000

description:
Update to 20140604

* Enable for CentOS/RHEL, fix su(1) path.

diffstat:

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

diffs (32 lines):

diff -r 8197584c93f7 -r f99b3f3f077c pkgtools/rc.subr/Makefile
--- a/pkgtools/rc.subr/Makefile Wed Jun 04 11:44:19 2014 +0000
+++ b/pkgtools/rc.subr/Makefile Wed Jun 04 14:16:00 2014 +0000
@@ -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@localhost
diff -r 8197584c93f7 -r f99b3f3f077c pkgtools/rc.subr/files/rc.subr
--- a/pkgtools/rc.subr/files/rc.subr    Wed Jun 04 11:44:19 2014 +0000
+++ b/pkgtools/rc.subr/files/rc.subr    Wed Jun 04 14:16:00 2014 +0000
@@ -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 @@
 #              _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"



Home | Main Index | Thread Index | Old Index