pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/djbdns-run If any of our several rcvars aren't YES...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a06db0eea732
branches: trunk
changeset: 440266:a06db0eea732
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Mon Oct 05 12:17:47 2020 +0000
description:
If any of our several rcvars aren't YES, that's fine: don't exit
nonzero. Bump version.
diffstat:
net/djbdns-run/Makefile | 5 ++---
net/djbdns-run/files/djbdns.sh | 6 ++++--
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r f2d89aad6abe -r a06db0eea732 net/djbdns-run/Makefile
--- a/net/djbdns-run/Makefile Mon Oct 05 12:17:32 2020 +0000
+++ b/net/djbdns-run/Makefile Mon Oct 05 12:17:47 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2020/06/06 09:24:27 rillig Exp $
+# $NetBSD: Makefile,v 1.36 2020/10/05 12:17:47 schmonz Exp $
#
-DISTNAME= djbdns-run-20190619
-PKGREVISION= 1
+DISTNAME= djbdns-run-20201005
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
diff -r f2d89aad6abe -r a06db0eea732 net/djbdns-run/files/djbdns.sh
--- a/net/djbdns-run/files/djbdns.sh Mon Oct 05 12:17:32 2020 +0000
+++ b/net/djbdns-run/files/djbdns.sh Mon Oct 05 12:17:47 2020 +0000
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: djbdns.sh,v 1.3 2019/01/07 14:01:55 schmonz Exp $
+# $NetBSD: djbdns.sh,v 1.4 2020/10/05 12:17:47 schmonz Exp $
#
# @PKGNAME@ master script for administrators to control djbdns
# services.
@@ -36,7 +36,9 @@
for service in "$@"; do
if [ -f /etc/rc.subr ]; then
load_rc_config $service
- checkyesno $service && $rcd_dir/${service} $rc_arg
+ if checkyesno $service; then
+ $rcd_dir/${service} $rc_arg
+ fi
else
$rcd_dir/${service} $rc_arg
fi
Home |
Main Index |
Thread Index |
Old Index