pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/mediatomb
Module Name: pkgsrc
Committed By: khorben
Date: Mon Aug 30 21:49:00 UTC 2021
Modified Files:
pkgsrc/multimedia/mediatomb: Makefile
pkgsrc/multimedia/mediatomb/files: mediatomb.sh
Log Message:
mediatomb: improve the RC script provided
This should now work both with and without rc.subr available, on NetBSD and
with rc.subr from pkgsrc.
While there, update the homepage.
Tested on NetBSD/amd64.
Bumps PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/multimedia/mediatomb/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/multimedia/mediatomb/files/mediatomb.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/mediatomb/Makefile
diff -u pkgsrc/multimedia/mediatomb/Makefile:1.79 pkgsrc/multimedia/mediatomb/Makefile:1.80
--- pkgsrc/multimedia/mediatomb/Makefile:1.79 Sun Aug 29 23:14:04 2021
+++ pkgsrc/multimedia/mediatomb/Makefile Mon Aug 30 21:49:00 2021
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.79 2021/08/29 23:14:04 khorben Exp $
+# $NetBSD: Makefile,v 1.80 2021/08/30 21:49:00 khorben Exp $
DISTNAME= mediatomb-0.12.1
-PKGREVISION= 57
+PKGREVISION= 58
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mediatomb/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://mediatomb.cc/
+HOMEPAGE= https://sourceforge.net/projects/mediatomb/
COMMENT= UPnP MediaServer with a web user interface
LICENSE= gnu-gpl-v2
Index: pkgsrc/multimedia/mediatomb/files/mediatomb.sh
diff -u pkgsrc/multimedia/mediatomb/files/mediatomb.sh:1.3 pkgsrc/multimedia/mediatomb/files/mediatomb.sh:1.4
--- pkgsrc/multimedia/mediatomb/files/mediatomb.sh:1.3 Sun Aug 29 23:14:04 2021
+++ pkgsrc/multimedia/mediatomb/files/mediatomb.sh Mon Aug 30 21:49:00 2021
@@ -1,17 +1,23 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: mediatomb.sh,v 1.3 2021/08/29 23:14:04 khorben Exp $
+# $NetBSD: mediatomb.sh,v 1.4 2021/08/30 21:49:00 khorben Exp $
#
# PROVIDE: mediatomb
# REQUIRE: DAEMON
# KEYWORD: shutdown
+#
+# You will need to set some variables in @PKG_SYSCONFDIR@/rc.conf to start mediatomb:
+#
+# mediatomb=YES
-. @SYSCONFBASE@/rc.subr
+if [ -f @SYSCONFBASE@/rc.subr ]; then
+ . @SYSCONFBASE@/rc.subr
+ load_rc_config_var mediatomb_username mediatomb_username
+ load_rc_config_var mediatomb_groupname mediatomb_groupname
+fi
name="mediatomb"
rcvar=$name
-load_rc_config_var mediatomb_username mediatomb_username
-load_rc_config_var mediatomb_groupname mediatomb_groupname
command="@PREFIX@/bin/mediatomb"
logfile="@VARBASE@/log/${name}.log"
pidfile="@PKG_HOME@/${name}.pid"
Home |
Main Index |
Thread Index |
Old Index