Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2007 17:52:02 +0200 (CEST)
From:      Leonhard Wimmer <leo@mediatomb.cc>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/111038: [NEW PORT] net/mediatomb: UPnP AV MediaServer
Message-ID:  <20070330155202.765F01C8BC4@winf.htu.tuwien.ac.at>
Resent-Message-ID: <200703301610.l2UGA7RH014824@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111038
>Category:       ports
>Synopsis:       [NEW PORT] net/mediatomb: UPnP AV MediaServer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 30 16:10:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Leonhard Wimmer
>Release:        FreeBSD 6.2-RELEASE-p3 i386
>Organization:
private
>Environment:
>Description:
MediaTomb is an open source (GPL) UPnP MediaServer with a nice web
user interface, it allows you to stream your digital media through
your home network and listen to/watch it on a variety of UPnP
compatible devices.

MediaTomb implements the UPnP MediaServer V 1.0 specification that can
be found on http://www.upnp.org/. The current implementation focuses
on parts that are required by the specification, however we look into
extending the functionality to cover the optional parts of the spec as
well.

WWW: http://mediatomb.cc/
>How-To-Repeat:
>Fix:
--- mediatomb-0.9.0.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mediatomb
#	mediatomb/Makefile
#	mediatomb/distinfo
#	mediatomb/files
#	mediatomb/files/patch-configure
#	mediatomb/files/pkg-install.in
#	mediatomb/files/mediatomb.sh.in
#	mediatomb/files/pkg-deinstall.in
#	mediatomb/files/config.xml.dist.in
#	mediatomb/pkg-descr
#	mediatomb/pkg-plist
#
echo c - mediatomb
mkdir -p mediatomb > /dev/null 2>&1
echo x - mediatomb/Makefile
sed 's/^X//' >mediatomb/Makefile << 'END-of-mediatomb/Makefile'
X# New ports collection makefile for:	mediatomb
X# Date created:			29 March 2007
X# Whom:					Leonhard Wimmer <leo@mediatomb.cc>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		mediatomb
XPORTVERSION=	0.9.0
XCATEGORIES=		net multimedia
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	leo@mediatomb.cc
XCOMMENT=	UPnP AV MediaServer
X
XMAN1=	mediatomb.1
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-search="${LOCALBASE}"
XCONFIGURE_ENV=	PTHREAD_LIBS=${PTHREAD_LIBS} \
X				PTHREAD_CFLAGS=${PTHREAD_CFLAGS}
XUSE_RC_SUBR=	mediatomb.sh
X
X# --- configurable variables ---
XMEDIATOMB_USER?=	mediatomb
XMEDIATOMB_GROUP?=	mediatomb
XMEDIATOMB_DIR?=		/var/mediatomb
XMEDIATOMB_MASK?=	750
X# ---
X
XSUB_FILES=		config.xml.dist \
X				pkg-install \
X				pkg-deinstall
X
XSUB_LIST=		MEDIATOMB_USER=${MEDIATOMB_USER} \
X				MEDIATOMB_GROUP=${MEDIATOMB_GROUP} \
X				MEDIATOMB_DIR=${MEDIATOMB_DIR} \
X				MEDIATOMB_MASK=${MEDIATOMB_MASK}
X
XPLIST_SUB=		MEDIATOMB_USER=${MEDIATOMB_USER} \
X				MEDIATOMB_GROUP=${MEDIATOMB_GROUP} \
X				MEDIATOMB_DIR=${MEDIATOMB_DIR} \
X				MEDIATOMB_MASK=${MEDIATOMB_MASK} \
X
XOPTIONS=	SQLITE3 "sqlite3 support" on \
X			MYSQL "MySQL support" on \
X			JS "JavaScript (SpiderMonkey) support" on \
X			LIBEXIF "libexif support" on \
X			ID3LIB "id3lib support" on \
X			TAGLIB "taglib support" off \
X			LIBEXTRACTOR "libextractor support" off \
X			DEBUG "debug build" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITHOUT_SQLITE3) && defined(WITHOUT_MYSQL)
XIGNORE=	is useless without a database. Please (re)run 'make config' and choose wither SQLITE3 or MYSQL
X.endif
X
X.if defined(WITH_SQLITE3)
XCONFIGURE_ARGS+=	--enable-sqlite3 \
X					--with-sqlite3-h="${LOCALBASE}/include" \
X					--with-sqlite3-libs="${LOCALBASE}/lib"
XLIB_DEPENDS+=		sqlite3:${PORTSDIR}/databases/sqlite3
X.else
XCONFIGURE_ARGS+=	--disable-sqlite3
X.endif
X
X.if defined(WITH_MYSQL)
XCONFIGURE_ARGS+=	--enable-mysql \
X					--with-mysql-cfg="${LOCALBASE}/bin/mysql_config"
XLIB_DEPENDS+=		mysqlclient_r:${PORTSDIR}/databases/mysql50-client
X.else
XCONFIGURE_ARGS+=	--disable-mysql
X.endif
X
X.if defined(WITH_JS)
XCONFIGURE_ARGS+=	--enable-libjs \
X					--with-js-h="${LOCALBASE}/include" \
X					--with-js-libs="${LOCALBASE}/lib"
XBUILD_DEPENDS+=		${LOCALBASE}/lib/libjs.so:${PORTSDIR}/lang/spidermonkey
XRUN_DEPENDS+=		${LOCALBASE}/lib/libjs.so:${PORTSDIR}/lang/spidermonkey
X.else
XCONFIGURE_ARGS+=	--disable-libjs
X.endif
X
X.if defined(WITH_LIBEXIF)
XCONFIGURE_ARGS+=	--enable-libexif \
X					--with-exif-h="${LOCALBASE}/include" \
X					--with-exif-libs="${LOCALBASE}/lib"
XLIB_DEPENDS+=		exif:${PORTSDIR}/graphics/libexif
X.else
XCONFIGURE_ARGS+=	--disable-libexif
X.endif
X
X.if defined(WITH_ID3LIB) && defined(WITH_TAGLIB)
XIGNORE=	cannot be complied with both, taglib and id3lib. Please (re)run 'make config' and deselect either TAGLIB or ID3LIB
X.endif
X
X.if defined(WITH_ID3LIB)
XCONFIGURE_ARGS+=	--enable-id3lib \
X					--with-id3lib-h="${LOCALBASE}/include" \
X					--with-id3lib-libs="${LOCALBASE}/lib"
XLIB_DEPENDS+=		id3:${PORTSDIR}/audio/id3lib
X.else
XCONFIGURE_ARGS+=	--disable-id3lib
X.endif
X
X.if defined(WITH_TAGLIB)
XCONFIGURE_ARGS+=	--enable-taglib \
X					--with-taglib-cfg="${LOCALBASE}/bin/taglib-config"
XLIB_DEPENDS+=		tag:${PORTSDIR}/audio/taglib
X.else
XCONFIGURE_ARGS+=	--disable-taglib
X.endif
X
X.if defined(WITH_LIBEXTRACTOR)
XCONFIGURE_ARGS+=	--enable-libextractor \
X					--with-extractor-h="${LOCALBASE}/include" \
X					--with-extractor-libs="${LOCALBASE}/lib"
XLIB_DEPENDS+=		extractor:${PORTSDIR}/textproc/libextractor
X.else
XCONFIGURE_ARGS+=	--disable-libextractor
X.endif
X
X.if defined(WITH_DEBUG)
XCONFIGURE_ARGS+=	--enable-tombdebug
X.else
XCONFIGURE_ARGS+=	--disable-tombdebug
X.endif
X
Xpre-install:
X		PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
X
Xpost-install:
X		@${MKDIR} -m ${MEDIATOMB_MASK} -p ${PREFIX}/etc/mediatomb
X		@${CHOWN} ${MEDIATOMB_USER}:${MEDIATOMB_GROUP} ${PREFIX}/etc/mediatomb
X		@${INSTALL} ${COPY} -o ${MEDIATOMB_USER} -g ${MEDIATOMB_GROUP} -m 640 ${WRKDIR}/config.xml.dist ${PREFIX}/etc/mediatomb/config.xml.dist
X		@if [ ! -f ${PREFIX}/etc/mediatomb/config.xml ]; then \
X			${CP} -p ${PREFIX}/etc/mediatomb/config.xml.dist ${PREFIX}/etc/mediatomb/config.xml ; \
X		fi
X		@${MKDIR} -m ${MEDIATOMB_MASK} -p ${MEDIATOMB_DIR}
X		@${CHOWN} ${MEDIATOMB_USER}:${MEDIATOMB_GROUP} ${MEDIATOMB_DIR}
X
X.include <bsd.port.post.mk>
END-of-mediatomb/Makefile
echo x - mediatomb/distinfo
sed 's/^X//' >mediatomb/distinfo << 'END-of-mediatomb/distinfo'
XMD5 (mediatomb-0.9.0.tar.gz) = bfa110c41623ff689a60844430f91a34
XSHA256 (mediatomb-0.9.0.tar.gz) = 5876c28d5015c9a947ba87b5005e23d0eeaffd5de9eea2f321d6f42c8a71ed17
XSIZE (mediatomb-0.9.0.tar.gz) = 851342
END-of-mediatomb/distinfo
echo c - mediatomb/files
mkdir -p mediatomb/files > /dev/null 2>&1
echo x - mediatomb/files/patch-configure
sed 's/^X//' >mediatomb/files/patch-configure << 'END-of-mediatomb/files/patch-configure'
X--- configure.orig	Thu Mar 29 23:04:32 2007
X+++ configure	Thu Mar 29 23:24:30 2007
X@@ -23239,7 +23239,7 @@
X echo "$as_me:$LINENO: result: $ac_cv_lib_extractor_EXTRACTOR_getKeywords" >&5
X echo "${ECHO_T}$ac_cv_lib_extractor_EXTRACTOR_getKeywords" >&6
X if test $ac_cv_lib_extractor_EXTRACTOR_getKeywords = yes; then
X-  LDFLAGS="-L$EXTRACTOR_SEARCH_LIBS -lextractor"
X+   EXTRACTOR_LIBS="-L$EXTRACTOR_SEARCH_LIBS -lextractor"
X else
X 
X                     { { echo "$as_me:$LINENO: error: extractor libraries not found in requested location $EXTRACTOR_SEARCH_LIBS" >&5
END-of-mediatomb/files/patch-configure
echo x - mediatomb/files/pkg-install.in
sed 's/^X//' >mediatomb/files/pkg-install.in << 'END-of-mediatomb/files/pkg-install.in'
X#!/bin/sh
X# $FreeBSD$
X#
X
Xif [ "$2" != "PRE-INSTALL" ]; then
X    exit 0
Xfi
X
XPREFIX=${PKG_PREFIX:-%%PREFIX%%}
X
XUSER=%%MEDIATOMB_USER%%
XGROUP=%%MEDIATOMB_GROUP%%
X
XPW="pw"
XINSTALL=%%INSTALL%%
XDIR=%%MEDIATOMB_DIR%%
XMASK=%%MEDIATOMB_MASK%%
X
Xif ! ${PW} groupshow "${GROUP}" 2>/dev/null 1>&2; then
X    if ${PW} groupadd ${GROUP}; then
X        echo "Added group \"${GROUP}\"."
X    else
X        echo "Adding group \"${GROUP}\" failed..."
X        exit 1
X    fi
Xfi
X
Xif ! ${PW} usershow "${USER}" 2>/dev/null 1>&2; then
X    if ${PW} useradd ${USER} -g ${GROUP} -h - \
X        -s "/sbin/nologin" -d "/nonexistent" \
X        -c "MediaTomb"; \
X    then
X        echo "Added user \"${USER}\"."
X    else
X        echo "Adding user \"${USER}\" failed..."
X        exit 1
X    fi
Xfi
X
Xexit 0
END-of-mediatomb/files/pkg-install.in
echo x - mediatomb/files/mediatomb.sh.in
sed 's/^X//' >mediatomb/files/mediatomb.sh.in << 'END-of-mediatomb/files/mediatomb.sh.in'
X#!/bin/sh
X# $FreeBSD$
X
X# PROVIDE: mediatomb
X# REQUIRE: DEAMON
X# KEYWORD: shutdown
X
X# Define these mediatomb_* variables in one of these files:
X#       /etc/rc.conf
X#       /etc/rc.conf.local
X#       /etc/rc.conf.d/mediatomb
X#
X# DO NOT CHANGE THESE DEFAULT VALUES HERE
X#
X
X. %%RC_SUBR%%
X
Xmediatomb_enable=${mediatomb_enable-"NO"}
Xmediatomb_mtuser=${mediatomb_mtuser-"%%MEDIATOMB_USER%%"}
Xmediatomb_mtgroup=${mediatomb_mtgroup-"%%MEDIATOMB_GROUP%%"}
Xmediatomb_config=${mediatomb_config-"%%PREFIX%%/etc/mediatomb/config.xml"}
Xmediatomb_flags=${mediatomb_flags-""}
Xmediatomb_logfile=${mediatomb_logfile-"%%MEDIATOMB_DIR%%/mediatomb.log"}
Xmediatomb_pidfile=${mediatomb_pidfile-"%%MEDIATOMB_DIR%%/mediatomb.pid"}
X
Xname="mediatomb"
Xrcvar=`set_rcvar`
X
Xload_rc_config $name
X
Xcommand="%%PREFIX%%/bin/mediatomb"
Xcommand_args="-d -c ${mediatomb_config} -l ${mediatomb_logfile} -u ${mediatomb_mtuser} -g ${mediatomb_mtgroup} -P ${mediatomb_pidfile}"
X
Xpidfile="${mediatomb_pidfile}"
X
Xrun_rc_command "$1"
END-of-mediatomb/files/mediatomb.sh.in
echo x - mediatomb/files/pkg-deinstall.in
sed 's/^X//' >mediatomb/files/pkg-deinstall.in << 'END-of-mediatomb/files/pkg-deinstall.in'
X#!/bin/sh
X# $FreeBSD$
X
Xif [ "$2" != "POST-DEINSTALL" ]; then
X	exit 0
Xfi
X
Xif [ -d %%PREFIX%%/etc/mediatomb ]; then
X    ETC_EXISTS=yes
Xelse
X    ETC_EXISTS=
Xfi
X
Xif [ -d %%MEDIATOMB_DIR%% ]; then
X    HOME_EXISTS=yes
Xelse
X    HOME_EXISTS=
Xfi
X
Xif pw usershow "%%MEDIATOMB_USER%%" 2>/dev/null 1>&2; then
X    USER_EXISTS=yes
Xelse
X    USER_EXISTS=
Xfi
X
Xif pw groupshow "%%MEDIATOMB_GROUP%%" 2>/dev/null 1>&2; then
X    GROUP_EXISTS=yes
Xelse
X    GROUP_EXISTS=
Xfi
X
Xif [ "$ETC_EXISTS" = "yes" -o "$HOME_EXISTS" = "yes" -o "$USER_EXISTS" = "yes" -o "$GROUP_EXISTS" = "yes" ]; then
X    
X    echo
X    echo "===================================================="
X    echo
X    echo "If you want remove MediaTomb permanently from your"
X    echo "system execute following commands as root:"
X    echo
X    [ "$ETC_EXISTS" = "yes" ] && echo " # rm -rf %%PREFIX%%/etc/mediatomb"
X    [ "$HOME_EXISTS" = "yes" ] && echo " # rm -rf %%MEDIATOMB_DIR%%"
X    [ "$USER_EXISTS" = "yes" ] && echo " # pw userdel %%MEDIATOMB_USER%%"
X    [ "$GROUP_EXISTS" = "yes" ] && echo " # pw groupdel %%MEDIATOMB_GROUP%%"
X    echo
X    echo "===================================================="
X    echo
X
Xfi
X
Xexit 0
END-of-mediatomb/files/pkg-deinstall.in
echo x - mediatomb/files/config.xml.dist.in
sed 's/^X//' >mediatomb/files/config.xml.dist.in << 'END-of-mediatomb/files/config.xml.dist.in'
X<?xml version="1.0" encoding="UTF-8"?>
X<config
X  xmlns="http://mediatomb.cc/0.9.0/config"
X  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
X  xsi:schemaLocation="http://mediatomb.cc/0.9.0/config http://mediatomb.cc/0.9.0/config.xsd">;
X  <server>
X    <ui enabled="yes">
X      <accounts enabled="no" session-timeout="30"/>
X    </ui>
X    <name>MediaTomb</name>
X    <home>%%MEDIATOMB_DIR%%</home>
X    <webroot>%%DATADIR%%/web</webroot>
X    <storage driver="sqlite3">
X      <database-file>mediatomb.db</database-file>
X    </storage>
X  </server>
X  <import hidden-files="no">
X    <virtual-layout type="builtin">
X      <script>%%DATADIR%%/js/import.js</script>
X    </virtual-layout>
X    <mappings>
X      <extension-mimetype ignore-unknown="no">
X        <map from="mp3" to="audio/mpeg"/>
X        <map from="ogg" to="application/ogg"/>
X        <map from="asf" to="video/x-ms-asf"/>
X        <map from="asx" to="video/x-ms-asf"/>
X        <map from="wma" to="audio/x-ms-wma"/>
X        <map from="wax" to="audio/x-ms-wax"/>
X        <map from="wmv" to="video/x-ms-wmv"/>
X        <map from="wvx" to="video/x-ms-wvx"/>
X        <map from="wm" to="video/x-ms-wm"/>
X        <map from="wmx" to="video/x-ms-wmx"/>
X        <map from="wmx" to="video/x-ms-wmx"/>
X      </extension-mimetype>
X      <mimetype-upnpclass>
X        <map from="audio/*" to="object.item.audioItem.musicTrack"/>
X        <map from="application/ogg" to="object.item.audioItem.musicTrack"/>
X        <map from="video/*" to="object.item.videoItem"/>
X        <map from="image/*" to="object.item.imageItem"/>
X      </mimetype-upnpclass>
X      <mimetype-contenttype>
X        <treat mimetype="audio/mpeg" as="mp3"/>
X        <treat mimetype="application/ogg" as="ogg"/>
X        <treat mimetype="audio/x-flac" as="flac"/>
X        <treat mimetype="image/jpeg" as="jpg"/>
X      </mimetype-contenttype>
X    </mappings>
X  </import>
X</config>
END-of-mediatomb/files/config.xml.dist.in
echo x - mediatomb/pkg-descr
sed 's/^X//' >mediatomb/pkg-descr << 'END-of-mediatomb/pkg-descr'
XUPnP media server
X
XMediaTomb is an open source (GPL) UPnP MediaServer with a nice web
Xuser interface, it allows you to stream your digital media through
Xyour home network and listen to/watch it on a variety of UPnP
Xcompatible devices.
X
XMediaTomb implements the UPnP MediaServer V 1.0 specification that can
Xbe found on http://www.upnp.org/. The current implementation focuses
Xon parts that are required by the specification, however we look into
Xextending the functionality to cover the optional parts of the spec as
Xwell.
X
XWWW: http://mediatomb.cc/
X
X- Leonhard Wimmer
Xleo@mediatomb.cc
END-of-mediatomb/pkg-descr
echo x - mediatomb/pkg-plist
sed 's/^X//' >mediatomb/pkg-plist << 'END-of-mediatomb/pkg-plist'
X@comment $FreeBSD$
Xbin/mediatomb
X%%DATADIR%%/js/import.js
X%%DATADIR%%/mappings.xml
X%%DATADIR%%/mysql.sql
X%%DATADIR%%/sqlite3.sql
X%%DATADIR%%/web/cds.xml
X%%DATADIR%%/web/cm.xml
X%%DATADIR%%/web/disabled.html
X%%DATADIR%%/web/favicon.ico
X%%DATADIR%%/web/icons/add_as_autoscan.png
X%%DATADIR%%/web/icons/autoscan_config_folder_open.png
X%%DATADIR%%/web/icons/autoscan_folder_open.png
X%%DATADIR%%/web/icons/blank.gif
X%%DATADIR%%/web/icons/blank.png
X%%DATADIR%%/web/icons/document-new.png
X%%DATADIR%%/web/icons/film.png
X%%DATADIR%%/web/icons/folder_new.png
X%%DATADIR%%/web/icons/folder_open.png
X%%DATADIR%%/web/icons/go-first.png
X%%DATADIR%%/web/icons/go-last.png
X%%DATADIR%%/web/icons/go-next.png
X%%DATADIR%%/web/icons/go-previous.png
X%%DATADIR%%/web/icons/mediatomb.png
X%%DATADIR%%/web/icons/mt-icon120.bmp
X%%DATADIR%%/web/icons/mt-icon120.jpg
X%%DATADIR%%/web/icons/mt-icon120.png
X%%DATADIR%%/web/icons/mt-icon32.bmp
X%%DATADIR%%/web/icons/mt-icon32.jpg
X%%DATADIR%%/web/icons/mt-icon32.png
X%%DATADIR%%/web/icons/mt-icon48.bmp
X%%DATADIR%%/web/icons/mt-icon48.jpg
X%%DATADIR%%/web/icons/mt-icon48.png
X%%DATADIR%%/web/icons/nanotree/images/autoscan_config_folder_closed.png
X%%DATADIR%%/web/icons/nanotree/images/autoscan_config_folder_open.png
X%%DATADIR%%/web/icons/nanotree/images/autoscan_folder_closed.png
X%%DATADIR%%/web/icons/nanotree/images/autoscan_folder_open.png
X%%DATADIR%%/web/icons/nanotree/images/folder_closed.png
X%%DATADIR%%/web/icons/nanotree/images/folder_open.png
X%%DATADIR%%/web/icons/nanotree/images/lastnode.png
X%%DATADIR%%/web/icons/nanotree/images/line.png
X%%DATADIR%%/web/icons/nanotree/images/minus.png
X%%DATADIR%%/web/icons/nanotree/images/minus_last.png
X%%DATADIR%%/web/icons/nanotree/images/minus_last_no_root.png
X%%DATADIR%%/web/icons/nanotree/images/minus_no_root.png
X%%DATADIR%%/web/icons/nanotree/images/plus.png
X%%DATADIR%%/web/icons/nanotree/images/plus_last.png
X%%DATADIR%%/web/icons/nanotree/images/plus_last_no_root.png
X%%DATADIR%%/web/icons/nanotree/images/plus_no_root.png
X%%DATADIR%%/web/icons/nanotree/images/t.png
X%%DATADIR%%/web/icons/nanotree/images/t_no_root.png
X%%DATADIR%%/web/icons/nanotree/images/white.png
X%%DATADIR%%/web/icons/remove_all.png
X%%DATADIR%%/web/icons/remove_autoscan.png
X%%DATADIR%%/web/icons/remove_this.png
X%%DATADIR%%/web/icons/status.png
X%%DATADIR%%/web/icons/status_loading.png
X%%DATADIR%%/web/icons/status_updates_pending.png
X%%DATADIR%%/web/icons/stock-add.png
X%%DATADIR%%/web/icons/stock_edit.png
X%%DATADIR%%/web/icons/stock_exit.png
X%%DATADIR%%/web/index.html
X%%DATADIR%%/web/js/auth.js
X%%DATADIR%%/web/js/autoscan.js
X%%DATADIR%%/web/js/icons.js
X%%DATADIR%%/web/js/items.js
X%%DATADIR%%/web/js/md5.js
X%%DATADIR%%/web/js/nanotree.js
X%%DATADIR%%/web/js/pngbehavior.htc
X%%DATADIR%%/web/js/prototype.js
X%%DATADIR%%/web/js/tasks.js
X%%DATADIR%%/web/js/tools.js
X%%DATADIR%%/web/js/tree.js
X%%DATADIR%%/web/left.html
X%%DATADIR%%/web/main.css
X%%DATADIR%%/web/mr_reg.xml
X%%DATADIR%%/web/right.html
X%%DATADIR%%/web/std_treelook.css
X%%DATADIR%%/web/top.html
X%%DATADIR%%/web/topleft.html
X%%DATADIR%%/web/topright.html
X@owner %%MEDIATOMB_USER%%
X@group %%MEDIATOMB_GROUP%%
X@exec mkdir -m %%MEDIATOMB_MASK%% -p %D/etc/mediatomb
X@exec chown %%MEDIATOMB_USER%%:%%MEDIATOMB_GROUP%% %D/etc/mediatomb
X@unexec if cmp -s %D/etc/mediatomb/config.xml.dist %D/etc/mediatomb/config.xml; then rm -f %D/etc/mediatomb/config.xml; fi
Xetc/mediatomb/config.xml.dist
X@exec [ -f %B/config.xml ] || cp -p %B/%f %B/config.xml
X@unexec rmdir %%MEDIATOMB_DIR%% 2>/dev/null 1>&2 || true
X@exec mkdir -m %%MEDIATOMB_MASK%% -p %%MEDIATOMB_DIR%%
X@exec chown %%MEDIATOMB_USER%%:%%MEDIATOMB_GROUP%% %%MEDIATOMB_DIR%%
X@dirrmtry etc/mediatomb
X@dirrm %%DATADIR%%/js
X@dirrm %%DATADIR%%/web/icons/nanotree/images
X@dirrm %%DATADIR%%/web/icons/nanotree
X@dirrm %%DATADIR%%/web/icons
X@dirrm %%DATADIR%%/web/js
X@dirrm %%DATADIR%%/web
X@dirrm %%DATADIR%%
END-of-mediatomb/pkg-plist
exit
--- mediatomb-0.9.0.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070330155202.765F01C8BC4>