Mon Nov 3 18:58:54 2008 UTC ()
Improvements for the "mediatomb" package:
1.) Create a user and group "mediatomb" for running the server to restrict
    the files which can be accessed.
2.) Add a startup script to start the server automatically.

Bump package revision because of these fixes. Changes approved by
Alistair Crooks.


(tron)
diff -r1.178 -r1.179 pkgsrc/mk/defaults/mk.conf

cvs diff -r1.178 -r1.179 pkgsrc/mk/defaults/mk.conf (expand / switch to unified diff)

--- pkgsrc/mk/defaults/mk.conf 2008/10/17 13:05:05 1.178
+++ pkgsrc/mk/defaults/mk.conf 2008/11/03 18:58:53 1.179
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: mk.conf,v 1.178 2008/10/17 13:05:05 tron Exp $ 1# $NetBSD: mk.conf,v 1.179 2008/11/03 18:58:53 tron Exp $
2# 2#
3 3
4# This file provides default values for variables that may be overridden 4# This file provides default values for variables that may be overridden
5# in the MAKECONF file, which is /etc/mk.conf by default. 5# in the MAKECONF file, which is /etc/mk.conf by default.
6# 6#
7# Note: This file is included after the MAKECONF file, so you cannot query 7# Note: This file is included after the MAKECONF file, so you cannot query
8# these default values in the MAKECONF using the ".if" and ".for" 8# these default values in the MAKECONF using the ".if" and ".for"
9# preprocessing directives. 9# preprocessing directives.
10 10
11# ************************************************************************ 11# ************************************************************************
12# NOTE TO PEOPLE EDITING THIS FILE - USE LEADING SPACES, NOT LEADING TABS. 12# NOTE TO PEOPLE EDITING THIS FILE - USE LEADING SPACES, NOT LEADING TABS.
13# ************************************************************************ 13# ************************************************************************
14 14
@@ -1260,26 +1260,36 @@ MAJORDOMO_USER?= majordom @@ -1260,26 +1260,36 @@ MAJORDOMO_USER?= majordom
1260#MAKEINFO_ARGS?= 1260#MAKEINFO_ARGS?=
1261# flags to be passed to makeinfo(1), if any. Warning: only use if you 1261# flags to be passed to makeinfo(1), if any. Warning: only use if you
1262# know what you're doing, may break PLISTs. 1262# know what you're doing, may break PLISTs.
1263# Possible: any valid flag for makeinfo(1) 1263# Possible: any valid flag for makeinfo(1)
1264# Default: may set info files size for consistency across platforms and 1264# Default: may set info files size for consistency across platforms and
1265# makeinfo version, also various machine_archs arguments may be set in 1265# makeinfo version, also various machine_archs arguments may be set in
1266# mk/platform/${OPSYS}.mk with the _OPSYS_MAKEINFO_ARGS variable. 1266# mk/platform/${OPSYS}.mk with the _OPSYS_MAKEINFO_ARGS variable.
1267 1267
1268MECAB_CHARSET?= euc-jp 1268MECAB_CHARSET?= euc-jp
1269# default character set of MeCab. 1269# default character set of MeCab.
1270# Possible: euc-jp, sjis, utf-8 1270# Possible: euc-jp, sjis, utf-8
1271# Default: euc-jp 1271# Default: euc-jp
1272 1272
 1273MEDIATOMB_GROUP?= mediatomb
 1274# System group to run the MediaTomb Server as.
 1275# Possible: any group name
 1276# Default: mediatomb
 1277
 1278MEDIATOMB_USER?= mediatomb
 1279# System user to run the MediaTomb Server as.
 1280# Possible: any user name
 1281# Default: mediatomb
 1282
1273MLDONKEY_GROUP?= mldonkey 1283MLDONKEY_GROUP?= mldonkey
1274# System group to run mldonkey's core as. 1284# System group to run mldonkey's core as.
1275# Possible: any group name 1285# Possible: any group name
1276# Default: mldonkey 1286# Default: mldonkey
1277 1287
1278MLDONKEY_HOME?= ${VARBASE}/mldonkey 1288MLDONKEY_HOME?= ${VARBASE}/mldonkey
1279# Directory where mldonkey will keep all configuration files and downloads 1289# Directory where mldonkey will keep all configuration files and downloads
1280# when started with the rc.d script provided in the mldonkey package. 1290# when started with the rc.d script provided in the mldonkey package.
1281# Possible: any path 1291# Possible: any path
1282# Default: ${VARBASE}/mldonkey 1292# Default: ${VARBASE}/mldonkey
1283 1293
1284MLDONKEY_USER?= mldonkey 1294MLDONKEY_USER?= mldonkey
1285# System user to run mldonkey's core as. 1295# System user to run mldonkey's core as.