pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/minidlna Add rcvar=${name} to rc.d script.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0a82ee15277
branches:  trunk
changeset: 356944:f0a82ee15277
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 08 15:42:54 2017 +0000

description:
Add rcvar=${name} to rc.d script.

>From Christoph Lemke in PR 51799.

diffstat:

 multimedia/minidlna/Makefile          |  4 ++--
 multimedia/minidlna/files/minidlna.sh |  3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 269aeabba894 -r f0a82ee15277 multimedia/minidlna/Makefile
--- a/multimedia/minidlna/Makefile      Sun Jan 08 14:38:13 2017 +0000
+++ b/multimedia/minidlna/Makefile      Sun Jan 08 15:42:54 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2016/12/04 05:17:35 ryoon Exp $
+# $NetBSD: Makefile,v 1.22 2017/01/08 15:42:54 wiz Exp $
 
 DISTNAME=      minidlna-1.1.5
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=minidlna/}
 
diff -r 269aeabba894 -r f0a82ee15277 multimedia/minidlna/files/minidlna.sh
--- a/multimedia/minidlna/files/minidlna.sh     Sun Jan 08 14:38:13 2017 +0000
+++ b/multimedia/minidlna/files/minidlna.sh     Sun Jan 08 15:42:54 2017 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: minidlna.sh,v 1.3 2015/01/15 20:53:18 degroote Exp $
+# $NetBSD: minidlna.sh,v 1.4 2017/01/08 15:42:54 wiz Exp $
 #
 # PROVIDE: minidlna
 # REQUIRE: DAEMON
@@ -9,6 +9,7 @@
 . /etc/rc.subr
 
 name="minidlna"
+rcvar=$name
 required_files="@PKG_SYSCONFDIR@/minidlna.conf"
 pidfile="/var/run/minidlna/minidlna.pid"
 command="@PREFIX@/sbin/minidlnad"



Home | Main Index | Thread Index | Old Index