Do not conflict with nsd in NetBSD base. Rename rc.d script to nlsnd

Bump PKGREVISION.
This commit is contained in:
ryoon 2019-01-29 14:54:03 +00:00
parent 5d0cf1b7fc
commit c529a90d0b
2 changed files with 8 additions and 7 deletions

View file

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.100 2019/01/17 13:59:37 prlw1 Exp $
# $NetBSD: Makefile,v 1.101 2019/01/29 14:54:03 ryoon Exp $
DISTNAME= nsd-4.1.26
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/
@ -55,7 +56,7 @@ CONFIGURE_ARGS+=--with-ssl=${BUILDLINK_PREFIX.openssl}
CPPFLAGS+= -D_OPENBSD_SOURCE
.endif
RCD_SCRIPTS= nsd
RCD_SCRIPTS= nlnsd
NSD_USER?= nsd
NSD_GROUP?= nsd

View file

@ -1,18 +1,18 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: nsd.sh,v 1.4 2015/03/09 11:34:26 pettai Exp $
# $NetBSD: nlnsd.sh,v 1.1 2019/01/29 14:54:03 ryoon Exp $
#
# PROVIDE: nsd
# PROVIDE: nlnsd
# REQUIRE: DAEMON
#
. /etc/rc.subr
name="nsd"
name="nlnsd"
rcvar=${name}
command=@PREFIX@/sbin/${name}
pidfile=/var/run/${name}/${name}.pid
command=@PREFIX@/sbin/nsd
pidfile=/var/run/nsd/nsd.pid
required_files="@PKG_SYSCONFDIR@/nsd.conf"
start_precmd="nsd_precmd"