Browse Source

dmapd: update to 0.0.75

Signed-off-by: W. Michael Petullo <mike@flyn.org>
lilik-openwrt-22.03
W. Michael Petullo 7 years ago
committed by Yousong Zhou
parent
commit
b4a3ac3d70
4 changed files with 14 additions and 21 deletions
  1. +4
    -4
      net/dmapd/Makefile
  2. +10
    -6
      net/dmapd/files/dmapd.init
  3. +0
    -11
      net/dmapd/patches/001-dmapd_conf.patch
  4. +0
    -0
      net/dmapd/patches/001-make_unit_test_optional.patch

+ 4
- 4
net/dmapd/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=dmapd
PKG_VERSION:=0.0.73
PKG_VERSION:=0.0.75
PKG_RELEASE:=1
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
@ -17,8 +17,8 @@ PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=COPYING
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd
PKG_HASH:=5447e8d28cd93739efe479e8ca3e140043b11aca4427676e8990b300618011a1
PKG_SOURCE_URL:=https://www.flyn.org/projects/dmapd
PKG_HASH:=f296a5ba02eae36a41381d19d5d08f2b9b7657091db9674f82121cd26c2893a1
PKG_FIXUP:=autoreconf
PKG_INSTALL:=2
@ -29,7 +29,7 @@ include $(INCLUDE_DIR)/nls.mk
define Package/dmapd
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libdmapsharing +libdb47 +vips
DEPENDS:=+libdmapsharing +libdb47 +vips +libgst1pbutils
TITLE:= dmapd
URL:=http://www.flyn.org/projects/dmapd/
USERID:=dmapd=56:dmapd=56


+ 10
- 6
net/dmapd/files/dmapd.init View File

@ -2,8 +2,10 @@
# Copyright (C) 2009-2012 OpenWrt.org
START=60
USE_PROCD=1
PROG=/usr/sbin/dmapd
start() {
start_service() {
[ -d /var/run/dmapd ] || {
mkdir -m 0755 -p /var/run/dmapd
chown dmapd:dmapd /var/run/dmapd
@ -20,9 +22,11 @@ start() {
mkdir -m 0755 -p /var/media/music
mkdir -m 0755 -p /var/media/pictures
service_start /usr/sbin/dmapd -u dmapd -g dmapd -m /var/media/music -p /var/media/pictures --vips-disc-threshold 64k
}
stop() {
service_stop /usr/sbin/dmapd
procd_open_instance
procd_set_param stdout 1
procd_set_param stderr 1
procd_set_param pidfile /var/run/dmapd.pid
procd_set_param user dmapd
procd_set_param command $PROG -f
procd_close_instance
}

+ 0
- 11
net/dmapd/patches/001-dmapd_conf.patch View File

@ -1,11 +0,0 @@
--- a/distro/dmapd.conf
+++ b/distro/dmapd.conf
@@ -3,7 +3,7 @@
Database-Dir=/var/db/dmapd
# Name that will be used to identify share:
-Share-Name=dmapd
+Share-Name=OpenWrt
# User that dmapd will run as, current user if undefined:
User=dmapd

net/dmapd/patches/002-make_unit_test_optionnal.patch → net/dmapd/patches/001-make_unit_test_optional.patch View File


Loading…
Cancel
Save