--- /dev/null
+/var/ipfire/mediatomb
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<config version="1" xmlns="http://mediatomb.cc/config/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/1 http://mediatomb.cc/config/1.xsd">
+ <server>
+ <ui enabled="yes">
+ <accounts enabled="yes" session-timeout="30">
+ <account user="mediatomb" password="ipfire"/>
+ </accounts>
+ </ui>
+ <name>MediaTomb</name>
+ <home>/var/ipfire/mediatomb</home>
+ <webroot>/usr/share/mediatomb/web</webroot>
+ <storage>
+ <sqlite3 enabled="yes">
+ <database-file>mediatomb.db</database-file>
+ </sqlite3>
+ </storage>
+ <protocolInfo extend="no"/><!-- For PS3 support change to "yes" -->
+ <!--
+ Uncomment the lines below to get rid of jerky avi playback on the
+ DSM320 or to enable subtitles support on the DSM units
+ -->
+ <!--
+ <custom-http-headers>
+ <add header="X-User-Agent: redsonic"/>
+ </custom-http-headers>
+
+ <manufacturerURL>redsonic.com</manufacturerURL>
+ <modelNumber>105</modelNumber>
+ -->
+ <!-- Uncomment the line below if you have a Telegent TG100 -->
+ <!--
+ <upnp-string-limit>101</upnp-string-limit>
+ -->
+ </server>
+ <import hidden-files="no">
+ <scripting script-charset="UTF-8">
+ <virtual-layout type="builtin"/>
+ </scripting>
+ <mappings>
+ <extension-mimetype ignore-unknown="no">
+ <map from="mp3" to="audio/mpeg"/>
+ <map from="ogg" to="application/ogg"/>
+ <map from="asf" to="video/x-ms-asf"/>
+ <map from="asx" to="video/x-ms-asf"/>
+ <map from="wma" to="audio/x-ms-wma"/>
+ <map from="wax" to="audio/x-ms-wax"/>
+ <map from="wmv" to="video/x-ms-wmv"/>
+ <map from="wvx" to="video/x-ms-wvx"/>
+ <map from="wm" to="video/x-ms-wm"/>
+ <map from="wmx" to="video/x-ms-wmx"/>
+ <map from="m3u" to="audio/x-mpegurl"/>
+ <map from="pls" to="audio/x-scpls"/>
+ <map from="flv" to="video/x-flv"/>
+ <!-- Uncomment the line below for PS3 divx support -->
+ <!-- <map from="avi" to="video/divx"/> -->
+ <!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
+ <!-- <map from="avi" to="video/avi"/> -->
+ </extension-mimetype>
+ <mimetype-upnpclass>
+ <map from="audio/*" to="object.item.audioItem.musicTrack"/>
+ <map from="video/*" to="object.item.videoItem"/>
+ <map from="image/*" to="object.item.imageItem"/>
+ </mimetype-upnpclass>
+ <mimetype-contenttype>
+ <treat mimetype="audio/mpeg" as="mp3"/>
+ <treat mimetype="application/ogg" as="ogg"/>
+ <treat mimetype="audio/x-flac" as="flac"/>
+ <treat mimetype="image/jpeg" as="jpg"/>
+ <treat mimetype="audio/x-mpegurl" as="playlist"/>
+ <treat mimetype="audio/x-scpls" as="playlist"/>
+ <treat mimetype="audio/x-wav" as="pcm"/>
+ <treat mimetype="audio/L16" as="pcm"/>
+ <treat mimetype="video/x-msvideo" as="avi"/>
+ </mimetype-contenttype>
+ </mappings>
+ </import>
+ <transcoding enabled="no">
+ <mimetype-profile-mappings>
+ <transcode mimetype="video/x-flv" using="vlcmpeg"/>
+ <transcode mimetype="application/ogg" using="vlcmpeg"/>
+ <transcode mimetype="application/ogg" using="oggflac2raw"/>
+ <transcode mimetype="audio/x-flac" using="oggflac2raw"/>
+ </mimetype-profile-mappings>
+ <profiles>
+ <profile name="oggflac2raw" enabled="no" type="external">
+ <mimetype>audio/L16</mimetype>
+ <accept-url>no</accept-url>
+ <first-resource>yes</first-resource>
+ <accept-ogg-theora>no</accept-ogg-theora>
+ <agent command="ogg123" arguments="-d raw -f %out %in"/>
+ <buffer size="1048576" chunk-size="131072" fill-size="262144"/>
+ </profile>
+ <profile name="vlcmpeg" enabled="no" type="external">
+ <mimetype>video/mpeg</mimetype>
+ <accept-url>yes</accept-url>
+ <first-resource>yes</first-resource>
+ <accept-ogg-theora>yes</accept-ogg-theora>
+ <agent command="vlc" arguments="-I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4096,fps=25,aenc=ffmpeg,acodec=mpga,ab=192,samplerate=44100,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
+ <buffer size="14400000" chunk-size="512000" fill-size="120000"/>
+ </profile>
+ </profiles>
+ </transcoding>
+</config>
\ No newline at end of file
--- /dev/null
+usr/bin/mediatomb
+#usr/share/man/man1/mediatomb.1
+#usr/share/mediatomb
+#usr/share/mediatomb/js
+usr/share/mediatomb/js/common.js
+usr/share/mediatomb/js/import.js
+usr/share/mediatomb/js/playlists.js
+usr/share/mediatomb/mappings.xml
+usr/share/mediatomb/mysql.sql
+usr/share/mediatomb/sqlite3.sql
+#usr/share/mediatomb/web
+usr/share/mediatomb/web/cds.xml
+usr/share/mediatomb/web/cm.xml
+usr/share/mediatomb/web/disabled.html
+usr/share/mediatomb/web/favicon.ico
+#usr/share/mediatomb/web/icons
+usr/share/mediatomb/web/icons/add_as_autoscan.png
+usr/share/mediatomb/web/icons/autoscan_inotify_config_folder_open.png
+usr/share/mediatomb/web/icons/autoscan_inotify_folder_open.png
+usr/share/mediatomb/web/icons/autoscan_timed_config_folder_open.png
+usr/share/mediatomb/web/icons/autoscan_timed_folder_open.png
+usr/share/mediatomb/web/icons/blank.gif
+usr/share/mediatomb/web/icons/blank.png
+usr/share/mediatomb/web/icons/document-new.png
+usr/share/mediatomb/web/icons/film.png
+usr/share/mediatomb/web/icons/folder_new.png
+usr/share/mediatomb/web/icons/folder_open.png
+usr/share/mediatomb/web/icons/go-first.png
+usr/share/mediatomb/web/icons/go-last.png
+usr/share/mediatomb/web/icons/go-next.png
+usr/share/mediatomb/web/icons/go-previous.png
+usr/share/mediatomb/web/icons/mediatomb.png
+usr/share/mediatomb/web/icons/mt-icon120.bmp
+usr/share/mediatomb/web/icons/mt-icon120.jpg
+usr/share/mediatomb/web/icons/mt-icon120.png
+usr/share/mediatomb/web/icons/mt-icon32.bmp
+usr/share/mediatomb/web/icons/mt-icon32.jpg
+usr/share/mediatomb/web/icons/mt-icon32.png
+usr/share/mediatomb/web/icons/mt-icon48.bmp
+usr/share/mediatomb/web/icons/mt-icon48.jpg
+usr/share/mediatomb/web/icons/mt-icon48.png
+#usr/share/mediatomb/web/icons/nanotree
+#usr/share/mediatomb/web/icons/nanotree/images
+usr/share/mediatomb/web/icons/nanotree/images/autoscan_inotify_config_folder_closed.png
+usr/share/mediatomb/web/icons/nanotree/images/autoscan_inotify_config_folder_open.png
+usr/share/mediatomb/web/icons/nanotree/images/autoscan_inotify_folder_closed.png
+usr/share/mediatomb/web/icons/nanotree/images/autoscan_inotify_folder_open.png
+usr/share/mediatomb/web/icons/nanotree/images/autoscan_timed_config_folder_closed.png
+usr/share/mediatomb/web/icons/nanotree/images/autoscan_timed_config_folder_open.png
+usr/share/mediatomb/web/icons/nanotree/images/autoscan_timed_folder_closed.png
+usr/share/mediatomb/web/icons/nanotree/images/autoscan_timed_folder_open.png
+usr/share/mediatomb/web/icons/nanotree/images/folder_closed.png
+usr/share/mediatomb/web/icons/nanotree/images/folder_open.png
+usr/share/mediatomb/web/icons/nanotree/images/lastnode.png
+usr/share/mediatomb/web/icons/nanotree/images/line.png
+usr/share/mediatomb/web/icons/nanotree/images/minus.png
+usr/share/mediatomb/web/icons/nanotree/images/minus_last.png
+usr/share/mediatomb/web/icons/nanotree/images/minus_last_no_root.png
+usr/share/mediatomb/web/icons/nanotree/images/minus_no_root.png
+usr/share/mediatomb/web/icons/nanotree/images/plus.png
+usr/share/mediatomb/web/icons/nanotree/images/plus_last.png
+usr/share/mediatomb/web/icons/nanotree/images/plus_last_no_root.png
+usr/share/mediatomb/web/icons/nanotree/images/plus_no_root.png
+usr/share/mediatomb/web/icons/nanotree/images/t.png
+usr/share/mediatomb/web/icons/nanotree/images/t_no_root.png
+usr/share/mediatomb/web/icons/nanotree/images/white.png
+usr/share/mediatomb/web/icons/remove_all.png
+usr/share/mediatomb/web/icons/remove_autoscan.png
+usr/share/mediatomb/web/icons/remove_this.png
+usr/share/mediatomb/web/icons/status.png
+usr/share/mediatomb/web/icons/status_loading.png
+usr/share/mediatomb/web/icons/status_updates_pending.png
+usr/share/mediatomb/web/icons/stock-add.png
+usr/share/mediatomb/web/icons/stock_edit.png
+usr/share/mediatomb/web/icons/stock_exit.png
+usr/share/mediatomb/web/index.html
+#usr/share/mediatomb/web/js
+usr/share/mediatomb/web/js/auth.js
+usr/share/mediatomb/web/js/autoscan.js
+usr/share/mediatomb/web/js/icons.js
+usr/share/mediatomb/web/js/iepngfix.htc
+usr/share/mediatomb/web/js/items.js
+usr/share/mediatomb/web/js/md5.js
+usr/share/mediatomb/web/js/nanotree.js
+usr/share/mediatomb/web/js/prototype.js
+usr/share/mediatomb/web/js/tasks.js
+usr/share/mediatomb/web/js/tools.js
+usr/share/mediatomb/web/js/tree.js
+usr/share/mediatomb/web/left.html
+usr/share/mediatomb/web/main.css
+usr/share/mediatomb/web/mr_reg.xml
+usr/share/mediatomb/web/right.html
+usr/share/mediatomb/web/std_treelook.css
+usr/share/mediatomb/web/top.html
+usr/share/mediatomb/web/topleft.html
+usr/share/mediatomb/web/topright.html
+var/ipfire/mediatomb
+var/ipfire/backup/addons/includes/mediatomb
+etc/rc.d/init.d/mediatomb
+etc/rc.d/rc0.d/K02mediatomb
+etc/rc.d/rc6.d/K02mediatomb
+etc/rc.d/rc3.d/K98mediatomb
--- /dev/null
+usr/bin/sqlite3
+#usr/include/sqlite3.h
+#usr/include/sqlite3ext.h
+#usr/lib/libsqlite3.a
+#usr/lib/libsqlite3.la
+usr/lib/libsqlite3.so
+usr/lib/libsqlite3.so.0
+usr/lib/libsqlite3.so.0.8.6
+#usr/lib/pkgconfig/sqlite3.pc
--- /dev/null
+usr/bin/taglib-config
+#usr/include/taglib
+#usr/include/taglib/apefooter.h
+#usr/include/taglib/apeitem.h
+#usr/include/taglib/apetag.h
+#usr/include/taglib/attachedpictureframe.h
+#usr/include/taglib/audioproperties.h
+#usr/include/taglib/commentsframe.h
+#usr/include/taglib/fileref.h
+#usr/include/taglib/flacfile.h
+#usr/include/taglib/flacproperties.h
+#usr/include/taglib/generalencapsulatedobjectframe.h
+#usr/include/taglib/id3v1genres.h
+#usr/include/taglib/id3v1tag.h
+#usr/include/taglib/id3v2extendedheader.h
+#usr/include/taglib/id3v2footer.h
+#usr/include/taglib/id3v2frame.h
+#usr/include/taglib/id3v2framefactory.h
+#usr/include/taglib/id3v2header.h
+#usr/include/taglib/id3v2synchdata.h
+#usr/include/taglib/id3v2tag.h
+#usr/include/taglib/mpcfile.h
+#usr/include/taglib/mpcproperties.h
+#usr/include/taglib/mpegfile.h
+#usr/include/taglib/mpegheader.h
+#usr/include/taglib/mpegproperties.h
+#usr/include/taglib/oggfile.h
+#usr/include/taglib/oggflacfile.h
+#usr/include/taglib/oggpage.h
+#usr/include/taglib/oggpageheader.h
+#usr/include/taglib/relativevolumeframe.h
+#usr/include/taglib/speexfile.h
+#usr/include/taglib/speexproperties.h
+#usr/include/taglib/tag.h
+#usr/include/taglib/tag_c.h
+#usr/include/taglib/taglib.h
+#usr/include/taglib/taglib_export.h
+#usr/include/taglib/tbytevector.h
+#usr/include/taglib/tbytevectorlist.h
+#usr/include/taglib/textidentificationframe.h
+#usr/include/taglib/tfile.h
+#usr/include/taglib/tlist.h
+#usr/include/taglib/tlist.tcc
+#usr/include/taglib/tmap.h
+#usr/include/taglib/tmap.tcc
+#usr/include/taglib/trueaudiofile.h
+#usr/include/taglib/trueaudioproperties.h
+#usr/include/taglib/tstring.h
+#usr/include/taglib/tstringlist.h
+#usr/include/taglib/uniquefileidentifierframe.h
+#usr/include/taglib/unknownframe.h
+#usr/include/taglib/unsynchronizedlyricsframe.h
+#usr/include/taglib/urllinkframe.h
+#usr/include/taglib/vorbisfile.h
+#usr/include/taglib/vorbisproperties.h
+#usr/include/taglib/wavpackfile.h
+#usr/include/taglib/wavpackproperties.h
+#usr/include/taglib/xingheader.h
+#usr/include/taglib/xiphcomment.h
+#usr/lib/libtag.la
+usr/lib/libtag.so
+usr/lib/libtag.so.1
+usr/lib/libtag.so.1.5.0
+#usr/lib/libtag_c.la
+usr/lib/libtag_c.so
+usr/lib/libtag_c.so.0
+usr/lib/libtag_c.so.0.0.0
+#usr/lib/pkgconfig/taglib.pc
+#usr/lib/pkgconfig/taglib_c.pc
ln -sf ../init.d/ushare /etc/rc.d/rc3.d/S98ushare
ln -sf ../init.d/ushare /etc/rc.d/rc0.d/K02ushare
ln -sf ../init.d/ushare /etc/rc.d/rc6.d/K02ushare
+ ln -sf ../init.d/mediatomb /etc/rc.d/rc3.d/S98mediatomb
+ ln -sf ../init.d/mediatomb /etc/rc.d/rc0.d/K02mediatomb
+ ln -sf ../init.d/mediatomb /etc/rc.d/rc6.d/K02mediatomb
ln -sf ../init.d/mountkernfs /etc/rc.d/rcsysinit.d/S00mountkernfs
ln -sf ../init.d/modules /etc/rc.d/rcsysinit.d/S05modules
--- /dev/null
+###############################################################################
+# #
+# IPFire.org - A linux based firewall #
+# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# #
+# This program is free software: you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation, either version 3 of the License, or #
+# (at your option) any later version. #
+# #
+# This program is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with this program. If not, see <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER = 0.11.0
+
+THISAPP = mediatomb-$(VER)
+DL_FILE = $(THISAPP).tar.gz
+DL_FROM = $(URL_IPFIRE)
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(THISAPP)
+PROG = mediatomb
+PAK_VER = 1
+
+DEPS = "sqlite taglib"
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 661f08933830d920de21436fe122fb15
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist:
+ @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+ @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+ @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+ @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+ @$(PREBUILD)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && ./configure --prefix=/usr
+ cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
+ cd $(DIR_APP) && make install
+ cp -Rvd $(DIR_SRC)/config/mediatomb /var/ipfire
+ cmown -R nobody:nobody /var/ipfire/mediatomb
+ install -v -m 644 $(DIR_SRC)/config/backup/includes/mediatomb \
+ /var/ipfire/backup/addons/includes/mediatomb
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
--- /dev/null
+###############################################################################
+# #
+# IPFire.org - A linux based firewall #
+# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# #
+# This program is free software: you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation, either version 3 of the License, or #
+# (at your option) any later version. #
+# #
+# This program is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with this program. If not, see <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER = 3.6.10
+
+THISAPP = sqlite-$(VER)
+DL_FILE = $(THISAPP).tar.gz
+DL_FROM = $(URL_IPFIRE)
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(THISAPP)
+PROG = sqlite
+PAK_VER = 1
+
+DEPS = ""
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = a03bdc86df4025b6881d58557e4b5bd3
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+ @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+ @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+ @$(MD5)
+
+dist:
+ @$(PAK)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+ @$(PREBUILD)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && ./configure --prefix=/usr
+ cd $(DIR_APP) && make $(MAKETUNING)
+ cd $(DIR_APP) && make install
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
--- /dev/null
+###############################################################################
+# #
+# IPFire.org - A linux based firewall #
+# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# #
+# This program is free software: you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation, either version 3 of the License, or #
+# (at your option) any later version. #
+# #
+# This program is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with this program. If not, see <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER = 1.5
+
+THISAPP = taglib-$(VER)
+DL_FILE = $(THISAPP).tar.gz
+DL_FROM = $(URL_IPFIRE)
+DIR_APP = $(DIR_SRC)/$(THISAPP)
+TARGET = $(DIR_INFO)/$(THISAPP)
+PROG = taglib
+PAK_VER = 1
+
+DEPS = ""
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 7b557dde7425c6deb7bbedd65b4f2717
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist:
+ @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+ @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+ @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+ @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+ @$(PREBUILD)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && ./configure --prefix=/usr --enable-shared
+ cd $(DIR_APP) && make $(MAKETUNING)
+ cd $(DIR_APP) && make install
+ @rm -rf $(DIR_APP)
+ @$(POSTBUILD)
ipfiremake sshfs
ipfiremake libdlna
ipfiremake ushare
+ ipfiremake sqlite
+ ipfiremake taglib
+ ipfiremake mediatomb
echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
echo >> $BASEDIR/build/var/ipfire/firebuild
--- /dev/null
+#!/bin/sh
+########################################################################
+# Begin $rc_base/init.d/
+#
+# Description : mediatomb initscript
+#
+# Authors : Arne Fitzenreiter
+#
+# Version : 01.00
+#
+# Notes : for www.ipfire.org - GPLv3
+#
+########################################################################
+
+. /etc/sysconfig/rc
+. ${rc_functions}
+
+case "$1" in
+ start)
+ boot_mesg "Starting mediatomb uPnP Mediaserver..."
+ route add -net 239.0.0.0 netmask 255.0.0.0 green0
+ loadproc /usr/bin/mediatomb -u nobody -g nobody \
+ -c /var/ipfire/mediatomb/config.xml \
+ -l /var/log/mediatomb.log \
+ -e green0 $2 $3 $4 $5 $6 $7 -d
+ evaluate_retval
+ ;;
+
+
+ stop)
+ boot_mesg "Stopping mediatomb uPnP Mediaserver..."
+ killproc /usr/bin/mediatomb
+ evaluate_retval
+ route del -net 239.0.0.0 netmask 255.0.0.0 green0
+ ;;
+
+ restart)
+ ${0} stop
+ sleep 1
+ ${0} start
+
+ ;;
+ status)
+ statusproc /usr/bin/mediatomb
+ ;;
+
+ *)
+ echo "Usage: ${0} {start|stop|init|status}"
+ exit 1
+ ;;
+esac
+
+# End $rc_base/init.d/
--- /dev/null
+#!/bin/bash
+############################################################################
+# #
+# This file is part of the IPFire Firewall. #
+# #
+# IPFire is free software; you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation; either version 2 of the License, or #
+# (at your option) any later version. #
+# #
+# IPFire is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with IPFire; if not, write to the Free Software #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
+# #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
+# #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+extract_files
+restore_backup ${NAME}
+/etc/init.d/mediatomb start -a /var/mp3
--- /dev/null
+#!/bin/bash
+############################################################################
+# #
+# This file is part of the IPFire Firewall. #
+# #
+# IPFire is free software; you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation; either version 2 of the License, or #
+# (at your option) any later version. #
+# #
+# IPFire is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with IPFire; if not, write to the Free Software #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
+# #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
+# #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+stop_service ${NAME}
+make_backup ${NAME}
+remove_files
--- /dev/null
+#!/bin/bash
+############################################################################
+# #
+# This file is part of the IPFire Firewall. #
+# #
+# IPFire is free software; you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation; either version 2 of the License, or #
+# (at your option) any later version. #
+# #
+# IPFire is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with IPFire; if not, write to the Free Software #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
+# #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
+# #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+./uninstall.sh
+./install.sh