Changeset 30203


Ignore:
Timestamp:
2012-02-05T16:10:42+01:00 (5 years ago)
Author:
jow
Message:

[packages_10.03.2] dmapd: merge r28446, r28531, r29058, r29872

Location:
branches/packages_10.03.2/net/dmapd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/packages_10.03.2/net/dmapd/Makefile

    r28447 r30203  
    11# 
    2 # Copyright (C) 2009-2011 OpenWrt.org 
     2# Copyright (C) 2009-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=dmapd 
    11 PKG_VERSION:=0.0.42 
    12 PKG_RELEASE:=2 
     11PKG_VERSION:=0.0.46 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd 
    16 PKG_MD5SUM:=f343b09d2e3e0da589c11e07abb6e879 
     16PKG_MD5SUM:=2bbd2378f90866b603e8b82c3c3cb929 
    1717 
    1818PKG_FIXUP:=libtool 
  • branches/packages_10.03.2/net/dmapd/files/dmapd.init

    r26421 r30203  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2009-2010 OpenWrt.org 
     2# Copyright (C) 2009-2012 OpenWrt.org 
    33 
    44START=60 
    55 
    66start() { 
    7         mkdir -p /var/cache/dmapd/ 
    8         mkdir -p /var/run/dmapd/ 
    9         mkdir -p /var/lock/subsys/ 
     7        user_exists dmapd 56 || user_add dmapd 56 
     8        group_exists dmapd 56 || group_add dmapd 56 
     9        [ -d /var/run/dmapd ] || { 
     10                mkdir -m 0755 -p /var/run/dmapd 
     11                chown dmapd:dmapd /var/run/dmapd 
     12        } 
     13        [ -d /var/db/dmapd/DAAP ] || { 
     14                mkdir -m 0755 -p /var/db/dmapd/DAAP 
     15                chown dmapd:dmapd /var/db/dmapd/DAAP 
     16        } 
     17        [ -d /var/db/dmapd/DPAP ] || { 
     18                mkdir -m 0755 -p /var/db/dmapd/DPAP 
     19                chown dmapd:dmapd /var/db/dmapd/DPAP 
     20        } 
     21        mkdir -m 0755 -p /var/lock/subsys 
     22        mkdir -m 0755 -p /var/media/music 
     23        mkdir -m 0755 -p /var/media/pictures 
    1024 
    11         DMAPD_DB_MODULE=bdb /usr/sbin/dmapd --vips-disc-threshold 64k 
     25        service_start /usr/sbin/dmapd -m /var/media/music -p /var/media/pictures --vips-disc-threshold 64k 
    1226} 
    1327 
    1428stop() { 
    15         killall dmapd 2> /dev/null 
     29        service_stop /usr/sbin/dmapd 
    1630} 
  • branches/packages_10.03.2/net/dmapd/patches/001-dmapd_conf.patch

    r19434 r30203  
    11--- a/distro/dmapd.conf 
    22+++ b/distro/dmapd.conf 
    3 @@ -1,6 +1,6 @@ 
    4  [General] 
     3@@ -3,7 +3,7 @@ 
     4 Database-Dir=/var/db/dmapd 
     5  
    56 # Name that will be used to identify share: 
    67-Share-Name=dmapd 
     
    89  
    910 # User that dmapd will run as, current user if undefined: 
    10  # User=dmapd 
     11 User=dmapd 
Note: See TracChangeset for help on using the changeset viewer.