From d9dfbf718d6ae146755719da68f151c057cb27af Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 11 Aug 2014 16:11:13 +0000 Subject: [PATCH] dmapd: moved to github SVN-Revision: 42135 --- net/dmapd/Makefile | 61 -------------------------- net/dmapd/files/dmapd.init | 30 ------------- net/dmapd/patches/001-dmapd_conf.patch | 11 ----- 3 files changed, 102 deletions(-) delete mode 100644 net/dmapd/Makefile delete mode 100644 net/dmapd/files/dmapd.init delete mode 100644 net/dmapd/patches/001-dmapd_conf.patch diff --git a/net/dmapd/Makefile b/net/dmapd/Makefile deleted file mode 100644 index 5dd12dfe8..000000000 --- a/net/dmapd/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# -# Copyright (C) 2009-2012 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=dmapd -PKG_VERSION:=0.0.50 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd -PKG_MD5SUM:=2e04d7fb8437f9e7bd370dc3af450aae - -PKG_FIXUP:=autoreconf -PKG_INSTALL:=2 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/nls.mk - -define Package/dmapd - SECTION:=net - CATEGORY:=Network - DEPENDS:=+libdmapsharing +libdb47 +vips +GraphicsMagick - TITLE:= dmapd - URL:=http://www.flyn.org/projects/dmapd/ - MAINTAINER:=W. Michael Petullo -endef - -define Package/dmapd/decription - Dmapd is a DMAP server -endef - -define Package/dmapd/conffiles -/etc/dmapd.conf -endef - -TARGET_LDFLAGS+=\ - -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ - -define Package/dmapd/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_CONF) $(PKG_BUILD_DIR)/distro/dmapd.conf $(1)/etc/ - $(INSTALL_BIN) ./files/dmapd.init $(1)/etc/init.d/dmapd - $(INSTALL_DIR) $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules - $(CP) \ - $(PKG_INSTALL_DIR)/usr/sbin/dmapd \ - $(1)/usr/sbin/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/libdmapd.so* \ - $(1)/usr/lib/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/dmapd/$(PKG_VERSION)/modules/*.so \ - $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules/ -endef - -$(eval $(call BuildPackage,dmapd)) diff --git a/net/dmapd/files/dmapd.init b/net/dmapd/files/dmapd.init deleted file mode 100644 index e76b0ef3e..000000000 --- a/net/dmapd/files/dmapd.init +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2009-2012 OpenWrt.org - -START=60 - -start() { - user_exists dmapd 56 || user_add dmapd 56 - group_exists dmapd 56 || group_add dmapd 56 - [ -d /var/run/dmapd ] || { - mkdir -m 0755 -p /var/run/dmapd - chown dmapd:dmapd /var/run/dmapd - } - [ -d /var/db/dmapd/DAAP ] || { - mkdir -m 0755 -p /var/db/dmapd/DAAP - chown dmapd:dmapd /var/db/dmapd/DAAP - } - [ -d /var/db/dmapd/DPAP ] || { - mkdir -m 0755 -p /var/db/dmapd/DPAP - chown dmapd:dmapd /var/db/dmapd/DPAP - } - mkdir -m 0755 -p /var/lock/subsys - mkdir -m 0755 -p /var/media/music - mkdir -m 0755 -p /var/media/pictures - - service_start /usr/sbin/dmapd -m /var/media/music -p /var/media/pictures --vips-disc-threshold 64k -} - -stop() { - service_stop /usr/sbin/dmapd -} diff --git a/net/dmapd/patches/001-dmapd_conf.patch b/net/dmapd/patches/001-dmapd_conf.patch deleted file mode 100644 index 9c1e60a33..000000000 --- a/net/dmapd/patches/001-dmapd_conf.patch +++ /dev/null @@ -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 -- 2.30.2